Home   Help Search Login Register  

Author Topic: EDITING, Vehicle Lights  (Read 451 times)

0 Members and 1 Guest are viewing this topic.

Offline Dbl-Dutch

  • Members
  • *
EDITING, Vehicle Lights
« on: 22 Jan 2003, 15:53:34 »
Well here we go again :P, I have Patria add-on, in a map I am creating.  The problem I am encountering is as follows ???:

- Time on the map "dawn" which means its still dark.
- My vehicle lights are on, I swicht them off whilst driving; no problem.
- I get out of the vehicle the lights go back on ???.
- its not just the vehicle I did put a gun position in a Bunker and his light were on?
- The island I am using "SARUGAO".

What's going on, I am confused :hmm:?
:help: can some one come up with a solution.

Thanks
Dutch

Bronski

  • Guest
Re:EDITING, Vehicle Lights
« Reply #1 on: 22 Jan 2003, 16:30:53 »
Last time i heard i don't think you can get around the gun positions light being on.

Is there anyone else in the Jeep?  

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:EDITING, Vehicle Lights
« Reply #2 on: 22 Jan 2003, 17:27:14 »
Hi Bronski

Well the jeep thingy sounds really weird if there's not anyone left in it when you get out.

There might be a way to disable machinegun lights though I never got it to work.

What you do is 'hack' the mg addon and disable some class or something like that from there.. can't remember anymore..

But anyways, doing that means that you have just created a whole new addon and need to share it with others who play your mission.

If you don't want the enemy to see the mg headlights untill it's too late you can make a lil script for that.


#distance
~5
?(enemy distance mg) < 100: goto "movein"
goto "distance"

#movein
gunner moveingunner mg
gunner setbehaviour "combat"   <-- optional
gunner setcombatmode "red"    <-- optional
gunner dowatch enemy    <-- optional

exit


and that's about it. what that does is that it makes the gunner wait untill the enemy is less than 100 meters away from it and then makes him jump on his mg, prepare for combat, engage at will and watch the direction off the enemy.

..or at least that's what it should do  ;D
Not all is lost.

Offline Dbl-Dutch

  • Members
  • *
Re:EDITING, Vehicle Lights
« Reply #3 on: 22 Jan 2003, 17:42:05 »
Thanks lads