Scripts / auto following paths

Author
Message
smallg
Community Leader
19
Years of Service
User Offline
Joined: 8th Dec 2005
Location:
Posted: 14th Nov 2019 19:00
i've played both the wtcher 3 and red dead redemption 2 recently and they both have a very nice system where the player can make his horse auto follow roads... i'm curious if anyone has any ideas on how this is done?
i assume it's similar to patrol paths but must also use some sort of zone system too? as it can detect when you enter / leave a road instantly.
i imagine that would look a right mess in GG though
i guess it could also be done with a unique texture(s) and raycasting downwards to see if the player is on object with said texture or not (not possible in GG but is in other engines), though this probably still requires some pathing system to follow the road (and i'm not sure how it would work when reaching crossroads etc)
lua guide for GG
https://steamcommunity.com/sharedfiles/filedetails/?id=398177770
windows 10
i5 @4ghz, 8gb ram, AMD R9 200 series , directx 11
AmenMoses
GameGuru Master
8
Years of Service
User Offline
Joined: 20th Feb 2016
Location: Portsmouth, England
Posted: 14th Nov 2019 19:44
Something like my waypoint based zone system would do it.
Been there, done that, got all the T-Shirts!
PM

Login to post a reply

Server time is: 2024-12-22 09:22:09
Your offset time is: 2024-12-22 09:22:09