Home   Help Search Login Register  

Author Topic: Buildings, Lights And Fires  (Read 1285 times)

0 Members and 1 Guest are viewing this topic.

Scratchdat

  • Guest
Buildings, Lights And Fires
« on: 03 Sep 2002, 17:08:56 »
2 questions:

How can I place an aircraft hanger on my map?

How can I light fires and streetlamps?

DeadMeatXM2

  • Guest
Re:Buildings, Lights And Fires
« Reply #1 on: 03 Sep 2002, 17:29:09 »
To place an a/c hangar you need either Kegetys Editor Addon, or Gunslingers Editor Addon, this makes them available to you in the normal editor interface.

To light fires and streetlamps, you need to put this line of code in the units init line (Editor must be in advanced mode top right click on easy):

this inflame true

there you go.

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:Buildings, Lights And Fires
« Reply #2 on: 03 Sep 2002, 22:27:13 »
Alternatively to using addons you can alter the .sqm file so the game thinks another object is infact a hangar.  Its documented on the site, (when it comes back later tonight).

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Buildings, Lights And Fires
« Reply #3 on: 04 Sep 2002, 01:08:16 »
Quote
The default streetlamps will easily shine if ....

1. it is dark ( ::) ), or ...

2. You have the RES-upgrade & are able to type this in a trigger :

Quote

In the editor, click the "show ID" button and find your streetlamp
(you may need to zoom in quite close for the ID's to show up).
Take down it's number, and use a line like this:
 
(object 37317) switchlight "on"
 
...to turn it on and "off" to turn it off
and "auto" to set it to default (on during night, off during day).



 :o If ya don't have RES, use this method :

Place a gamelogic next to the lamp with the init field spell :  
 
nearestobject [this, "streetlamp"] switchlight "on"  :-*

Should do it, m8

---------------------------------

*what the bell is wrong with the quote tonite?!
..... must be them backstage men running around setting up the
coloured lamps for the big site launch!!!!*  ::) ;D


Ronin

  • Guest
Re:Buildings, Lights And Fires
« Reply #4 on: 10 Sep 2002, 05:02:20 »
Hi All,
I've been having trouble with this too.
I've placed some streetlamps in a base I made, so they don't have an ID when I click showID.
However, i've got the lamp to shine using the switchlight command.  
The only problem is that the light appears halfway down the streetlamp, and it doesn't illuminate the surrounding area.

Anyone have any thoughts?
Thanks,
Ronin