Orbital mining station for resource moons

posted on May 16th, 2013, 7:36 pm
I have so far on my own found out that the orbital mining stations can not be put on resource moons with out change the resource moons into planets so now I need some help from the Veteran coders to change the coding of the resource asteroids into planets with out changing the look or behavior of them.

This one is map_ice_dilithium_moon4.odf
Code: Select all
classlabel = "scrap"
maxhealth = 25000
unitname = "Dilithium Moon"
rotationspeed = 0.3
distancebelowgrid = 60
avoidme = 1
avoidanceclass = 10
animation = 2
mapicon = "mapicon_dmoon"
resource = "map_dilithium_moon_res"
infinite = 1
has_resource = 1
footprintbuffer = 100.0f
lightcolor = 0.2   0.3   1
lightfalloffstart = 300.0
lightfalloffrange = 600.0
planet = 1
canhaveorbitalstation = 1


I changed the class label to planet but then it went and changed look and started to bounce around all over the place any one who helps solve this one will get credit given in my game.

Thank you for your time.
posted on May 16th, 2013, 8:54 pm
The easiest way is to add an additional component to the resource moon replaceweapon - drop an invisible planet, voila :)
posted on May 16th, 2013, 11:03 pm
Well I have done some more decoding and I got it so I can put the orbital mining station in orbit I just ain't got it to mine yet.

Looks like once I get the coding ironed out it won't be as hard as I thought it would be to get the station in orbit and to be able to have mining freighters be able to mine too.
posted on May 17th, 2013, 12:41 am
Progress update I now got the normal miners to be able to mine and the station to be able to be put in orbit but the station ain't mining yet.
Reply

Who is online

Users browsing this forum: No registered users and 3 guests

cron