發新話題
打印

問一問點改Cvars

[Close]

問一問點改Cvars

以Gun Control為例: (詳細請參考:https://forums.alliedmods.net/showthread.php?t=112156)
Cvars:

l4d2_guncontrol_assaultammo (default 360) - ammo for assault rifles
l4d2_guncontrol_smgammo (default 650) - ammo for SMGs
l4d2_guncontrol_shotgunammo (default 56) - ammo for pump shotguns
l4d2_guncontrol_autoshotgunammo (default 90) - ammo for automatic shotguns
l4d2_guncontrol_huntingrifleammo (default 150) - ammo for the HR
l4d2_guncontrol_sniperrifleammo (default 180) - ammo for the Milit. Sniper, AWP, and Scout
l4d2_guncontrol_grenadelauncherammo (default 30) - ammo for the Grenade Launcher
l4d2_guncontrol_m60ammo (default 150) - ammo for the M60

l4d2_guncontrol_allowgrenadereplenish (default 1) - allow Grenade Launcher Resupply at Ammo Dumps
l4d2_guncontrol_allowm60replenish (default 1) - allow M60 Resupply at Ammo Dumps

l4d2_guncontrol_incendammomulti (default 3) - how many clips of incendiary ammo you get off an ammopack
l4d2_guncontrol_explosiveammomulti (default 1) - how many clips of explosive ammo you get off an ammopack

l4d2_guncontrol_turnGLintoM60chance (default 2) - Turns GL spawns on all maps into M60 spawns. Works as chance setting. 1 is FULL/100% chance, 2 is half/50% chance, 3 one third and so on


我係唔係要通過SP檔來改,再Compile?
XxDEATHxX

TOP

多謝
明白改default value做法
但係唔係好明特定限制...
即係係唔係類似admin權限,
特定情況下開啟
(1.有admin權限->可以開啟
2.冇admin權限->唔可以開啟)
XxDEATHxX

TOP

發新話題