ItsMods

Full Version: Extra classes mod.
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi. im looking for a mod that will open little menu if you pressed actionslot 1 (or any other not used button)

links of menu should activate one of following, and deactivate 2 other:
maps\mp\_abc111.gsk
maps\mp\_abc222.gsk
maps\mp\_abc333.gsk

abc111,222,333 this is a classes each one wil give unic weapons and abbility. so it has to be enought activate it once in a map

i hope its possible. thank you.
so noone knows?
i really need it, any simple way to make players able to select their own subclasses :
1)with extra gun
2)with extra equipment
3)with extra perk
(only 1 of this)

...
I understood that you want to give them random.

Code:
GiveClass()
{
    self notifyOnPlayerCommand( "Class", "+actionslot 1" );
    self waittill( "Class" );
    switch( RandomInt( 2 ) )
    {
        case 0:
        self thread maps\mp\_class1::GiveFirstClass();
        break;
        case 1:
        self thread maps\mp\_class2::GiveSecondClass();
        break;
        case 2:
        self thread maps\mp\_class3::GiveThirdClass();
        break;
    }
}

Now in your _class1.gsc:

Code:
GiveFirstClass()
{
    self giveWeapon( "onemanarmy_mp", 0, false );
    wait ( 0.05 );
    self switchToWeapon( "onemanarmy_mp", 0, false );    
//add more things
}

Make the other 2 like that. OMA
Thanks a lot Yamato, but it shouldnt be random.
(08-23-2012, 13:48)Sauna Wrote: [ -> ]Thanks a lot Yamato, but it shouldnt be random.

How do you want to select it then?
He wants it "selective"... As in the same popup menu for "choose a class" but with those classes.
fore example player pressed actionslot1 then it shows a menu with 3 options.

1)Rambo class (press 1 - or choose with AWSD no matter)
2)L33t class (press 2...)
3)Exploder class (press 3..)

(08-23-2012, 15:13)DidUknowiPwn Wrote: [ -> ]He wants it "selective"... As in the same popup menu for "choose a class" but with those classes.
Yes exactly.
player should be able choose only one class at the moment... otherwise wats the point to make it selective
seems like its really difficult thing Sad