OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: i0n0s on 09 Oct 2008, 17:20:12

Title: Colored buildings while building?
Post 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.
Title: Re: Colored buildings while building?
Post by: Spooner on 09 Oct 2008, 17:31:46
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
Title: Re: Colored buildings while building?
Post by: Planck on 09 Oct 2008, 18:08:17
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