Left 4 Dead 2

Left 4 Dead 2

61 个评价
Custom Scripted Weapon Example
   
奖励
收藏
已收藏
取消收藏
Game Content: Weapons
文件大小
发表于
更新日期
199.303 KB
2016 年 3 月 5 日 下午 1:10
2016 年 3 月 5 日 下午 1:22
2 项改动说明 ( 查看 )

订阅以下载
Custom Scripted Weapon Example

描述
A simple template and example for a custom scripted weapon. A staff that shoots exploding fireballs.

Note: this is not designed for gameplay, only as an example for mod authors.

The script code is licensed with the MIT license. Have fun.

See the guide here:
http://psteamcommunity.yuanyoumao.com/sharedfiles/filedetails/?id=634628292
11 条留言
三民主义青年团 9 月 13 日 下午 9:53 
n
Roshiro 2018 年 1 月 17 日 上午 11:54 
Thanks! You're awesome!
Rectus  [作者] 2017 年 6 月 30 日 上午 1:05 
Nope. You would need to change the game code for that.
Chinese Name 2017 年 6 月 29 日 下午 8:55 
Is there a simple solution to adding an additional regular gun to the game so that it can spawn regularly without replacing another weapon? I'm not quite sure how to do it, but I figure people here might help.
Rectus  [作者] 2017 年 3 月 27 日 下午 2:28 
Sure. It won't work with my other weapons though.
Jimmy Bob 2017 年 3 月 27 日 下午 2:17 
could we just use it for fun?
Pegasis-Vera (She/They) 2016 年 8 月 14 日 上午 12:19 
I will try this tool out and give you credit for the base code.
Ktreus 2016 年 8 月 10 日 下午 12:19 
thanks bro
Coach473 2016 年 3 月 7 日 下午 7:32 
If people start doing this, 2016 will be a good year
Rectus  [作者] 2016 年 3 月 5 日 下午 3:48 
Yeah a lot of the fetures are L4D2 only. You probably could track weapons in all games with VScript, but making new weapons, finding out when players fire the weapon and spawning entities wouldn't work.