December 22, 2024, 05:51:25

Author Topic: Rotating planets | with animations  (Read 6711 times)

Offline galaxy366

  • Recruit
  • *
  • Posts: 12
  • Karma: 1
    • View Profile
    • http://
Rotating planets | with animations
« on: September 19, 2010, 14:38:27 »
DreamorCZ said:

"I have re-read this topic once more and I think, I can help with in-game rotation of a planet. Well, it's quite easy. You have to create new planet model and use default animation (#anim def X X#) for it, then you will set path to your planet in your system ini (line - Mesh "meshfoldermesh" {well, that is quite obvious}) and add shipclass and shiptype as for a normal ship into your tactictypes (this will ensure that the default animation will work) and ........ that is all and your planet (or any model replacing planet model) is animated now.

Note: I recommend to set 100,000 frames (or more) for 360° to make it rotate very slow.
Note2: Try it without adding shipclass and shiptype first. Sometimes it works without it sometimes not."

so it may be done, but can there then also be custom animated explosion on the surface?, instead of using the surface battle command, that looks strange?

Offline DreamorCZ

  • Petty Officer
  • **
  • Posts: 110
  • Karma: 1
    • View Profile
    • Czech Gaming Nexus
(No subject)
« Reply #1 on: September 30, 2010, 21:30:31 »
I think, that can be done by creating sequence texture but it has never been tested.
Editor in Chief at http://www.cgnexus.eu/

Offline jstubbles

  • Petty Officer
  • **
  • Posts: 169
  • Karma: 2
    • View Profile
    • http://www.ivassago.com
Re: Rotating planets | with animations
« Reply #2 on: February 05, 2011, 03:00:30 »
Galaxy, with the resolution of planet textures, especially the higher-res ones I'm painting for BSG, I don't think it would be wise to make them multi-frame and animated, heh. The file size would be stupendous.

I will have to try the model rotation stuff here in a bit though. That's got me pretty intrigued. If anything at least replacing the model so it's not all jaggy edged :|