OFPEC Forum

Addons & Mods Depot => Arma2 - Configs & Scripting => Topic started by: Absolution on 30 Dec 2010, 18:14:37

Title: Uninheriting a class in config and wounded proxies
Post by: Absolution on 30 Dec 2010, 18:14:37
Here's the run down. I am making after-market modifications to an existing mod. I am adding in an ambulance variant to the MaxxPro mod (with permission).

I am trying to remove the gunner position from the vehicle and my coding skills are such that I do not want to rewrite the config file and risk goofing something up. As a result I am inheriting properties from the other MaxxPros that have the turret class and as a result the Ambulance has it too. Is there a way to remove the turret class but leave every other inheritance intact?

Secondly, since this is an ambulance I need proxies for prone characters. Where can I find those?
Title: Re: Uninheriting a class in config and wounded proxies
Post by: h- on 31 Dec 2010, 08:51:45
AFAIK you don't need any specific proxies for prone characters, you can define the animation that is played in a (gunner/cargo/driver/commander)proxy in the config, like for example cargoAction[]={"someCargoAnim"};
I think there's similar tokens for gunner, commander and driver too..
Easiest way to find the anim you want is to use a anim viewer (http://www.ofpec.com/ed_depot/index.php?action=details&id=570&game=ArmA) which should give you the name of the anim you can then use in the config.

Quote
Is there a way to remove the turret class but leave every other inheritance intact?
Maybe just adding a empty turret definition in the new ambulance class would help?
As in class Turrets {}; or something :dunno: