發新話題
打印

問題

[Close]

問題

有冇人知特殊感染者D攻擊力係指令上的參數乘大幾多倍?

TOP

好似依個咁:
z_pounce_damage "5"    <------依個參數係hard mod乘大左幾多倍?

TOP

write a plugin to change the cvars when the difficulty is changed
CPT 插件開發隊長

TOP

複製內容到剪貼板
代碼:
public OnPluginStart()
{
HookConVarChange(FindConVar("z_difficulty"), Convar_Diff);
}
public Convar_Diff (Handle:convar, const String:oldValue[], const String:newValue[])
{
ServerCommand("exec %s" ,newValue)"
}
find a way to compile it ....  Then in the cfg folder
create different cfg for each diffculty

easy.cfg , normal.cfg ,expert.cfg , advanced.cfg

type the cvars you want inside the cfg

[ 本帖最後由 hihi1210 於 2012-7-12 03:58 編輯 ]
CPT 插件開發隊長

TOP

發新話題