Jump to content
Sign in to follow this  
DestroyerX

Lights off

Recommended Posts

Hey,

Very simple: I want a unit to turn the lights off of a car. I tried to name the car 'truck 1' and then in the activation field of a waypoint of it: Truck1 action ["LIGHTOFF"] But it doesnt work! It has to work, right? Also, the "LIGHTON" command doesnt work either.

Next thing I tried is to name the unit who drives, like 'man1' and then for him make a "Get In" WP and then a "Move" WP and then in the activation field that command. But it doesnt work.

Very Confusing.......

Thanks for any help.

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 </td></tr><tr><td id="QUOTE">Next thing I tried is to name the unit who drives, like 'man1' and then for him make a "Get In" WP and then a "Move" WP and then in the activation field that command. But it doesnt work.<span id='postcolor'>

You need to set the man as a driver. Add this to his initialization field:

man1 AssignAsDriver Truck1;

Then add the GET IN waypoint. That should work.

Share this post


Link to post
Share on other sites

I dont think every action U can perform in the game can be made by an AI like that.

I tried action["M16onback"] and action["LightFire"], it didnt work, something that does work is action["Strokegun"].

Maybe there is some other way to make it turn off the lights.

Share this post


Link to post
Share on other sites

I was already affraid of that idea..... smile.gif Pretty funny though, I tried "Strokegun" also biggrin.gif

Share this post


Link to post
Share on other sites

I've had this problem also, and the only mehtod I found that worked was to set the driver's mode to "Safe".

Furthermore, you cannot seem to do this from his initialisation field. I had to put the command in my init.sqs file AND add a delay of about 2 seconds. This last I run into all the time...If the init.sqs fires off too quickly it often fails to do what it's supposed to do.

Hope this helps.

Share this post


Link to post
Share on other sites

I just have this problem (lightoff) as well with the M2.

About the 2sec delay I have seen something that might explain this:

I put a M2 in a small shed and my player right ahead of it. When I start now the preview I see how the gunner drops at his position about two secs after the start. Maybe that's the reason why this action ["lightoff"] does not work in the init field.

Would it maybe work to place an empty M2 and another Soldier MyM2Gunner, MyM2Gunner getin MyM2 and in the init field of MyM2Gunner this action ["lightoff","MyM2"]?

Share this post


Link to post
Share on other sites

if your mission is at night you can make the driver "awear" or "Danger" i dont remember what its called...

what im tying to say is that if you make the guy to think its very dangerus he will turn the lights off i think

i hope this helps!

Share this post


Link to post
Share on other sites

DestroyerX: are you from Raleigh? I am in Clayton. It was nice to see the Canes whip New Jersey.

I am trying to figure how to turn the street lights off in a town. When I set the time to dark, the street lights kick on. I want them off. Anyone know how?

Share this post


Link to post
Share on other sites

For the street lights it's the inflame command I read somewhere. (but I never tested it)

About the behaviour, it's funny to see some advice to use Safe, you now Aware or Danger and I have also seen Stealth. I've not yet tried this for the 'driver' but only for the M2 itself. I'll give it a try maybe this evening.

Share this post


Link to post
Share on other sites

Another lighting question,

how do I make a camp fire on when the mission starts? I assume in the Unit's field somewhere, I put a command. I have the 300+page editing manual plus some other 100+page command reference. All I need is a tip, and I will look it up.

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 (Tales_From_Topographic_Oceans @ April 30 2002,16:19)</td></tr><tr><td id="QUOTE">Another lighting question,

how do I make a camp fire on when the mission starts? I assume in the Unit's field somewhere, I put a command. I have the 300+page editing manual plus some other 100+page command reference. All I need is a tip, and I will look it up.<span id='postcolor'>

In init field of fireplace :

this inflame true

Share this post


Link to post
Share on other sites

Hmm, didn't thought that there would be more posts in this old topic. smile.gif

</span><table border="0" align="center" width="95%" cellpadding="3" cellspacing="1"><tr><td>Quote </td></tr><tr><td id="QUOTE">DestroyerX: are you from Raleigh? I am in Clayton. It was nice to see the Canes whip New Jersey.

I am trying to figure how to turn the street lights off in a town. When I set the time to dark, the street lights kick on. I want them off. Anyone know how?

<span id='postcolor'>

HAHA, no I'm from the Netherlands but I like Hockey very much and Carolina is my favourite team. (Actually in NHL 2002, but then I started to follow them in real-life)

So now Friday against Montreal. Looking forward to the second round. (And watch the highlights  biggrin.gif )

Share this post


Link to post
Share on other sites

Im still think that it is the "stelth" mode (or whatever the most dangeres mode is) you should use if you want the truck driver to turn off the light at night

Btw, One thing im 100% sure of is that Montreal

will win over Carolina tounge.gif

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 </td></tr><tr><td id="QUOTE">if your mission is at night you can make the driver "awear" or "Danger" i dont remember what its called...

what im tying to say is that if you make the guy to think its very dangerus he will turn the lights off i think

<span id='postcolor'>

Yeah, about that: When I set the Behaviour to "Danger", then the lights go off. But then the driver is driving very weird. Left,Right,Left,Right etc. Not really on the roads like in 'Safe'.

Share this post


Link to post
Share on other sites

Well, I've not yet found a solution. Stealth works fine for trucks, but not for the M2 maschine gun sad.gif

Share this post


Link to post
Share on other sites

Bart.Jan

I swear....I used the inflame command on a fire but could not get it lit. I fiddled with this for 1 hour.

Then I found out that the fire had to be EMPTY--OBJECT--FIRE for it to work. Before, I had placed a CIVILIAN--OBJECT--FIRE and the inflame command would not work.

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 (Tales_From_Topographic_Oceans @ May 01 2002,14:50)</td></tr><tr><td id="QUOTE">Bart.Jan

I swear....I  used the inflame command on a fire but could not get it lit. I fiddled with this for 1 hour.

Then I found out that the fire had to be EMPTY--OBJECT--FIRE for it to work. Before, I had placed a CIVILIAN--OBJECT--FIRE and the inflame command would not work.<span id='postcolor'>

I've seen stuff like this happen to lots of people, bad luck tounge.gif

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  

×