Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

FPSC Classic Scripts / Flashing Police Car Lights

Author
Message
bruce3371
14
Years of Service
User Offline
Joined: 4th Aug 2010
Location: Englishland
Posted: 15th Mar 2012 20:23
I wrote these short scripts, which will give you alternating, flashing lights for a Police Car entity. To set them up, all you do is assign one script to a blue, dynamic light, and the other to a red, dynamic light, and set the light ranges to 250-ish.





gozzy1999
13
Years of Service
User Offline
Joined: 11th Jun 2011
Location: in the closet
Posted: 15th Mar 2012 20:33
looks good

''Make sure your hands are clean before you point the finger''
A dude
14
Years of Service
User Offline
Joined: 15th Mar 2010
Location: The Solar System
Posted: 16th Mar 2012 00:49
Thanks.
Ross tra damus
3D Media Maker
18
Years of Service
User Offline
Joined: 7th Jun 2006
Location: Looking to Escape London
Posted: 16th Mar 2012 02:22
bruce3371

Thanks for these they look very interesting and I will give them a go some time soon.

Cheers and all the best of luck.
elbow
13
Years of Service
User Offline
Joined: 3rd Dec 2010
Location:
Posted: 16th Mar 2012 06:01
Thanks

Eugene
bruce3371
14
Years of Service
User Offline
Joined: 4th Aug 2010
Location: Englishland
Posted: 16th Mar 2012 15:31
Thanks guys. Here's slightly modified versions of the 2 scripts, that I use in my game;





They give 2 very quick flashes between pauses, and look more like modern Police Lights IMO.

I've attached a sample .fpm file to show you the modified scripts in action.

Attachments

Login to view attachments
ASTECH
17
Years of Service
User Offline
Joined: 18th Jul 2007
Location:
Posted: 19th Mar 2012 19:57
Interesting. I always just used the GravityZone script for my flashing lights. They seemed to do the job.

PC Specs: AMD X4 2.7Ghz, 8GB DDR3 RAM, Nvidia 9800GT, Win. 7 Pro 64 Bit
bruce3371
14
Years of Service
User Offline
Joined: 4th Aug 2010
Location: Englishland
Posted: 19th Mar 2012 21:00
If it's the one that uses variables to make a light fade in and out, that's no good for what I was wanting. I was wanting a light that flashed on and off, with no fading...

GeekyGaming
12
Years of Service
User Offline
Joined: 27th May 2012
Location:
Posted: 28th May 2012 00:34
Sorry to bump this thread some, but I had a question.

Where would I put the flashing light on the police car or on the light it self?

Also on the latest one that has the mapbank file do I need that one?

(Sorry im new to this and trying to learn)

Not just any gaming, but GeekyGaming!
bruce3371
14
Years of Service
User Offline
Joined: 4th Aug 2010
Location: Englishland
Posted: 28th May 2012 21:46 Edited at: 28th May 2012 21:46
Place the tops of the light markers just above the blue and red lights on your police car model (assuming it has blue and red, although it doesn't really matter, as long as your light markers match your model's colours).

Assign one of the scripts to each light marker and robert's your mother's brother...

You don't really need the .fpm file, it was just included as an example to show the lights in action...

Hope that helps, and glad to see people finding some use for the scripts

Login to post a reply

Server time is: 2024-11-24 00:50:39
Your offset time is: 2024-11-24 00:50:39