Number of competitors

Discussions about scenario games and user-defined scripts.
Post Reply
User avatar
Hyronymus77
Posts: 11
Joined: Sat Jun 13, 2020 6:11 pm

Number of competitors

Post 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.
chengtsai
Level 4 user
Posts: 129
Joined: Tue Nov 20, 2012 8:04 pm

Re: Number of competitors

Post by chengtsai »

Same problem here, a lot of other script lines don't work as well.
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9356
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 17 times
Been thanked: 48 times

Re: Number of competitors

Post 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?
User avatar
Hyronymus77
Posts: 11
Joined: Sat Jun 13, 2020 6:11 pm

Re: Number of competitors

Post 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?
User avatar
David
Community and Marketing Manager at Enlight
Posts: 9356
Joined: Sat Jul 03, 2010 1:42 pm
Has thanked: 17 times
Been thanked: 48 times

Re: Number of competitors

Post 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.
Post Reply