Garry's Mod

Garry's Mod

7,091 beoordelingen
Black Ops 2 Tactical Insertion (Sandbox) (2024 Update)
2
4
2
   
Prijs
Toevoegen aan favorieten
Toegevoegd aan favorieten
Verwijderen uit favorieten
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Roleplay
Bestandsgrootte
Geplaatst op
Bijgewerkt op
2.192 MB
3 okt 2014 om 21:08
18 dec om 10:51
27 wijzigingsnotities (weergeven)

Abonneren om te downloaden
Black Ops 2 Tactical Insertion (Sandbox) (2024 Update)

Omschrijving
This is the Tactical Insertion ported from Black Ops II.

Before asking questions in the comments, check if it's answered in the FAQ!

Server owners can use "resource.AddWorkshop("322038989") to download files to clients

Usage:

Sandbox
In Sandbox, simply go to the CoD Multiplayer tab in the weapons menu, and give it to yourself. Hold left click to pull out the insertion, and let go to drop it.

What it does
It allows you to set your spawn point using a device. When you die, you will respawn at the tactical insertion. It can be broken if you damage it, or picked up by interacting. Spawning a second one replaces the first one.

CVars:
"Tac_RespawnLimit" (default 0)
"Tac_Infinite" (default 0)
"Tac_AllowUndo" (default 1)
"Tac_HasHealth" (default 1)

FAQ

Q: C_Arms?
A: Yes

Q: Can you pick it up?
A: Yep! When a player interacts with their own insertion, it gives it back to them. If they already have one, it destroys it.

Q: How can I limit the amount of respawns an insertion has?
A: You can use the "Tac_RespawnLimit" cvar (default 0) to limit the respawn count

Q: Can I change something in the code and reupload my own version?
A: No. The code is my own and thus protected under copyright.

Devs: To add a check if the player has a Tac active, just check the ply.Tacs variable (a table). The PlayerSpawn hook for the Tac addon runs first.

Credits:
Treyarch - Models & Animation
Myself - Porting, coding, etc
177 opmerkingen
Helios 17 dec om 14:33 
Unfortunately it did not work. Players still are sent to tac insert when revived.
Helios 17 dec om 14:06 
Omg, a dev who listens to feedback, colour me impressed friend!
Hoff  [auteur] 17 dec om 11:23 
Updated! Thanks for the suggestion
Helios 11 dec om 18:59 
It is "[NCS] Defibrillator" on Steam Workshop.
Hoff  [auteur] 11 dec om 10:01 
Do you have the lua file for the defib so I can see how their system works?
Helios 9 nov om 0:54 
Anyway to make this so it doesnt overwrite defibs in darkrp derived gamemodes? Sucks to put tac insert down far away during event just to get revived 10 minutes away.
Hoff  [auteur] 21 aug om 9:57 
Fixed now, thanks!
NNinja1255 19 aug om 14:55 
Same here:

[Black Ops 2 Tactical Insertion (Sandbox) (2024 Update)] lua/weapons/seal6-tac-insert/shared.lua:131: Tried to use a NULL entity!
1. GetOwner - [C]:-1
2. unknown - lua/weapons/seal6-tac-insert/shared.lua:131

Timer Failed! [Simple][@lua/weapons/seal6-tac-insert/shared.lua (line 130)]

First error occurs when picking up the tactical insertion, this one here happens when you are killed while in the animation of placing one down.
NNinja1255 19 aug om 13:58 
I've gotten this error:

[Black Ops 2 Tactical Insertion (Sandbox) (2024 Update)] lua/entities/cod-tac-insert/init.lua:97: Tried to use a NULL entity!
1. GetNWString - [C]:-1
2. unknown - lua/entities/cod-tac-insert/init.lua:97

Timer Failed! [Simple][@lua/entities/cod-tac-insert/init.lua (line 83)]

Kind of a nothing error since it doesn't break anything, but probably a good idea to add a check or something.
Hoff  [auteur] 16 aug om 18:13 
Thanks!