SimAirport

SimAirport

View Stats:
LVGameDev  [developer] 24 Aug, 2017 @ 8:03pm
How To: Custom Airlines / Airline Mods
Aircraft Templates - Layered Files (PSDs)
Huge thank you to @Plotz for submitting these templates and for allowing the community to use them! We appreciate it -- thank you!


Editing the JSON
The most common issue we're seeing are "wrong" quotation marks being used in the JSON. You MUST use a plain-text editor (Notepad, Notepad++, TextMate, SublimeText, etc) to edit the JSON -- do NOT use a rich text editor or you'll end up with 'smart quotes'.

Note: In the latest builds, we attempt to "auto-correct" this issue by replacing 'smart quotes' with 'normal' UTF8 quotes, which should substantially reduce this issue. Regardless, we recommend using a plain-text editor for editing any mod-related config files!

Full JSON Example
Here's a complete, functional example of an airline configuration for an airline that has a required object and multiple concerns.

Full JSON Example[pastebin.com]

Note that on the in-game Airlines UI, only concerns above a certain threshold are shown for gameplay purposes -- though all are still factored in appropriately.

JSON Schema Overview

Name
This is the IN-GAME name of the airline. Note this can be different than the folder name or title given in Steam Workshop.

Enabled
If enabled, the game will try loading the mod at startup. Note: validation errors may prevent it from being loaded successfully.

Notes, SpriteSetIndex
Not in use at this time.

AircraftInFleet
The list of aircraft “short names” that’ll have a chance to appear in randomly generated offers. See the templates directory for the short name codes (they must be exact or the importer will ignore it). Your airline must have at least 1 aircraft in fleet to be functional. Several of the smaller general aviation aircraft, which have art in the templates directly but that aren't in the game yet, are not usable yet.

Concerns
The list of concerns that affects the airline’s overall interest score. Your airline must have at least 1 concern in order to be functional. The list of concerns are as follows:

  • 0 - Passenger satisfaction rating
  • 1 - Price
  • 2 - Passenger missed flight rating
  • 3 - Delayed flights rating
  • 4 - Canceled flights rating
  • 5 - Fuel Prices
  • 6 - Refueling Services / Success Rate

Weights must be between 0 and 1 (inclusive).

PriceSensitivity
This value must be between 0 and 1 (inclusive). This is an extra value that modulates the Price Concern (see above) component only.

SatisfactionSensitivity
This value must be between 0 and 1 (inclusive). This value partially controls how many flights are offered based on a given interest level. A value of 0 means there will likely be some ‘starter flights’ available at low interest levels, whereas a value of 1 means the majority of flights won’t be offered until interest approaches 100%.

requiredAdministrators, requiredObjects, requiredTechTrees
Additional constraints that affect when the airline is able to start doing business with you. Administrators and Objects are just string names, e.g. “CEO” or “Gate Agent Desk”. The tech trees use integers, as follows:

  • 0 - Finance
  • 1 - Lower Taxes
  • 2 - Bank Loans I
  • 3 - Operations I
  • 4 - Road Building
  • 5 - Multilane Access
  • 6 - Upgraded Buses
  • 7 - Pricing
  • 8 - Bank Loans II
  • 9 - Bank Interest
  • 10 - Standby Gates
  • 11 - Light Rail Transit
  • 12 - Land Expansion
  • 13 - Operations II
  • 14 - Aviation Operations

Income_NewFlightBonus_PerFlight
Controls the Acceptance Bonus and Termination Fee applied to all generated flights.

FirstClassPercentage
Controls the distribution of first class passengers vs coach on departing passengers.

BaseRefuelPercentage
This value must be between 0 and 1 (inclusive). This value modulates the Refuel Request rate component of the refueling chance for this airline.


Last edited by LVGameDev; 2 Oct, 2017 @ 7:22pm
< >
Showing 16-30 of 99 comments
testsnake 25 Aug, 2017 @ 7:30am 
For me its stuck creating a preview. what should i do?
POMMESPANZER 25 Aug, 2017 @ 7:42am 
I can figure out what ist wrong...



{
"airlineSteamID": 1118791001,
"Name": "Eurowings",
"enabled": true,
"Notes": "",
"AircraftInFleet": [
"A320"
],
"SpriteSetIndex": 0,
"Concerns": [
{
"Concern": 1,
"Weight": 1.0
}
],
"PriceSensitivity": 1.0,
"PeakFlightsCount": 4,
"SatisfactionSensitivity": 0.0,
"requiredAdministrators": ["CEO"],
"requiredObjects": ["Gate Agent Desk"],
"requiredTechTrees": ["3"],
"Income_NewFlightBonus_PerFlight": 2000.0,
"FirstClassPercentage": 0.20000001192092898
}

https://i.imgur.com/nlKmw89.png

https://i.imgur.com/6rDdL6e.png

andycishere 25 Aug, 2017 @ 7:44am 
I've created one but I don't know how to bring it in to the workshop. The Update button is not usable.
May can someone help me?

It does not have any concerns in the mod list.

/Edit: my mistake, had two with the same name :D
Last edited by andycishere; 25 Aug, 2017 @ 7:55am
POMMESPANZER 25 Aug, 2017 @ 7:47am 
but i have added a concern in the file...

plotz 25 Aug, 2017 @ 10:06am 
- Separate concerns and weights by commas
- use notepad++, otherwise the ">= 1 concern required" prompt will be shown. notepad and wordpad destroy the syntax somehow.
plotz 25 Aug, 2017 @ 10:08am 
I have made some multi-layered templates for E195s and B737s in PSD format and am willing to share. Write me message and I will gladly upload them. These templates make "clean" paintjobs easier.
marineanukotilah 25 Aug, 2017 @ 10:18am 
please upload the clean templates plotz
rsdworker 25 Aug, 2017 @ 10:19am 
Originally posted by plotz:
I have made some multi-layered templates for E195s and B737s in PSD format and am willing to share. Write me message and I will gladly upload them. These templates make "clean" paintjobs easier.

nice - i would create place where everyone could upload the designs and get feedback on airplanes templates etc at fans of simairport site
Spieleklecks 25 Aug, 2017 @ 10:38am 
Originally posted by plotz:
I have made some multi-layered templates for E195s and B737s in PSD format and am willing to share. Write me message and I will gladly upload them. These templates make "clean" paintjobs easier.

oh yes, pls upload us the files...
MyAirbridge is a good file hoster...

Thanks for your multi-layered templates :)
Sandra 25 Aug, 2017 @ 12:34pm 
Originally posted by plotz:
I have made some multi-layered templates for E195s and B737s in PSD format and am willing to share. Write me message and I will gladly upload them. These templates make "clean" paintjobs easier.

These would be hugely helpful if you could do this, thanks in advance if you do :)
bryonym91 25 Aug, 2017 @ 12:35pm 
I need help. I've tried to create new airline just using the templates and used notepad++ but its still coming up with the below. I put everything in i needed and the concern is at 1

https://steamhost.cn/steamcommunity_com/sharedfiles/filedetails/?id=1119975403
Last edited by bryonym91; 25 Aug, 2017 @ 12:36pm
plotz 25 Aug, 2017 @ 1:12pm 
Please upload the script, any syntax error will prompt this message.

I still can't figure out how to add more than one concern correctly, though...
LVGameDev  [developer] 25 Aug, 2017 @ 1:36pm 
@Plotz -- Awesome on the templates, thank you very much for sharing with the community. If you're OK with it, we'd be more than happy to host the files for you on our website. If you can email them over to us, or send us a link to download them, we'll get them uploaded and provide a link that everyone can use to download them quickly via our CDN.

@All -- We'll get some additional (and better) examples posted shortly today, including the correct syntax to use for multiple concerns.

We're going to make a few minor UI tweaks in a deploy today too -- if you have any UI/flow suggestions at all please let us know!

Edit: Anyone having issues with the JSON, please post the JSON so we (and the community) can see what you've got to try to spot anything that's out of place. We'll work on improving the JSON response messages too, so posting the JSON so we've got samples to use to test those improvements is also helpful for us. =)
Last edited by LVGameDev; 25 Aug, 2017 @ 1:38pm
plotz 25 Aug, 2017 @ 2:03pm 
Hi gamedevs,

will do so very soon - If you officially host them, I would like to make some minor improvements, first. How do I send them to you?


Hi all,
:)

I also figured out the JSON syntax for multiple concerns now (googling helps):

...

"Concerns": [
{
"Concern": 3,
"Weight": 0.5
},
{ "Concern": 1,
"Weight": 0.5
}
],

So you need to wrap each concern in {...} and separate the term with a comma --> "Concerns":
[ {content1}, {content2} ].

Works!
rsdworker 25 Aug, 2017 @ 2:30pm 
nice also i have started showcase in fans of simairport - i need get examples in sometime later
so everyone will enjoj finding modded contents there when i have filled up with some good examples
< >
Showing 16-30 of 99 comments
Per page: 1530 50

Date Posted: 24 Aug, 2017 @ 8:03pm
Posts: 99