Page 1 of 1
How do you make a higgins boat move from a to b
Posted: Sun Aug 03, 2003 11:16 am
by Spudgolf02
Does anyone know how to make a higgins boat move from one spot to another. I really need to be able to do this for my Omaha Beach Map.
Please Help
Posted: Sun Aug 03, 2003 11:23 am
by HappyChappy_7000
try this
$higginsboat thread higgins_forward_motions
Code: Select all
higgins_forward_motions:
self.stop_forward_motion = 0
while (self.stop_forward_motion == 0 )
{
local.random_time = (randomint 3 + 4)
self time local.random_time
local.move_distance = (randomint 48 + 96)
self movenorth local.move_distance
self waitmove
local.random_time = randomint 2
wait local.random_time
self movesouth local.move_distance
self waitmove
wait local.random_time
}
end
that will make the boat move north
copied it from m3l1a
or
$higginsboat drive $waypoint1
Posted: Sun Aug 03, 2003 2:03 pm
by king_of_hi_ping
this will make the boat move but not ridable, if you spawn the boat solid,
theere is no way on or you will float on the bonderies,,
spawn it notsolid and then add a floor and four walls,
think as it moves the player also needs to be notsolid or he wont be able to pass threw some invisable map bounderies,,
so you will need a trigger, so when he leaves the boat he is soilid again or he is invincible,...
king of hi ping,
=LMAO=
Posted: Sun Aug 03, 2003 2:15 pm
by mohaa_rox
i tried to do this, and i even made the doors open, but however, i rode on top of the boat it self.
Posted: Sun Aug 03, 2003 2:15 pm
by HappyChappy_7000
he only asked to make the boat move
Spudgolf02 check the .scr 4 m3l1a (found in pak5.pk3 in the main folder) //omaha beach

Posted: Sun Aug 03, 2003 2:17 pm
by mohaa_rox
happy searching thru that chunk
btw, decompile the map and take a look at the entities used.
Posted: Mon Aug 04, 2003 7:23 am
by Spudgolf02
Thanks for all your suggestions.
I'll look through the M3l1a .scr and have a look how they did it.
thanks
P.S. I did want to be able to ride in the boat should have said that in the first post.