OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: SafetyCatch on 20 Sep 2003, 15:58:45
-
Hi :D
I'm making a hostage rescue mission ;D
I was wondering is there any way i can simulate a search light that can be scanning the town's buildings and roads and stuff????
Also, if anyone knows where i can get a quiet police siren sound thats not too annoying that wud b very helpful
Thanks :)
Safety
-
There already a thread for this. and no none are available at time
-
Yeh it's my thread ;)
-
for the searchlight, i dont know. as for a siren sound, if u mean an alarm like the one in game, u can find a clip of it online, then look at teh soudn tutorials as how to put it in your mission
-
See if you can modify this to suit your needs ;)
-
wow thanks sui :)
-
use a drop effect with it it looks even better.
http://67.81.26.4:3000/vetserver/screens/spot.JPG
-
Here are two siren sounds I'm using in a mission I'm working on. I have them looped in a script, so that the sound files don't have to be very big. I've included a simple script to do just that. You'll have to config the sounds in description.ext to work it, though. Nice thing about the script is that you give it a vehicle to play the sound from, so the farther away the vehicle is, the quieter the siren is.
-
use a drop effect with it it looks even better.
http://67.81.26.4:3000/vetserver/screens/spot.JPG
wow, that looks awesome! :o
Where can I get it?
-
Here you go -
_object = _this select 0
logic2 setdammage 0
; colours
_left = [1,0.2,0.05,1]
_left2 = [0.4,0.4,0.05,1]
;_left2 = [0,0.7,0.9,1]
#loop
~0.01
drop ["obrysove svetlo", "", "Billboard", 1, 0.1, [0,0.5,0], [0, 1, 0], 1, 0.9, 1.1, 1, [1, 1],[_left,_left2],[0],0,0,"","",_object]
? (Not(Alive _object)): exit
goto "loop"
-
thx, it works.
But why that logic2 setdammage 0 line?
Why do I need a gamelogic? (I guess) ...cos it works without it?!