Left 4 Dead 2

Left 4 Dead 2

评价数不足
SI Spawner
   
奖励
收藏
已收藏
取消收藏
Game Content: Scripts
文件大小
发表于
更新日期
362.173 KB
2024 年 10 月 10 日 上午 9:31
10 月 17 日 下午 12:18
23 项改动说明 ( 查看 )

订阅以下载
SI Spawner

在 skysky199 的 2 个合集中
Script List
131 件物品
Script List <Game Mode>
16 件物品
描述
--僅於區域/專用伺服器生效--
--Works on local/dedicated servers only.--

※需要 開啟Scripted Mode
※Requires enable Scripted Mode.

使用 "z_spawn" 基於時間/距離生成特感而非讓導演決定生成 (可選)
僅於戰役類模式生效

Use "z_spawn" to spawn SIs (sepcial infecteds) based on time/distance instead of spawning by director. (Optional)
Effective in campaign type modes only.

※選擇性 需有Sourcemod
內附簡易菜單 自行編譯.sp檔與.txt檔放入translations

※Optional: Requires Sourcemod
Includes a simple menu.
Compile the .sp file yourself and place the .txt file into the translations folder.

Setting file path:
\ems\si spawner\option.tbl
\ems\si spawner\settings.tbl
\ems\si spawner\maps\(map name).tbl

選項說明:
Description of option:
Selection
(Default: 0)
0 = full functionality.
1 = director function only.
2 = timer function only.
3 = distance function only.
※map function is valid only if Selection = 0.
0 = 全功能
1 = 僅啟用導演功能
2 = 僅啟用計時功能
3 = 僅啟用距離功能
※地圖功能僅 Selection = 0 時可用

※優先讀取(map name).tbl (若可用與存在)

※(map name).tbl is loaded with priority. (If available and exist)

設定說明:
Description of settings:
設定名
Setting's name
說明
Description
General
通用
finale_* settings apply after finale starts. Use -1 to leave unchanged.
Director-related settings start with Dir or director_.
Timer-related settings start with Tim.
Distance-related settings start with Dis.
Others are general settings.
finale_* 代表救援開始後改用此設定 -1代表不修改
Director 相關為 Dir與director_ 開頭
Timer 相關為 Tim 開頭
Distance 相關為 Dis 開頭
其他則為通用
Enable
(Default: 1)
Can be set to 1/0 to activate/inactive the script at anytime.
可在任何時候設定為 1 啟動/0 關閉
cm_MaxSpecials, MaxSI, finale_MaxSI, TotalSI, or something similar.
(Default: time: 8, others: 0)
TotalSI: Maximun number of Sis in game.
cm_MaxSpecials: Maximun number of Sis spawned by director per wave.
TimMaxSI: Maximun number of Sis spawned by timer per wave.
DisMaxSI: Maximun number of Sis spawned by distance per wave.

※DirMaxSI+TimMaxSI+DisMaxSI <= TotalSI
※TotalSI = -1 equals to DirMaxSI+TimMaxSI+DisMaxSI.

Official default is 2.
Max value will be 14 if you don't have L4DToolZ[forums.alliedmods.net].
TotalSI: 最大場上特感存在數
DirMaxSI: 最大特感導演生成數
TimMaxSI: 最大特感計時器生成數
DisMaxSI: 最大特感距離生成數

※DirMaxSI+TimMaxSI+DisMaxSI <= TotalSI
※TotalSI = -1 代表 DirMaxSI+TimMaxSI+DisMaxSI

官方預設值為2
如果你沒有 L4DToolZ[forums.alliedmods.net], 最大設定值為14
BoomerLimit
ChargerLimit
HunterLimit
JockeyLimit
SmokerLimit
SpitterLimit
(Default: 5)
Maximun number of individual Sis per wave.
Sum of them must >= MaxSI.
最大個別特感生成數/每波
加總必須 >= MaxSI
cm_SpecialRespawnInterval, Interval
(Default: 15)
Time in seconds of the spawning countdown.
Official default is 45. (10 in finales)
生成的倒數秒數 單位為秒
官方預設值為45 (救援為10)
SpecialInitialSpawnDelayMin, SpecialInitialSpawnDelayMax, InitialMin, InitialMax
(Default: 30)
Time in seconds of the first-spawn countdown.
Official default is 30~60
第一波生成的倒數秒數 單位為秒
官方預設值為 30~60
cm_AggressiveSpecials,
SpecialInfectedAssault
(Default: 1)
SIs assault.
特感主動進攻
RelaxMaxFlowTravel
RelaxMinInterval
RelaxMaxInterval
(Default: -1)
Director stop spawning related.
導演停刷相關
WithTank
(Default: director:0 timer: 0)
When Tank is in game
(director)
0 = do nothing
1 = set ShouldAllowSpecialsWithTank = true
(timer)
0 = do nothing
1 = stop countdown (spawn SIs by director)
2 = stop countdown (don't spawn SIs)
有Tank在場上時
(director)
0 = 不做事
1 = 設定 ShouldAllowSpecialsWithTank = true
(timer)
0 = 繼續倒數
1 = 停止倒數 (由導演生成特感)
2 = 停止倒數 (不生成特感)
ReCountDown
(Default: 0)
When to reset the countdown timer?
0 = when finishing spawning all SIs.
1 = when one SI got killed.
2 = when all SIs got killed.
何時重置倒數計時器
0 = 當特感生成完成時
1 = 當有特感死亡時
2 = 當所有特感都死亡時
LimitMode
(Default: director: 0 others: 2)
Number of each special infected per wave.
(director)
0 = do nothing.
1 = same.
2 = random. (all types <= 5)
(others)
0 = average.
1 = same.
2 = random.
每波 每種特感數量
(director)
0 = 不做事
1 = 相同優先
2 = 隨機挑選
(其他)
0 = 平均挑選
1 = 相同優先
2 = 隨機挑選
FinaleSpawnBlock
(Default: 1)
If true, stop countdown if all survivors are in finale area and finale has not started.
如果 = true, 所有人在救援區且救援未開始時, 停止倒數
Distance
(Default: 1000.0)
(distance)
When the survivor moves forward and the distance exceeds this value, spawn SIs.
(distance)
當倖存者向前移動並距離超過此值時 生成特感
KickWhenDead
(Default: 0)
If 1, kick SIs when dead.
j如果為1 踢掉死亡特感

指令:
Chat triggers:
!si
(scripted_user_func si)
See the current settings of MaxSI and Interval.
查看目前 MaxSI 與 Interval 的設定
!si list
(scripted_user_func si,list)
List all settings in the settings file.
Require Admin permission.
列出在 settings file 中的所有設定
需要管理員權限
!si <setting's name> <new value>
(scripted_user_func si,<>,<>)
Modify the value of <setting's name> to <new value>.
Require Admin permission.
變更 <設定名> 的數值為 <新數值>
需要管理員權限

===========================================================================

翻譯詞可自定義 (類似於SourceMod), 檔案位於\ems\translations\si spawner.tbl
所有可用的API 語言碼可在下面的網址找到

Translation phrases can be customized (like SourceMod), file is located at \ems\translations\si spawner.tbl
All valid API language code can be found at
https://partner.steamgames.com/doc/store/localization/languages

顏色代碼:
Color Codes:
Beige (default color) = "\x01" = "{default}"
Bright green = "\x03" = "{lightgreen}"
Orange = "\x04" = "{orange}"
Olive green = "\x05" = "{olive}"
33 条留言
skysky199  [作者] 9 月 13 日 上午 8:09 
@时空之轨迹

:steamhappy::steamthumbsup:
时空之轨迹 9 月 8 日 上午 12:03 
@skysky199

作者大大,你忘記把描述裏的DirMaxSI改成TimMaxSI了
时空之轨迹 8 月 22 日 下午 10:59 
此留言正在等待我们的自动内容检查系统分析。在我们证实其内容无害之前(例如试图窃取信息的钓鱼站点链接),留言将暂时隐藏。
skysky199  [作者] 8 月 20 日 上午 11:07 
@Absolute Sucker

Should happen less often.

Added.
Absolute Sucker 8 月 20 日 上午 2:22 
@skysky199

There seems to be a bug where all SI will spontaneously die, especially noticeable when a jockey is riding a survivor only to die inexplicably.

I also have a suggestion for multiple setting presets that are map dependent, much like Custom Boss Spawner does.
Absolute Sucker 7 月 13 日 上午 11:51 
@skysky199

Highly customisable boss spawner, supports multiple presets that gets used depending on the map.

A preset consists of at least one encounter or more, each encounter would have a random distance threshold, bosses only spawn when a survivor reaches their threshold, similar to how bosses are spawned in vanilla. Distance between thresholds are randomised but the minimum can be set. Thresholds are reshuffled upon a restart.

An encounter can be assigned as a witch, wandering witch, tank, ambush tank or a mixture of any. It could use a numbering system like this (1 = sitting witch, 2 = wandering witch, 4 = tank, 8 = ambush tank). Ambush tanks would spawn behind the survivors on the map flow.

Then an encounter can be assigned a minimum map progress requirement. If an encounter is set "50%" then their threshold would be placed in the latter half of the map.
Absolute Sucker 7 月 13 日 上午 11:50 
An encounter can also be assigned a number for the "Mercy" system. If set to "5" then it'll check for the survivor team's level before spawning when their threshold is reached. The team level is based on items being carried and each survivor's current non-buffer health, 50 health or more = 1 level, 1 medkit = 1 level, 1 pain pills or adrenaline = 0.5 level. 4 full health survivors with kits and pills = level 10 (this causes the boss to spawn). 2 full health survivors with only pills = level 3 (this either skips the boss or set their threshold further down if possible).

Lastly, the encounter can have a set chance of happening. For an extra layer of randomisation. Encounters removed by chance won't have their threshold on the map.

Final step is to specify which map this preset can work in. New presets can probably co-exists within the same file but idk.

If you have any questions/suggestions do tell me.
skysky199  [作者] 7 月 12 日 上午 9:09 
@Absolute Sucker

You can just send it here since not many people comment anyway.
Absolute Sucker 7 月 12 日 上午 6:56 
@skysky199

I want to pitch an idea to you but the writing/explanation for it is rather extensive, unless you don't mind me flooding this comment thread, do you have a suggestion as to where I can forward it to you?
skysky199  [作者] 6 月 6 日 下午 12:56 
@Unwishing Death

...\Steam\steamapps\common\Left 4 Dead 2\left4dead2\ems\