Home   Help Search Login Register  

Author Topic: Disembarking on GUARD  (Read 936 times)

0 Members and 1 Guest are viewing this topic.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Disembarking on GUARD
« on: 22 Jan 2004, 12:15:36 »
I've just discovered, to my horror, that vehicle crews sometimes (always?) disembark when they have a guard waypoint.    They then forget that they have a tank, so when the game orders them to do a spot of guarding work, they run off leaving the empty vehicle behind.

Anybody got a solution to this one?  

Things that don't work include locking the vehicle (obviously) and explicitly assigning the crew to their positions.

Many thanks.
Plenty of reviewed ArmA missions for you to play

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Disembarking on GUARD
« Reply #1 on: 22 Jan 2004, 13:02:15 »
hmm - any details on how you did that macca?

I haven't noticed anything like that yet  ???

Maybe i should add that i'm also often using GUARD
wp's for apc's/tanks.

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Disembarking on GUARD
« Reply #2 on: 22 Jan 2004, 13:11:55 »
The mission I'm working on has lots of guard waypoints, mostly for infantry groups.    There are a couple of Abrams/Bradley groups too.     In an effort to make the mission harder, I wanted to add a seperate group of dismounts to a group of Bradleys.    This problem I solved, but during the course of testing I noticed that the crew sometimes jumped out.

Elsewhere in the mission there is an Abrams that never seems to turn up at the end of the mission when it is supposed to.   I always put it down to it getting stuck somewhere, or just not getting there in time.    But I checked it out too and sure enough the crew were bailing out shortly after reaching the guard waypoint.  

There is a slight delay, as with any waypoint, so if the game calls the group to do some guarding work immediatly it's fine, they toottle off in the tank.   But if the call comes after they have disembarked they disappear at a run.

Vehicle crews on support waypoints get out too, but they get back in when they are called to do some supporting.
Plenty of reviewed ArmA missions for you to play

PsyWarrior

  • Guest
Re:Disembarking on GUARD
« Reply #3 on: 22 Jan 2004, 13:27:49 »
Greetings Macguba

Groups on Support always disembark until they're needed, But I haven't encountered this guard waypoint problem before. Every time I assign a guard WP to a armour group, it seems to work, but i've never really experimented with it.

Sorry I can't be more help at the minute.

-Supr. Cmdr. PsyWarrior
-Psychic Productions.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Disembarking on GUARD
« Reply #4 on: 22 Jan 2004, 21:38:49 »
Hope you don't solve it and dump the mission, otherwise I have to beta that shit-hard mission again. :(

j/k m8, it's a cool mission. ;D :P 8)

:beat: *Gets Shot* :beat:

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Disembarking on GUARD
« Reply #5 on: 22 Jan 2004, 21:49:32 »
 ;D     New version coming out as soon as I solve this little problem.     It's a lot harder.
Plenty of reviewed ArmA missions for you to play

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:Disembarking on GUARD
« Reply #6 on: 22 Jan 2004, 21:51:39 »
To that I qoute myself when I die in a Call of Duty MP Game:

Quote
crap...

 ;D

:beat: *Gets Shot* :beat:

gundernak

  • Guest
Re:Disembarking on GUARD
« Reply #7 on: 22 Jan 2004, 23:30:27 »
I guess (at my level) it could be a kind of bug...

What if you start a script to handle this unwanted feature:


#loop
@ crew1 == vehicle crew1 or crew2 == vehicle crew2

crew1 assignAsCommander tankname
crew2 assignAsDriver tankname
[crew1,crew2] orderGetIn true

goto "loop"

maybe :-\

By the way I tried guard WP and I did not notice they disembark.

Plus, I would suggest you to delete the WPs of the misfunctional tank and rebuilt it again...

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Disembarking on GUARD
« Reply #8 on: 25 Jan 2004, 18:47:57 »
Thanks gundernak.   I tried a script of that nature (without the loop) and they got back in, though they jumped out again straightaway.   The loop might keep them in.

However, I've discovered what's going on.    The guard WP is synchroed to a trigger, and that's what makes them get out.    No trigger, they stay in.    It doesn't matter if the trigger is type switch or none, they jump out as soon as they are settled at the guard waypoint position.   If they get an order to go chasing across the map after the enemy before they actually get to the waypoint position, then that's fine.

I'm going to have to control them by using setWPPos, moving the guard waypoint around.   I think that will work for what I want, but it wouldn't suit every circumstance.   Has anybody else encountered this problem?  

So here's the follow-on question.   Is there any way of getting a group out of a guard waypoint and into the next waypoint other than synchroing with a trigger?   (Using a variable in the condition field doesn't work, which is what you'd expect since a guard waypoint is never completed.)

Thanks for the suggestions everybody.  
Plenty of reviewed ArmA missions for you to play

deaddog

  • Guest
Re:Disembarking on GUARD
« Reply #9 on: 25 Jan 2004, 18:53:58 »
You don't need to move guard waypoints around.  I always make the guard waypoint the only one the unit has.  Whenever a firefight starts, that unit will head to that position.  They will stay there until some more action occurs elsewhere.  At least, that's been my experience.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Disembarking on GUARD
« Reply #10 on: 25 Jan 2004, 19:40:50 »
That is absolutely true.    

However, a unit will stay at its guard position until called by the game engine, and if you have several groups on guard WPs it is quite possible that a particular group will not be called.    When you move the guard waypoint location, the group moves to the new place:  this changes the chance of them being called for a firefight at a given position.   I want to ensure that the vehicles are called by the game at some point, so the waypoint is moved to keep it close to the action.    

The new position also puts them in the middle of the most obvious route for the the player, as a sort of sentry, so it means they can do two jobs at once - sentry and guard, if you see what I mean.
Plenty of reviewed ArmA missions for you to play

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Disembarking on GUARD
« Reply #11 on: 26 Jan 2004, 21:49:44 »
Quote
s there any way of getting a group out of a guard waypoint and into the next waypoint other than synchroing with a trigger

put unused WP after da guard 1 nd syn da trig 2 it - so wen da triger is true it skips da guard nd da move WP 2geder ;) - so no da guard WP itself is not synched

i think dat shud solve it ;)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Disembarking on GUARD
« Reply #12 on: 26 Jan 2004, 23:40:34 »
Yep, i agree to: whateva El Siddi' was saying there  ???  ;D

I thought i was posting the very same stuff, LCD did, yesterday,
but for some strange reason i cannot find it inside this thread  ???

Yeah maybe i went back from the post before submitting the
reply, however  ::)

As a GUARD waypoint is a never-ending waypoint, you can
put a waypoint after the guard one, to use this second one
for the switch trigger.

Also, if you syncronize a GUARD waypoint with a trigger, note
that the unit/group would never do the GUARD stuff, before
that trigger condition does match.

So in other words:

a GUARD waypoint syncronized to a switch trigger is one of
the most useless things in OFP  ;)

Imagine:

GUARD wp synced to switch trigger

xample 1: switch trigger is inactive - group will wait: BEFORE
GUARD STUFF, until condition has been met.

xample 2: switch trigger gets active - group which was waiting
for condition to make GUARD STUFF, will now ignore GUARD STUFF and directly head over to whateva told to do in the
waypoint behind the GUARD one.

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Disembarking on GUARD
« Reply #13 on: 27 Jan 2004, 11:11:46 »
muhahaha

i said it b4 ya :P

nd its macca so he prooly understan me :P ::)

all hail el siddi

:P ::)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Disembarking on GUARD
« Reply #14 on: 27 Jan 2004, 13:28:26 »
Gents, thanks v much.  I should have thought of that myself, duh.   Anyway I've fixed it with a setWPPos which works just fine.

This effectively adds a second Abrams to my Impossible Mission:   it was always there, but you very rarely had to deal with it since the crew drove to their loiter position and jumped out .....

Just one of the ways in which the next version will be harder. ;D
Plenty of reviewed ArmA missions for you to play