传染病

传染病

评价数不足
倒计时复活30s DelayRespawn
   
奖励
收藏
已收藏
取消收藏
Angelscript: Server Plugin
文件大小
发表于
更新日期
359.301 KB
3 月 3 日 上午 12:56
3 月 24 日 下午 11:17
2 项改动说明 ( 查看 )

订阅以下载
倒计时复活30s DelayRespawn

描述
当玩家死亡后,将倒计时30秒进行复活。
When a player dies, there will be a 30-second countdown for revival.

单机/P2P房主:
1、进入游戏后打开控制台
2、输入 as_loadplugin DelayRespawn 即可加载插件。
注:卸载插件则是 as_unloadplugin DelayRespawn

服务器:
1、直接去cfg文件里加一句: as_loadplugin "DelayRespawn"

Single-player/P2P Host:

1、Open the console after entering the game.
2、Input as_loadplugin DelayRespawn to load the plugin.
Note: To unload the plugin, use as_unloadplugin DelayRespawn

Server:

1、Directly add the following line to the cfg file: as_loadplugin "DelayRespawn"

@所有人
@everyone
如果提示以下内容,这是正常的,这个提示是一个BUG:
If the following content is displayed, it's normal. This prompt is a bug:

Error: Failed to open script file 'd:/steam/steamapps/common/contagion/contagion/data/scripts/plugins/DelayRespawn.as'

如果你有关于任何紧急问题或者复杂情况,可以通过加Q群: 392635015 进行反馈或联系我
13 条留言
Live  [作者] 7 月 4 日 下午 7:04 
@ ΣrtyeZ
You can modify the plug-in code yourself. But it might be quite complicated for someone without experience. What do you suggest for the value?
ΣrtyeZ 7 月 4 日 下午 1:02 
is it possible to change the values? Like increased respawn timer and reduced health?
Live  [作者] 4 月 21 日 上午 6:22 
@池鱼
cfg文件是服务器读取的,开房间不会读这个文件,单机只能用命令加载,如果是自己当房主的话,除了命令行加载还有一种方式,去找 Contagion\contagion\default_plugins.json 这个文件,里面有注释掉的示范,你根据他给你示范加就行,还不会的话你就直接加群吧。
乐渔 4 月 20 日 下午 6:59 
不是单机,就是我开好房间后进入游戏插件不会生效,前面已经把指令放到cfg文档里了,但还是得打开控制台重新输入一遍指令才能生效
Live  [作者] 4 月 20 日 上午 11:15 
@池鱼
什么模式?单机不会加载cfg,P2P房主应该会加载,我不知道你那边什么情况,你可以进群详细说明。
乐渔 4 月 20 日 上午 12:23 
为什么我把指令绑定到了cfg文档进入游戏后不生效?
Live  [作者] 4 月 1 日 上午 3:07 
@ zxcv-otto
你是说自己一个人玩吧?这个复活仅在多人游玩时生效,因为单人玩家死亡也就是所有玩家死亡了,游戏自然就结束失败了。如果你想单人也复活可以加一个人机。
zxcv-otto 4 月 1 日 上午 3:01 
就是玩家死亡后,游戏直接重开了此回合,没给我等30秒复活时间
Live  [作者] 4 月 1 日 上午 1:31 
@ zxcv-otto
我测试了一下貌似没有发现问题,能详细描述一下复现过程吗?或者你可以进群发送视频等方式展现该问题。
zxcv-otto 3 月 29 日 上午 12:24 
直接重开,没有复活,该怎么办