Jump to content

Recommended Posts

gf-police-and-siren-script-version-100-p

gf-police-and-siren-script-version-100-1_4.pnggf-police-and-siren-script-version-100-2_4.pnggf-police-and-siren-script-version-100-3_4.png

GF Police and Siren Script

by

 

GEORGE FLOROS [GR]

 

 

Description:

GF Police and Siren Script , configurable script.
You are free to do anything but i would like to give me Credits for this!
Simple and easy to use and adapt .
Have Fun !

 


Installation / Usage:

For usage instructions and information of how to use the GF Police and Siren Script please refer to the included documentation and/or example mission.

Place in your mission the files . There is everything included , in the init.sqf and description.ext , to copy paste in your mission .

https://community.bistudio.com/wiki/SQF_syntax
Don't try to open this with the simple notepad.

For everything that is with comment // in front or between /*
means that it is disabled , so there is no need to delete the extra lines.

You can open this ex:
with notepad++
https://notepad-plus-plus.org/

and also use the extra pluggins
(this way will be better , it will give also some certain colours to be able to detect ex. problems )
http://www.armaholic.com/page.php?id=8680

or use any other program for editing .

For the Compilation List of my GF Scripts , you can search in:

https://forums.bohemia.net/forums/topic/215850-compilation-list-of-my-gf-scripts/

 


Notes:

This is including a Script to add a Siren to any vehicle you want

and 2 retextures of Greek Police  , Offroad and Hatchback.

It can be used with the editor placed vehicles and also scripted.

There are examples in the init.sqf and inside the ex. mission.

 


Credits and Thanks to :

Thanks to All script contributors
Thanks to everyone who tries to do the best for this game!
Thanks to BIS for such a great platform .
Thanks to BIS Community and BIS Community Forums .
Thanks to Armaholic Community and Forums .

 

 

Changelog:

v1.0


Forum topic:
- Armaholic forums http://www.armaholic.com/forums.php?m=posts&q=40218

 

 

Armaholic

GF Police and Siren Script

 

  • Like 4
  • Thanks 2

Share this post


Link to post
Share on other sites

Does it only add a sound or it also adds the light bar?

  • Like 1

Share this post


Link to post
Share on other sites

Can you please add light-bars to the vehicles? Not just for the Offroad variant. That way we can have police units without any add-ons. Units that write Police and not Gendamerie.

Oh and adding extra police lights apart from the light-bar would also be really cool. Like the ones add-ons have.

And if you go even further you can create undercover police unit variants with no extra dependency. Simple black SUVs with lights and sirens that is.

 

 

 

  • Like 1

Share this post


Link to post
Share on other sites
13 hours ago, kerozen said:

Does it only add a sound or it also adds the light bar?

 

Hello there kerozen !

 

The Offroad will be with a lightbar but not the Hatchback .

 

I was trying also to find if this is possible. I will search more though !

 

# I don't know if there is anyone knowing about it , if yes , feel free to inform us !

Thanks !

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites
11 hours ago, JohnKalo said:

Simple black SUVs with lights and sirens

 

Hello John !

 

 

Very nice idea ! it is possible yes.

One black texture like : ( if i remember right ! )

-maybe black is already available-

this setObjectTextureGlobal[0,"#(rgb,1,1,1)color(0,0,0,0)"];

attach some #lightpoint

 

and my siren script.

 

I will also add this in the next update !

  • Thanks 1

Share this post


Link to post
Share on other sites
On 4/9/2018 at 4:13 PM, JohnKalo said:

Sounds cool.

 

Some progress:

SUV and added lights .

 

97UnJ5MtQouHR8UqKfL2tw.png

  • Like 2

Share this post


Link to post
Share on other sites

Nicely done!

Hope the eventual result will be like the real police cars, with the flashing lights at the back and the rear of the car.

  • Like 1

Share this post


Link to post
Share on other sites
On 24/9/2018 at 4:10 PM, JohnKalo said:

police cars,

 

4 hours ago, GEORGE FLOROS GR said:

So i'm almost done also with this, i need to do some small stuff more :

Some pics :

MulkxKKCRPGhI4qteZ8xCQ.png

waSEafF-RFSChdCYz6LtIA.png

0I6pTn6HScGnMmV0nbQuEw.png

q8H22g0wSeWfvZDEhVhBZQ.png

673BavZtTSimBtVmlZGePQ.png

N8QLm2J0Q9CFiP14IOHewg.png

  • Like 1
  • Thanks 1

Share this post


Link to post
Share on other sites

Really nice work dude!

 

Maybe you can place some lights on the front and back of the vehicles too. Like on their pumpers and such. 

  • Thanks 1

Share this post


Link to post
Share on other sites

I haven't add more because it's appearing to be too much.

 

This is some  90%

 

Updating :

 

Changelog:

v1.1
Added Police Blue & Red lights
Added an SUV , retextured or with colour.
The code is reworked.

 

ncERgTucRvuGnax4tJQCkw.png

  • Like 2

Share this post


Link to post
Share on other sites

Yep that's true. Have already got plans on how to use this script! In the long run however. I will still be on my essential Arma 3 editing break for a hopefully short while.

In any case, you have just given the game what is was lacking for years. Add-on dependency free police units!

  • Like 1

Share this post


Link to post
Share on other sites

Hello there Guys !

 

I was messing around trying to find a .p3d model for something and i notised that there is a model available for Police lights , but this is for the police boat.

 

Does anyone know if there is available the one from the offroad?

 

This pic is from the boat lights .p3d attached on the hatchback :

 

QBhv5ljTTWeM4-yGl4Gx_w.png

 

For anyone who wants to check :

_Police_Lights_F_1 = createSimpleObject ["a3\boat_f_gamma\Boat_Civil_01\Police_Lights_F.p3d", [0,0,0]];
_Police_Lights_F_2 = createSimpleObject ["a3\boat_f_gamma\Boat_Civil_01\Police_Lights_F.p3d", [0,0,0]];

_Police_Lights_F_1 attachTo [_this, [-0.10,-1.5,-0.85]];
_Police_Lights_F_2 attachTo [_this, [0.10,-1.5,-0.85]];

Thanks !

  • Like 1

Share this post


Link to post
Share on other sites

Yep, it looks really nice! Although I have not seen any such police car around. Maybe they have them stored in a garage because spare parts are expensive. Lol 

Not that you can often see police cars in general. They kinda only come to protect politicians. Like a PMC...

  • Haha 1

Share this post


Link to post
Share on other sites

so I placed all the code as listed in file to vehicle init but only the skin activates.

Share this post


Link to post
Share on other sites
2 hours ago, jandrews said:

so I placed all the code as listed in file to vehicle init but only the skin activates.

 

Have you test the example mission ?

If you are placing the car with 3d editor you can copy what you want from the ex. mission selecting and ctrl+c ctrl+v paste.

 

try and tell me!

Share this post


Link to post
Share on other sites

How would you change the siren sound to a custom one? I've made the Sounds file and description.ext file with the class name defined, its just not making noise

  • Like 1

Share this post


Link to post
Share on other sites

^^^And the sound has to be in an .ogg format ^^^

  • Like 1

Share this post


Link to post
Share on other sites

Hey im pretty new to scripting and all that stuff so i wanted to ask if this script also works on a LAN Server/ Is client side.

  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, Lord Whisky said:

Hey im pretty new to scripting

 

Hello there Lord Whisky and welcome to Bis Forum !

 

It's working in a local server and some scripts are for the server and some for the client , though as i see , i haven't set them to do this , everything is working in the init in the example mission.

 

This should be separate but , to be honest i don't have any time on right now in order to check it.

  • Like 1

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

×