nephilim 0 Posted July 26, 2004 what have i go to do to place red combat light in a vehicles´(chopper) cockpit the light should be activeted with an script afterwards thx in advanced Share this post Link to post Share on other sites
Crowley 0 Posted July 26, 2004 I saw something detailing this not two days ago. But for the life of me I can't remember where. I'd recommed pulling apart the BAS MH-60 and seeing how they did it, with credit where credit is due of course. Share this post Link to post Share on other sites
philcommando 0 Posted July 26, 2004 lol!..i can think of several ways 1. Custom made animation activated on user menu with scripts. 2. make use of the default blinking lights 3. there's also a missile warning light inbuilt for choppers - see the BIS apaches model Share this post Link to post Share on other sites
nephilim 0 Posted July 26, 2004 id ont want a blinking ligth inside the cockpit more an ambience light that illumiants the cockpit red like used in jet planes for night flights Share this post Link to post Share on other sites
Crowley 0 Posted July 26, 2004 id ont want a blinking ligth inside the cockpit more an ambience light that illumiants the cockpit redlike used in jet planes for night flights Like the BAS Blackhawk. I was thinking of implementing it myself. Share this post Link to post Share on other sites
philcommando 0 Posted July 27, 2004 gosh..thats even easier 1. In memory LOD there are the left and right light memory points - L and P svetlo 2. U can shine the L svetlo on the outside and use the P svetlo to shine inside. 3. In the config, add class reflectors but for P svetlo, change it to red and then dimm it down. Some folks might not take it too kindly if u were to open up the pbo and in any case if u were to do a search here, u would have found the info here that is readily and freely given and will not run into controversy. Thats how i learn from the kind souls who shared info in these posts. All the best Share this post Link to post Share on other sites
Crowley 0 Posted July 27, 2004 Nothing wrong with learning existing game concepts from the work of others. Share this post Link to post Share on other sites
nephilim 0 Posted July 27, 2004 hmm well but how the cfg for the light supposed to look like? btw i want the lght be activated with a script no twith L key... so it cant be swithced off by ai @crowley yep i dont think learning is stealing btw an if i take a memory point liek on of the lightposts would this work too? and how the cfg supposed to look like on that? teh memory point for this is called "light".... well... hehe thx anyway Share this post Link to post Share on other sites
Crowley 0 Posted July 27, 2004 Hmm, BAS has a sqs file for the light and within the file they give permission for it's usage, with credit of course. Doesn't appear to use any memory points, if I'm reading this correctly. "BAS_60cargoLight" The cabin.sqs file is called with a user action and the sqs file does the rest. The cabin.sqs file is in the FX directory of the MAH-60 addon. Share this post Link to post Share on other sites
nephilim 0 Posted July 27, 2004 awe im not getting that bas stuff maybe its just too easy :P anyway im gonna add the svetlo in the momroy points but i got another question now can i somehow remove the light cone? like not definig the direction "konec svetla"? so that theres just the ambience light? otherwise therell be a red light cone sticking out of teh aurora..... Share this post Link to post Share on other sites
philcommando 0 Posted July 29, 2004 it seems the light cone cannot be removed from my tests. There is another kind of light that is not svetlo, - its the ofp fire addon. I found the config and use the 2 memory points - koulesvetlo and ohnista on my tank addon, gave it a class light config as per cfg190. it worked but still shows a cone. If u noticed the streetlight addons, there are 2 kinds of cones on the addon itself - one that is conelike and another that is round glow. If u use a different command it will show different cones. 'switchlight' and 'inflame true'. Lol! guess i aint making sense but anyway..it depends on how u place the memory points to achieve the light conditions even with a cone. A common thing to do is to place the konec svelta(end) onto the floor - but its not necessary to do so..for u can place it anywhere on the wall to achieve the desired effect. As for the colours, in the config they are something like this [x,x,x,x] meaning [red, green, blue, transparent], so if u want only red light, it becomes [1,0,0,0] or [0,0,1,0] for blue only and [1, 0 ,1, 0] for a different shade of red/blue combo. Many combo colored lights u can create with. Another trick u might wanna try would be to give a red hue to the texture so in day it looks like a red light is on and at night it further accentuates the red light. Share this post Link to post Share on other sites
nephilim 0 Posted July 29, 2004 hmm yes i thought of the textures aswell but another thing well its a chopper u know so so would ohniste work? and what if id just leave the konec svetla? would the ambinec lite still be there? Share this post Link to post Share on other sites
philcommando 0 Posted July 29, 2004 I doubt if the ohniste would work cos the reflectors are hardwired into the vehicles config, anything kind of lights u put up there would only become conelike. ambient might not work - cos there is a part of the config where ambient = xxxx. Logically if u dont put lights there, there would'nt be anything to be ambient about. The p3d for svetlos in vehicles are cones in the first place. I guess there are much experiments to do to get wat u want. Anything else from me would be theoratical, equivalent of BS! lol!..other possible ways u might wanna experiment could be to use the blinking lights by camcreating it into the model thru an eventhandler EDit:- thot will spare u some frustrating moments. I have tried just using class lights in the vehicle config, - no go. then tried removing the directions in the config - no go. tried reducing all lights - no go. reduce ambient - no go. result - it will go into default vehicle lights mode. so i figure the best hope that i know is to use one of the lights and see how u can play around with its placement to achieve what u want. But then,..lol! what do i know? Still many things that have yet to be tried Share this post Link to post Share on other sites
nephilim 0 Posted July 29, 2004 k thx phil so i guess i stick to textures then :P thx guys Share this post Link to post Share on other sites
Crowley 0 Posted July 30, 2004 I'm not sure what was wrong with the BAS script. It does exactly what you want and they give permission to use the script. It's extremely easy to activate. You probably wouldn't even need to edit the placement values. Share this post Link to post Share on other sites
nephilim 0 Posted July 31, 2004 lol i know :P women and technique anyway btw i though of an diffrent solution when u place the svetlo object (light face) only in the drivers view and define the svetlo and konec svetlo points to face in opposite direction of the vehicle in memory lod (means the cone shines on the player) would the lightcone be visible in 3rd person? i could leave away the interioir light in the 3rd perosn and just dye the glass to get the effect hope u understood the shit i wrote:P Share this post Link to post Share on other sites
Crowley 0 Posted July 31, 2004 I'm pretty sure that if you place the memory points, you'll have the cone. Haven't tried messing around with it too much. Share this post Link to post Share on other sites
nephilim 0 Posted July 31, 2004 i now htey would be there but i mean this in the pilto view if u place the svetlo object (liek int trucks u do aswell in the first lod) not into the first lod but only in the pilots view so would it be visible only in the pilots view or in 3rd person view aswell? Share this post Link to post Share on other sites
philcommando 0 Posted July 31, 2004 hey neph....u got something there!, either u are smart or i am just a fool - totally forgot about another light source! ( most probably me the fool! ) I am not sure about truck or tank models, but after modelling cars, now i realize there is one more kinda light - brake lights. As for tanks, i am not sure for i have not done tanks before The brake lights can be found in the first lod and have no memory lod..somehow when the vehicle stops, it lights up, with no cone, but should be sufficient perhaps for the ambience u seek. However u must remember to inherit that part in the cfgmodel for your model. As for pilot LOD, technically anything in that LOD can be viewed when in first person view but if u dont have that part in 1st LOD, that part wont be seen in 3rd person view, vice versa. Another point about pilot view lod is u gotta be careful with it, espacially if u are making soldier/unit models, cos when the soldier goes into any vehicles(choppers, tanks, etc), the first person view is not pilot view but it is the very first LOD view. Share this post Link to post Share on other sites
nephilim 0 Posted August 1, 2004 hmm i though of the brake lights but im not quite sure if they create the ambience. so u mean i i place the svtelo object into the pilot-view (teh seperate cockpit lod, not the one in 1st lod)it´ll be seen in the 3rd person (1st lod) aswell? that would suck....... gee i need the config before i can really try out some things....hope this works... Quote[/b] ]hey neph....u got something there!, either u are smart or i am just a fool me samrt? no! i just use what i get :P Share this post Link to post Share on other sites
nephilim 0 Posted August 1, 2004 Quote[/b] ]Another point about pilot view lod is u gotta be careful with it, espacially if u are making soldier/unit models, cos when the soldier goes into any vehicles(choppers, tanks, etc), the first person view is not pilot view but it is the very first LOD view. well i think when u get in a chopper as a driver u see the cockpit from the special driver-view created in oxygen in the chopper model so if u place the ligth only there maybe this works Share this post Link to post Share on other sites
philcommando 0 Posted August 3, 2004 regarding the 1st and 3rd person view, i better clarify, lol! 1st person view:- u as the driver or holder of weapons. 3rd person view:- u view the player model from a distance. If u look closer at the speedo meter dials of car from 3rd person view, u wont be able to see the dials cos the dials are not place in there, only placed in the pilot/driver view for 1st person view. So when u become the driver, u will see the dials of the speedometer moving, but if u get out of the car, the dials are no longer there, cos what u see is the main LOD meant for 3rd person view. Therefore if u place the svetlo object in pilot view lod, only the person who drives can see it while driving but not the rest of the crew cos whatever u place in the pilot lod is only meant for the pilot for close up view...a way to cut down on the file of your p3d, leaving your main lod for general view. As for 'special view'..err..nope..just an ofp engine config to use the lowest LOD of units model to interact with vehicles as all vehicles comes with normal lods. No special driver view on vehicles, only on the unit/soldier model. Share this post Link to post Share on other sites
nephilim 0 Posted August 3, 2004 hmm good:D well i knwo what 1st and 3rd lod is but thx anyway ;) so the combatlights woudl quite work if i only put htem into the pilotview of the chopper model great Share this post Link to post Share on other sites