
標題: 問題 [打印本頁]
作者: ivan9797 時間: 2012-7-11 14:35 標題: 問題
有冇人知特殊感染者D攻擊力係指令上的參數乘大幾多倍?
作者: ivan9797 時間: 2012-7-11 14:37
好似依個咁:
z_pounce_damage "5" <------依個參數係hard mod乘大左幾多倍?
作者: hihi1210 時間: 2012-7-12 03:47
write a plugin to change the cvars when the difficulty is changed
作者: hihi1210 時間: 2012-7-12 03:57
複製內容到剪貼板
代碼:
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 編輯 ]
歡迎光臨 IPvE vLan 遊戲平台|網吧系統 (https://ipve.com/bbs/) |
Powered by Discuz! 6.0.0 |