Jump to content
Sign in to follow this  
massi

How to add slingloading and advanced flight model to custom chopper?

Recommended Posts

Hi,

Does anybody know how to add sling loading and advanced flight models features to custom helicopters?

Like lines that needs to be added in config, model.cfg editing and p3d models requirements itself?

If someone could explain this I'll be very happy , thanks in advance ;) !

Regards

massi

Share this post


Link to post
Share on other sites

You need a memory point in the model. And 2 values in the config. Something like slingloadpoint= "slingload"; and maxslingloadmass= "1000"; . Dont think they are right but look at a config of any heli in game

Share this post


Link to post
Share on other sites
You need a memory point in the model. And 2 values in the config. Something like slingloadpoint= "slingload"; and maxslingloadmass= "1000"; . Dont think they are right but look at a config of any heli in game

Soldier, quick question regarding maxslingloadmass. Is it possible to edit this value from within a mission to allow the helis to slingload heavier objects like tanks?

Massi, apologies for the slight derail.

Share this post


Link to post
Share on other sites

It would be really handy to get some detail on the steps to add slingloading to a helicopter. I am working on an arma 2 helicopter port and would love to add this feature to it. So far we have added and named a memory point on the underside of the model, however we do not know what to add into the config.cpp or where. Any help would be great!

Share this post


Link to post
Share on other sites
It would be really handy to get some detail on the steps to add slingloading to a helicopter. I am working on an arma 2 helicopter port and would love to add this feature to it. So far we have added and named a memory point on the underside of the model, however we do not know what to add into the config.cpp or where. Any help would be great!

Just to make people aware we put down :

slingloadpoint= "slingload";

maxslingloadmass= "10000";

into the config.cpp you go into the editor hit right ctrl + B and it will bring up the sling load assistant but when you hover over a vehicle that has a green diamond (so you should be able to lift it) and double tap R nothing happens. And yes I did check my key bindings.

Share this post


Link to post
Share on other sites

You could try this, I'm sure that will fix your problem

slingLoadMemoryPoint = "slingLoad";		
maximumLoad=(addvalue);		
slingLoadMaxCargoMass=(addvalue);

Share this post


Link to post
Share on other sites

Hi,

thanks a lot to all of you now sling load is working ;) !

any idea on the advanced flight models?

Best Regards

massi

Share this post


Link to post
Share on other sites

If you open the heli sample in your ArmA 3 Tools location you should get a decent enough reference for the AFM.

Share this post


Link to post
Share on other sites
If you open the heli sample in your ArmA 3 Tools location you should get a decent enough reference for the AFM.

Thanks again ;) !

I'll look into it

Best Regards

massi

Share this post


Link to post
Share on other sites

Massi, could you give us a quick step-by-step recap of what you did? It would really help.

We have a memory point called slingLoad0 on the underside of the helicopter (do we need to do anything else in the .p3d file?)

In the config, I have tried using the code Delta provided above, changing the name to match our memory point, and then assigning integer values to maxload and maxmass.

After packing up the model using pboproject, the ropes still don't work.

Did you do anything else?

Share this post


Link to post
Share on other sites

Okay, scratch that, I've got the ropes to work. However, only through the scroll wheel menu and selecting 'Hook'. For some reason my key bind of 2xR doesn't lower the ropes. Also, the Chinook can't lift a Hunter. I have its max load set to 10000. This should be enough right?

Share this post


Link to post
Share on other sites

Hi ,

I just added the point "Slingload" to memory lod

then I added it to model.cfg : skeleton bones (think it is not mandatory anyway)

then in config vehicles I added the lines:

slingLoadMemoryPoint = "SlingLoad";

slingLoadMaxCargoMass = 6000;

plus the slingload sounds I copied from A3 chopper cfg.

and that's it ;)

Best regards

massi

Share this post


Link to post
Share on other sites

Yeah, that is exactly what I have done - minus the part about adding it into the model.cfg skeleton bones. I've included the sounds, and like I say, the ropes now deploy, only the Chinook won't life anything heavier than a civilian offroad. Quads are no problem, same with hatchbacks, but as soon as you try to lift a hunter, the weight of the vehicle drags the chinook back down to the ground. Not sure why as I have given it the same slingLoadMaxCargoMass as a Huron. 10000. I tried increasing this, but it made no difference. There must be something else going on. I just don't know what. Does your helicopter lift a hunter with the slingLoadMaxCargoMass set to 6000?

Share this post


Link to post
Share on other sites

Out of interest massi, what did you add to the model.cfg? That might help me out on a problem I've been having.

Share this post


Link to post
Share on other sites
Out of interest massi, what did you add to the model.cfg? That might help me out on a problem I've been having.

I just added the "slingload" on skeleton :

class CfgSkeletons

{

class Vehicle;

class Helicopter: Vehicle

{

skeletonInherit="Vehicle";

skeletonBones[]={};

};

class CH_47F_Skeleton: Helicopter

{

isDiscrete=0;

skeletonInherit="Helicopter";

skeletonBones[] =

{

"gatling_1","otochlaven",

"otocvez","",

"otochlaven","otocvez",

"gatling_2","otochlaven_2",

"otocvez_2","",

"otochlaven_2","otocvez_2",

"OtocVez_3","",

"stick_pilot","",

"stick_copilot","",

"lever_pilot","",

"lever_copilot","",

"turret","",

"laser","turret",

"kompas","",

"kompas01","",

"kompasvalec","",

"horizont","",

"horizont_b","",

"horizont01","",

"horizont01_b","",

"rucicka_01","",

"rucicka_01a","",

"rucicka_02","",

"rucicka_02a","",

"rucicka_03","",

"rucicka_03a","",

"rucicka_04","",

"rucicka_04a","",

"rucicka_05","",

"rucicka_05a","",

"rucicka_06","",

"rucicka_06a","",

"rucicka_07","",

"rucicka_07a","",

"display_off","",

"vyskomer","",

"alt","",

"alt2","",

"nm_alt","",

"nm_alt2","",

"mph","",

"mph2","",

"vert_speed","",

"vert_speed2","",

"rpm","",

"rpm2","",

"horizont2","",

"compass","",

"compass2","",

"hodinova","",

"hodinova2","",

"minutova","",

"minutova2","",

"SlingLoad","",

"ramp","",

"mala vrtule","",

"velka vrtule","",

"main rotor","",

"tail rotor","",

"wheel_1_1","",

"wheel_2_1","",

"wheel_1_2","",

"wheel_2_2",""

};

};

};

class Rotation;

class CfgModels

{

class Vehicle;

class Helicopter: Vehicle

{

sectionsInherit="Vehicle";

sections[]={};

skeletonName="Helicopter";

class Animations

{

};

};

class CH_47F: Helicopter

{

sections[]=

{

"svetlo",

"mala vrtule blur",

"mala vrtule staticka",

"velka vrtule blur",

"velka vrtule staticka",

"stick_pilot","",

"stick_copilot","",

"lever_pilot","",

"lever_copilot","",

"PositionLights","",

"CollisionLight_Red","",

"CollisionLight_White","",

"SlingLoad","",

"podsvit pristroju",

"zasleh",

"zasleh_1",

"motor",

"elektronika",

"glass1",

"glass2",

"glass3",

"glass4",

"glass5",

"glass6",

"camo1",

"camo2",

"camo3"

};

The chopper is lifting my vehicles but not the MRAP, dunno why

Best Regards ;)

massi

Share this post


Link to post
Share on other sites

Ah, so it isn't just me. I can't get the MRAP to lift either. Its fine with the civilian vehicles (offroad, box trucks etc..) but for whatever reason the MRAP is too heavy, it hops off the ground when I max throttle lift, only to pull the helicopter back down to the ground. No idea why.

Share this post


Link to post
Share on other sites
Ah, so it isn't just me. I can't get the MRAP to lift either. Its fine with the civilian vehicles (offroad, box trucks etc..) but for whatever reason the MRAP is too heavy, it hops off the ground when I max throttle lift, only to pull the helicopter back down to the ground. No idea why.

Hi,

I got it lifting the MRAPS adding those lines in vehicle config:

slingLoadMemoryPoint = "SlingLoad";

slingLoadMaxCargoMass = 12000;

liftForceCoef = 2.5;

the last value seems to be the one giving to choppers the strenght to lift heavy cargos, since actually my CH47 seems stronger than a "CH Huron"

I made quick test and with those value my CH47 was able to sling US MRAPs and even the small container with no problems, while the Huron was not able to lift the small container.

hope it helps ;)

Best Regards

massi

Share this post


Link to post
Share on other sites

Fantastic work, Massi. That did the trick!! Thanks.

Share this post


Link to post
Share on other sites

I couldnt understand from the thread above...

How should we implement the advanced flight model??

I have added in the config.cpp:

class RotorlibHelicopterProperties

{

RTDconfig="blablabla.xml"

a-lot-morestuff here

};

In the memory lod I added points:

- rotor_center

- rtd_center

And its nor working.

What step am I missing?

Edited by 87th_Neptune

Share this post


Link to post
Share on other sites
Okay, scratch that, I've got the ropes to work. However, only through the scroll wheel menu and selecting 'Hook'. For some reason my key bind of 2xR doesn't lower the ropes. Also, the Chinook can't lift a Hunter. I have its max load set to 10000. This should be enough right?

Evrik did you manage to find out why you could only get sling loading to work through the action menu, and not the key bind as I am having the same issue.

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  

×