Hello,
Make an class1.cfg put this into it.
Code:
// Class selector script of lighty
// If you want to change the binded keys, you have to change them in all 3 files.
// Current binds
// Insert - Team toggle
// 1 - Medic
// 2 - Field Ops
// 3 - Engineer
// 4 - Covert Ops
// 5 - Soldier
// 6 - Spectator
// Keys
bind KP_INS "vstr teamtoggle"
bind KP_RIGHTARROW "team s; ^7Team{ Spec
// Script
set menu "echo ^7Insert: ALLIES/AXIS | 1: MEDIC; echo 2: FIELD OPS | 3: ENGINEER; echo 4: COVERT OPS | 5: ^7SOLDIER; echo 6: SPECTATOR"
set teamb "set teamtoggle vstr teamr;exec allies1.cfg; echo ^7Team{ Allies ;vstr menu"
set teamr "set teamtoggle vstr teamb;exec axis1.cfg; echo ^7Team{ Axis;vstr menu"
set teamtoggle "vstr teamb"
echo ^7clAss selector cFg ^7loAded
Then make this file allies1.cfg
Code:
// Class selector script - Allies
// Keys
bind KP_END "vstr medic"
bind KP_DOWNARROW "vstr field"
bind KP_PGDN "vstr engineer"
bind KP_LEFTARROW "vstr covert"
bind KP_5 "vstr soldier"
// Script
// ALLIED MEDIC
set medic "team b 1 8 37;play sound/chat/axis/62a ; say_team ^5Medic Thomp"
// ALLIED FIELDS OPS
set field "team b 3 8 37; play sound/chat/axis/64a; say_team ^5Field Ops Thomp"
// ALLIED ENGINEER
set eng1 "team b 2 8 37; play sound/chat/axis/63a; say_team ^5Eng Thom; set engineer vstr eng2"
set eng2 "team b 2 24 37; play sound/chat/axis/63a; say_team ^5Eng G.lancher; set engineer vstr eng1"
set engineer "vstr eng1"
// ALLIED COVERT OPS
set cov1 "team b 4 25 37; play sound/chat/axis/65a; say_team ^5Cvops Garand; set covert vstr cov2"
set cov2 "team b 4 33 37; play sound/chat/axis/65a; say_team ^5Cvops FG42; set covert vstr cov3"
set cov3 "team b 4 10 37; play sound/chat/axis/65a; say_team ^5Cvops Sten; set covert vstr cov1"
set covert "vstr cov1"
// ALLIED SOLDIER
set sol1 "team b 0 5 8; play sound/chat/axis/61a ; say_team ^5Soldier PF; set soldier vstr sol2"
set sol2 "team b 0 31 8; play sound/chat/axis/61a; say_team ^5Soldier MG42; set soldier vstr sol3"
set sol3 "team b 0 35 8;play sound/chat/axis/61a; say_team ^5Soldier Mort; set soldier vstr sol4"
set sol4 "team b 0 6 8; play sound/chat/axis/61a; say_team ^5Soldier Ft; set soldier vstr sol1"
set soldier "vstr sol1"
And now make an axis1.cfg
Code:
// Class selector script - Axis
// Keys
bind KP_END "vstr medic"
bind KP_DOWNARROW "vstr field"
bind KP_PGDN "vstr engineer"
bind KP_LEFTARROW "vstr covert"
bind KP_5 "vstr soldier"
// Script
// AXIS MEDIC
set medic "team r 1 3 38; play sound/chat/axis/62a; say_team ^5Medic MP40"
// AXIS FIELDS OPS
set field "team r 3 3 38; play sound/chat/axis/64a; say_team ^5Field MP40"
// AXIS ENGINEER
set eng1 "team r 2 3 38;play sound/chat/axis/63a; say_team ^5Eng MP40; set engineer vstr eng2"
set eng2 "team r 2 23 38;play sound/chat/axis/63a; say_team ^5Eng K43; set engineer vstr eng1"
set engineer "vstr eng1"
// AXIS COVERT OPS
set cov1 "team r 4 32 38; play sound/chat/axis/65a; say_team ^5Cvops Ops K43; set covert vstr cov2"
set cov2 "team r 4 33 38; play sound/chat/axis/65a; say_team ^5Cvops Ops FG42; set covert vstr cov3"
set cov3 "team r 4 10 38; play sound/chat/axis/65a; say_team ^5Cvops Sten; set covert vstr cov1"
set covert "vstr cov1"
// AXIS SOLDIER
set sol1 "team r 0 5 3; play sound/chat/axis/61a; say_team ^5Soldier PF; set soldier vstr sol2"
set sol2 "team r 0 31 3; play sound/chat/axis/61a; say_team ^5Soldier MG42; set soldier vstr sol3"
set sol3 "team r 0 35 3; play sound/chat/axis/61a; say_team ^5Soldier Mort; set soldier vstr sol4"
set sol4 "team r 0 6 3; play sound/chat/axis/61a; say_team ^5Soldier Ft; set soldier vstr sol1"
set soldier "vstr sol1"
Put the files into the etmain and exec the class1.
Regards,
Adrian