ItsMods
[Request] Extra classes mod. - Printable Version

+- ItsMods (https://www.itsmods.com)
+-- Forum: Archive (https://www.itsmods.com/Forum-Archive.html)
+--- Forum: Archive (https://www.itsmods.com/Forum-Archive--64.html)
+--- Thread: [Request] Extra classes mod. (/Thread-Request-Extra-classes-mod.html)



Extra classes mod. - Sauna - 08-22-2012

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.


RE: Extra classes mod. - Sauna - 08-23-2012

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)

...


RE: Extra classes mod. - Yamato - 08-23-2012

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


RE: Extra classes mod. - Sauna - 08-23-2012

Thanks a lot Yamato, but it shouldnt be random.


RE: Extra classes mod. - Yamato - 08-23-2012

(08-23-2012, 13:48)Sauna Wrote: Thanks a lot Yamato, but it shouldnt be random.

How do you want to select it then?


RE: Extra classes mod. - DidUknowiPwn - 08-23-2012

He wants it "selective"... As in the same popup menu for "choose a class" but with those classes.


RE: Extra classes mod. - Sauna - 08-23-2012

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


RE: Extra classes mod. - Sauna - 08-24-2012

seems like its really difficult thing Sad