Left 4 Dead 2

Left 4 Dead 2

152 个评价
Turret System [Prefab]
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts, Miscellaneous
文件大小
发表于
59.306 MB
2015 年 9 月 1 日 下午 12:12
1 项改动说明 ( 查看 )

订阅以下载
Turret System [Prefab]

描述
Automated spawnable sentry turret system.

Note: This add-on is intended for mod authors to incorporate into other mods. It does not have any gameplay effect on its own. You will need to unpack the VPK to use it.

To play with the turrets, please see this Mutation:
Gnome Guardians

This is a VScript driven turret system. The turrets will automatically engage targets (infected only by default). The turrets are highly customizable, and feature a target priority system and an overheating system.

Includes the four turrets from the Gnome Guardians mutation and a demonstration map (turretsystem_demo).

The turrets can be added to custom maps and mutations or be spawned from scripts. Both .vmf instances and entity groups are included. Creative Commons licensed source files (Blender) for all original turret model parts are also included.

To add spawn points for the turrets for mutations, the Entity Placement Tool can be used.

Please see this guide on how to place the included turrets:
http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=514139097

Please do not hesitate to make a discussion thread if you have any questions.
44 条留言
华裔小A 2 月 21 日 下午 9:41 
It would be nice if a turret that can automate the original M2/M134 could be developed.
Fares 2023 年 7 月 16 日 上午 8:50 
as you know friendly turret fire still can damage survivors and incapacitate them.

easy solution: ( no scripting needed ):

1 open the turret instance with hammer editor
2 edit the "point_hurt" properties, set the Radius to 1
and the Damage to 1. (that way the point_hurt will do no damage)
3 create a "trigger_hurt" and parent it to the point_hurt.
4 filter your trigger_hurt with "filter_activator_team"
and that's it
Rectus  [作者] 2023 年 5 月 17 日 上午 8:01 
Somewhere inside the TrackTarget() function inside the checks for a valid target I guess. It's been years though, so can't remember how everything is set up. You would probably have to keep track of whether the sound is playing though, so it doesn't keep restarting.
Fares 2023 年 5 月 17 日 上午 7:48 
@Rectus i want the turret to play a sound when it move while tracking players, can you tell me where i can put the line "EmitSoundOn("Forklift.Move", self);"
Rectus  [作者] 2022 年 1 月 17 日 上午 12:44 
Nope. This is just a prefab to make new mods with. Someone would have to make a mod that does that.
Male18 2022 年 1 月 16 日 下午 9:23 
Any way to spawn this in campaign with admin system?
Rectus  [作者] 2021 年 7 月 27 日 上午 11:55 
Sorry, I'm not planning on updating it. You would have to do any work yourself.
Fares 2021 年 7 月 27 日 上午 11:25 
i hope you will got time to update this Turret System and remove friendly fire, right now when i add it on my custom map it always incapacitate the survivals
Rectus  [作者] 2021 年 7 月 27 日 上午 11:17 
Good point, it should be possible to use the same way as in there.
Fares 2021 年 7 月 27 日 上午 11:13 
didn't you make the Homemade Sentry Turret https://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=1742953520
damage only zombies, so isn't possible to make this one damage only zombies too?