Page MenuHomeFeedback Tracker

BuildingPositions should include a rotary value by default
New, WishlistPublic

Description

Right now building positions are only a positional array of [x,y,z]. By adding a rotation value by default, indicating the most reasonable direction to face (e.g. out of the window, towards a door if inside and against a wall), it would significantly improve garrisoning towns/buildings via script and make bloated calculations unnecessary.

Details

Legacy ID
972580595
Severity
None
Resolution
Open
Reproducibility
N/A
Category
Config
Additional Information

If the BIS default site modules are unpacked, you can see that they added the rotary values to all building positions by hand, and placed the units accordingly.

Example:
"Land_Cargo_Tower_V3_F", [

		[99.5325,3.79597,-4.62543,-271,3285],

]

Then the unit is set using
BIS_currentDude setDir direction _building + (_x select 3);

Event Timeline

wolfenswan edited Additional Information. (Show Details)
wolfenswan set Category to Config.
wolfenswan set Reproducibility to N/A.
wolfenswan set Severity to None.
wolfenswan set Resolution to Open.
wolfenswan set Legacy ID to 972580595.May 7 2016, 5:53 PM