Choosing specific company as competitor

Discussions about scenario games and user-defined scripts.
Post Reply
rodrigo
Posts: 2
Joined: Wed Sep 04, 2019 7:19 am

Choosing specific company as competitor

Post by rodrigo »

Hi guys !!
How can I do to choose via script a specific company already configured on Company_Details.TXT to be on the game as a competitor and set his business focus ?
User avatar
de1irium
Level 2 user
Posts: 30
Joined: Sun Dec 23, 2018 11:35 pm

Re: Choosing specific company as competitor

Post by de1irium »

I don't think you can choose a specific company, but you could try creating a script with 1 competitor and set its business focus with
AI Product Expertise=<Expertise Product Class>, 1
Here you have all the rules for scripting : https://www.capitalismlab.com/scripts/
Good reading, ;)
rodrigo
Posts: 2
Joined: Wed Sep 04, 2019 7:19 am

Re: Choosing specific company as competitor

Post by rodrigo »

I’m playing real word mod and I would like to compete with real companies/persons, more than one, on their own business not with Microsoft selling cars. :lol:
User avatar
de1irium
Level 2 user
Posts: 30
Joined: Sun Dec 23, 2018 11:35 pm

Re: Choosing specific company as competitor

Post by de1irium »

I understand. The mod actually seems to link most companies to their real business focus ( I got Starbucks selling Bar Products, Gap with Apparel, etc), but it does not work for some of them. Upon starting a new game, the game seems to override some rules from the scripting files in order to create more diversity ( and then you find out Volkswagen being media focused or with Beverage expertise rather than Automobile ), but I may be wrong there, maybe these companies are simply misconfigured in the Companies_Details.txt file. If ever you want to conduct your own experiment, here are the explanations on how to build such file : https://www.capitalismlab.com/link-ai-p ... companies/. The next step would be to overwrite the file found in RealWorld.RES, but I am not sure there is a way to do this unless you get the base files for the mod and then compile them along with your updated version of Company_Details.txt.
saffgee
Mod Expert
Mod Expert
Posts: 301
Joined: Sat Jan 28, 2017 2:28 pm

Re: Choosing specific company as competitor

Post by saffgee »

Unfortunately this behaviour is consistent even with changes to company details - the game seems to marry the correct company and CEO with the correct tech and product expertise, but then something overrides those settings to create a different product class expertise for that particular person (CEO). This bit seems to be unscriptable and unmoddable, although it doesn't always happen for every person. Currently unclear to me what decides it. So basically you script and mod to make Anheuser-Busch have amazing tech for Alcoholic drinks, but because your defined CEO suddenly receives expertise in Bicycles from somewhere, bicycles become the new company focus and they completely ignore Alcohol.

David, would it be possible to have a little more detail on how this is decided or how it works ? If we could somehow switch this behaviour off with a script (ie force company behaviour instead of personal), then it may make it easier to get all the pieces to sync up. Alternatively, being allowed to pre-determine what a persons expertise is may also help here.
saffgee
Mod Expert
Mod Expert
Posts: 301
Joined: Sat Jan 28, 2017 2:28 pm

Re: Choosing specific company as competitor

Post by saffgee »

I have updated my mod to force the behaviour that no one can specialise in any product class at all - whether or not this has the desired effect or further erodes the AI's competitiveness remains to be seen. I am currently play testing this, but the logic is that the game cannot force any specialisms that differ from those defined for the company in company_details if there are no product classes available to choose from. As long as there is competitive advantage defined in company_details, I don't believe this will have a significant effect on the AI's capability. There is also the possibility that this setting applies only to players and will not affect AI CEO's, but I'll tinker with it to see what I can get out of it.
Brutus
Level 4 user
Posts: 139
Joined: Fri Jun 12, 2020 3:44 pm

Re: Choosing specific company as competitor

Post by Brutus »

saffgee wrote: Tue Jun 16, 2020 11:15 am I have updated my mod to force the behaviour that no one can specialise in any product class at all - whether or not this has the desired effect or further erodes the AI's competitiveness remains to be seen. I am currently play testing this, but the logic is that the game cannot force any specialisms that differ from those defined for the company in company_details if there are no product classes available to choose from. As long as there is competitive advantage defined in company_details, I don't believe this will have a significant effect on the AI's capability. There is also the possibility that this setting applies only to players and will not affect AI CEO's, but I'll tinker with it to see what I can get out of it.
So did it actually work? :D

I tried the same but came up empty handed and it seems that v2.0 of your mod still has software and internet companies strutting about with their miraculous expertise :lol:

So I can only assume for the worst :cry:
Post Reply