Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Inkompetent

Rotor blades not moving

Recommended Posts

Hallo.

I was going for an easy modification I thought, simply replacing the Hellfire racks on the Cobra with rocket pods.

Said and done I delete all sections for the hellfire proxys and remove their references in the selection list and save the model.

Now the rotor blades and their blur proxys has stopped working though and I can't find any difference between the original model and my altered one that would cause that.

On top of that I've got a too detailed shadow LOD. How could simple multiplying of objects cause that?

Sorry for the obvious n00bish approach, but when I already have started what seemed like an easy modification I'd hope to finish it.

Share this post


Link to post
Share on other sites

All sections are still named.

Not quite sure what you mean by memory points though, and the Biki wasn't to any help in that matter sad_o.gif

Share this post


Link to post
Share on other sites
All sections are still named.

Not quite sure what you mean by memory points though, and the Biki wasn't to any help in that matter sad_o.gif

when you configure it, you have either to binarize it (with the proper model.cfg file) or add the classes cfgSkeletons and cfgModels to the config.cpp to have all parts working smile_o.gif

Share this post


Link to post
Share on other sites

Ahhh... I added a config in vain, but that didn't include any of those. It just inherited Helicopter.

Going back to my workshop at once to try my luck!

Share this post


Link to post
Share on other sites

Hey. If you get it to work post your config here for other people plz.

I am config-illiterate myself. sad_o.gif

Share this post


Link to post
Share on other sites

Heh, yeah. I'm no config pro either. Especially not when it comes to rigging models. The other stuff in the configs I'm decently handy with.

Will see how much time I get to tinker with this today. But sure, I can post the config too. The model is forced to open source anyway, so I can just as well release stuff now rather than have you wait until release :P

Share this post


Link to post
Share on other sites

put this in your config.cpp:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

class CfgSkeletons

{

class Default;

class Vehicle;

class Helicopter: Vehicle

{

skeletonInherit="Vehicle";

skeletonBones[]=

{

"velka vrtule",

"",

"mala vrtule",

"",

"otocvez",

"",

"otochlaven",

"otocvez",

"alt",

"",

"alt2",

"",

"nm_alt",

"",

"nm_alt2",

"",

"mph",

"",

"mph2",

"",

"vert_speed",

"",

"vert_speed2",

"",

"rpm",

"",

"rpm2",

"",

"horizont_dive",

"",

"horizont",

"horizont_dive",

"horizont2_dive",

"",

"horizont2",

"horizont2_dive",

"kompas",

"",

"kompas2",

"",

"hodinova",

"",

"hodinova2",

"",

"minutova",

"",

"minutova2",

"",

"damageHide",

"",

"rotorShaft",

""

};

};

class AH6Skeleton: Helicopter

{

skeletonInherit="Helicopter";

skeletonBones[]=

{

"gatling_1",

"",

"gatling_2",

""

};

};

};

class CfgModels

{

class Default;

class Vehicle;

class Helicopter: Vehicle

{

sectionsInherit="Vehicle";

sections[]=

{

"sklo predni p",

"sklo predni l",

"velka vrtule staticka",

"velka vrtule blur",

"mala vrtule staticka",

"mala vrtule blur",

"trup",

"motor",

"elektronika",

"mala vrtule",

"velka vrtule",

"munice",

"zbran",

"vez",

"clan",

"clan_sign",

"podsvit pristroju"

};

skeletonName="Helicopter";

class Animations

{

class damageHide

{

type="hide";

source="damage";

selection="damageHide";

};

class IndicatorAltRadar: Rotation

{

source="altRadar";

sourceAddress="loop";

selection="alt";

axis="osa_alt";

memory=0;

maxValue=304;

angle1="rad -360";

};

class IndicatorAltRadar2: IndicatorAltRadar

{

selection="alt2";

axis="osa_alt2";

};

class IndicatorAltBaro: Rotation

{

source="altBaro";

selection="nm_alt";

axis="osa_nm_alt";

memory="false";

maxValue=61;

angle1="rad -180";

};

class IndicatorAltBaro2: IndicatorAltBaro

{

selection="nm_alt2";

axis="osa_nm_alt2";

};

class IndicatorSpeed: Rotation

{

source="speed";

selection="mph";

axis="osa_mph";

memory="false";

maxValue=125;

angle1="rad -320";

};

class IndicatorSpeed2: IndicatorSpeed

{

selection="mph2";

axis="osa_mph2";

};

class IndicatorVertSpeed: Rotation

{

source="vertSpeed";

selection="vert_speed";

axis="osa_vert_speed";

memory=0;

minValue=-30.000000;

maxValue=30.000000;

angle1=-5.235988;

};

class IndicatorVertSpeed2: IndicatorVertSpeed

{

selection="vert_speed2";

axis="osa_vert_speed2";

memory=0;

};

class IndicatorRPM: Rotation

{

source="rpm";

selection="rpm";

axis="osa_rpm";

memory="false";

maxValue=12;

angle1="rad -320";

};

class IndicatorRPM2: IndicatorRPM

{

selection="rpm2";

axis="osa_rpm2";

};

class IndicatorCompass: Rotation

{

source="direction";

selection="kompas";

axis="osa_kompas";

memory=0;

minValue=-3.141590;

maxValue=3.141590;

angle0=3.141593;

angle1=-3.141593;

};

class IndicatorCompass2: IndicatorCompass

{

selection="kompas2";

axis="osa_kompas2";

};

class WatchHour: Rotation

{

source="clockHour";

selection="hodinova";

axis="osa_time";

memory="false";

angle1="rad -360";

};

class WatchHour2: WatchHour

{

selection="hodinova2";

axis="osa_time2";

};

class WatchMinute: Rotation

{

source="clockMinute";

selection="minutova";

axis="osa_time";

memory="false";

angle1="rad -360";

};

class WatchMinute2: WatchMinute

{

selection="minutova2";

axis="osa_time2";

};

class HRotor: Rotation

{

source="rotorH";

selection="velka vrtule";

axis="velka osa";

angle1="2 * 3.1415926536";

};

class RotorShaft: HRotor

{

selection="RotorShaft";

};

class VRotor: Rotation

{

source="rotorV";

selection="mala vrtule";

axis="mala osa";

angle1="2 * 3.1415926536";

};

class HorizonBank

{

type="rotationZ";

source="horizonBank";

selection="horizont";

axis="osa_horizont";

memory="false";

minValue="rad -360";

maxValue="rad +360";

angle0="rad -360";

angle1="rad +360";

};

class HorizonDive

{

type="rotationX";

source="horizonDive";

selection="horizont_dive";

axis="osa_horizont";

memory=0;

minValue="rad -360";

maxValue="rad +360";

angle0="rad -360";

angle1="rad +360";

};

class Horizon2Bank: HorizonBank

{

selection="horizont2";

axis="osa_horizont2";

};

class Horizon2Dive: HorizonDive

{

selection="horizont2_dive";

axis="osa_horizont2";

};

class RotorHDive

{

selection="velka vrtule";

axis="predni osa naklonu";

type="rotationX";

source="rotorHDive";

minValue="rad -90";

maxValue="rad +90";

angle0="rad -90";

angle1="rad +90";

animPeriod=0;

};

class mala_vrtule_damage: damageHide

{

selection="mala vrtule";

};

class velka_vrtule_damage: damageHide

{

selection="velka vrtule";

};

class rotorShaft_damage: damageHide

{

selection="rotorShaft";

};

};

};

class ah6_lb: Helicopter

{

skeletonName="AH6Skeleton";

class Animations: Animations

{

class IndicatorRPM: IndicatorRPM

{

angle0=2.094395;

angle1=-2.094395;

};

class IndicatorSpeed: IndicatorSpeed

{

angle1=-5.061455;

};

class IndicatorVertSpeed

{

type="rotation";

source="vertSpeed";

selection="vert_speed";

axis="osa_vert_speed";

memory=0;

minValue=-30.000000;

maxValue=30.000000;

angle0=3.141593;

angle1=-3.141593;

};

class IndicatorAltRadar: IndicatorAltRadar

{

type="rotation";

source="altRadar";

selection="alt";

axis="osa_alt";

memory=0;

minValue=0.000000;

maxValue=304.000000;

angle0=0.000000;

angle1=-6.283185;

};

class gatling_rotation: Rotation

{

source="MachineGun";

selection="gatling_1";

axis="gatling_1_axis";

angle1=-1884.955566;

};

class gatling_2_rotation: gatling_rotation

{

selection="gatling_2";

axis="gatling_2_axis";

};

class gatling_1_damage: damageHide

{

selection="gatling_1";

};

class gatling_2_damage: damageHide

{

selection="gatling_2";

};

class HorizonBank

{

type="rotation";

source="horizonBank";

selection="horizont";

axis="osa_horizont_Bank";

memory=1;

minValue="rad -360";

maxValue="rad +360";

angle0="rad -360";

angle1="rad +360";

};

class HorizonDive

{

type="rotation";

source="horizonDive";

selection="horizont_dive";

axis="osa_horizont_Dive";

memory=1;

minValue="rad -360";

maxValue="rad +360";

angle0="rad -360";

angle1="rad +360";

};

};

};

class your_model_name: ah6_lb{};

};

dunno, but it should work, it should

Share this post


Link to post
Share on other sites

Ohhh... Danke! Will sure try that one out! Now I'll just have to see how to mod it for the AH1. Shouldn't be *too* hard... I hope.

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  

×