[Update 1.0 - 2015.03.13] Emergency Lights CLEO script by nyolc8

Started by nyolc8, February 08, 2015, 13:59

nyolc8

The "Y" was that.
But... you won't be happy, but I renamed almost all lines... ::) to make it more logical. So a strobe light config lines are like this now:

(strobe 3)
strobeEL.3.F.pos.X = -0.7
strobeEL.3.F.pos.Y = 2.43
strobeEL.3.F.pos.Z = -0.04
strobeEL.3.F.dir = 1 //1 = front, 2 = rear, 0 = both
strobeEL.3.F.size = 0.8
strobeEL.3.R.pos.X = 0.75
strobeEL.3.R.pos.Y = -2.8
strobeEL.3.R.pos.Z = 0.03
strobeEL.3.R.dir = 2 //1 = front, 2 = rear, 0 = both
strobeEL.3.R.size = 0.2
strobeEL.3.rgb1.R = 255
strobeEL.3.rgb1.G = 255
strobeEL.3.rgb1.B = 255
strobeEL.3.rgb2.R = 255
strobeEL.3.rgb2.G = 255
strobeEL.3.rgb2.B = 255
strobeEL.3.alpha = 150
strobeEL.3.shadow.F.enable = 1
strobeEL.3.shadow.F.pos.Y = 6.0
strobeEL.3.shadow.F.size = 2.1
strobeEL.3.shadow.R.enable = 1
strobeEL.3.shadow.R.pos.Y = -4.0
strobeEL.3.shadow.R.size = 0.7
strobeEL.3.shadow.rgb1.R = 40
strobeEL.3.shadow.rgb1.G = 40
strobeEL.3.shadow.rgb1.B = 40
strobeEL.3.shadow.rgb2.R = 40
strobeEL.3.shadow.rgb2.G = 40
strobeEL.3.shadow.rgb2.B = 40

BeastyBill88

Doesn't look much more different from v0.9.5 Just a few more strobe lines lol.

nyolc8

spotlight lines:
spotLight.pos.X = -1.01
spotLight.pos.Y = 0.8
spotLight.pos.Z = 0.52
spotLight.size = 0.7

size means the light corona only

and a video, the first one since spotlight implemented in the emergency.cs itself:


BeastyBill88

Incredible :D so we can now basically have 4 strobes on the front, 4 on the rear, the TA, main EL's a spotlight aswell! My goodness Nyolc8! Do you have any other plans for this mod? Not sure if I already asked you lol.

nyolc8

3 pair lights on front, 3 pair lights on rear + advisor lightbar + main lights for roof + spotlight

I have some ideas.

BeastyBill88

Excellent! :D

Also with the spotlight are we able to change with button we press to be able to move it? Its just that I have the right mouse button as my horn button lol :P

nyolc8

no yet made, but in the released version the option will be there

BeastyBill88


Marccc

Can we get the advisor light into 2 colors?
Because i like the modes and i would like to use it as main light on the roof and there i need blue and red color, or to put in behind a window like the ones from the video below.
Or just make a completely new light for it like (X = light and make it as 1 coordinate for the 3 lights) [X][X][X]    [X][X][X]

Here a video of what i mean.

LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION
Generated by ASP.NET Core on Linux using the Convoy Trucking API. Updates every 5 minutes. See the original SVG image.

~!!!~ Watch my Police cars collection in the link below ~!!!~

[hide=link]http://imgur.com/a/gaJTT[/hide]

Marccc


LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION
Generated by ASP.NET Core on Linux using the Convoy Trucking API. Updates every 5 minutes. See the original SVG image.

~!!!~ Watch my Police cars collection in the link below ~!!!~

[hide=link]http://imgur.com/a/gaJTT[/hide]

nyolc8


Marccc

Yes like you see on the cars above like the lights they have behind the front window, all strobes you made now are just 1 light.

LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION
Generated by ASP.NET Core on Linux using the Convoy Trucking API. Updates every 5 minutes. See the original SVG image.

~!!!~ Watch my Police cars collection in the link below ~!!!~

[hide=link]http://imgur.com/a/gaJTT[/hide]

nyolc8

I think I'll just make one of the 3 strobe light set to have 3 corona on each place

edit: making all 3 strobe light set to be configurable with a 0(false) or 1(true) to have 1 or 3 corona

edit2: done :D also the distance between the three corona can be configured

nyolc8


Marccc

Looks good!
We cant get modes in the strobes and main lights?

LAST SEEN
TOTAL TIME ON SERVER
SCORE
TRUCK LOADS
CONVOY SCORE
ACHIEVEMENTS
ARTIC
DUMPER
VAN
FUEL
CEMENT
ARRESTS
CARS STOLEN
COACH
PLANE
HELICOPTER
TOW TRUCK
LIMO
TRASH
ARMORED VAN
BURGLARIES
ARMORED VANS STOLEN
MISSIONS FAILED
OVERLOADED
FINES PAID
TOTAL SPENT ON FUEL
INTEREST EARNED
DISTANCE TRAVELLED
TIME IN JAIL
LAST MISSION
Generated by ASP.NET Core on Linux using the Convoy Trucking API. Updates every 5 minutes. See the original SVG image.

~!!!~ Watch my Police cars collection in the link below ~!!!~

[hide=link]http://imgur.com/a/gaJTT[/hide]