OFPEC Forum

Addons & Mods Depot => ArmA - Configs & Scripting => Topic started by: trooper543 on 31 Dec 2008, 14:23:51

Title: Parachutes
Post by: trooper543 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
Title: Re: Parachutes
Post by: Gnat 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.
Title: Re: Parachutes
Post by: Planck 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
Title: Re: Parachutes
Post by: trooper543 on 03 Jan 2009, 16:32:23
@ Planck

Thanks for that will try that route

@ Gnat

thanks for the response as always