Help Needed In Remove "One Man Army"

Posts 19 of 9 · Page 1 of 1
Help Needed In Remove "One Man Army"
Hey, I"m new in modding and I am trieng to add somthing in a mod , that disable The perk One Man Army

I know how to remove Smoke grenade
Would be nice if you guys helped me with the command for One man army.

RemoveSmokeGrenades()
{
self endon("disconnect");
self endon("death");

while( 1 )
{
self TakeWeapon( "smoke_grenade_mp" );

wait 0.5;
}
}
onemanarmy_mp
is the line i think
RemoveSmokeGrenades()
{
self endon("disconnect");
self endon("death");

while( 1 )
{
self TakeWeapon( "smoke_grenade_mp" );
self TakePerk( "onemanarmy_mp" );

wait 0.5;
}
}

I tried this, sry If its a dumb mistake to do that, I"m verry new in this, And this dident work =(
Well I"m here to learn =)
look in the sticky and try to find it

Click here to see the thread
use _class.gsc from a clean patch_mp.ff and just comment out the things you don't want.
I have a mod that remove's tube's and it has a _class , if I remove one man army out of that file will it work then?
But I dont know how Plz could some1 tell me what line's I need to remove.
Plz help me
If you just remove what you dont want it should work.

Onemanarmy is in _class.gsc if you just remove that piece of code it will not be given to the players when they spawn.
In the Quarantine Chaos Zombie Mod i'm pretty sure i saw something in the code about valid weapons and it like replaced one man army with a barret 50cal. I have no idea why he has this because you cant use your own classes anyways.
Probably just a backup feature.
But the best way to remove it is by using _class.gsc.
Posts 19 of 9 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?