Jump to content

Allies Script W:ET//Respawn Class Selector


alala

Recommended Posts

You can put this file in your Etmain map.   

-ALLIES-

 

//ALLIED ENGINEER
set ing1 "team b 2 8 37;echo ^2****Engineer with THOMPSON****;say_team ^3***** ^w=^1[^wEngineer^1]^w=^2 Thompson ^3*****; set engineer vstr ing2"
set ing2 "team b 2 24 37;echo ^2****Engineer with M1 GARAND****;say_team ^3***** ^w=^1[^wEngineer^1]^w=^2 M1 Garand ^3*****; set engineer vstr ing1"
set engineer "vstr ing1"
bind F4 "vstr engineer"
 
//ALLIED MEDIC
set medic "team b 1 8 37;echo ^2****MEDIC****;say_team ^3***** ^w=^1[^wI'm going^1]^w=^2 Medic ^3*****"
bind F5 "vstr medic"
 
//ALLIED FIELDS OPS
set field "team b 3 8 37;echo ^2****Fields Ops.****; say_team ^3***** ^w=^1[^wI'm going^1]^w=^2 Field Ops. ^3*****"
bind F6 "vstr field"
 
//ALLIED COVERT OPS
set cov1 "team b 4 25 37;echo ^2****Covert with GARAND****;say_team ^3***** ^w=^1[^wCovert^1]^w=^2 Garand ^3*****; set covert vstr cov2"
set cov2 "team b 4 33 37;echo ^2****Covert with FG42****;say_team ^3***** ^w=^1[^wCovert^1]^w=^2 FG42 ^3*****; set covert vstr cov3"
set cov3 "team b 4 10 37;echo ^2****Covert with STEN****;say_team ^3***** ^w=^1[^wCovert^1]^w=^2 Sten ^3*****; set covert vstr cov1"
set covert "vstr cov1"
bind F7 "vstr covert"
 
//ALLIED SOLDIER
set sol1 "team b 0 5 8;echo ^2****Soldier with PANZERFAUST****;say_team ^3***** ^w=^1[^wSoldier^1]^w=^2 Panzerfaust ^3*****; set soldier vstr sol2"
set sol2 "team b 0 6 8;echo ^2****Soldier with FLAMETHROWER****;say_team ^3***** ^w=^1[^wSoldier^1]^w=^2 Flamethrower ^3*****; set soldier vstr sol3"
set sol3 "team b 0 35 8;echo ^2****Soldier with MORTAR****;say_team ^3***** ^w=^1[^wSoldier^1]^w=^2 Mortar ^3*****; set soldier vstr sol4"
set sol4 "team b 0 31 8;echo ^2****Soldier with MOBILE (MG42)****;say_team ^3***** ^w=^1[^wSoldier^1]^w=^2 MOBILE(MG42) ^3*****; set soldier vstr sol1"
set soldier "vstr sol1"
bind F8 "vstr soldier"

 

-AXIS-

 

AXIS ENGINEER
set ing1 "team r 2 3 38;echo ^2****Engineer with MP40****;say_team ^3***** ^w=^1[^wEngineer^1]^w=^2 MP40 ^3*****; set engineer vstr ing2"
set ing2 "team r 2 23 38;echo ^2****Engineer with K43****;say_team ^3***** ^w=^1[^wEngineer^1]^w=^2 K43 ^3*****; set engineer vstr ing1"
set engineer "vstr ing1"
bind F4 "vstr engineer"
 
//AXIS MEDIC
set medic "team r 1 3 38;echo ^2****MEDIC****;say_team ^3***** ^w=^1[^wI'm going^1]^w=^2 Medic ^3*****"
bind F5 "vstr medic"
 
//AXIS FIELDS OPS
set field "team r 3 3 38;echo ^2****Fields Ops.****; say_team ^3***** ^w=^1[^wI'm going^1]^w=^2 Field Ops. ^3*****"
bind F6 "vstr field"
 
//AXIS COVERT OPS
set cov1 "team r 4 32 38;echo ^2****Covert with K43****;say_team ^3***** ^w=^1[^wCovert^1]^w=^2 K43 ^3*****; set covert vstr cov2"
set cov2 "team r 4 33 38;echo ^2****Covert with FG42****;say_team ^3***** ^w=^1[^wCovert^1]^w=^2 FG42 ^3*****; set covert vstr cov3"
set cov3 "team r 4 10 38;echo ^2****Covert with STEN****;say_team ^3***** ^w=^1[^wCovert^1]^w=^2 Sten ^3*****; set covert vstr cov1"
set covert "vstr cov1"
bind F7 "vstr covert"
 
//AXIS SOLDIER
set sol1 "team r 0 5 3;echo ^2****Soldier with PANZERFAUST****;say_team ^3***** ^w=^1[^wSoldier^1]^w=^2 Panzerfaust ^3*****; set soldier vstr sol2"
set sol2 "team r 0 6 3;echo ^2****Soldier with FLAMETHROWER****;say_team ^3***** ^w=^1[^wSoldier^1]^w=^2 Flamethrower ^3*****; set soldier vstr sol3"
set sol3 "team r 0 35 3;echo ^2****Soldier with MORTAR****;say_team ^3***** ^w=^1[^wSoldier^1]^w=^2 Mortar ^3*****; set soldier vstr sol4"
set sol4 "team r 0 31 3;echo ^2****Soldier with MOBILE (MG42)****;say_team ^3***** ^w=^1[^wSoldier^1]^w=^2 Mobile (MG42) ^3*****; set soldier vstr sol1"
set soldier "vstr sol1"

bind F8 "vstr soldier"

 

 

  • Love 1
  • 100 1
Link to comment
Share on other sites

  • 2 weeks later...
  • Platinum VIP
2 hours ago, HarryAimpotter said:

Why do you have separate script for separate teams.

Can't it be just one script for both sides? Is there no way to get it to work without the team r/b. In etpro you could with set class.

 

class command is blocked on jaymod for some reason. So doing it this way is the only way that works for jaymod (afaik). I feel like the script is incomplete because we are missing the binds that indicate if you use the allies binds or the axis binds. Typically you would put three different .cfgs in your etmain. Your own cfg, allies.cfg and axis.cfg. Your own cfg would then have something like:

 

bind [key1] "team r 1 1; exec axis"
bind [key2] "team b 1 1; exec allies"
 

  • Love 1
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
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
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.

×
×
  • Create New...

Important Information

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