I am trying to add a nebula. (Working with Distant Stars Mod) Here what i achieved:
====GalaxyScenarioDef.galaxyScenarioDef
planetType
designName "NebulaOrangeHuge"
designStringId "IDSGalaxyScenarioTypePlanetNebulaHuge"
orbitBodyTypeCount 1
orbitBodyType "ProtoNebulaOrangeHuge"
orbitBodyType
typeName "ProtoNebulaOrangeHuge"
entityDefName "ProtoPlanetNebulaOrangeHuge"
defaultTemplateName "Template:DefaultStart_PlasmaStorm"
====ProtoPlanetNebulaOrangeHuge.entity
meshInfo
typeNameStringID "IDS_PLANETTYPE_NEBULA_HUGE"
asteroidTemplate "Empty"
dustCloudTemplate "Empty"
meshName ""
cloudColor 0
nullMeshRadius 2000.000000
nullMeshParticleEffect "PlanetNebulaOrange" //(GameInfo\PlanetNebulaOrange.particle)
hudIcon "HUDICON_PLANET_NEBULA_ORANGE_S3" //(Window\HUDIcon-Planet.brushes)
smallHudIcon "HUDICONSMALL_PLANET_NEBULA_ORANGE" //(Window\HUDIcon-Planet.brushes)
infoCardIcon "INFOCARDICON_PLANET_NEBULA"
mainViewIcon "MAINVIEWICON_PLANET_NEBULA_ORANGE_S3" //(Window\MainViewIcon-Planet.brushes)
undetectedMainViewIcon "MAINVIEWUNDETECTEDICON_PLANET_NEBULA"
picture "PICTURE_PLANET_NEBULA_ORANGE" //(Window\Picture-Planet.brushes)
In the files that are in 'Window' i set graphic *.tga file and region of the picture.
I have done all the same as to original nebula but in the game HUD pictures are wrong. Maybe still missed something?