quakergamer 0 Posted June 12, 2003 hello all, Does anyone know how I can UNHIDE a hidden selection and then after some seconds Hide IT again trough a script ? If it's possible or anyone know tell me! Thanks Share this post Link to post Share on other sites
Guest BratZ Posted June 12, 2003 Ya, I could write it all over again, but maybe try search for "Hidden Selections" If that doesn't help you I can help what I can Share this post Link to post Share on other sites
PicVert 0 Posted June 12, 2003 look in script of the DCA Rapier of SwissMOD or look the turorial for Pseudo Proxy from Col. Klink. I hope it's help you, it's the way to set a texture to an object and hide it. Share this post Link to post Share on other sites
Guest BratZ Posted June 12, 2003 Of course he could also just look in my planes too. 36 hidden selections in that one,lol But he doesn't need to go anywheres,all the information is here at these forums. Share this post Link to post Share on other sites
quakergamer 0 Posted June 13, 2003 look in script of the DCA Rapier of SwissMOD or look the turorial for Pseudo Proxy from Col. Klink.I hope it's help you, it's the way to set a texture to an object and hide it. I know how to set a texture and hide it. The problem is that I want it to unhide it and then hide it again ( SO i can make flashing panels on my plane :P ). Hope you get what I mean! Share this post Link to post Share on other sites
Guest BratZ Posted June 13, 2003 Yes I use it for flashing lights too (vertex shining) Define the selections in cfgvehicles: class CfgVehicles { Â hiddenSelections[]={"fpt1","fpt2","fpt3","fpt4","gear1",&qu ot;gear2"}; Remember the order...in my example the first one is referrred as 0,the second is 1 etc... You need to also define it in cfgmodels ONLY if you plan on making it invisible again (texture swap only,you don't really have to put it here) Note: Selection will start invisible when game starts,you will need to texture it at startup class Cfgmodels { class Default {}; Â Â Â Â class Weapon : Default {}; class Vehicle: Default{}; class BrtSB2C: Default { sectionsInherit="Vehicle"; sections[]={"fpt1","fpt2","fpt3","fpt4","gear1",&qu ot;gear2","vrtule staticka","vrtule blur"}; }; So now within a script and possible in a useraction,depending on your use (eventhandler even) This will make it invisible: _plane setObjectTexture [0,""] You have to texture it with something to make it visible again The texture can be most anything...doesnt have to be .PAA I've used .PAC and even .JPG _plane setObjectTexture [0,"\brt_sb2c\gear.pac"] so within a script (a blink) like this: _plane = _this select 0 goto "cycle" #cycle _plane setObjectTexture [0,""] ~1 _plane setObjectTexture [0,"\brt_sb2c\gear.pac"] goto "cycle" Your welcome to look at my planes ,I leave them unbinarized for this purpose One is a Curtiss SB2C Helldiver and the other is Corsair F4U They both make use of hidden selections (Corsair has 36 hidden selections !) Corsair also makes use of folding wings with missiles that fold with it. Only place that I know of to get these planes offhand is the GREAT!!! OFPBase News Site : http://www.ofpbase.com/ (I'm looking for a host,final Corsair coming soon!!!!) There I wrote it all again anyways ,lol Share this post Link to post Share on other sites
scousejedi 0 Posted June 13, 2003 Put a link to this thread in your sig Bratz - you are the guru for this topic. Share this post Link to post Share on other sites
quakergamer 0 Posted June 13, 2003 Thank you very very very much Bratz, It fianlly works!! Awesome work too See ya Share this post Link to post Share on other sites