Home   Help Search Login Register  

Author Topic: Description.ext gun setting  (Read 647 times)

0 Members and 1 Guest are viewing this topic.

Offline limmy3

  • Members
  • *
  • OFP crazy!
Description.ext gun setting
« on: 15 Sep 2005, 19:15:16 »
Hi, I would like to give a soldier a collection of guns to choose from.
In the descriptin.ext I tried this:

//The seting of guns, fons and background used.
//Choose WEAPON from list

class Weapons
{
class UKF_SA80
{
count=12
};
class Weapons
{
class UKF_LMG
{
count=12
};
class Weapons
{
class UKF_LSW
{
count=12
};
class Weapons
{
class UKF_SA80AG36
{
count=12
};

but various changes and trying will not work.
Has someone got the answer?  ???
« Last Edit: 15 Sep 2005, 19:17:05 by limmy3 »
The only necessary for triumph of evil is for good men to do nothing.

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Description.ext gun setting
« Reply #1 on: 15 Sep 2005, 20:41:12 »
you only define
"Class Weapons" once

eg

// WEAPONS
class Weapons
   {
   class WGL_M4a1
   {
   count = 5;
   };

   class WGL_M4a1gl
   {
   count = 3;
   };

   class WGL_M4a1sd
   {
   count = 10;
   };
   class WGL_M4a1reflex
   {
   count = 10;
   };
};



and then the same again but for the ammo
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Offline The-Architect

  • Former Staff
  • ****
  • Bite my shiny metal...
    • Bob's Un-official Flashpoint Page
Re:Description.ext gun setting
« Reply #2 on: 15 Sep 2005, 20:57:33 »
Here's a sample of the UKF weapons from one of my missions. Look at it to see how it's done and If you want to use it, use it. You can add weapons to it once you figure out how it works.

class Weapons
{
class UKF_SA80
{ count = 10;};
class UKF_SA80AG36
{ count = 10;};
class UKF_LMG
{ count = 10;};
class UKF_GPMG
{ count = 10;};
class UKF_LAW80Launcher
{ count = 10;};
};

class Magazines
{
class JAM_W556_30mag
{ count = 100;};
class JAM_M433grenade
{ count = 100;};
class JAM_M433Vest
{ count = 15;};
class JAM_M576buck
{ count = 100;};
class JAM_W556M_200mag
{ count = 40;};
class JAM_W762M_100mag
{count = 40;};
class ukf_LAW80
{ count = 10;};
};
James Andrew Wilkinson 1977 - 2005 R.I.P.
"If it ain't the friggin' incoming it's the friggin' outgoing. Only difference is who gets the friggin' grease, and that ain't no friggin' difference at all."

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Description.ext gun setting
« Reply #3 on: 15 Sep 2005, 20:58:41 »
Working example in the Tutorial Mission in the Editors Depot.
Plenty of reviewed ArmA missions for you to play

Offline limmy3

  • Members
  • *
  • OFP crazy!
Re:Description.ext gun setting
« Reply #4 on: 15 Sep 2005, 21:25:07 »
Thank you!  ;D
The only necessary for triumph of evil is for good men to do nothing.

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Description.ext gun setting
« Reply #5 on: 17 Sep 2005, 02:41:04 »
Welcome to the forums, Limmey3 :)

If you're question is answered, could you please click the button at the bottom of the thread.

Then our talented editor depot workers can add your question to our FAQ.
Thanks.

Offline limmy3

  • Members
  • *
  • OFP crazy!
Re:Description.ext gun setting
« Reply #6 on: 18 Sep 2005, 18:33:00 »
Welcome to the forums, Limmey3 :)

If you're question is answered, could you please click the button at the bottom of the thread.

Then our talented editor depot workers can add your question to our FAQ.
Thanks.

Yes, I just wanted to see if it works, then solve it.
The only necessary for triumph of evil is for good men to do nothing.