Class scripts

Need script which allows me to push one button to change class to engi/smg and if i press it again it changes to engi/rifle and so on, and for every class ofc.

Thx in advance!
Comments
25
// Selection Binds - The keys bound to perform certian actions.
bind 0 "vstr ts" // Team Spec
bind 9 "vstr tb" // Team Allies
bind 8 "vstr tr" // Team Axis
bind F10 "vstr so" // Soldier (Flamethrower, MG42, Panzer)
bind F6 "vstr me" // Medic (SMG)
bind F7 "vstr en" // Engineer (SMG, Rifle + Grens)
bind F8 "vstr fo" // Field Ops (SMG)
bind F9 "vstr co" // Covert Ops (Sten, FG42 or Rifle + Scope)

// Config - Intro Basically. Join a Game, ESCape out of Limbo menu and Select a Team.
set ts "team spectator; set co vstr no_t; set so vstr no_t; set fo vstr no_t; set en vstr no_t; set me vstr no_t; echo ^7SPECTATOR
set tb "set co vstr b_co; set so vstr b_so; set fo vstr b_fo; set en vstr b_en; set me vstr b_me; echo ^7ALLIED
set tr "set co vstr r_co; set so vstr r_so; set fo vstr r_fo; set en vstr r_en; set me vstr r_me; echo ^7AXIS
set no_t "echo ^7NEED TEAM

// Allied Class Selection - If you picked a Team, its time to pick a Class
//
// Soldier
set b_s1 "team b 0 5 8; set b_so vstr b_s2; say_team ^5panzer
set b_s2 "team b 0 31 8; set b_so vstr b_s3; say_team ^5mg42
set b_s3 "team b 0 35 8; set b_so vstr b_s4; echo ^e[^7rqmbo^e@^7MoRtAr^e]
set b_s4 "team b 0 6 8; set b_so vstr b_s1; echo ^e[^7rqmbo^e@^7FlAmEuR^e]
set b_so "vstr b_s1"

// Medic
set b_me "team b 1 8 37; say_team ^6medic^q<3

// Engineer
set b_e1 "team b 2 8 37; set b_en vstr b_e2; say_team ^8engi/smg"
set b_e2 "team b 2 24 8; set b_en vstr b_e1; say_team ^8riffle"
set b_en "vstr b_e1"

// Field Ops
set b_fo "team b 3 8 37; say_team ^7fieldops^q<3"

// Covert Ops
set b_c1 "team b 4 33 8; set b_co vstr b_c2; echo ^efg42^p}}}}"
set b_c2 "team b 4 25 8; set b_co vstr b_c3; echo ^escoped^p}}"
set b_c3 "team b 4 10 8; set b_co vstr b_c1; say_team ^2sten"
set b_co "vstr b_c1"

// Axis Class Selection - Same as above, just different values.
//
// Soldier
set r_s1 "team r 0 5 3; set r_so vstr r_s2; say_team ^5panzer
set r_s2 "team r 0 31 3; set r_so vstr r_s3; say_team ^5mg42
set r_s3 "team r 0 35 3; set r_so vstr r_s4; echo ^e[^7rqmbo^e@^7MoRtAr^e]
set r_s4 "team r 0 6 3; set r_so vstr r_s1; echo ^e[^7rqmbo^e@^7FlAmEuR^e]
set r_so "vstr r_s1"

// Medic
set r_me "team r 1 3 38; say_team ^7medic^q<3
"

// Engineer
set r_e1 "team r 2 3 38; set r_en vstr r_e2; say_team ^8engi/smg"
set r_e2 "team r 2 23 3; set r_en vstr r_e1; say_team ^8riffle"
set r_en "vstr r_e1"

// Field Ops
set r_fo "team r 3 3 38; say_team ^7fieldops^q<3
// Covert Ops
set r_c1 "team r 4 33 3; set r_co vstr r_c2; echo ^e[^7rqmbo^e@^7Fg42(PrO-SnIpEr)^e]"
set r_c2 "team r 4 32 3; set r_co vstr r_c3; echo ^e[^7rqmbo^e@^7ScOpEd(PrO-SnIpEr)^e]"
set r_c3 "team r 4 10 3; set r_co vstr r_c1; say_team ^2sten"
set r_co "vstr r_c1"

// Initiate Script - Makes it work.
vstr ts
get a life.
Parent
Ctrl C Ctrl V
Parent
any1 has to write it.
Parent
Quotesay_team ^8riffle"



riFle
Parent
RQMBO GOES FLAMER
Parent
Nice extremely outdated script.
Parent
// Class binds

bind F7 "vstr classengi"
bind F4 "vstr classfieldop"
bind F6 "vstr classsoldier"
bind F5 "vstr classmedic"
bind F8 "vstr classcovop"

// Class script

set classengi "vstr classengi1"
set classengi1 "vstr classrecycle; class e 1; set classengi vstr classengi2; say_team "^7[Spawn: ^4Engineer^7/^4SMG^7]""
set classengi2 "class e 2; set classengi vstr classengi1; say_team "^7[Spawn: ^4Engineer^7/^4Rifle^7]""
set classfieldop "vstr classrecycle; class f 1; say_team "^7[Spawn: ^4Fieldop^7/^4SMG^7]""
set classsoldier "vstr classsoldier1"
set classsoldier1 "vstr classrecycle; class s 4; set classsoldier vstr classsoldier2; say_team "^7[Spawn: ^4Soldier^7/^4Pf^7]""
set classsoldier2 "class s 5; set classsoldier vstr classsoldier3; say_team "^7[Spawn: ^4Soldier^7/^4Mortar^7]""
set classsoldier3 "class s 2; set classsoldier vstr classsoldier4; say_team "^7[Spawn: ^4Soldier^7/^4MG42^7]""
set classsoldier4 "class s 3; set classsoldier vstr classsoldier1; say_team "^7[Spawn: ^4Soldier^7/^4Flamer^7]""
set classmedic "vstr classrecycle; class m 1; say_team "^7[Spawn: ^4Medic^7/^4SMG^7]""
set classcovop "vstr classcovop1"
set classcovop1 "vstr classrecycle; class c 3; set classcovop vstr classcovop2; say_team "^7[Spawn: ^4Covert^7/^4Sniper^7]""
set classcovop2 "class c 2; set classcovop vstr classcovop3; say_team "^7[Spawn: ^4Covert^7/^4FG42^7]""
set classcovop3 "class c 1; set classcovop vstr classcovop1; say_team "^7[Spawn: ^4Covert^7/^4Sten^7]""
set classrecycle "set classengi vstr classengi1; set classcovop vstr classcovop1; set classsoldier vstr classsoldier1"
set covtog "vstr cov1"
set cov1 "class c 1; set covtog vstr cov2 ;echo ^7sten^0!; cmd say_buddy ^0=bb ^7S ; play sound\menu\select.wav"
set cov2 "class c 3; set covtog vstr cov1 ;echo ^7Sniper^0!; cmd say_buddy ^0=bb ^7S ; play sound\menu\select.wav"
bind DOWNARROW "vstr covtog"

set soldtog "vstr sold1"
set sold1 "class s 4; set soldtog vstr sold2 ;echo ^7Panzer^0!; cmd say_buddy ^0=bb ^7P ; play sound\menu\select.wav"
set sold2 "class s 5; set soldtog vstr sold1 ;echo ^7Mortar^0!; cmd say_buddy ^0=bb ^7M ; play sound\menu\select.wav"
bind KP_home "vstr soldtog"

set engtog "vstr eng1"
set eng1 "class e 1 ; set engtog vstr eng2 ;echo ^7Engi^0!; cmd say_buddy ^0=bb ^7E ; play sound\menu\select.wav"
set eng2 "class e 2 ; set engtog vstr eng1 ;echo ^7Rifle^0!; cmd say_buddy ^0=bb ^7R ; play sound\menu\select.wav"
bind LEFTARROW "vstr engtog"
download toxic cfs from his profile....there's everything! <3 tox
Several scripts in my profile, as well as class_select.cfg.
//medic
bind uparrow "class m 1; say_team ^7Medic^1<3^7SMG"

//field
bind leftarrow "class f 1; say_team ^7Field^1<3^7SMG"

//covert
set cov1 "class c 1; say_team ^7Covert^1<3^7STEN;set nextcov vstr cov2"
set cov2 "class c 2; say_team ^7Covert^1<3^7FG42;set nextcov vstr cov3"
set cov3 "class c 3; say_team ^7Covert^1<3^7Sniper;set nextcov vstr cov1"
set nextcov "vstr cov1"
bind rightarrow "vstr nextcov"

//eng
set eng1 "class e 1; say_team ^7Eng^1<3^7SMG; set nexteng vstr eng2"
set eng2 "class e 2; say_team ^7Eng^1<3^7Rifle; set nexteng vstr eng1"
set nexteng "vstr eng1"
bind downarrow "vstr nexteng"

//soldat
set soldier1 "class s 1; say_team ^7Soldier^1<3^7SMG;set nextsoldier vstr soldier2"
set soldier2 "class s 2; say_team ^7Soldier^1<3^7Mobile MG42;set nextsoldier vstr soldier3"
set soldier3 "class s 3; say_team ^7Soldier^1<3^7Flamethrower;set nextsoldier vstr soldier4"
set soldier4 "class s 4; say_team ^7Soldier^1<3^7Panza;set nextsoldier vstr soldier5"
set soldier5 "class s 5; say_team ^7Soldier^1<3^7Mortar;set nextsoldier vstr soldier1"
set nextsoldier "vstr soldier1"
bind kp_ins "vstr nextsoldier"
käytä classmenuu homosex! turhimpii tommoset
bind o "vstr clswitch"
set clswitch "vstr csw1"
set csw1 "class m 1; echo ^0spawning as: ^*M^7edic ^8^9{^1!^9}; set clswitch vstr csw2"
set csw2 "class f 1; echo ^0spawning as: ^*F^7ieldops ^8^9{^1!^9}; set clswitch vstr csw3"
set csw3 "class c 1; echo ^0spawning as: ^*C^7overtops ^8^9{^1!^9}; set clswitch vstr csw4"
set csw4 "class s 4; echo ^0spawning as: ^*P^7anzer ^8^9{^1!^9}; set clswitch vstr csw5"
set csw5 "class s 5; echo ^0spawning as: ^*M^7ortar ^8^9{^1!^9}; set clswitch vstr csw1"
Congratulations on being the first person to actually read the journal, everyone else apparently read it as "post your class script".
Parent
easy bash
[€] id do everything for squaliiiiiiiiiiiiiiiiiiiiiiiiiiii!
Parent
need script which tracks heads automatically
my script:

Bind mouse1 "ets_aim 1; ets_aimfov 55; +attack"
Parent
Doesn't do exactly what you need, but imo just:

bind c classmenu
My script: (i know the colors sux.. this is the 1st binds i made.. 2 years ago)

bind F5 "vstr sol"
set sol "vstr sol1"
set sol1 "class s 5;say_buddy ^6-> ^9/^1Mortar;set sol vstr sol2"
set sol2 "class s 4;say_buddy ^0#^3S^7pawn^3: ^1Soldier^3/^1Panza;set sol vstr sol3"
set sol3 "class s 3;say_buddy ^0#^3S^7pawn^3: ^1Soldier^3/^1Flammer;set sol vstr sol4"
set sol4 "class s 2;say_buddy ^0#^3S^7pawn^3: ^1Soldier^3/^1mg;set sol vstr sol1"
bind F6 "class m 1;say_buddy ^0#^3S^7pawn^3: ^1Medic "
bind F7 "vstr engi"
set engi "vstr eng1"
set eng1 "class e 1;say_buddy ^0#^3S^7pawn^3: ^1Engi^3/^1Smg;set engi vstr eng2"
set eng2 "class e 2;say_buddy ^0#^3S^7pawn^3: ^1Engi^3/^1Rifle;set engi vstr eng1"
bind F8 "class f 1;say_buddy ^0#^3S^7pawn^3: ^1Field"
bind F9 "vstr cop"
set cop "vstr cop1"
set cop1 "class c 1;say_buddy ^0#^3S^7pawn^3: ^1Covert^3/^1sten;set cop vstr cop2"
set cop2 "class c 2;say_buddy ^0#^3S^7pawn^3: ^1Covert^3/^1FG42;set cop vstr cop3"
set cop3 "class c 3;say_buddy ^0#^3S^7pawn^3: ^1Covert^3/^1sniper;set cop vstr cop1"
bind PGDN "team blue; echo ^0#^3A^7llied ^3T^7eam"
bind DEL "team red; ; echo ^0#^3A^7xis ^3T^7eam"
bind END "team spectator;echo ^0#^3S^7pectator"
// --[ Crouch ] ---

set crouch_1 "set crouch vstr crouch_0 ; +movedown ; cl_maxpackets 40"
set crouch_0 "set crouch vstr crouch_1 ; -movedown ; cl_maxpackets 100"
vstr crouch_0


OMG!!!
thanks for pointing that out....i need to crouch more now! :)
Parent
poo on you m8!

xD
Parent
i just got the config...no blaming me! and we dont lag (no sarcasm here)
Back to top