Nuetral modules

Is there a way to make them?

Looking at the planet entity files you see lines like ::

    neutralCrystalResourceAsteroidSetup
    neutralMetalResourceAsteroidSetup
    metalResourceAsteroidSetup
    crystalResourceAsteroidSetup

With uncoloniseable asteroids, gas giants, and that other thing I can't remember having the nuetral ones, and anything coloniseable having the others.

How is this controlled? I've been looking through entity files for a while now and I can't see any reference to making other types of modules nuetral, like Rifineries and Trade Ports.

Any thoughts?
3,790 views 4 replies
Reply #1 Top
Right. I know how this can be done, but it isn't pretty. You will first have to either make a new structure exactly the same as the refinery, with it being capturable, or just edit the existing one. However, if you edit the existing ones it will be applied to them all, even the ones built by the player. I don't have time to write out a tutorial, but after Sins Plus 1.3 is released and working, I will happily write one for you. Can you wait a few days?

If you can, have a good look at how the GalaxyScenarioDef file works, and get accustomed to it. It will help you massively when I come to write this tutorial.
Reply #2 Top
That actually sounds pretty =P

So its possible, I just can't find what makes the neutral resource thing..

Thanks, I can wait indefinitely if I can't figure it out =D
Reply #3 Top
Basically, you will be creating a refinery which will belong to the Pirates or Militia. They shouldn't be able to use it, so it won't effect them. However, you will be giving it the Passive ability to be 'Capturable', and this should allow it to be captured like the neutral asteroids. You will be adding it through the GalaxyScenarioDef (GSD) file, and not the planet files themselves, as I don't think you can do it that way. It will have exactly the same effect, just you will be editing one big file, rather than all the little planet files. This is why having a look at the workings of the GSD file will help you infinitely, when I come to do the tutorial.
Reply #4 Top
Here is a similar walkthrough to what you need, try following that: Reply Number 3