How to inject new aircrafts into the traffic in and out of LSIA?
-
How to inject new aircrafts into the traffic in and out of LSIA? Is there any file that i can edit to achieve that?
-
Try 'vehiclemodelsets.meta' here:
...\mods\update\update.rpf\common\data\ai\vehiclemodelsets.meta
It has '<Modelsets>' in it that trigger custom spawns in certain areas of the game (modded cars, ambient planes, airport planes etc).
The 'AIRPORT_PLANES' & 'AIRPORT_PLANES_SMALL' modelsets are near the top of the vanilla vehiclemodelsets & looks like this:<Item type="CAmbientModelSet"> <Name>AIRPORT_PLANES</Name> <Models> <Item> <Name>jet</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> </Models> </Item> <Item type="CAmbientModelSet"> <Name>AIRPORT_PLANES_SMALL</Name> <Models> <Item> <Name>luxor</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>shamal</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> </Models> </Item>
Say you wanted to add (you can replace as well if you like) an Embraer E190 so that it spawns at the Airport as well as the Jet you would add this:
<Item> <Name>E190</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item>
into the '<Models>' section of the 'AIRPORT_PLANES' 'CAmbientModelSet' so it looks like this:
<Item type="CAmbientModelSet"> <Name>AIRPORT_PLANES</Name> <Models> <Item> <Name>jet</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> <Item> <Name>E190</Name> <Variations type="NULL" /> <Probability value="1.000000" /> </Item> </Models> </Item>
It should be easy enough to figure out once you have a look at it. Make a backup of it before you edit anything