Home   Help Search Login Register  

Author Topic: I need light  (Read 823 times)

0 Members and 1 Guest are viewing this topic.

static

  • Guest
I need light
« on: 03 Jul 2004, 03:24:20 »
I'm creating a night time mission.  My squad starts out at a small outpost where they are briefed for their stealth mission.  I need light other than the weak fires, how can I do this? :-\     as a begginer scripter.  ex.  nogville, if you don't mind me using this as an example, every town when you enter it gets a huge unknown light source that lights everything up.  it would add the reality to my mission a lot.  thanks
« Last Edit: 03 Jul 2004, 19:42:50 by static »

CrashnBurn

  • Guest
Re:darkness to light?
« Reply #1 on: 03 Jul 2004, 08:37:54 »
Look in the addons depot for a streetlamp addon.

static

  • Guest
Re:darkness to light?
« Reply #2 on: 03 Jul 2004, 19:28:11 »
thanks but those dont light up they are pretty much decoration. but thanks anyways

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:I need light
« Reply #3 on: 03 Jul 2004, 19:36:16 »
Use a flare looping script.

:beat: *Gets Shot* :beat:

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:I need light
« Reply #4 on: 03 Jul 2004, 21:21:04 »
Place streetlights on your map from the Editor.

They do light up.

I presume you have the EditorUpdate by Kegetys or Gunslinger if using version 1.46.


Planck
I know a little about a lot, and a lot about a little.

Unnamed

  • Guest
Re:I need light
« Reply #5 on: 03 Jul 2004, 22:00:37 »
Quote
thanks but those dont light up they are pretty much decoration. but thanks anyways

You are using the SwitchLight command arent you?

I got them to turn on, they just sent my OFP crashing to desktop. In the end I made a streetlight addon using the Fire class. It works ok, but it does tend to flicker.

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Re:I need light
« Reply #6 on: 03 Jul 2004, 22:18:07 »
Okay everyone, simply, if you are using a street light addon just simply type in it's initializaition field: " This inflame True". i believe that will work.
Who's hyped for Arma4, long live Arma!

static

  • Guest
Re:I need light
« Reply #7 on: 04 Jul 2004, 01:56:11 »
what is the full initi. code for switchlight, its not working, and this inflame true only works with fires.  thanks for all the suggestions guys but its still not workin for me.

Offline NightJay0044

  • Former Staff
  • ****
  • Let's make OFPEC great again
    • My Steam Workshop
Re:I need light
« Reply #8 on: 04 Jul 2004, 02:08:22 »
Okay sorry, the Inflame true command line does not work for upgrades for OFP, the inflame true only works for a certain Street light addon. If you still need to get them to light, let me have your email adress and i will send you a street light add on because i have tried it under desert island in the dark.  So or email me first. my email adress is Nightjay0044@aol.com

Thanks  :)
Who's hyped for Arma4, long live Arma!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:I need light
« Reply #9 on: 04 Jul 2004, 02:13:48 »
Streetlights can also be turned on with 'this inflame true'

It is not only for fires.

As UnNamed said they do tend to flicker a little.

Try the streetlights that came with CWC.

From the Command Reference:

lamppost switchLight mode

Operand types:
    lamppost: Object
    mode: String
Type of returned value:
    Nothing
Description:
    Controls lamppost mode. Mode may be "ON", "OFF", "AUTO". "AUTO" is default, lampost is on only during night time.

Example:
    nearestObject [player, "StreetLamp"] switchLight "Off"

Example:
    object 159582 switchlight "on"



Planck
« Last Edit: 04 Jul 2004, 02:17:33 by Planck »
I know a little about a lot, and a lot about a little.

static

  • Guest
Re:I need light
« Reply #10 on: 04 Jul 2004, 07:05:53 »
THANK YOU NightJay0044, who gave me a streetlight addon to light up my military base.  thats all i needed, you can delete this if you want.  i will delete it tomorrow if you don't.  i just wanted you to knwo that nightjay was very helpful to me.  thanks