The winners of the business design competition already has!
But this is the standard format for shops and restaurants. You create a folder with a json and a png logo file. Products are placed in a different folder and you can even add your own, including adding texture and color variations.
{
"name":"TURNER",
"description":"Your standard airport newsstand. Selling everything from today’s best sellers & magazines as well as a full line of convince items.",
"logoPath":"turner.png",
"businessClass":0,
"businessType":5,
"CEOName":"Richard Blankenship",
"franchiseType":"Shop",
"products":[
"Book",
"Newspaper"
]
}
The principle is the same for banks, contractors, aviation fuel suppliers. “Franchise businesses” have some additional variables.
{
"name":"Indigo Investments",
"description":"Indigo Investments is a infrastructure investment bank that finances P3 (Public Private Partnerships) projects. A large portfolio under management includes public transit, airports as well as ground transportation networks.",
"logoPath":"indigo.png",
"businessClass":3,
"businessType":3,
"CEOName":"Oscar Klausen"
}
Products looks like this, but might change. We have not spent too much time on this.
Does that mean you could just add a new shop into the game by just creating a new… Class/Object or whatever you call it in a .json file and then point it to a picture you’ve put somewhere for the logo?
So each business gets his own folder, with 1 json file and 1 png file?
And each product also gets its own folder, also with 1 json and 1 png file?
I reckon the franchisetypes are “Shop” and “Restaurant”?
You give us a finger…
By the way, does every save get a copy of these configs? I can imagine that you don’t want 1000 businesses from all over the world in your game when you want a European game, but you don’t want to disable / enable businesses when you also want an Indian game.
Yes, json and png file required. Will check how we setup the franchise types.
No, each game installation gets a setup of the vanilla businesses. You can simply then add your own. Later we will see how this can work with Steam workshop but it is not priority right now.
Fredrik I have another question, can regular players reach .json files under steam/steamaps/airportceo folder? Or base files will be locked and only developers can access to it?
Actually they could do. For example in ETS2, you can access to a certain level of in-game files by only using “SCSextractor.exe” file extractor by SCS software and yet you cannot access to core files.