PDA

View Full Version : Smoke Nades In Weapon Loadouts ??


BiggusMaximus
11-02-2005, 03:54 AM
Gents,

On One Of My Servers I Run Rifles Only. The Only Weapon That Includes A Smoke Nade (1), Is The Trench Gun. Where Can I Modify So That All My Rifles Have A Smoke Nade Available And Also Change The Amount Of Them ? .... Appreciate Any Help :) ......Pete

CMOS
11-12-2005, 10:46 AM
You will need to edit the _weapons.gsc file

You will need to edit this function. Have the rifles return 1 or however many smoke nades you want. This version is from my mod that I made for our clan servers.

getWeaponBasedSmokeGrenadeCount(weapon)
{
switch(weapon)
{
case "thompson_mp":
case "sten_mp":
case "ppsh_mp":
case "mp40_mp":
case "PPS42_mp":
case "shotgun_mp":
case "greasegun_mp":
//////added by CMOS//////
case "mp44_mp":
case "bren_mp":
///////////////////////////////
return 1;
case "m1carbine_mp":
case "m1garand_mp":
case "enfield_mp":
case "mosin_nagant_mp":
case "SVT40_mp":
case "kar98k_mp":
case "g43_mp":
case "bar_mp":
// case "bren_mp":
// case "mp44_mp":
case "springfield_mp":
case "enfield_scope_mp":
case "mosin_nagant_sniper_mp":
case "kar98k_sniper_mp":
default:
return 0;
}
}

Fearlezz
11-12-2005, 03:52 PM
Or better yet, use a mod (i.e. PowerServer or eXtreme+) that let's you change the number of smoke/frag grenades a class gets.

BiggusMaximus
11-13-2005, 01:04 AM
Yes, I'm Doing It With PowerServer Mod, Thx Gents :))

Butch
11-13-2005, 10:44 AM
What and where can I find PowerServer mod??

Butch
11-13-2005, 10:47 AM
Daaa.. Found it.