Home   Help Search Login Register  

Author Topic: weapon selection  (Read 474 times)

0 Members and 1 Guest are viewing this topic.

Offline bigdave003

  • Members
  • *
  • I'm a double bacon genius burger!!
weapon selection
« on: 24 Feb 2005, 23:36:31 »
hello, how do i make it possible to select weapons for a mission at the briefing screen?
"From this day to the ending of the world we in it shall be remembered. We lucky few, we band of brothers. For he who today sheds his blood with me shall be my brother. "

Offline RujiK

  • Members
  • *
  • KoKo Puh-Fizzles!
Re:weapon selection
« Reply #1 on: 24 Feb 2005, 23:50:13 »
Put this in the description.ext file, note that you will only be able to select the weapon once you have PBOed it and put it in the missions Folder

Code: [Select]
class Weapons
{
class Gunname { count = 1; };
class Othergunname { count = 1000; };
};

class Magazines
{
class magazinename { count = 6; };
class othermagazinename { count = anynumber you want; };
};
« Last Edit: 24 Feb 2005, 23:50:28 by RujiK »
I like your approach, lets see your departure.
Download the New Flashlight Script!

Offline bigdave003

  • Members
  • *
  • I'm a double bacon genius burger!!
Re:weapon selection
« Reply #2 on: 24 Feb 2005, 23:50:51 »
ta  :cheers:
"From this day to the ending of the world we in it shall be remembered. We lucky few, we band of brothers. For he who today sheds his blood with me shall be my brother. "

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:weapon selection
« Reply #3 on: 24 Feb 2005, 23:54:22 »
well, my first response would be to direct you to the appropriate tutorial, but i can't seem to find one easily.

the answer lies in the description.ext file. there's a very good example from which you can cut and paste in the unofficial command reference, which can be found here.

cheers :)

EDIT - beaten to it once more :P
« Last Edit: 24 Feb 2005, 23:54:56 by bedges »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:weapon selection
« Reply #4 on: 25 Feb 2005, 00:52:49 »
There are two tutes in the Ed Depot on description.ext, though they cover much more than just Gear selection.     The Tutorial Mission has a description.ext especially designed for you to use as a template.    It also has other files you can use as templates.
Plenty of reviewed ArmA missions for you to play