neutral forces at planets

Hi everyone.

It seems my search button isn't working anymore?  So I had a quick question about neutrals  at planets on changing them around.  I'm wanting to make them have more numbers at planets, as well as giving them the option to also have cap ships from time to time. Looking at the code in the gameplay file. I think I found the info for changing this.

rebellionInfo
   minTimeBetweenAttacks 450
   maxTimeBetweenAttacks 570
   arrivalDelayTime 15
   spawnShips
    minFleetPoints 2000
    maxFleetPoints 4000
    requiredShipCount 5
    randomShipCount 15
    randomShip
     type "FrigateTechLight"
     weight 2
    randomShip
     type "FrigateTechLongRange"
     weight 6
                                randomShip
     type "FrigateTechHeavy"
     weight 7
    randomShip
     type "FrigateTechAntiFighter"
     weight 3
    randomShip
     type "FrigateTechSiege"
     weight 3

You can see I've changed some things around.

I was wondering what the weight ment tho.  Higher number means less chance to see that type, or lower number.  Also I'm not 100% sure how to add cap ships into the list for them to spawn randomly on maps.

I think it might be where I need to add another line like this

randomShip
     type "FrigateTechSiege"
     weight 3

Where type is, I would have a cap ship. Just not sure what the name swould be here.

Any help out there I would love it. Thanks.

 

3,901 views 5 replies
Reply #1 Top

I think rebellioninfo is the wrong place to edit,

since you want change the number of ships of uncolonized worlds if i have you understood right?

 

Look into the GalaxyScenarioDef.galaxyScenarioDef file in the gameinfo folder.

Search there for "localmilitia" templates (iam not shure if i wrote it correct) but then you will

find the templates for the neutrals that orbit planets at the beginning of the game.

 

And here is a tutorial:

https://forums.sinsofasolarempire.com/329520

Reply #2 Top

Thanks for the info there :)

I found out the hard way I was in the wrong file. haha 

ow I should be able to fix this thing.  

 

Thanks!

Reply #3 Top

I suggest reading the following thread https://forums.sinsofasolarempire.com/329520

it helped me a lot

harpo

 

Reply #4 Top

And, just for the record, I think the 'Weight' would be how much of a chance the unit has to spawn. Higher weight, higher chance.

Reply #5 Top

the rebellion info is tied to "Insugency" or whatever the name of the TEC research subject is. 

https://forums.sinsofasolarempire.com/339832 ; the same link Harpo put here is in that thread.