Home   Help Search Login Register  

Author Topic: Me and Description dont combine... need help!  (Read 614 times)

0 Members and 1 Guest are viewing this topic.

Offline wcrvieira

  • Former Staff
  • ****
Me and Description dont combine... need help!
« on: 25 May 2005, 23:41:20 »
Hi there people!
Well this is the first time I need help with description and I really am seeking for some help!

My problem is as follows:

I am making my new mission Operation Dreizack and I want my unit to have gear selection... I want him to start with G36A and to have to choose the most common weapons in the Portuguese Rangers (real units name).
I am not using any scripts, version 1.96 and no addons.

The description is this:

Quote
onLoadMission="Nice! Your insertion from the mountain was perfect. Now do your job!";

class Weapons
{
   // Add the weapons to the mission gear
   class UZI
   {
      Count = 1;
   };
   class Steyr
   {
      Count = 1;
   };
   class M4
   {
      Count = 1;
   };
   class M21
   {
      Count = 1;
   };
   class HK
   {
      Count = 1;
   };
   class G36A
   {
      Count = 1;
   };
   class FAL
   {
      Count = 1;
   };
};

class Magazines
{
   // Add the magazines to the mission gear
   class Flare
   {
      Count = 5;
   };
   class UZIMag
   {
      Count = 15;
   };
   class SteyrMag
   {
      Count = 15;
   };
   class M4
   {
      Count = 15;
   };
   class M21
   {
      Count = 15;
   };
   class HK
   {
      Count = 15;
   };
   class G36AMag
   {
      Count = 15;
   };
   class FALMag
   {
      Count = 15;
   };
};

And i put in the init field of the unit:
Quote
removeallweapons this; this addweapon "G36A"; this addmagazine "G36Amag";this addmagazine "G36Amag";this addmagazine "G36Amag"
btw: this init works fine but i dunno if I used this one... I guess I did! But it works fine neverthless.

Thanks in advance

Take care
BV

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re:Me and Description dont combine... need help!
« Reply #1 on: 25 May 2005, 23:46:43 »
i may be missing something, but what exactly is the problem? i don't think you said...  :-\

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Me and Description dont combine... need help!
« Reply #2 on: 26 May 2005, 00:03:04 »
I can see a small one.    Add a magazine before adding the weapon (in the init line) so that the weapon is loaded at the start of the mission.

But yes, what's going wrong?
Plenty of reviewed ArmA missions for you to play

Offline wcrvieira

  • Former Staff
  • ****
Re:Me and Description dont combine... need help!
« Reply #3 on: 26 May 2005, 00:12:00 »
Lol i forgot!

The problem is that I cant choose the gear in the briefing...
Its weird it is like my lasts mission description and this doesnt work...

I really cant choose weapons!

Cya
BV

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Me and Description dont combine... need help!
« Reply #4 on: 26 May 2005, 00:13:10 »
Unless it is called description.ext.txt instead of description.ext.


Planck
I know a little about a lot, and a lot about a little.

Offline wcrvieira

  • Former Staff
  • ****
Re:Me and Description dont combine... need help!
« Reply #5 on: 26 May 2005, 00:22:08 »
no it isnt...

See... the ONloadmission works fine but the weapons nah....

Cya
BV

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Me and Description dont combine... need help!
« Reply #6 on: 26 May 2005, 00:26:52 »
Delete the gear selection section from your description.ext.    Copy and paste in the gear selection from the description.ext in the Tutorial Mission.    You will now have gear selection, just the wrong gear.     Edit the weapon and magazine names to get what you want.   Copy and paste as required.
Plenty of reviewed ArmA missions for you to play

Offline wcrvieira

  • Former Staff
  • ****
Re:Me and Description dont combine... need help!
« Reply #7 on: 26 May 2005, 00:31:35 »
Thanks mate ill try that

Take care
BV

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Me and Description dont combine... need help!
« Reply #8 on: 26 May 2005, 00:47:41 »
Maybe I'm missing something here, but, why have a gear selection if you then removeallweapons once the mission starts and then give him a G36a?


Planck
I know a little about a lot, and a lot about a little.

Offline wcrvieira

  • Former Staff
  • ****
Re:Me and Description dont combine... need help!
« Reply #9 on: 26 May 2005, 01:11:05 »
Nvm mate...

I am a bit fuck** up I cant think straight...
Too many things on my head... oh how I am wishing a CZ75 here in my hands now...

Damn... really apreciated mates you helped a lot...
Thanks! :D

Cya
BV