Rotating Structures

I am creating a Mod that enables structures to rotate. ie: an asteroid or planet. Structures like the TEC Civ Research structure will "spin". I am having a hard time getting the mod to work. Right now I am only modifying the PLANETMODULE_TECHORBITALNONCOMBATLABORATORY.ENTITY file. should the manifest apear like this:

TXT
entityNameCount 1
entityName "PLANETMODULE_TECHORBITALNONCOMBATLABORATORY.entity"

or am I doing it wrong?

I keep getting a mini dump.

11,099 views 13 replies
Reply #1 Top

You need the standard entity file plus any NEW entity files you have added.

Reply #2 Top

I have not added any "new" files.  All I did was copy the origenal file changed it from bin to txt. Then changed one line from "rotateConstantly FALSE" to "rotateConstantly TRUE"

Or do I still need some more files in the Manifest?

Reply #3 Top

Just a copy of the original.

Reply #4 Top

ok, I got that to work but now the structer is rotating around the Z axis and this is a TEC Civ research. Is there a way to make it roll on its Y Axis or would that require a new modle?

Reply #5 Top

So it's flipping instead of spinning?  That's kind of funny.  I may enable that in mad scientist just to mix things up.

Reply #6 Top

Yea, real funny, NOT. ;) Being that I am a noob to modding do you have any suggestions to fix this? There is a line in there that says "ROTATEFACING" then if I put in a direction like "AWAYFROMORBITBODY" or "TOWARDORBITBODY" it will turn itself way or towards that planet and then stop. I want it to spin like a planet. Is it psible to use a panet entity file and turn it into the structure?

Reply #7 Top

rotateSoundName ""
rotateFacingType "None"
rotateConstantly TRUE

 

Reply #8 Top

Quoting CPT_Rhino, reply 6
Is it psible to use a panet entity file and turn it into the structure?
End of CPT_Rhino's quote

No. At least not the way you want to do things.

Reply #9 Top

Quoting SemazRalan, reply 7
rotateSoundName ""
rotateFacingType "None"
rotateConstantly TRUE

 
End of SemazRalan's quote

Thats exactly what I did and thats what got it flipping. I Thats when I tried to use rotateFacingType and it would turn and stop. There has to be a way to get it to spin.

Thanks, Ryat, I wont wast my time. :D

Reply #10 Top

Use particle system who give you almost a full control on the shader effect...

For the primary mesh, make a tiny cube ( or a pyramid with a triangular basis who use only 4 poly tri in place of 12 for the cube ) who is so small that you will not see it on screen... add all usual hardpoint to the tiny mesh, add at 0,0,0 a hardpoint who call your particle effect who render the real mesh... modify the bounding box value from the tiny mesh for match the real mesh ( needed for collision detection )... the particle effect need to use the ship.fx for render your secondary mesh... particle use a matrix system for rotation... you can make it rotate like you wish... possible to give some limit and make it rotate between these limit ( oscillation )... you can control the rotation speed too... and more...

 

Reply #11 Top

Wow thats way to advanced for me this is my first time trying to mod anything. Sounds like I will need some more programs to do any of that stuff. What do you recomend for beginers?

Reply #12 Top

The same that for pro... notepad !!!

Notepad will allow you to copy and past hardpoint, bounding value, and more from one mesh to the other ( the .mesh need to be in txt mode )... same thing for the particle file, i have never try to learn use the sins tool for it... only notepad for create/edit the particle file...

Well, it is how i like to work... it have already happen that i correct model from other directly by editing the .obj in the notepad too...

Best is to seek a little on these forum... someone have made plug-in for xsi mod tool who ease the hardpointing ( http://soase.weebly.com/xsi-add-ons.html ), someone other have made a easy tool for convert from bin to txt and reverse ( harpo tool ), a other one have made eclipse tool ( http://code.google.com/p/soaseplugin/ ), a other a full wiki related to modding ( http://soase.weebly.com/index.html ), etc... 

There is some topic who are worthy to be put in your browser Favorites... by example : https://forums.sinsofasolarempire.com/363233 or https://forums.sinsofasolarempire.com/366795

 

Reply #13 Top

I am really doing poorly. Is there somone that could take on this project and get structures to rotate... properly?