Jump to content
tim0984

Problems with approach and facing positions/coords

Recommended Posts

Hi,

 

I've been editing a dutch mod for my personal use and there's a parkatbase script in it but there is a 'anfahr' and 'wende' ( i assume its approach and direction, my german sux :D ) position which are vectors, and since I really suck at mathemetics I really have no idea how these work.

 

Can someone either explain me how vectors work or how I can use virtual objects instead of vectors.

 

i tried changing

al=Game::GetActors("park3"); // * parking place name (virtual object)anfahrpos = Vector (0,-300,0);wendepos  = Vector (0,600,0);

to 

al=Game::GetActors("park3"); // * parking place name (virtual object)anfahrpos = Game::GetActors("park3_approach");wendepos  = Game::GetActors("park3_facing");

but that doesn't work either, I'd appreciate some help!

 

 

The script:

  Reveal hidden contents

 

Yours,

Tim

Link to comment
Share on other sites

  On 4/28/2015 at 12:01 PM, itchboy said:

I don't understand that language either but from what I can tell, this is how this script (and most parking scripts) work:

thanks, but what I get now is this:

how it looks when the mission starts:

http://i.imgur.com/58kd3Yl.jpg

when i dispatch it and park it again:

http://i.imgur.com/RTSzfrn.jpg

it doesnt drive in the VO completely do you have any idea what i did wrong?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...