post release: What to do about nebulas

Talk among developers, and propose and discuss general development planning/tackling/etc... feature in this forum.
safemode
Developer
Developer
Posts: 2150
Joined: Mon Apr 23, 2007 1:17 am
Location: Pennsylvania
Contact:

Re: post release: What to do about nebulas

Post by safemode »

they're assigned in multiple places but milky_way.xml is the main instigator of naming them.

You have certain generic planets given their textures here. Then there are planet.* files that list textures for various planet groups that get special textures.

There are no lists with various attributes for a planet outside of milky_way.xml. None. Line 12 starts the only data area you will find for the types of planets. You need to add techniques in there and then modify the Planet unit class to do something with it.

edit: also note, the halo around a planet is it's own mesh and that apparently does have a real mesh file. As does the atmosphere. So you have a sphere generated for the planet, then you load the atmosphere mesh and then a halo mesh and each can receive different textures.

edit2: I think it was done that way with the idea that one day there would be seamless planetary flight. Where there would be real terrain on the sphere mesh and the atmosphere would have thickness to it to fly through and have bounded attributes like friction and color etc. Otherwise i dont see why the atmosphere and halo and such wouldn't all just be a set of textures for a single type of planet like we do with ships.
Ed Sweetman endorses this message.
Post Reply