philcommando 0 Posted August 12, 2004 Just a working idea for those who may be contemplating creating a building with lights and unit proxies and doing a search for possible solutions. I wont go into a tutorial as Brsseb's tutorial will give a good basics on it. However should u wanna add features, this could be a possible way the way the modular tent was created. 1. Create the model u want as per normal at 1.500 LOD, and follow Brsseb's tutorial for the other LODs. 2. Open up another folder within your addon file - example if your file is Tom_House1 addon then within that folder, name a new folder Textures. This is so that it will be easier to change the colour scheme of your addon later for desert or jungle schemes. 3. In the main LOD, put in the unit proxies u want the normal way. 4. In fire geometry, add in the proxies so that u can fire upon the units, but dont add it in hit LOD, cos if u do that, the proxies become one with the model-u gotta destroy the model b4 u can destroy the unit. 5. In memory LOD, add in either blinking lights or the normal P & Q svetlos, Konec p and q svetlas. Add in also the pos driver and pos cargo for units to enter or getout. 6. Add in a cargo view geometry LOD so that should u wanna become the cargo, u can view the surroundings too. - copy and paste from the main LOD. 7. As for the config, any vehicle config would do, but the best is the BIS 5topen config, cos its proxies can be seen in the open unlike the tanks where it is hidden. Things u may need to change to the cfg:- a. set the maxspeed to 0 -otherwise the house will move b. set the fuel capicity to 0 - otherwise when u get out, the addon disappears! c. **** if u are using the 5topen config, the unit proxies must follow the sequence:- proxy5tdriver.01, proxy5tcodriver.01, proxy5tcodriver.02, proxycargo.03, proxycargo.04, etc...otherwise ingame the proxy cargo units will disappear! d. ** if u dont have a driver proxy, the house will not light up cos only models with driver have acess to light switch. With it, then u can either set the behaviour to safe or careless to light up ingame. e. As for the proxies stances, there are many 'manacts' type of stances u can use for the config...eg..manactpbrdrive, manactm113injured, etc.. This is by no mean exhaustive, as there are many things u cud do in the model and config...All the best and Have fun Share this post Link to post Share on other sites
xpetit 1 Posted August 25, 2004 Thank's for you advices. I have do it for my creation (the airwolf cave). Now, if I select a west car "Airwolf cave" the cave have light in the night. But I would like to be able to have the command to switch light On/ Off. I have added in Class UserActions of the config file : class SwitchOn { displayName="Switch-On light Cave"; position="osa_switch"; radius=30; condition="this animationPhase ""SwitchOn light"" < 0.5"; statement=this action ["LIGHTON"]; }; The name's action appear in the popup in the game, but nothing happens when I select it!!!!! What is wrong? What is the good command I must used? "LIGHTON" seems to not be the good word. Thank's for the help anybody will give me. Share this post Link to post Share on other sites