How do you make a higgins boat move from a to b

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
Spudgolf02
Lance Corporal
Posts: 10
Joined: Sun Aug 03, 2003 6:46 am
Location: South Australia

How do you make a higgins boat move from a to b

Post 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
"Come Back Alive"
User avatar
HappyChappy_7000
Warrant Officer
Posts: 146
Joined: Thu Jul 10, 2003 1:14 pm
Location: Australia
Contact:

Post 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
What? You know who I am?
king_of_hi_ping
Corporal
Posts: 30
Joined: Wed Feb 05, 2003 7:17 pm

Post 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=
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post 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.
Live to map, not map to live.
-mohaa_rox, .map
moderator
User avatar
HappyChappy_7000
Warrant Officer
Posts: 146
Joined: Thu Jul 10, 2003 1:14 pm
Location: Australia
Contact:

Post 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 :wink:
What? You know who I am?
User avatar
mohaa_rox
Field Marshal
Posts: 2760
Joined: Mon Nov 11, 2002 7:05 am
Contact:

Post by mohaa_rox »

happy searching thru that chunk

btw, decompile the map and take a look at the entities used.
Live to map, not map to live.
-mohaa_rox, .map
moderator
Spudgolf02
Lance Corporal
Posts: 10
Joined: Sun Aug 03, 2003 6:46 am
Location: South Australia

Post 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.
"Come Back Alive"
Post Reply