Disabling Cannons in Rebellion 1.1

Hi all,

I only recently updated to 1.1 after not playing the game for a long time.

When I had v1.01 I was able to disable the Cannons by changing the line 'maxNumberOfCannonsPerPlayerto zero.

But when I embarked on the process of starting my mod again for 1.1, I saw that that one line had been replaced by:

'cannonsPerGravityWellRatio' and 'cannonGravityWellRatioDenominator'.

So I changed them both to zero, started a new game.............and it crashed - telling me it had produced a mini-dump.

So I tried again using the dev exe......................same result.

So is there a problem with setting either of the above values to zero?

Should I just remove all the cannon related stuff from each factions entity file?

 

 

8,191 views 3 replies
Reply #1 Top

Cannons now require a certain amount of planets to build one; try changing that number to something really high instead of 0

Or remove the required research from the player entities

 

Reply #2 Top

So is there a problem with setting either of the above values to zero?

Well yes, you're creating a divide by zero error.

Set whatever one was originally "1" to zero. I think the denominator cannot be zero.

+1 Loading…
Reply #3 Top

Quoting GoaFan77, reply 2

Well yes, you're creating a divide by zero error.

Oh yeah.............hence the denominator bit; I knew I missed something.

So, the maximum number of cannons is calculated by

cannonsPerGravityWellRatio/cannonGravityWellRatioDenominator ?

Thanks for that guys.

AUS_Doug