Author Topic: weapon loadouts like cod2  (Read 2296 times)

Offline alyosha

  • Rank: Private
  • *
  • Posts: 203
weapon loadouts like cod2
« on: November 19, 2009, 07:56:02 pm »
Hi, it will be great have in the X5 eXtreme a weapon loadouts according to team/nationality like in cod2 with no perks and ranks?
A cod gameplay like the fantastic cod2 but with the benefit of the new graphics, founded some screenshot of a similar mod called demon mod



Offline Joker{eXtreme}

  • Rank: Private
  • *
  • Posts: 6108
    • http://www.mycallofduty.com
Re: weapon loadouts like cod2
« Reply #1 on: November 19, 2009, 08:36:58 pm »
You can do that with X5v2.5 and using the weaponcontrol.cfg along with the Class settings per nationality

Offline alyosha

  • Rank: Private
  • *
  • Posts: 203
Re: weapon loadouts like cod2
« Reply #2 on: November 20, 2009, 08:11:53 am »
ooh it's great!

Offline Chiblue

  • Rank: Private
  • *
  • Posts: 47
Re: weapon loadouts like cod2
« Reply #3 on: November 20, 2009, 09:58:05 am »
This si done in X5 using the weapon and perk class settings,  firstly pick which of the 10 classes you wish to have setup for each country.  you can have one, tow or more for each... depending upon if you want Axis/Allies or Japanese/US etc...  

Set the class using the setting in each class

set ex_Class1_CountrySpecific   1234   // 1 = USA, 2 = Russian, 3 = Germany, 4 = Japan,  string numbers for multiples.. i.e. 12 = USA and Russian, 1234 = all

This will makes the mod only allow that class when that country is the allies or axis side for the specific map.  

So if you want class one to only be USA then set it to 1,  for Allies use 12... for Germany use 3 for Axis use 34...

The critical part here is to ensure that you allow atleast one class per country,  otherwise if a map uses USA and you don't have USA set in any classses the players will not be able to select a loadout... PLEASE REMEMBER THIS..  Although if there are no classes avaialble the Default Class setting will be used...

Now once you have set each of these for the 10 possible classes.... now you need to set the weapons... so if you want say class 1 and class 2 to be USA,  then you need to set each of the weapon options for USA weapons to be those classes...  or weapon types... you may want to have class 1 as USA Sniper and 2 as USA Gunner....  any way to set the weapons use the following for the Garand to be avaialble for classes 1 and 2.

set ex_m1garand "12"
set ex_m1garand_flash "12"
set ex_m1garand_bayonet "12"
set ex_m1garand_gl "12"
set ex_m1garand_scoped "12"

If you want the scoped for only class 1 then and the other attachments for class 2, you would use..

set ex_m1garand "12"
set ex_m1garand_flash "2"
set ex_m1garand_bayonet "2"
set ex_m1garand_gl "2"
set ex_m1garand_scoped "1"

If you don't want a weapon or option availble then set it to

set ex_m1garand_flash ""

Now the mod will enable the weapon if you enable an attachment automatically...  but the set ex_m1garand is for no attachments...

Ok, now on to perks.... simple set all perks to be "" i.e.

set ex_allow_detectexplosives ""
set ex_allow_bulletaccuracy   ""
set ex_allow_fraggrenade ""
Etc....

Finally you want to setup the default weapon loadouts,  if you set a weapon as a default in the laodout that is not enabled in the weapons,  then the player can still use it and it will be automatically enabled....  So you need to set the default loadouts for each class you wish to use..

set ex_Class1_Allow 1
set ex_Class1_name "Assault"
set ex_Class1_change "^4(Edit)"
set ex_Class1_ModelType 0        // 0=ASSAULT, 1=SNIPER, 2=SUPPORT, 3=RECON, 4=SPECOPS, 5=FLAMETHROWER
set ex_Class1_Primary "m1garand"
set ex_Class1_Secondary "colt"
set ex_Class1_Primary_Attachment "none"
set ex_Class1_Secondary_Attachment "none"
set ex_Class1_Specialty1 "none"
set ex_Class1_Specialty2 "none"
set ex_Class1_Specialty3 "none"
set ex_Class1_Specialty4 "none
set ex_Class1_Primary_Grenade "frag_grenade"
set ex_Class1_Special_Grenade "signal_flare"
set ex_Class1_Primary_Grenade_count 2
set ex_Class1_Special_Grenade_count 2
set ex_Class1_MoveScale "95"
set ex_Class1_Special_Camo "camo_none"
set ex_Class1_Max_allies 99      // Maximum number of Assualt players for allies
set ex_Class1_Max_axis 99      // Maximum number of Assualt players for axis
set ex_Class1_CountrySpecific   1   // 1 = USA, 2 = Russian, 3 = Germany, 4 = Japan,  string numbers for multiples.. i.e. 12 = USA and Russian, 1234 = all
set ex_Class1_Always_lock   0   // this option allows you to lock this class, even if the control allows change 0=use control, 1=locked..
set ex_Class1_lock_none      1   // If any weapon defined as "none",  allow change if change allowed 0=default (use general option), 1=Lock None from change....


This loadout for class 1 will allow the player to change the loadouts,  but will initially have no perks,  will have nades and will not be able to change the perks,  this class will only be available for USA

Thanks and I hope this helps...