Jump to content
Sign in to follow this  
starstreams

What’s going on with these lights

Recommended Posts

I use to be able to put

"This inflame true"  (With Out Quotes) into the INT field of my street lamps and the lights would go on, but now they will not with Resistence, any ideas of how to make them work in Resistance?

Share this post


Link to post
Share on other sites

What about lamp swithLiggt "on"? It was here always since 1.00 Check command reference.

Share this post


Link to post
Share on other sites

It's not working for me,

I put lamp swithLiggt "on", then I tried lamp swithLiggt on with out the quotes. What could I be doing wrong?

These are resistence street lamps I'm using btw

Share this post


Link to post
Share on other sites

Are you sure the street lights aren't resisting??  tounge.gif

This might help:

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">

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 nighttime.

Example:

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

<span id='postcolor'>

Doolittle

Share this post


Link to post
Share on other sites

wow.gif2--></span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (starstreams @ Oct. 16 2002,07wow.gif2)</td></tr><tr><td id="QUOTE">It's not working for me,

I put lamp swithLiggt "on", then I tried lamp swithLiggt on with out the quotes. What could I be doing wrong?

These are resistence street lamps I'm using btw<span id='postcolor'>

it's switchlight not switchliggt   tounge.gif

Share this post


Link to post
Share on other sites

nope, Lamp switchlight "on" dosen't work either.

the editor took it but the lights are not going on. What the hell could be going on?

I even tried it with out the quotes (Lamp switchlight on) This diden't work either

Share this post


Link to post
Share on other sites

lamp switchlight on

worked great for me? Maybe its some sort of addon lamp or somethin u sure its the stock OFP streetlamp not some addons or somethin? Should work.

wow.gif Kevin wow.gif

Share this post


Link to post
Share on other sites

this inflame true is the command to make fires light  didnt know that worked on lights. hmm

Update: Ok none of those commands work for me neither however I did type this switchlight "on" and their was a light only it was half way down on the light pole instead of in the light ROFL. for all the lamp post too lol. hrmmm

Share this post


Link to post
Share on other sites

This is pissing me off now, anyway

I tried (this switchlight "onâ€) like Ixian said and I got the same thing where the light was half way down but none of the other commands work

These light poles by the way are from the (EU102.exe) editor add-on. I’ve used them before in the past if I remember correct and never had this problem.

Also, @ ACES_KEVIN, you mentioned if I was using an add-on. I don’t recall seeing any street lamps that come standard with OPF other wise I would have used them. Could they be under a different name or section? I’ll take a look again, I really need to get this working.

Share this post


Link to post
Share on other sites

Some of you guys mentioned that you were able to get it working. For you guys who were able to get it working are you all running the latest OFP update?

I “Do†have the 1.85 update installed and maybe this is why it’s not working: The code might have been changed.

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (starstreams @ Oct. 16 2002,07:02)</td></tr><tr><td id="QUOTE">These are resistence street lamps I'm using btw<span id='postcolor'>

Wasn't the way of using streetlamps something with Object ID's? confused.gif

Share this post


Link to post
Share on other sites

yes ID´s work. often used as a substitute till 1.85 cause nearest object was missing.

Share this post


Link to post
Share on other sites

mmk heres watcha do

(I used it to fix my streetlight problems, except i wanted to turn em off so the cities in Winter Keg's werent so damn bright at 23:50 at night lol [see my post"Annoying Streetlights"])

1. In the editor u click "Show IDs"

2. Zoom in decently close to one of the either "not on the map streetlights (Which was my case) or the one u placed.

3.  Note the number - It will be something like 16889 or some very high number - this is the object ID

4.  (For this example we'll say the ID is 16889) In the activation Line for the street light, put

object16889 switchlight "ON" [if invis go to next steps.]

5.  If you zoom in, u will see many numbers around on the ground but no object marking them on the map.  These objects could be bushes, trees, or streetlights.  Use preview to get a good idea of where the offending streetlight is, and record every number in the vicinity(object16890, object16728, object16900)

6.  (For this example we'll use object16728) Now, place a trigger around the numbers in which one of them is the street light.  Set Condition to Anybody, "Present"

and in the Init line put in each one of the recorded numbers until you single out which one is the streetlight.  So you'd try object16728 switchlight "ON", object16890 switchlight "ON", and object16900 switchlight "ON".  After a few tests (3) you should be able to deduce which one is the streetlight and be able to keep it on.

Hope This Helps.  If you need any further help just post a msg saying more explanation or just PM me.  smile.gif

N.S.D.Q.

Share this post


Link to post
Share on other sites

Thanks 160th(SOAR)LoNeWoLF for taking the time to type all this up, I appreciate you doing this. Sorry it took me so long to get back to this thread. I have not been getting emails sent to me when someone replies so just thought this thread went dead. I’m going to try what you said, and once again thanks you for taking the time to explain in such great detail!  smile.gif

Share this post


Link to post
Share on other sites

Ok, I got what you meant about the ID’s but I’m not sure what the trigger is for? Doses each light need a trigger next to it? I put object16889 switchlight "ON" in the INT field of the lights but they did not go one. I know Iâ€ve got the correct ID number becouse on the map there is a gas station and a light pole just to the left of it and there is nothing else in that location. I’m not sure how the trigger is used here?

Share this post


Link to post
Share on other sites

I tired putting

Anybody, "Present"

in the condition field of the trigger and I get an error that says

Missing (

Share this post


Link to post
Share on other sites

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote (starstreams @ Oct. 25 2002,00:30)</td></tr><tr><td id="QUOTE">Ok, I got what you meant about the ID’s but I’m not sure what the trigger is for? Doses each light need a trigger next to it? I put object16889 switchlight "ON" in the INT field of the lights but they did not go one. I know Iâ€ve got the correct ID number becouse on the map there is a gas station and a light pole just to the left of it and there is nothing else in that location. I’m not sure how the trigger is used here?<span id='postcolor'>

There is space mission (probably typo). Correct should be

object 16889 switchlight "ON"

Share this post


Link to post
Share on other sites

Hello Suma

I tried the space that didn’t seem to work, I think something is not right with the trigger: I’m not sure what line needs to be in the triggers condition field. I tried putting in

Anybody, "Present" As LoNeWoLF mentioned but I get and error saying: missing (.

I know I have the correct street lamp because it’s the only other thing next to the gas station in that location. I’m just not sure if that trigger is correct?

Share this post


Link to post
Share on other sites

Hi all

This may help as an alternative for 1.75 only

http://www.smartgroups.com/vault/chainofcommand

There is a lighthouse keeper addon you need the 1.75 version in it is a spotlight addon.

I use it for working lighthouses but it can be used as two types of steady lightsource.

As a spot light insert it from civilian car. (read the reame to find out why)

As a downward pointing house or street light insert it from empty car.

Use setpos for height there is a readme.

I will revisit this addon after I redo the wetsuit a few more LODs a skinning and maybe an animation away.

Kind Regards walker

Share this post


Link to post
Share on other sites

I'm sorry if this is a stupid question, but how do you place street lamps (without any addons)? Also, how do I make a house have its door closed when the game starts?

Share this post


Link to post
Share on other sites

Make the trigger so that its radius encircles the streetlights you want on.  What i meant by the condition line is the scroll box about halfway down the menu of the trigger; u slect fromt eh box Anybody, and in the option menu next to it(Which has Present, Not Present) select present.

Hope this helps and post again if it doesnt  smile.gif

Watcher: It should be under 'Empty', then 'Civilian' or 'Objects' i forget

Share this post


Link to post
Share on other sites

The_Watcher, you would probably get better results starting a new thread as this one it dedicated to making a light work and not a lot of people might see your post. Just trying to help smile.gif

Hello oNeWoLF:

Ok I got what you said about Making the trigger so that its radius encircles the streetlights: However in one of your last few posts you said "place a trigger around the numbers", but now your saying "Make the trigger so that its radius encircles the streetlights you want on" (in this case that would be the one I added)

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×