Jump to content
Sign in to follow this  
scousejedi

Jeep or tank but no hybrid?

Recommended Posts

I am working on a Puma (german 8 wheeled armoured car with a turret and 50mm gun)

If I define the model as puma : jeepMG then my wheels turn. My turret turns but the gun does not fire.

So, when I define as puma : Tank

My turret turns and my gun fires but my wheels become static as OFP searches for track definitions in the model.

I read a post by General Carnage (I think) about missiles firing from Jeeps where this seemed to be impossible but all I want to do is upgrade the JeepMG's browning to a Gun120.

Is this possible or is there a work around?

Thanks

Share this post


Link to post
Share on other sites

i am not sure but maybe it works if you merge the properties of both classes:

since your model is wheel-based, keep deriving it from jeepmgun and try adding the following code inside your class:

class TurretBase

{

gunAxis = "OsaHlavne";

turretAxis = "OsaVeze";

soundServo[]={Vehicles\gun_elevate,db-30,1.0};

gunBeg = "usti hlavne";

gunEnd = "konec hlavne";

minElev=-4; maxElev=+20;

minTurn=-360; maxTurn=+360;

body = "OtocVez";

gun = "OtocHlaven";

};

class Turret: TurretBase {}

class ComTurret

{

turretAxis = "OsaVelitele";

gunAxis = "OsaHlavneVelitele";

soundServo[]={Vehicles\gun_elevate,db-70,1.2};

gunBeg = "usti hlavne"; // currently ignored

gunEnd = "konec hlavne";

minElev=-4; maxElev=+20;

minTurn=-360; maxTurn=+360;

body = "OtocVelitele";

gun = "OtocHlavenVelitele";

};

this is from the commented config file "configvehicles.hpp" and is an inline class of the "tank class". so i guess it should work...

here the memory lod selections are defined, as you can see.

maybe you can make your turret move by this.

Share this post


Link to post
Share on other sites

The turret turns great - I have the turret class defined in my config. Its a game engine problem - you cannot have anything other than MGs on car - and no missile proxies either. So the gun refuses to fire.

I hope Bis can change this in a patch - my next project was going to be a BMW 3 wheled recon bike from WW2 - I bet you can't put a MG on a motorbike sad.gif

(Hopefully one of the old hands will jump in here and say - no its easy just do this - but somehow I doubt it)

I am continuing with the addon anyway Im too far to give up now.

Thanks anyway.

Share this post


Link to post
Share on other sites

Yeah, I coulda told you this aleady. Long time ago I tried to add missiles to a Trabant, but all it wanted to add was MGs and weapons with tracers.

I did try adding a custom weapon at the time which was some sort of 500lb bomb (before the A10 bomber was out) and I don't remember exactly what I did, but it is possible to strip the object of the munition and end up with a bomb that just looks like a tracer. So in essence you end up with a tiny little line falling towards the ground...but it's helluva hard to see confused.gif

Share this post


Link to post
Share on other sites

I was considering something like that Red - using a MG but changing the CfgAmmo and CfgWeapons setting to make it act like a shell - slow firing with more damage.

I was testing my Puma last night though in car simulation mode and there is a fundamental problem with making it a sub class of jeepMG. - The AI thinks its a car - they run up to it and start to throw hand grenades at it.

When I need is a new vehicleclass - "WheeledAFV"

That would be a tank in every respect apart from the wheels which would work like simulation "car" wheels.

Sadly this is a lot to ask for. There seems to be more people wanting a turreted car than a wheeled tank but you never know. The fact that Bis personnel are still engaging with people on these forums must mean that they have some plans for OFP yet.

While Im asking for the impossible could we have a half track class and a turreted motorbike.

I made have picked the wrong vehicle to model but thats my fault. I'll make sure my next choice is possible before putting a few days work into it.

Share this post


Link to post
Share on other sites

Well, I would like to see the same thing.

A group of us have been wanting to make an autocombat mod for OFP since before the game even came out. Like I said earlier, I experimented with it, but was unhappy with only being allowed to use MGs.

So, I too would wish BI could show us how to do this or something...

Share this post


Link to post
Share on other sites

I agree, we do need to combine the attributes of tanks and jeeps somehow. This limitation deprives the game of an entire class of modern fighting vehicles. Especially with the recent emphasis on fast deployment. I would really like to create the LAV 25 or LAV III. Both of these are very similar to the Puma you are trying to implement.

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  

×