Home   Help Search Login Register  

Author Topic: Boat landings  (Read 2502 times)

0 Members and 1 Guest are viewing this topic.

Iceholey

  • Guest
Boat landings
« on: 07 Nov 2003, 14:33:31 »
Hello

I seem to be having 'issues' with landing PBRs on a beach. Is it just me, or are boats just as fickle as helicopters when it comes to landing?

I have two PBRs (separate units), each carrying six soldiers grouped to the PBRs. Both have a Getout waypoint set on the coastline where I want them to land.

The problem is that I seem to have varying/inconsistent results when they land. One PBR will land and unload okay, whilst the other one gets near the coastline, and then decides to hang a right and head further down the beach, before finally picking a spot to land.

It's kind of infuriating, because the two squads then end up miles apart.

Other times, one of the boats will deploy it's units in relatively deep water, and half of them end up drowning!
 
I've tried moving the Getout waypoints further up the coastline. Whilst this works, the PBRs end up beaching themselves too far up the sand. Needless to say this just looks rather odd! :-\ Their amphibious landing training obviously didn't make mention that they might need to use the boat again later!  ::)

Can anyone offer any help? Just a few tips to point me in the right direction, and I'll see if I can work the rest out for myself.

Cheers

Torak

  • Guest
Re:Boat landings
« Reply #1 on: 07 Nov 2003, 14:56:50 »
Probably not related, but try not having the grunts grouped; use "moveincargo" to set them as passengers, and use a "Transport Unload" waypoint.

In a similar vein, does anyone know how to start a few M113 or AAV7 in cargo on the LSD, so I can have a "proper" amphibious landing? As it is, I've got the AAV7 starting from just outside the dock in the cutscene.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Boat landings
« Reply #2 on: 07 Nov 2003, 16:33:46 »
It's a real problem.    They are just really annoying about it.     The only solution I found was lots and lots of testing.     Have the boats land a little further apart so they don't get in each other's way and experiment with the approach waypoints too, to get them in just the right place.      The approach is just as aimportant as the landing point in getting the boats to the correctly place.  

The land groups first move waypoints should be fairly close together and synchroed so that the two teams will at least rejoin assuming they get ashore safely.    You could use some kind of scripting to help with the drowing problem ... for example setdammage 0 before and after they disembark.   Or you could go the whole hog and bring some of them back to life, but if you have done enough trial and error on finding the right spot that shouldn't be necessary.
Plenty of reviewed ArmA missions for you to play

Offline SilentHunter

  • Members
  • *
  • frozen leg'o'lamb (every gamers most loved weapon)
Re:Boat landings
« Reply #3 on: 08 Nov 2003, 01:36:06 »
You say one of the PBRS lands and unloads ok

So in that case why don't you use a setpos script to make the other boat copy the first boat.

HERE

Code: [Select]
_BOAT1 = _this select 0
_BOAT2 = _this select 1

#top

~0.01
_BOAT2 setdir (getdir _BOAT1)
_BOAT2 setpos [(getpos _BOAT1 select 0),(getpos _BOAT1 select 1) + 20,(getpos _BOAT1 select 2)]
goto "top"


I hope this helps
[size=4.5]NERDS HAVE FEELINGS TOO! [/size] [size=2.5]*adjusts glasses*[/size]

KyleSarnik

  • Guest
Re:Boat landings
« Reply #4 on: 08 Nov 2003, 07:06:09 »
Don't use "Get Out" waypoints, because that will make everyone including the crew to get out (unless you want that) but still, boat landings work perfectly fine for me when you moveincargo units into them and place a "Tansport Unload" WP on the coast. They onlt reason why it should't work that way is if there is something in the boats way, or the WP is too far in on land.....
« Last Edit: 08 Nov 2003, 07:06:50 by KyleSarnik »

DC10_starvinmarvin

  • Guest
Re:Boat landings
« Reply #5 on: 22 Nov 2003, 12:00:55 »
Hi there! i had this problem when making a sort of omaha beach landing once.. and i thought of a way that worked flawless for me.. make the boat run in desireable speed towards the coastline.. slow is good when you are close.. then you add a rectangular trigger.. for ex 10x200 close to the coastline. in the onactivationfield you type boatname setfuel 0. this will make the boat slow down and go in and exact straigt line towards the beach. when it stops on the beach you use the getout waypoint for the soldiers only if you do not want to group em with the boat.

this should work fine.. experiment some.

//Marvin

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:Boat landings
« Reply #6 on: 22 Nov 2003, 12:15:02 »
well, the setFuel thing works, except, what if you want the boats to return to sea, like they would in a real invasion?

You could always create a script like this that does the trick.

_boatOne = _this select 0
_boatTwo = _this select 1

#DistanceLbl
? (_boatOne distance _boatTwo > 10): Goto SetDis
~2
Goto DistanceLbl

#SetDis
_boatTwo doMove (getPos _boatOne select 0 + 5,getPos _boatOne select 1)
Goto DistanceLbl

if you really wanted to, you could add a sytax that checks if the dudes are out, and then exits.

Happy Editing!

Tyger:gunman:
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

DC10_starvinmarvin

  • Guest
Re:Boat landings
« Reply #7 on: 22 Nov 2003, 12:18:50 »
you can add a trigger that gives the boat its fuel back again and the trigger can be activated when all guys are out or after a sertain time. but im sure your way works too :P

//greetz Marvin

Offline Tyger

  • Former Staff
  • ****
  • I was at OFPEC when it still had dirt floors...
    • OFPEC
Re:Boat landings
« Reply #8 on: 22 Nov 2003, 13:09:20 »
*Smacks head on wall*

Your right of course...

I'm still half asleep, and sometimes don't think properly...

I didn't even get the code right... hehe :P

Just for the record, it should be:
_boatTwo doMove [(getPos _boatOne select 0) + 5,getPos _boatOne select 1]
"People sleep soundly at night only because rough men stand ready to do violence on their behalf." - George Orwell

MSG Mike Everret - We Will Never Forget - '75-'08

DC10_starvinmarvin

  • Guest
Re:Boat landings
« Reply #9 on: 22 Nov 2003, 13:30:51 »
hehe thats famillar ;)
i dont know which one is the best i guess they do the same.

mine was used for the ww2 landing boats and the speed and sound got much better this way but for PBR yours may be better.. increases speed i think..
well well ;)

greetz
//Marvin

DBR_ONIX

  • Guest
Re:Boat landings
« Reply #10 on: 22 Nov 2003, 18:14:23 »
What about using two groups for each craft.. Then the get out waypoint on the group of people.. Then only they get out...
Simple enough, I think

- Ben
BTW, I'm not too sure if this has been said/hinted.... But it should work..