OFPEC Forum
Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: i0n0s on 09 Oct 2008, 17:20:12
-
Does anyone knows how the the building you're placing in the construction dialog get coloured red or green?
While looking through the code, I wasn't able to locate the line.
-
There is a separate red and green object (p3d) for each building in warfare, rather than dynamically colouring the building object :weeping:.
e.g. three objects for the bunker:
cti_bunker
cti_bunker_red
cti_bunker_green
-
They are all listed in the cfgVehicles tree in the OFPEC COMREF (http://www.ofpec.com/COMREF/index.php?action=read&id=73), complete with pretty pictures.
Some models do not match what they are supposed to be, this is an original mistake by whoever made the Warfare stuff, it is not a mixup with the pictures.
Planck