Jump to content
Sign in to follow this  
undercoverbrother

Creating lights (for beginner)

Recommended Posts

g'day everyone,

You all probably know the "villa" on the hill in the Zargabad mission. Well its nice at day but at night its only got one bloody streetlight to light the whole place. Im trying to place lights on the inside and on the outside of the building to create a more believable environment. Yes, there are a quite a few examples of this that I found in other threads, but I basically don't enough knowledge of scripting to follow what they are doing, its really frustrating. Any helps much appreciated.

thanks,

Share this post


Link to post
Share on other sites

I dont want to sound ungrateful but if I could get an example or just a few tips that would be better as I can't download right now. thanks anway

Share this post


Link to post
Share on other sites
I dont want to sound ungrateful but if I could get an example or just a few tips that would be better as I can't download right now. thanks anway

Download the addon , search for the street lights in your editor ...

i think its somewhre in the empty section.... and Place it where you want....

thats it :rolleyes:

Share this post


Link to post
Share on other sites

This is how BIS does it in their missions:

// change the 5 to whatever altitude you want for the light
BIS_Light01 setPos[(getPos BIS_Light01 select 0), (getPos BIS_Light01 select 1), 5];

BIS_lightEmitor01 = "#lightpoint" createVehicleLocal getpos BIS_Light01;  
BIS_lightEmitor01 setLightColor [1, 1, 1];
BIS_lightEmitor01 setLightBrightness 0.1;
BIS_lightEmitor01 setLightAmbient [1,1,1];
BIS_lightEmitor01 lightAttachObject [bIS_Light01, [0, 0, 0.1]];

BIS_Light01 is the name of a physical object on the map. Sometimes they will use a microphone, but you can use anything. The other lines create the light and attaches it to BIS_Light01. The colors are in RGB (red, green, blue) format and range from 0 to 1.

Share this post


Link to post
Share on other sites

Anyone know how to use the light pole models without an editor addon?

Share this post


Link to post
Share on other sites

Ok this reply is inexcusably late I know; but just for completeness thanks heaps, you guys never let me down, joining this forum was a damn good choice

Edited by undercoverbrother

Share this post


Link to post
Share on other sites

Anyone know why the lights won't work inside the static C130's unless they are at around 4.7 Brightness? Trying to make it dark inside with just enough light to see, not really working out.

Share this post


Link to post
Share on other sites
Anyone know why the lights won't work inside the static C130's unless they are at around 4.7 Brightness? Trying to make it dark inside with just enough light to see, not really working out.

Lights work fine in c130 static and other vehicles on ground, but when moving or at certain height they have issues, unknown why.

Also tried with redlights in a heli, worked fine on ground, but when tilting out of level (moving forward) lights disappear.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×