Results 1 to 8 of 8
  1. #1
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    152
    My Mood
    Amazed

    How to give all enemies a ghillie suit??

    Hello

    I am trying to do a mod with bots, I am using master131 tutorial, nice and easy tutorial, :P.
    But what I want, is to give all bots a Ghillie suit. If I play on Estate for example, I want to see ghillied bots with all kinds of ghillie suits(artic, desert, urban, forest) and ghillies with OMA bag.

    How can I add ghillie suits to all the Bots??? And what is the code for OMA bag on a sniper???

  2. #2
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    Code:
    setGhillieModels( env )
    {
    	level.environment = env;
    	switch ( env )
    	{
    		case "desert":
    			mptype\mptype_ally_ghillie_desert::precache();
    			mptype\mptype_opforce_ghillie_desert::precache();
    			game["allies_model"]["GHILLIE"] = mptype\mptype_ally_ghillie_desert::main;
    			game["axis_model"]["GHILLIE"] = mptype\mptype_opforce_ghillie_desert::main;
    			break;
    		case "arctic":
    			mptype\mptype_ally_ghillie_arctic::precache();
    			mptype\mptype_opforce_ghillie_arctic::precache();
    			game["allies_model"]["GHILLIE"] = mptype\mptype_ally_ghillie_arctic::main;
    			game["axis_model"]["GHILLIE"] = mptype\mptype_opforce_ghillie_arctic::main;
    			break;
    		case "urban":
    			mptype\mptype_ally_ghillie_urban::precache();
    			mptype\mptype_opforce_ghillie_urban::precache();
    			game["allies_model"]["GHILLIE"] = mptype\mptype_ally_ghillie_urban::main;
    			game["axis_model"]["GHILLIE"] = mptype\mptype_opforce_ghillie_urban::main;
    			break;
    		case "forest":
    			mptype\mptype_ally_ghillie_forest::precache();
    			mptype\mptype_opforce_ghillie_forest::precache();
    			game["allies_model"]["GHILLIE"] = mptype\mptype_ally_ghillie_forest::main;
    			game["axis_model"]["GHILLIE"] = mptype\mptype_opforce_ghillie_forest::main;
    			break;
    		default:
    			break;			
    	}
    }

  3. The Following User Says Thank You to mathieutje12 For This Useful Post:

    [WhA]4FunPlayin (10-28-2010)

  4. #3
    [WhA]4FunPlayin's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Location
    Not here
    Posts
    757
    Reputation
    8
    Thanks
    169
    My Mood
    Lonely
    @mathieutje12 Can I change their models to blow-me doll as well? :-)

  5. #4
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    idk xD u can try it

  6. #5
    idiot2010's Avatar
    Join Date
    Sep 2010
    Gender
    male
    Posts
    174
    Reputation
    9
    Thanks
    6
    My Mood
    Paranoid
    wtf is ghilllie suite o.O
    Last edited by idiot2010; 10-29-2010 at 11:33 AM.

  7. #6
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    ghillie suite is the clothes what snipers got

  8. #7
    Yamato's Avatar
    Join Date
    Jul 2010
    Gender
    male
    Posts
    839
    Reputation
    13
    Thanks
    152
    My Mood
    Amazed
    Yes, I know that code, is in _teams, but what I want, is to give the ghillie suit to all enemies, if and enemy gets a riot, hell get a ghillie, if he gets a LMG same, same with all. I also want to give OMA bags to players which choose Riot or LMG

  9. #8
    mathieutje12's Avatar
    Join Date
    Jan 2010
    Gender
    male
    Location
    Close to my PC
    Posts
    578
    Reputation
    14
    Thanks
    165
    My Mood
    Angelic
    self notify("menuresponse", "changeclass", "class" + 5);
    then is everyone automatic sniper
    then just give him the weapon want u want

  10. The Following User Says Thank You to mathieutje12 For This Useful Post:

    Yamato (10-29-2010)

Similar Threads

  1. [Question] how to use all adresses
    By niekill in forum WarRock - International Hacks
    Replies: 7
    Last Post: 12-14-2007, 08:40 AM
  2. [Tutorial]How to set all maps FREE
    By tony94 in forum WarRock - International Hacks
    Replies: 18
    Last Post: 05-30-2007, 01:26 PM
  3. How to buy all the weapons?
    By EyalZamir in forum WarRock Korea Hacks
    Replies: 5
    Last Post: 05-15-2007, 11:08 PM
  4. here is how to unlock all slots 5-8
    By shadowsecret in forum WarRock - International Hacks
    Replies: 3
    Last Post: 04-03-2007, 09:43 AM
  5. How To Hack All The Maps+Velruf Mod
    By pepolshet in forum WarRock - International Hacks
    Replies: 14
    Last Post: 03-14-2007, 04:02 AM