Home   Help Search Login Register  

Author Topic: insta-flare  (Read 1227 times)

0 Members and 1 Guest are viewing this topic.

Trasher

  • Guest
insta-flare
« on: 23 Jun 2004, 07:11:04 »
í making a Night DM map and i want to have flares that fire themselves up the air !  :)

Offline WizzyWig

  • Members
  • *
  • Mod Maker
    • Oblivion Promotions
Re:insta-flare
« Reply #1 on: 23 Jun 2004, 07:26:26 »
look in editors depot under flare traps

hope this helps wizzywig

Trasher

  • Guest
Re:insta-flare
« Reply #2 on: 23 Jun 2004, 07:34:20 »
i tryed that but it didnt work  :'( but anyway thx for the tip   :D

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:insta-flare
« Reply #3 on: 23 Jun 2004, 16:50:25 »


1) Create a gamelogic on the map and place it at the position you want the flare to fire from
Name the gamelogic "Flarelogic1"

create the following entries into the required scripts

INIT.SQS
Quote
;; refire delay is the pause between the first flare firing and the second
refiredelay = 30
[] exec "Flare1.sqs"



FLARE1.SQS
Quote
#START
flare1= "flaregreen" camcreate [getpos flarelogic1 select 0,getpos flarelogic1 select 1,1]
;;You can change these numbers. [0,0,0] will keep flare at spawn point until it goes out. Negative numbers reverse the direction
#LOOP
flare1 setvelocity [2,14,18]
?(flare1 distance flarelogic1) >100:goto "SLOWDOWN"
~0.1
goto "LOOP"
;;After getting X meters away from logic, flare goes to this number for slowing effect.
#SLOWDOWN
flare1 setvelocity [3,14,18]
~refiredelay
goto "START"
;; Flare only burns for 15 seconds or so, so dont take it to high or far.
#end
exit

for more flares, simply repeat the process, calling the scripts Flare2.sqs and flarelogic2 etc etc

the velocity  etc and delay times for the refire can be altered to suit, however the velocity settings do look realistic

green flares give a better nightime visual effect
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123