Jump to content

  • Log in with Facebook Log in with Twitter Log In with Steam Log In with Google Sign In
  • Create Account

Tutorial info Visit support topic

  • Added on: May 01 2011 07:46 AM
  • Views: 2388
 


Jaymod weapon code for your class selector config

Enemy Territory weapon code for Jaymod.

Posted by daredevil on May 01 2011 07:46 AM
F7 - allies and press more to change class.
F8 - axis and press more to change class.
F9 - after u are done selecting u class press f9 to select u weapon.

How to use it? Download below zip file.

Attached File  class.zip   1.77KB   219 downloads

Unzip and put axis.cfg,allies.cfg and class.cfg and put it in your etmain folder.

If you are already using config i.e. autoexec.cfg or with different name, add in your config.
exec class.cfg


Copy pasting config here, if you just want to see weapon codes.

1. class.cfg to execute axis and allies class selector config.

//--exec axis selection
exec axis.cfg

//--exec allies selection
exec allies.cfg

echo "^qhe^rll^0_RETURN$ ^rClass Script Loaded"

2. axis.cfg - To select class in axis and weapons based on class.
//--- For Axis----
//---hell_RETURN$---
//-- Feel free to modify it.

// Keys
bind F8 "vstr class"
bind F9 "vstr weap"

// Class toggle
set cl1 "echo ^*> ^2Medic selected; set class vstr cl2; set weap vstr wp1"
set cl2 "echo ^*> ^2Field Ops selected; set class vstr cl3; set weap vstr wp2"
set cl3 "echo ^*> ^2Engineer selected; set class vstr cl4; set weap vstr wp3"
set cl4 "echo ^*> ^2Covert Ops selected; set class vstr cl5; set weap vstr wp4"
set cl5 "echo ^*> ^2Soldier selected; set class vstr cl1; set weap vstr wp5"
set class vstr cl1

// Axis medic
set wp11 "team r 1 3 38;echo ^2Medic^*/^2Weapon^*: ^2MP40; set wp1 vstr wp12"
set wp12 "team r 1 52 38;echo ^2Medic^*/^2Weapon^*: ^2M97; set wp1 vstr wp11"
set wp1 "vstr wp11"

// Axis field ops
set wp21 "team r 3 3 38;echo ^2Field Ops^*/^2Weapon^*: ^2MP40; set wp2 vstr wp22"
set wp22 "team r 3 52 38;echo ^2Field Ops^*/^2Weapon^*: ^2M97; set wp2 vstr wp21"
set wp2 "vstr wp21"

// Axis engineer
set wp31 "team r 2 3 38;echo ^2Engineer^*/^2Weapon^*: ^2MP40; set wp3 vstr wp32"
set wp32 "team r 2 23 38;echo ^2Engineer^*/^2Weapon^*: ^2K43; set wp3 vstr wp33" 
set wp33 "team r 2 52 38;echo ^2Engineer^*/^2Weapon^*: ^2M97; set wp3 vstr wp31" 
set wp3 "vstr wp31" 

// Axis covert ops
set wp41 "team r 4 32 38;echo ^2Covert Ops^*/^2Weapon^*: ^2K43; set wp4 vstr wp42"
set wp42 "team r 4 33 38;echo ^2Covert Ops^*/^2Weapon^*: ^2FG42; set wp4 vstr wp43"
set wp43 "team r 4 10 38;echo ^2Covert Ops^*/^2Weapon^*: ^2Sten; set wp4 vstr wp41"
set wp4 "vstr wp41"

// Axis soldier
set wp51 "team r 0 5 3;echo ^2Soldier^*/^2Weapon^*: ^2Panzerfaust; set wp5 vstr wp52"
set wp52 "team r 0 31 3;echo ^2Soldier^*/^2Weapon^*: ^2MG42; set wp5 vstr wp53"
set wp53 "team r 0 35 3;echo ^2Soldier^*/^2Weapon^*: ^2Mortar; set wp5 vstr wp54"
set wp54 "team r 0 6 3;echo ^2Soldier^*/^2Weapon^*: ^2Flamethrower; set wp5 vstr wp55"
set wp55 "team r 0 52 3;echo ^2Soldier^*/^2Weapon^*: ^2M97; set wp5 vstr wp51"
set wp5 "vstr wp51"


3. allies.cfg - To select class in allies and weapons.

//--- For Allies----
//---hell_RETURN$---

// --- keys---
bind F7 "vstr class"
bind F9 "vstr weap"

// Class toggle
set cl1 "echo ^*> ^2Medic selected; set class vstr cl2; set weap vstr wp1"
set cl2 "echo ^*> ^2Field Ops selected; set class vstr cl3; set weap vstr wp2"
set cl3 "echo ^*> ^2Engineer selected; set class vstr cl4; set weap vstr wp3"
set cl4 "echo ^*> ^2Covert Ops selected; set class vstr cl5; set weap vstr wp4"
set cl5 "echo ^*> ^2Soldier selected; set class vstr cl1; set weap vstr wp5"
set class vstr cl1

// Allied medic
set wp11 "team b 1 8 37;echo ^2Medic^*/^2Weapon^*: ^2Thompson; set wp1 vstr wp12"
set wp12 "team b 1 52 37;echo ^2Medic^*/^2Weapon^*: ^2M97; set wp1 vstr wp11"
set wp1 "vstr wp11"

// Allied field ops
set wp21 "team b 3 8 37;echo ^2Field Ops^*/^2Weapon^*: ^2Thompson; set wp2 vstr wp22"
set wp22 "team b 3 52 37;echo ^2Field Ops^*/^2Weapon^*: ^2M97; set wp2 vstr wp21"
set wp2 "vstr wp21"

// Allied engineer
set wp31 "team b 2 8 37;echo ^2Engineer^*/^2Weapon^*: ^2Thompson; set wp3 vstr wp32"
set wp32 "team b 2 24 37;echo ^2Engineer^*/^2Weapon^*: ^2M1 Garand; set wp3 vstr wp31" 
set wp3 "vstr wp31"

// Allied covert ops
set wp41 "team b 4 25 37;echo ^2Covert Ops^*/^2Weapon^*: ^2Garand; set wp4 vstr wp42"
set wp42 "team b 4 33 37;echo ^2Covert Ops^*/^2Weapon^*: ^2FG42; set wp4 vstr wp43"
set wp43 "team b 4 10 37;echo ^2Covert Ops^*/^2Weapon^*: ^2Sten; set wp4 vstr wp41"
set wp4 "vstr wp41"

// Allied soldier
set wp51 "team b 0 5 8;echo ^2Soldier^*/^2Weapon^*: ^2Panzerfaust; set wp5 vstr wp52"
set wp52 "team b 0 31 8;echo ^2Soldier^*/^2Weapon^*: ^2MG42; set wp5 vstr wp53"
set wp53 "team b 0 35 8;echo ^2Soldier^*/^2Weapon^*: ^2Mortar; set wp5 vstr wp54"
set wp54 "team b 0 6 8;echo ^2Soldier^*/^2Weapon^*: ^2Flamethrower; set wp5 vstr wp55"
set wp55 "team b 0 52 8;echo ^2Soldier^*/^2Weapon^*: ^2M97; set wp5 vstr wp51"
set wp5 "vstr wp51"