Graphics modding - understanding a scene-file

The place to discuss scripting and game modifications for X²: The Threat.

Moderators: Scripting / Modding Moderators, Moderators for English X Forum

User avatar
InvrSmall
Posts: 717
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by InvrSmall »

I'm having some major headaches trying to rotate objects. Applying more than one transformation has me totally lost. All I get are wrong angles and bad distortion.


This line flips the object 180 degrees top/bottom
P 31; B 20266; { 0x2002; 0; -80000; 180000; 0.500000; 0.000000; 0.000000; 1.000000; -1; -1; } // 0


And this line turns the object so that is is facing 180 degrees front/back.
P 31; B 20266; { 0x2002; 0; -80000; 180000; 0.500000; 0.000000; 1.000000; 0.000000; -1; -1; } // 0

:headbang:
How do I put both transformations into one line.
Stealth
Posts: 1732
Joined: Wed, 6. Nov 02, 20:31
x2

Post by Stealth »

Superimpose them, maybe?

P 31; B 20266; { 0x2002; 0; -80000; 180000; 0.500000; 0.000000; 1.000000; 1.000000; -1; -1; } // 0

Should work by all rules of logic.
User avatar
InvrSmall
Posts: 717
Joined: Wed, 6. Nov 02, 20:31
x3tc

Post by InvrSmall »

That's what I was doing, but it does not appear to work like that for me. :gruebel:
The object part rotates and stretches. What am I missing ?


Luckily i've managed to survive without having to do more than one transformation per object.
Harlock776
Posts: 2261
Joined: Wed, 9. Mar 05, 21:53
x2

Me too

Post by Harlock776 »

I had this problem too with the wings on my custom dragon model. If you rotate past 360 degrees it starts to stretch sometimes. At that point I decided to get 3dsmax and get out of notepad hehe. Besides it's much faster with 3dsmax and I don't have to go into the game and see the results of every change I make. I know max is horribly expensive but if you sign up for some 3d modelling classes somewhere you can get it for $99.00 I think.

Return to “X²: The Threat - Scripts and Modding”