Jump to content

class bind problems


Sick
 Share

Recommended Posts

Here is what I have in my cfg, but everytime I click to swap teams it stays axis?? check it out and see if im doing something wrong please!! 

 

set sol1 "team b 0 5 8;echo ^6/^0Soldier with PANZERFAUST; set soldier vstr sol2"
set sol2 "team b 0 6 8;echo ^6/^0Soldier with FLAMETHROWER; set soldier vstr sol3"
set sol3 "team b 0 35 8;echo ^6/^0Soldier with MORTAR; set soldier vstr sol4"
set sol4 "team b 0 31 8;echo ^6/^0Soldier with MOBILE (MG42); set soldier vstr sol1"
set soldier "vstr sol1"
bind F1 "vstr soldier""

 

set sol1 "team r 0 5 3;echo ^6/^0Soldier with PANZERFAUST; set soldier vstr sol2"
set sol2 "team r 0 6 3;echo ^6/^0Soldier with FLAMETHROWER; set soldier vstr sol3"
set sol3 "team r 0 35 3;echo ^6/^0Soldier with MORTAR; set soldier vstr sol4"
set sol4 "team r 0 31 3;echo ^6/^0Soldier with MOBILE (MG42); set soldier vstr sol1"
set soldier "vstr sol1"
bind F2 "vstr soldier"

 

bind F3 "team b 3 8 37; echo ^6/^0Field Ops with Thompson"


bind F4 "team r 3 8 38; echo ^6/^0Field Ops with Mp40"

 

set ing1 "team b 2 8 37;echo ^6/^0Enginner with ^6Thompson; set engineer vstr ing2"
set ing2 "team b 2 24 37;echo ^6/^0Engineer with ^6Garand; set engineer vstr ing1"
set engineer "vstr ing1"
bind F5 "vstr engineer"

 

set ing1 "team r 2 3 38;echo ^6/^0Enginner with ^6Mp40; set engineer vstr ing2"
set ing2 "team r 2 23 38;echo ^6/^0Engineer with ^6K43; set engineer vstr ing1"
set engineer "vstr ing1"
bind F6 "vstr engineer"

 

bind F7 "team b 1 4 37; echo ^6/^0Medic with Thompson"


bind F8 "team r 1 4 38; echo ^6/^0Medic with Mp40"

 

set cov1 "team b 4 25 37;echo ^6/^0Covert with GARAND; set covert vstr cov2"
set cov2 "team b 4 33 37;echo ^6/^0Covert with FG42; set covert vstr cov3"
set cov3 "team b 4 10 37;echo ^6/^0Covert with STEN; set covert vstr cov1"
set covert "vstr cov1"
bind F9 "vstr covert"

 

set cov1 "team r 4 32 38;echo ^6/^0Covert with K43; set covert vstr cov2"
set cov2 "team r 4 33 38;echo ^6/^0Covert with FG42; set covert vstr cov3"
set cov3 "team r 4 10 38;echo ^6/^0Covert with STEN; set covert vstr cov1"
set covert "vstr cov1"
bind F10 "vstr covert"

BTW everything works BUT swapping teams from axis to allies....

  • Surprise 1
Link to comment
Share on other sites

 

2145.thumb.png.bb074d2aac41ae21169114cb3b3995ab.png

-

2156.thumb.png.32b08562021fca50323fdf28756bab65.png

-

2136.thumb.png.e7842ba86c3ebda3fb4c77b62a618fb5.png

 

You made a mistake, both scripts have this name.
You have entered the first script for your allies. And then for the axis. Scrypt for the Axis replaced the allies. As a result, you only have the script for the axis. And that's why it doesn't turn you into allies. 😏

 

I think you can see your mistake. 😎

 

PS.

sfhe54.png.55d4f170d0a7db63b9f3265cad4dbedf.png

 

You can set the sound. Instead of looking at the console. You hear that you have made a choice.😎

 

-----------------------------------------------------------------------------------

 

Corrected:

 

set soldierallies1 "team b 0 5 8;echo ^6/^0Soldier with PANZERFAUST; set soldierallies vstr soldierallies2"
set soldierallies2 "team b 0 6 8;echo ^6/^0Soldier with FLAMETHROWER; set soldierallies vstr soldierallies3"
set soldierallies3 "team b 0 35 8;echo ^6/^0Soldier with MORTAR; set soldierallies vstr soldierallies4"
set soldierallies4 "team b 0 31 8;echo ^6/^0Soldier with MOBILE (MG42); set soldierallies vstr soldierallies1"
set soldierallies "vstr soldierallies1"
bind F1 "vstr soldierallies""

 

set soldieraxis1 "team r 0 5 3;echo ^6/^0Soldier with PANZERFAUST; set soldieraxis vstr soldieraxis2"
set soldieraxis2 "team r 0 6 3;echo ^6/^0Soldier with FLAMETHROWER; set soldieraxis vstr soldieraxis3"
set soldieraxis3 "team r 0 35 3;echo ^6/^0Soldier with MORTAR; set soldieraxis vstr soldieraxis4"
set soldieraxis4 "team r 0 31 3;echo ^6/^0Soldier with MOBILE (MG42); set soldieraxis vstr soldieraxis1"
set soldieraxis "vstr soldieraxis1"
bind F2 "vstr soldieraxis"

 

bind F3 "team b 3 8 37; echo ^6/^0Field Ops with Thompson"


bind F4 "team r 3 8 38; echo ^6/^0Field Ops with Mp40"

 

set engineerallies1 "team b 2 8 37;echo ^6/^0Enginner with ^6Thompson; set engineerallies vstr engineerallies2"
set engineerallies2 "team b 2 24 37;echo ^6/^0Engineer with ^6Garand; set engineerallies vstr engineerallies1"
set engineerallies "vstr engineerallies1"
bind F5 "vstr engineerallies"

 

set engineeraxis1 "team r 2 3 38;echo ^6/^0Enginner with ^6Mp40; set engineeraxis vstr engineeraxis2"
set engineeraxis2 "team r 2 23 38;echo ^6/^0Engineer with ^6K43; set engineeraxis vstr engineeraxis1"
set engineeraxis "vstr engineeraxis1"
bind F6 "vstr engineeraxis"

 

bind F7 "team b 1 4 37; echo ^6/^0Medic with Thompson"


bind F8 "team r 1 4 38; echo ^6/^0Medic with Mp40"

 

set covertallies1 "team b 4 25 37;echo ^6/^0Covert with GARAND; set covertallies vstr covertallies2"
set covertallies2 "team b 4 33 37;echo ^6/^0Covert with FG42; set covertallies vstr covertallies3"
set covertallies3 "team b 4 10 37;echo ^6/^0Covert with STEN; set covertallies vstr covertallies1"
set covertallies "vstr covertallies1"
bind F9 "vstr covertallies"

 

set covertaxis1 "team r 4 32 38;echo ^6/^0Covert with K43; set covertaxis vstr covertaxis2"
set covertaxis2 "team r 4 33 38;echo ^6/^0Covert with FG42; set covertaxis vstr covertaxis3"
set covertaxis3 "team r 4 10 38;echo ^6/^0Covert with STEN; set covertaxis vstr covertaxis1"
set covertaxis "vstr covertaxis1"
bind F10 "vstr covertaxis"

 

----------------------------------------------------------------------------------

 

Team selection script:


bind "X1" "team red; say Axis"
bind "X2" "team blue; say Allies"
bind "X3" "team spectator; say Spectator"

 

Class selection script:


bind X1 "class m 1;say_team ^1M^0edic ^1- ^7SMG"
bind X2 "class f 1;say_team ^1F^0ield ^1O^0p ^1- ^7SMG"
bind X3 "vstr engi"
bind X4 "vstr cop"
bind X5 "vstr sol"


seta engi "vstr eng1"
seta eng1 "class e 1;say_team ^1E^0nginner ^1- ^7SMG;set engi vstr eng2"
seta eng2 "class e 2;say_team ^1E^0nginner ^1- ^7Rifla;set engi vstr eng1"
seta cop "vstr cop1"


seta cop1 "class c 1;say_team ^1C^0overt ^1O^0ps ^1- ^7Sten;set cop vstr cop2"
seta cop2 "class c 2;say_team ^1C^0overt ^1O^0ps ^1- ^7FG42;set cop vstr cop3"
seta cop3 "class c 3;say_team ^1C^0overt ^1O^0ps ^1- ^7k43;set cop vstr cop1"
seta sol "vstr sol1"


seta sol1 "class s 5;say_team ^1S^0oldat ^1- ^7Mortar;set sol vstr sol2"
seta sol2 "class s 3;say_team ^1S^0oldat ^1- ^7Flamer;set sol vstr sol3"
seta sol3 "class s 4;say_team ^1S^0oldat ^1- ^7Panzer;set sol vstr sol4"
seta sol4 "class s 2;say_team ^1S^0oldat ^1- ^7MG42;set sol vstr sol1"

 

 

  • Like 1
  • Thanks 1
  • Love 2
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.