XCFHanger Expansion Mod v0.86 appears to be broken with the latest OpenXcom update from yesterday. I keep getting these errors now attempting to launch the game
[04-07-2023_07-54-31] [ERROR] During linking rulesets of facilities:
Error processing 'STR_LARGE_HANGAR' in facilities: Not enough position vectors for crafts allocation.
Error processing 'STR_UPGRADED_HANGAR' in facilities: Not enough position vectors for crafts allocation.
Hi. If hanger allows more than one craft, you must provide coordinates for the crafts positions over the hangar sprite
"Another feature added is the possibility of allocate more than 1 craft at an specific hangar facility, so all crafts will be shown at Basescape, and can be right-clicked to go to craft screen. If more than craft is defined for an hangar facility, a new YAML tag "craftSlots" should be defined in the hangar ruleset. This tag will be followed by as many "position entries" as crafts are allowed in the hangar. Every position is a "- [x, y, z]" entry, where x,y are position offsets respect to the center of the hangar sprite, and z is ignored.
"
So, if ruleset of your hangar have tag "crafts: 2", you MUST add another tag with the positions for those 2 crafts at the hangar sprite. for example:
crafts: 2
craftslots:
- [11, -11, 0]
- [-11,11,0]
So, sprites of your crafts will be shown at (11,-11) and (-11,11) pixels from the center of the hangar sprite.
See this video for more examples:
https://youtu.be/0wmmdvmLTJEIMPORTANT: these instructions are only for XIlMi'S Brutal AI fork of OXCE+. Official OXCE+ does not support this extended hangar feature (more than one craft VISIBLE at hangars in basescape).