Home   Help Search Login Register  

Author Topic: Parachutes  (Read 2096 times)

0 Members and 1 Guest are viewing this topic.

Offline trooper543

  • Members
  • *
Parachutes
« on: 31 Dec 2008, 14:23:51 »
First and Foremost if i have posted in the wrong topic then i apologize in advance

What i am trying to find out is how to config a custom parachute that will be used with our  custom troop pack. The problem that i have at the moment is that the custom chute works on its own but i cannot find where and how i can replace the default chute (ParachuteWest) with our chute.

If anyone can shed some light on this it would be most appreciated. Many thanks in advance

Offline Gnat

  • Addons Depot
  • Moderator
  • *****
  • I Bite!
    • Gnats
Re: Parachutes
« Reply #1 on: 01 Jan 2009, 04:45:03 »
hmmmm .... looked through the various configs etc, can't see it as definable ... seems to be hard-coded at a guess.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Parachutes
« Reply #2 on: 01 Jan 2009, 13:50:16 »
Something along these lines perhaps:

Code: [Select]
class cfgVehicles
{
  class ParachuteBase;
  class yourParachuteBase: ParachuteBase
  {
    ......
    ......
    ......
  }:

  //Overriding ArmA class
  class ParachuteWest: yourParachuteBase
  {
    ......
    ......
    ......
  };

  //Overriding ArmA class
  class ParachuteEast: yourParachuteBase
  {
    ......
    ......
    ......
  };

  //Overriding ArmA class
  class ParachuteC: yourParachuteBase
  {
    ......
    ......
    ......
  };

  //Overriding ArmA class
  class ParachuteG: yourParachuteBase
  {
    ......
    ......
    ......
  };
};

Hopefully this is what you meant.


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

Offline trooper543

  • Members
  • *
Re: Parachutes
« Reply #3 on: 03 Jan 2009, 16:32:23 »
@ Planck

Thanks for that will try that route

@ Gnat

thanks for the response as always