Home   Help Search Login Register  

Author Topic: Light qns  (Read 964 times)

0 Members and 1 Guest are viewing this topic.

mystic80

  • Guest
Light qns
« on: 10 Oct 2003, 16:56:37 »
Well since i cant find any qns from other threads i might jus try and ask in this forum.

is there anyway where u can get to light up the streetlamp that u made?
in the malden map, there are these streetlamps which jus light up without any sqs scripts.

im jus hoping anyone would give me an ans how do i made my own streetlamp that i made, lit up. is it done under p3d file? if so which component name?

anyone help me?

Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:Light qns
« Reply #1 on: 11 Oct 2003, 04:56:41 »
Mystic,

In the init field put --

this inflame true

this will  make it light up.  To make it turn off put--

this inflame false

to make it light only at night and turn off during the day I think you put

this inflame auto

but I'm not sure about this last one.  I there is more on this topic at this site.  Try doing a search using "street lights" as your search topic.


Offline Raptorsaurus

  • Editors Depot Staff
  • *****
Re:Light qns
« Reply #2 on: 13 Oct 2003, 20:40:31 »
Whoops!

should be:

this switchlight "ON"

or

this switchlight "OFF"

or

this switchlight "AUTO"


Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Light qns
« Reply #3 on: 13 Oct 2003, 21:14:32 »
Raptorsaurus: There is no init field in "real" streetlamps.

:beat: *Gets Shot* :beat:

Offline General Barron

  • Former Staff
  • ****
  • Semper Fi!
Re:Light qns
« Reply #4 on: 16 Oct 2003, 02:26:42 »
Use this addon here. I'm not sure who made it, but it works. Just place one of the streetlamps it adds under the "objects" menu, then type: "this inflame true" in the init field of the lamp. Viola!

HANDSIGNALS COMMAND SYSTEM-- A realistic squad-control modification for OFP
kexp.org-- The best radio station in the world, right here at home! Listen to John Richards!

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:Light qns
« Reply #5 on: 16 Oct 2003, 17:12:58 »
failing that give the streetlamp a name eg L1, L2 etc etc and have the init.sqs light it up

L1 switchlight "auto"
« Last Edit: 16 Oct 2003, 17:13:25 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

m21man

  • Guest
Re:Light qns
« Reply #6 on: 16 Oct 2003, 23:28:25 »
Quote
...of the lamp. Viola!

I'm trying to decide which is more annoying, "Viola" or that constant favorite, "Walla".

Torak

  • Guest
Re:Light qns
« Reply #7 on: 17 Oct 2003, 12:19:26 »
Mais bon dieu, tous les deux sont surement mieux que du francais vrai? C'est une langue emmerdant...


Apologies to any French people here... I just prefer Dutch.

PsyWarrior

  • Guest
Re:Light qns
« Reply #8 on: 17 Oct 2003, 16:04:24 »
Firstly, "walla" is much more annoying. it shows the author's complete ignorance. "viola" isn't nearly as bad, it's just as likely to be a typo.

Sorry, off topic...

I'm not sure if this isn't an addon editing question rather than a scripting question. Since P3D files, .cpp files etc. are out of my area of expertise, I refer you to the addons editing board for help on this sort of thing.

Alternatively, if it is scripting you're looking for, there are some streetlight scripts available in the editing depot which may prove useful.

-Supr. Cmdr. PsyWarrior
-Psychic Productions