Home   Help Search Login Register  

Author Topic: Model Config Proplem  (Read 1642 times)

0 Members and 1 Guest are viewing this topic.

Offline Hawke

  • Members
  • *
Model Config Proplem
« on: 06 May 2008, 23:15:11 »
Hey Guys.

Im having a proplem with my prop's on my C130.
When i try and test it on Buldozer Only one rotor spins and 3 stay still.

Code: [Select]

class LeftProp1
{
type = "rotation";
source = "rotor";
selection = "vrtule";
axis = "osa vrtule";
angle0 = 0;
angle1 = -2 * 3.1415;
sourceAddress = "loop";

};
class LeftProp2
{
type = "rotation";
source = "rotor";
selection = "vrtule 1";
axis = "osa vrtule 1";
angle0 = 0;
angle1 = -2 * 3.1415;
sourceAddress = "loop";
};
class LeftProp3
{
type = "rotation";
source = "rotor";
selection = "vrtule 2";
axis = "osa vrtule 1";
angle0 = 0;
angle1 = -2 * 3.1415;
sourceAddress = "loop";
};
class LeftProp4
{
type = "rotation";
source = "rotor";
selection = "vrtule 3";
axis = "osa vrtule 1";
angle0 = 0;
angle1 = -2 * 3.1415;
sourceAddress = "loop";
};

Thats what i've got, i've been over it many times now and i dont see why only one prop works.

I've even tryed deleting LeftProp1 and still Buldozer still doesnt pick up the other Props.
I've even asked many people about this and they dont have a clue.

Anyone know why it doesnt pick up the other 3 props??

Hawke.

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re: Model Config Proplem
« Reply #1 on: 07 May 2008, 02:06:18 »
Am unable to reference my main machine right now, but, looking at your example I note that the first prop is using axis = "osa vrtule" ... but the other 3 props are using axis = "osa vrtule 1".

I would have thought they would each have their own axis defined.

Another thought might be the spaces in the names ... i.e. it might be ok with a name containing one space, but, doesn't like a name with 2 spaces.

Make sure the axis names are 'exactly' as specified in the p3d as well.


Planck
I know a little about a lot, and a lot about a little.

Offline Hawke

  • Members
  • *
Re: Model Config Proplem
« Reply #2 on: 07 May 2008, 17:09:48 »
I've tryed what you said.

I've rename the axis's so there on there own.
I've made the sapces down to 1.

And still it doesnt work. I think its something with the model.
If anyone wants to help me solve this, PM me and ill give you a download link so ya can see if i've missed anything off.

P.S This is my first addon.

Offline Sparky

  • Former Staff
  • ****
    • Hellenic Warfare Mod
Re: Model Config Proplem
« Reply #3 on: 08 May 2008, 13:28:43 »
ok, i may be wrong, since i'm not at my working pc in order to check it out.
but should the class names of the animations are havind the same as the selection?
example.
                        class vrtule
         {
            type = "rotation";
            source = "rotor";
            selection = "vrtule";
            axis = "osa_vrtule";
            angle0 = 0;
            angle1 = -2 * 3.1415;
            sourceAddress = "loop";
            
         };
                       class vrtule1:vrtule
         {
            selection = "vrtule1";
            axis = "osa_vrtule_1";
         };
                        class vrtule2:vrtule
         {
            selection = "vrtule2";
            axis = "osa_vrtule_2";
         };
                        class vrtule3:vrtule
         {
            selection = "vrtule3";
            axis = "osa_vrtule_3";
         };   

try this one by doing the appropriate changes in your p3d in memory lod in other graphical LODs for the selections and see what happens.
it may work it may not, but this is the best thing i can think, without having it in front of me to check it.
PS. define vrtule,vrtule1,vrtule2,vrtule3, in you in sections of Cfgmodels class , also in cfgSkeletons bones, of you model.cfg file   

Offline Hawke

  • Members
  • *
Re: Model Config Proplem
« Reply #4 on: 10 May 2008, 13:39:13 »
Thanks man. :good:

Works fine :good: :good: