Jump to content
Sign in to follow this  
Scud

boat/ship class

Recommended Posts

Ok I asked this 8 months to a year ago now with no response so I will try and put it as simple as possible.

When 2 planes collide they go bonk, get some dammage!

When 2 boats collide nothing happens, no dammage, no fireworks no wrinkle action.

Why is this so?

I need to know when 1 boat hits another. At the mo the only way I can think of doing that is by the dammage but if there is no dammage I can't do it.

Is there another way to detect when 2 boats collide?

Any1

Plz

Ps. and I am not talking about my models, Pbr lst etc none record dammage.

Share this post


Link to post
Share on other sites

I've noticed this too.

I suppose one way of detecting if 2 boats collide is to check their distance apart.

At a certain set distance they could be said to have collided.

Planck

Share this post


Link to post
Share on other sites

Yep, I have been working on a simple script for this but I need something that will detect any unit/ boat in the water from zodiac to aircraft carrier.

Share this post


Link to post
Share on other sites

How about something like:

_target = nearestobject [player, "ship"]

or

_target = nearestobject [myship, "ship"]

I'm not too sure if it might detect the players ship as the nearest ship or not.

Planck

Share this post


Link to post
Share on other sites

Tried those Plank, tossed around a few variables and best I could do was - the 'ship' detected itself at start of game

or - nothing happened at all. sad_o.gif

The wierd thing is you can hit it with a bullet and get dammage but ram it with a boat doing 70+ and the 2 objects just bounce of each other and keep going as if nothing happened.

Might have to change to a different class I think.

Share this post


Link to post
Share on other sites

lol - different class doesnt work coz the boats can't dammage it anyway.

oh well another project on the shelf for a rainy day.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×