Two Questions Please...

Hi,

                I'm working on a new mod and need to ask two questions please.

Is is possible to change the orientation of a model in the game?

And two, is it difficult to do?

I am working with the XSI Mod Tool and have 1% experience with it, but am still trying to learn. The uv's and model maps are unknown concepts, but im reading alot.

Thank you for any help,

Sincerely,

-Teal

 

4,069 views 10 replies
Reply #1 Top

Yes...  The way they are in the game files, they are in matrixes.  If you wanted to rotate them, you would have to multiply each one by something like:

[1   0]
[0  -1]

If memory serves, this would rotate 90 degrees clockwise...

 

 

And may I ask what you intend to rotate? 

Reply #2 Top

[1   0]
[0  -1]

Actually, I think it is

[1 0]

[0 1]

given that the equation is

 \begin{bmatrix} x' \\ y' \end{bmatrix} =  \begin{bmatrix} \cos \theta & -\sin \theta \\ \sin \theta & \cos \theta \end{bmatrix} \begin{bmatrix} x \\ y \end{bmatrix}.

and since cos90 is 1

Man, this just brings back Linear Algebra, go online and find a matrix calculator, it should reduce the time need to calculate the maxtrix

Reply #3 Top

Ehh... Its been years since geometry...  I was just pulling out one that I knew rotated it...

 

Reply #4 Top

:)  Thank you,

                          i'm trying now to see how to export from Sins into the mod tool, from .mesh to ... im trying to think what mod tool uses. But once converted, then ... or perhaps i am misunderstanding, perhaps i can go straight into the mesh folder and manipulate the mesh directly?  If so, it would be easier, no export, no import, no back to re-importing.  :)

I have a ship (obvious maybe) that when i change out meshes is now pointing sideways, well... it moves sideways. So hence the need to re-orient. Matrices... if i can find the right one... hmmm... let me look at the file first, then get back with you. This is very very helpful, i appreciate the help very very much.  Thank you!!!

I will post back when i get some sort of look at the file and have something i can relate in my amateur jargon.  :)

-Teal

 

 

Reply #5 Top

hmmm.... looked at the mesh, the positions apply to several areas of course, more than i thought. In addition the vertices noted as FRONT and BACK are given numbers then list a series of indices underneath them.

The matrix calculator i looked at (at Download.com) has a lot of functions, but i dont understand what they mean. Hmmm.....  I could pull out the entity rather than the mesh and see if i can play with the numbers.

you said [10] and [01]  or [10] and [0-1]

Say for the FRONT value of 434 i would multiply 434 by [10]

is this by 10?

or 1.0  or .10?

Hmmm.....

Too many unknowns here, sorry to sound stupid, im not really THAT stupid, just well... not yet experienced.

I suppose the matrix calculator is doing something other than just mulitplying like ordinary numbers, and gives something other than what im expecting is just regular numbers. Well that is my amateur guess at this point.

Anyway, i will give it a try anyway, if it blows up, haha, i can put the original back in.

And if i get anything that does something, i can see if i can keep tweaking to get the re-orientation i need to make it not fly sideways, haha.  :)

Thank you Volt and Mooster!!!! 

:)

-Teal

 

 

 

Reply #6 Top

apart from importing it to .XSI format. (difficult to do)

than rotatting it in XSI mod tool

than converting it ALL the way back into .mesh.

 

I see no way to do it.

Reply #7 Top

Quoting EvilTesla-RG, reply 6
apart from importing it to .XSI format. (difficult to do)

than rotatting it in XSI mod tool

than converting it ALL the way back into .mesh.

 

I see no way to do it.

:(

 

hmmm....   well.... i suppose that is that. 

Wish it were easier though.

-Teal

shoot, well.... sideways flying ships just aren't acceptable.  :(

 

Reply #8 Top

Quoting Teal, reply 5
hmmm.... looked at the mesh, the positions apply to several areas of course, more than i thought. In addition the vertices noted as FRONT and BACK are given numbers then list a series of indices underneath them.

The matrix calculator i looked at (at Download.com) has a lot of functions, but i dont understand what they mean. Hmmm.....  I could pull out the entity rather than the mesh and see if i can play with the numbers.

you said [10] and [01]  or [10] and [0-1]

Say for the FRONT value of 434 i would multiply 434 by [10]

is this by 10?

or 1.0  or .10?

Hmmm.....

Too many unknowns here, sorry to sound stupid, im not really THAT stupid, just well... not yet experienced.



I suppose the matrix calculator is doing something other than just mulitplying like ordinary numbers, and gives something other than what im expecting is just regular numbers. Well that is my amateur guess at this point.

Anyway, i will give it a try anyway, if it blows up, haha, i can put the original back in.

And if i get anything that does something, i can see if i can keep tweaking to get the re-orientation i need to make it not fly sideways, haha. 

Thank you Volt and Mooster!!!! 



-Teal

 

its [1 0] there is a space between the 1 and the 0. it indicates rows and columns.

Matrix Calculator

Acutally I forgot the rotational dynamics for 3 d, the one I put on was for 2D

I think for 3D you need to apply the following matrix

[1 0 1]

[0 1 0]

[0 0 1]

Reply #9 Top

Teal.

Give it to me, I'll do it.

 

This IS for Wraith Mod Productions right?

even if it isn't. I'll still do it.

Reply #10 Top

:)  Nice thought EvilTesla, but i cant let you do it, it isn't fair, and besides that, it looks like the orientation is what it is supposed to be. I was wrong. Anyway, I appreciate the offer, but cant say yes. Its too much trouble.

Thank you anyway though, but it really to be honest, isnt worth all the extended effort it will take to do it. But thank you anyway.

The mods can be used for Wraith Mods yes of course, though im not sure my efforts are really that well designed, but you and Shadow are more than welcome to use or extend or change them if they are useful. Im afraid im not as precise as i need to be, but i am working on it.

I'm finishing this week in school and then next week we will be going out for a small vacation, only about 2 weeks really and then come back for school for Fall semester. I wont have a chance to work on anything for a bit, but you and shadow are welcome to use the mods.

Take care and thank you for the offer, but to be honest, it isnt worth it, take a look at the mod and see what you think.

-Teal