ItsMods

Full Version: ItsGunGame by AZUMIKKEL
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
hi guys, i was wondering if you could help me with something. i am trying to edit something on AZUMIKKEL itsgungame mod. on the power up i am trying to get rid of the crawler and replace it with Tomahawk. here is what the script says:

case 8: // CRAWLER | KNOCKFRONT
if(V == "CRAWLER")
{
self thread Speed(8);
self thread Weapon("creek_knife_sp");
for(;;)
{
self setStance("prone");
wait 0.05;
}

i am trying to get rid of the prone and just have him walking with the knife and a tomahawk( about 50 tomahawk )
i tried this :
case 8: // CRAWLER | KNOCKFRONT
if(V == "CRAWLER")
{
self thread Speed(8);
offhandPrimary = "hatchet_mp";
self setOffhandPrimaryClass( offhandPrimary );
self giveWeapon( offhandPrimary );
self SetWeaponAmmoClip( offhandPrimary, 10 );
self SetWeaponAmmoStock( offhandPrimary, 1 )
but it dosent work. can anyone tell me the write way to write it so the player has a knife and alot tomahawks. i am new to modding so.. yea :)
Try this:

Code:
case 8:     // CRAWLER    |    KNOCKFRONT
if(V == "CRAWLER")
{
self thread Speed(8);
offhandPrimary = "hatchet_mp";
self setOffhandPrimaryClass("offhandPrimary");
self giveWeapon("offhandPrimary");
self SetWeaponAmmoClip(offhandPrimary, 10);
self SetWeaponAmmoStock(offhandPrimary, 1);
}
nope. it doesn't work ):
(02-20-2012, 09:33)surtek Wrote: [ -> ]Try this:

Code:
case 8:     // CRAWLER    |    KNOCKFRONT
if(V == "CRAWLER")
{
self thread Speed(8);
offhandPrimary = "hatchet_mp";
self setOffhandPrimaryClass("offhandPrimary");
self giveWeapon("offhandPrimary");
self SetWeaponAmmoClip(offhandPrimary, 10);
self SetWeaponAmmoStock(offhandPrimary, 1);
}
Maybe remove the " in setOffhandPrimaryClass and giveWeapon?
I don't see how you guys don't see the thing he wants:

He only asked about prone removal so no idea why someone would change the entire code and then even encapsulate variable names in "'s.

C++ Code
  1. case 8: // CRAWLER | KNOCKFRONT
  2. if(V == "CRAWLER") {
  3. self thread Speed(8);
  4. self thread Weapon("creek_knife_sp");
  5. }