Home   Help Search Login Register  

Author Topic: Jam weapons and ammo names for gear selection?  (Read 2246 times)

0 Members and 1 Guest are viewing this topic.

Offline ONoSixIsDown

  • Members
  • *
Jam weapons and ammo names for gear selection?
« on: 13 Sep 2007, 21:54:00 »
hey all, I want to included the JAM(JAM3 to be specific) weapons into the gear but dont know how to go about finding the proper weapon "class" names to put in the description.ext file.  I've searched about for some time now but to no avail.  Is there a resource or something that i've missed with the info i'm looking for or is there another way to go about getting them.  I don't nessecarily need anyone to list them all, just a kick in the arse to point me in the right direction.  thanks a lot, gang. :good:
CRIMSON REIGN COMMING..... eventually :/

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: Jam weapons and ammo names for gear selection?
« Reply #1 on: 14 Sep 2007, 08:32:32 »
have you tried de-pbo'ing the addon and looking at the config file? that would be the first place i'd look...

Offline schuler

  • Contributing Member
  • **
Re: Jam weapons and ammo names for gear selection?
« Reply #2 on: 14 Sep 2007, 15:19:39 »
ive played around with this before and gave up >:(  this is off your topic but might help some. i plan on looking into this more at some point when i have some time.
use the BAS before JAM. did you try that? like so, weapon is "BAS_JM4ACOG" mag is "JAM_W556_30mag"

heres how to put in ammo box
Quote
;  INSTRUCTIONS: Run script from the INITIALIZATION box of the crate, ammo box, use a JAM crate
;  RUN CODE: [this] Exec "_crate_name.sqs"


; Get the crate parameter given
_crate = _this Select 0

; Remove the stock items from the crate
ClearMagazineCargo _crate
ClearWeaponCargo _crate

; Add the items to the crate
_crate AddWeaponCargo ["BAS_JM4ACOG", 5]
_crate AddMagazineCargo ["JAM_W556_30mag", 25]
;and so on ,

Exit
  ;) hope that helps you in some way, i know i didnt solve your topic. :confused: but just woundered if you tried the BAS_ part before JAM. p.s. i can send you the magazine class names if you want, its about 4 pages :yes:
edit;;; thats if your using bas
you could also change your mission and have player without weapons and gear and have him sent to a tent with an ammo crate and arm himself, ' just to get around the description.ext file'
« Last Edit: 15 Sep 2007, 03:16:41 by schuler »
Semper Fi

Offline ONoSixIsDown

  • Members
  • *
Re: Jam weapons and ammo names for gear selection?
« Reply #3 on: 18 Sep 2007, 01:42:20 »
alright, unpbo'd the addon and took a look in the config.cpp file.  though it would seem that i bit off a bit more than i can chew and have very little idea what most if not all of the entries are.  ??? anyone know under what heading it would be for the info that i so desperately need?  just an example of what the weapon/magazine class names look like would also be a great help. 

now to possibly answer my own question, do they look like this? BAS_JM4ACOG or JAM_W556_30mag?
« Last Edit: 18 Sep 2007, 01:45:38 by OhNoSixIsDown »
CRIMSON REIGN COMMING..... eventually :/

Offline schuler

  • Contributing Member
  • **
Re: Jam weapons and ammo names for gear selection?
« Reply #4 on: 18 Sep 2007, 02:10:47 »
OhNoSixIsDown, for gear use this, read notes in top of this code  :D
Quote
; notice the class BAS_M4Mag in magazines, that not jam, so it give the option to
; have an easyer firing weapon

class Weapons
{
 class binocular         {count = 6;};
 class BAS_JM4desACOG         {count = 3;};
 class BAS_JM4desACOGS        {count = 3;};
 class BAS_JM4desREFLEX       {count = 3;};
 class BAS_JM4desREFLEXS      {count = 3;};
 class BAS_JM4desReflexM203   {count = 3;};
 class BAS_JM4desReflexSM203  {count = 3;};
 class BAS_JM4desEOTech       {count = 3;};
 class BAS_JM4desEOTechS      {count = 3;};
 class BAS_JM4desEOTechM203   {count = 3;};
 class BAS_JM4desEOTechSM203  {count = 3;};
 class BAS_JM4Aimpoint        {count = 3;};
 class BAS_JM4AimpointS       {count = 3;};
 class BAS_JM4AimpointM203    {count = 3;};
 class BAS_JM4AimpointSM203   {count = 3;};
 class BAS_JM14AIMPOINT       {count = 3;};
 class BAS_JSR25              {count = 3;};
 class BAS_JSR25S             {count = 3;};
 class BAS_JM249              {count = 3;};
 class BAS_JM249SPW           {count = 3;};
 class BAS_JM249SPWSD         {count = 3;};
 class BAS_JM240B             {count = 3;};
 class BAS_JP226              {count = 6;};
 class BAS_JM1911             {count = 6;};
 class LAWLauncher            {count = 6;};
};

class Magazines
{
 class BAS_M4Mag              {count = 60;};
 class JAM_W556_30HDmag       {count = 60;};
 class JAM_W556_30SDHDmag     {count = 60;};
 class LAWLauncher            {count = 10;};
 class JAM_M433vest           {count = 10;};
 class JAM_M9mag              {count = 30;};
 class JAM_M1911mag           {count = 30;};
 class JAM_W762_20HDmag       {count = 30;};
 class JAM_W762Sniper_20Mag   {count = 20;};
 class JAM_W762Sniper_20SDMag {count = 20;};
 class JAM_W556M_200HDmag     {count = 30;};
 class JAM_W556M_200SDHDmag   {count = 10;};
 class JAM_W762M_100HDmag     {count = 20;};
 class HandGrenade            {count = 30;};
 class PipeBomb               {count = 5;};
};
Semper Fi

Offline ONoSixIsDown

  • Members
  • *
Re: Jam weapons and ammo names for gear selection?
« Reply #5 on: 20 Sep 2007, 20:26:40 »
thanks alot bro, that'll be a huge help.   :good:
CRIMSON REIGN COMMING..... eventually :/