• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

FiCaCH

Recruit
23 Badges
Jan 2, 2022
3
3
  • Cities: Skylines - Green Cities
  • Stellaris: Federations
  • Stellaris: Ancient Relics
  • Cities: Skylines - Campus
  • Surviving Mars: First Colony Edition
  • Cities: Skylines Industries
  • Surviving Mars: First Colony Edition
  • Stellaris: Distant Stars
  • Cities: Skylines - Parklife
  • Surviving Mars: Digital Deluxe Edition
  • Stellaris: Apocalypse
  • Stellaris: Humanoids Species Pack
  • Cities: Skylines
  • Stellaris: Synthetic Dawn
  • Surviving Mars
  • Cities: Skylines - Mass Transit
  • Stellaris - Path to Destruction bundle
  • Cities: Skylines - Natural Disasters
  • Stellaris: Leviathans Story Pack
  • Stellaris: Digital Anniversary Edition
  • Stellaris
  • Cities: Skylines - Snowfall
  • Cities: Skylines - After Dark
Dear CO & PDX Team

I am trying to extend Advanced Vehicle Options with a functionality, which would allow to change any Aircrafts "size" property. Basic idea is to enable users changing existing plane assets, where the creator has been retired and no updated is expected to come. All pre-Airports DLC plane asset will be always "medium" planes, even it is a tiny A319 or a 777. The mod will allow users to select from a dropdown the new size, which is taken over ingame. Asset will not be changed.


As I understand, the size is controlled by m_level of the planes ItemClass. Doing so will have a side effect. For some reason, the stand BuildingAI will also change some data under an additional ItemClass in the Building AI, called m_overrideVehicleClass with the result, that somehow the small-to-large reclassified planes as well as the large planes will utilize the small stands.

Now I am looking for solution to prevent it, or maybe there is an easier way to accomplish the size conversion without editing an asset.

Observations have been posted to Boformer's & TGP's Discord Skylines.Code, and have been also shared with Avanya.

Thanks for some idea, how to prevent. It might be probably a nice extension for the players.
Tim (Maintainer of AVO)
 
Last edited:
  • 2Like
Reactions:
Hi Tim!

I checked up on this and the effect you're seeing is to be expected. You shouldn't change anything under m_level but instead switch the whole item class (m_class) to the same as the small plane or large plane respectively.

Stands work by overriding the default m_class of the buildingAI to be one of the m_classes that is set on the vehicle it should accept/spawn, so the m_class on the vehicle should match the m_overrideVehicleClass on the stand.

Also please note that you will probably need to require the DLC for the mod to work correctly.

I hope that helps you achieve what you're looking to do!
 
  • 1Like
Reactions: