FallingSheep
OpenDayZ Lord!
Ok as I thought.
I will post you tomorrow a version which will definitely work, you will just need to make some changes to your liking (*^o^*)
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Ok as I thought.
I will post you tomorrow a version which will definitely work, you will just need to make some changes to your liking (*^o^*)
private ["_vehicle"];
_vehicle = _this select 3;
_lightArea = createVehicle ["#lightpoint", (position _vehicle), [], 0, 'CAN_COLLIDE'];
_lightArea setLightColor [0.5,0,0]; //[0.1,0.005,0.005];
_lightArea setLightAmbient [0.2,0.01,0.01];
_lightArea setLightBrightness 0.05;
_lightArea lightAttachObject [_vehicle, [0,0,-0.5]];
//Spark Light
/*
_lightSpark = "#lightpoint" createVehicleLocal (getPosATL _vehicle);
_lightSpark setLightColor [0.1,0.1,0.1];
_lightSpark setLightAmbient [0.05,0.05,0.05];
_lightSpark setLightBrightness 0.05;
_lightSpark lightAttachObject [_vehicle, [0,0,0]];
*/
while {alive _vehicle} do {
_lightArea setLightAmbient [((random 0.2) + 0.2),0.01,0.01];
//_lightArea setLightColor [((random 0.1) + 0.1),0.005,0.005];
sleep (random 0.1);
};
deleteVehicle _lightArea;
//deleteVehicle _lightSpark;
ArmoredSUV_Base_PMC
SUV_Base_EP1
ok tested and is working:
neonlight.sqf
Code:private ["_vehicle"]; _vehicle = _this select 3; _lightArea = createVehicle ["#lightpoint", (position _vehicle), [], 0, 'CAN_COLLIDE']; _lightArea setLightColor [0.5,0,0]; //[0.1,0.005,0.005]; _lightArea setLightAmbient [0.2,0.01,0.01]; _lightArea setLightBrightness 0.05; _lightArea lightAttachObject [_vehicle, [0,0,-0.5]]; //Spark Light /* _lightSpark = "#lightpoint" createVehicleLocal (getPosATL _vehicle); _lightSpark setLightColor [0.1,0.1,0.1]; _lightSpark setLightAmbient [0.05,0.05,0.05]; _lightSpark setLightBrightness 0.05; _lightSpark lightAttachObject [_vehicle, [0,0,0]]; */ while {alive _vehicle} do { _lightArea setLightAmbient [((random 0.2) + 0.2),0.01,0.01]; //_lightArea setLightColor [((random 0.1) + 0.1),0.005,0.005]; sleep (random 0.1); }; deleteVehicle _lightArea; //deleteVehicle _lightSpark;
Just need to make some changes here and there, so the light behaves more like a neon light, but for the start it should be enough.
Also there is no option to switch off the light, just to make them more/brighter ^^
But for the start it should be enough i think
Also change
toCode:ArmoredSUV_Base_PMC
Code:SUV_Base_EP1
Since ArmoredSUV_Base_PMC is only the Armored SUV ^^
Make this think working![]()