[aps]gnat 28 Posted September 23, 2006 Trying to change the color of a named section ("X") of a building like; _building setobjecttexture[0, "\GNT_Alpha\gfx\LightBlue.paa"] Doesnt work The config is like this; Quote[/b] ]class CfgPatches{ class GNTAlpha { units[] = {GNTbA}; weapons[] = {}; requiredVersion = 1.75; }; }; class CfgModels { class Default {}; class Building: default {}; class bA : Building { sectionsInherit=""; sections[] = {"X"}; }; }; class CfgAmmo {}; class CfgWeapons {}; class CfgVehicles { class All {}; class Static: All {}; class Fortress: Static {}; class Building: Static {}; class NonStrategic: Building {}; class Strategic: Building {}; class GNTbA: Strategic { displayName="Building A"; hiddenselections[] ={"X"}; cost=1000; accuracy=1000; vehicleClass = "GNT Alpha"; side=TCivilian; simulation="house"; icon = "\GNT_Alpha\gfx\Ai"; armor=30000; scope=2; model="\GNT_Alpha\bA"; destrType="DestructEngine"; }; Any ideas whats wrong ? Has someone done a changable Billboard or Sign that maybe I can learn from? Share this post Link to post Share on other sites
BraTTy 0 Posted September 23, 2006 setobjecttexture only works on vehicles. Probably because you define the addon as a building in cfgmodels Share this post Link to post Share on other sites
[aps]gnat 28 Posted September 23, 2006 setobjecttexture only works on vehicles. hmmmmmmm .... bugger .... thats going to be a problem. *thinking* Thx Bratty Share this post Link to post Share on other sites
deanosbeano 0 Posted September 23, 2006 you can use the same method as the billboards, i know ya gonna hate me for this, but i cant find them, i used to use there set object texture to play movies on them, look for either lcd screen addon or billboard sorry for vagueness. btw setobject texture is not just for vehicles it works on flags too Share this post Link to post Share on other sites
Guest [B.B.S.] T_D Posted September 24, 2006 If you define your building as Thing, setObjectTexture should work. I read this somewhere here, wait a second.... *presssearchbutton* Here it is. Share this post Link to post Share on other sites
shinRaiden 0 Posted September 25, 2006 It should work for mission placed buildings if you follow the directions above. Mapplaced buildings are only possible in VBS1. Share this post Link to post Share on other sites
[aps]gnat 28 Posted September 25, 2006 T_D @ Sep. 25 2006,04:23)]If you define your building as Thing, setObjectTexture should work. I read this somewhere here, wait a second.... *presssearchbutton* Here it is. Thanks TD, nice find but I had tried "Thing" during the testing and I did find; -It reversed my models (not a big deal) -Made the letters fall over and lay about oddly on the landscape (big deal) Share this post Link to post Share on other sites
csj 0 Posted September 25, 2006 Quote[/b] ]-It reversed my models (not a big deal) reversed=false; Have you tried using class target, Gnat? Share this post Link to post Share on other sites