Jump to content
Sign in to follow this  
igneous01

Find Vehicle memory point "door"

Recommended Posts

Searched and seen that it hasn't been asked, so I shall ask now.

How can I get the memory point of the vehicle door? I tried the traditional "dvere" but it does not exist on vehicles.

Vehicles should have this, as all ai move to the same position (the doors) to get inside and play animation.

Reason is that I have a rough working version of an AI drag wounded script, but I want them to drag to the vehicle doors (getpos vehicle only makes them drag to the bounding box of the vehicle, and for helicopters this is no where near the vehicle itself) If I can get the memory point of the door, i can do selectionPosition and ModeltoWorld to get the ai to move to the door itself, then afterwards load wounded into medevac chopper.

Does anyone know what the string is called, or where to find it? (I searched the memory point translations, and found nothing relating to vehicle doors)

---------- Post added at 06:39 PM ---------- Previous post was at 05:43 PM ----------

It seems the unit gets stuck at the helicopters bounding box. It refuses to move any further than the edge of the blades. Is there some way to force them inside the bounding box (so that he approaches the model of the helicopter?)

Share this post


Link to post
Share on other sites
It seems the unit gets stuck at the helicopters bounding box. It refuses to move any further than the edge of the blades. Is there some way to force them inside the bounding box (so that he approaches the model of the helicopter?)

There's some discussion here that might give you ideas, but no practical solutions as yet :(

http://forums.bistudio.com/showthread.php?t=93372&page=2

Share this post


Link to post
Share on other sites
There's some discussion here that might give you ideas, but no practical solutions as yet :(

http://forums.bistudio.com/showthread.php?t=93372&page=2

I have figured out a solution to this (its a dirty workaround), I created a dummy unit where my dragger is attached to him, and give the dummy the orders to get in the vehicle, once hes in, he gets out, is deleted and the wounded is transported inside. hes made invisible careless and invincible, and it makes it look like the ai drag wounded right to the helicopter and load them in.

I would post an example script, but its not working right now (dummy unit not getting into vehicle) so when I get it working I will post an example.

---------- Post added at 10:20 PM ---------- Previous post was at 09:55 PM ----------

turns out this wont work :(

ai wont get in vehicle when u force speed to walk - it just unassigns them, and i need the dummy to move slow to make the drag animation look normal.

back to square 1 :(

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  

×