Garry's Mod

Garry's Mod

7,091 次評價
Black Ops 2 Tactical Insertion (Sandbox) (2024 Update)
2
4
2
   
獎勵
加入最愛
已加入最愛
移除最愛
Content Type: Addon
Addon Type: Weapon
Addon Tags: Fun, Roleplay
檔案大小
發佈於
更新時間
2.192 MB
2014 年 10 月 3 日 下午 9:08
12 月 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 12 月 17 日 下午 2:33 
Unfortunately it did not work. Players still are sent to tac insert when revived.
Helios 12 月 17 日 下午 2:06 
Omg, a dev who listens to feedback, colour me impressed friend!
Hoff  [作者] 12 月 17 日 上午 11:23 
Updated! Thanks for the suggestion
Helios 12 月 11 日 下午 6:59 
It is "[NCS] Defibrillator" on Steam Workshop.
Hoff  [作者] 12 月 11 日 上午 10:01 
Do you have the lua file for the defib so I can see how their system works?
Helios 11 月 9 日 上午 12: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  [作者] 8 月 21 日 上午 9:57 
Fixed now, thanks!
NNinja1255 8 月 19 日 下午 2: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 8 月 19 日 下午 1: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  [作者] 8 月 16 日 下午 6:13 
Thanks!