Garry's Mod
7,102 ψήφοι
Black Ops 2 Tactical Insertion (Sandbox) (2024 Update)
2
4
2
   
Βραβείο
Αγαπημένο
Αγαπημένο
Μη αγαπημένο
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Roleplay
Μέγεθος αρχείου
Αναρτήθηκε
Ενημερώθηκε
2.192 MB
3 Οκτ 2014, 21:08
18 Δεκ, 10:51
27 σημειώσεις αλλαγών ( προβολή )

Συνδρομή για λήψη
Black Ops 2 Tactical Insertion (Sandbox) (2024 Update)

ΠΕΡΙΓΡΑΦΗ
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 σχόλια
Helios 17 Δεκ, 14:33 
Unfortunately it did not work. Players still are sent to tac insert when revived.
Helios 17 Δεκ, 14:06 
Omg, a dev who listens to feedback, colour me impressed friend!
Hoff  [Δημιουργός] 17 Δεκ, 11:23 
Updated! Thanks for the suggestion
Helios 11 Δεκ, 18:59 
It is "[NCS] Defibrillator" on Steam Workshop.
Hoff  [Δημιουργός] 11 Δεκ, 10:01 
Do you have the lua file for the defib so I can see how their system works?
Helios 9 Νοε, 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  [Δημιουργός] 21 Αυγ, 9:57 
Fixed now, thanks!
NNinja1255 19 Αυγ, 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 Αυγ, 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  [Δημιουργός] 16 Αυγ, 18:13 
Thanks!