I'd like to set up some sort of gas deposit, anybody have any idea if that would be possible? @cola_colin I remember you being quite savvy when it comes to map generation.
One issue is you can't place features at fixed location. That is a missing feature. Apart from that. Probably need a bit of papa modelling magic. No idea how to spell cast that.
What does the editor use to place metal spots? And the .papa I could do easily, but what I need to know is if it would be possible to make a feature that acts differently to a metal spot, so they can both exist at once. And a certain building can only be buildable on gas spots Things. =P
Look into the pas file. Last I remember there is an array "metal_spots" with mex positions. Maybe that is hard coded to generate mex features on those locations.
Sounds doable with a few caveats: - It will be randomly placed. - There are a limited number of feature types for defining special points, but there look to be two available. - You'll have to make a custom planet type, or hijack an existing feature - You mentioned gas - gas planets are defined by not having terrain, including features. If you make them (or a custom planet like gas) have terrain, I don't know what could happen, but they will certainly become just as CPU expensive to run as any other planet the same size.
I've done some experimenting with gas layers on custom biomes. Gas or sun layers are completely cosmetic, occur at a fixed height, and have no effect on unit pathing or the buildability of jigs. If you give a planet the no_terrain tag, the entire CSG (heightmap and brushes) will disappear and you will be able to build jigs.
What I mean by gas mines, is something like the gas deposits in total annihilation, in which you put a geothermal plant on top of them and harnessed the energy from the heat of the underground opened up by the hole, or the energy deposits in Supcom.
If you get this to work, please let me know. I was told it wasn't possible, but if it does work, I'd like to see if I can add metal spots that look different for each planet...