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.
post release: What to do about nebulas
-
- Developer
- Posts: 2150
- Joined: Mon Apr 23, 2007 1:17 am
- Location: Pennsylvania
- Contact:
Re: post release: What to do about nebulas
Ed Sweetman endorses this message.
-
- Elite
- Posts: 8014
- Joined: Fri Sep 05, 2003 4:03 am
- Location: Montreal
- Contact:
Re: post release: What to do about nebulas
I suspect this is very useful info; but I'll defer to Klauss.
Latest version of Cinemut Opaque
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.
Latest version of LaGrande noodleworks (scroll down).
An evolving La Grande How-To...
The non-working, but latest, CineMut test_bike
PU (Privateer: Parallel Universe's Home). WC or Privateer Drayman for you?
WCpedia --The Wing Commander Encyclopedia-- From Angel Deveraux through Belisarius to Zachary Banfeld...
WC Nexus forum, the Moonbase Tycho of WC fans.