Jump to content
Sign in to follow this  
ADuke

Porting my helo pack

Recommended Posts

Hello Everyone :)

I would very much like to get my helo pack into ARMA 2 very soon but am having some problems. I have achieved getting them in-game but the biggest problem is that the rotors don't spin, and neither do the turrets. I can already guess that it is because my model.cfg is not compatible with the model definitions for ArmA 2. Here is what I got goin' on...

EDIT: Config removed

I would very much appreciate any advice that anyone can give on getting these things ported over. ;)

Thanks,

-ADuke

Edited by ADuke

Share this post


Link to post
Share on other sites

My Config.cpp:

EDIT: Config removed

Edited by ADuke

Share this post


Link to post
Share on other sites

Hi ADuke.

All this;

class CfgVehicles {
class All; // External class reference
class AllVehicles : All {class NewTurret {};};
class Air : AllVehicles {};
class Helicopter : Air {
	class Turrets {
		class MainTurret : NewTurret {
			class viewOptics;
		};
	};
	class AnimationSources;
};


class UH60MG : Helicopter {};
class UH60 : UH60MG {};

class ad_hh60g : UH60MG {

Is both unessisary and invalid I suspect;

The invalid bit is UH60MG as its not in ArmA2

Try;

class CfgVehicles {
class MH60S; // extend and copy existing class
class ad_hh60g : MH60S {
	scope = public;
	displayName = "HH60G";
	............
	............
	............

Does any animation work? Double check you model P3D file names match the names you are defining in cfgModels

Share this post


Link to post
Share on other sites
Gnat;1432348']Hi ADuke.

Does any animation work? Double check you model P3D file names match the names you are defining in cfgModels

Ya, couldn't be more perfect as far as ArmA 1 is concerned, I have a feeling that your suggestion is going to fix the most important stuff for the ArmA 2 version, but we'll see.

Thanks for your help,

ADuke

Share this post


Link to post
Share on other sites

Well, I got the thing in-game but now I am getting error messages about no entries for gunclouds in my turrets, I fixed this in the arma 1 version, don't know why I am getting it now...

EDIT: Config removed

Edited by ADuke

Share this post


Link to post
Share on other sites

OK, so this is what needed to be in my config for everything to work.

class CfgVehicles {
class AllVehicles;	// External class reference
class Air : AllVehicles {
	class Sounds;	// External class reference
};

class Helicopter : Air {
	class Turrets {
		class MainTurret;	// External class reference
	};
	class NewTurret;	// External class reference
	class ViewPilot;	// External class reference
	class AnimationSources;	// External class reference

	class Sounds : Sounds {
		class Engine;	// External class reference
		class Movement;	// External class reference
	};
};

class ad_hh60g : Helicopter {
	scope = public;
	displayName = "HH60G";

Thanks for all the help :rolleyes: lol

Moving on with the port.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×