Page 1 of 1

Number of competitors

Posted: Sat Jun 13, 2020 7:10 pm
by Hyronymus77
I followed the instructions about writing your own script and got my script working. One setting that baffles me though is "Number of Competitors". Just for testing purpose I specified it to 1 competitor only to discover it resulted in 1 non-private company and 5 private companies. How come the amount of private companies isn't affected by "Number of Competitors" which results in having more companies then you bargained for?

To add: I tested this with "AI Private Companies Percent" enabled and disabled, it makes no difference. Running version 6.4.16.

Re: Number of competitors

Posted: Sat Jun 13, 2020 7:31 pm
by chengtsai
Same problem here, a lot of other script lines don't work as well.

Re: Number of competitors

Posted: Sun Jun 14, 2020 5:51 am
by David
Hyronymus77 wrote: Sat Jun 13, 2020 7:10 pm To add: I tested this with "AI Private Companies Percent" enabled and disabled, it makes no difference. Running version 6.4.16.
I just tested it and it worked. Did you have Subsidiary DLC enabled?

Re: Number of competitors

Posted: Sun Jun 14, 2020 7:26 am
by Hyronymus77
David wrote: Sun Jun 14, 2020 5:51 am
Hyronymus77 wrote: Sat Jun 13, 2020 7:10 pm To add: I tested this with "AI Private Companies Percent" enabled and disabled, it makes no difference. Running version 6.4.16.
I just tested it and it worked. Did you have Subsidiary DLC enabled?
Yes, it is enabled as well as City Economic Simulation DLC and Digital Age DLC.

EDIT #1: I realised that submitting my actual script might be useful, see attachment.
[EDIT #2: Even this code results in 1 public company and 5 private companies as rivals:

Code: Select all

[HEADER]
Title=Test 
Description=Debug testing. 

[COMPETITORS]
Number of Competitors=1
// You may set the number of competitors to any number between 1 and 50.

AI Private Companies Percent=0
EDIT #3: The settings works fine without Digital Age DLC. I tested this with just Subsidiary DLC on and with Subsidiary DLC and City Economic Simulation DLC both on. So the setting seems to malfunction with Digital Age DLC on too.
EDIT #4: With a slight change of settings I managed to get the number of competitors under control \o/:

Code: Select all

[HEADER]
Title=Test 
Description=Debug testing. 

[COMPETITORS]
Number of Competitors=1
// You may set the number of competitors to any number between 1 and 50.

[DIGITAL AGE DLC]
// Max AI software and Internet companies=None
Max AI software companies=0
Max AI OS companies=0
Max AI Internet companies=0
However... I am still left with 1 pesky Telecom company starting up. Is there a way to control those too?

Re: Number of competitors

Posted: Mon Jun 15, 2020 9:02 am
by David
[EDIT #2: Even this code results in 1 public company and 5 private companies as rivals:
This bug will be fixed in the next patch.