Popular Post Captain Cody Posted March 20, 2017 Popular Post Share Posted March 20, 2017 This is a script that allows NPCs to find their own roads and paths without any predefined locations, all that is required is proper material mapped road Cols, and you're set. Currently, it's in really early stages, thus it's prone to wrecks, but even since this video I've vastly improved it. Video of it in action (Excuse the low quality, I have a crappy computer) By using multiple rays it's able to guide itself around tracks at a reasonable speed unlike previous attempts by other people this one is based off material type meaning as long as grass, rock, or something else other than a road surrounds the track it can find its way without walls. In the future, it could allow dynamic NPC races with little to no setup. 5 Link to comment
Syntrax# Posted March 20, 2017 Share Posted March 20, 2017 15 hours ago, CodyJ(L) said: This is a script that allows NPCs to find their own roads and paths without any predefined locations, all that is required is proper material mapped road Cols, and you're set. Currently, it's in really early stages, thus it's prone to wrecks, but even since this video I've vastly improved it. Video of it in action (Excuse the low quality, I have a crappy computer) By using multiple rays it's able to guide itself around tracks at a reasonable speed unlike previous attempts by other people this one is based off material type meaning as long as grass, rock, or something else other than a road surrounds the track it can find its way without walls. In the future, it could allow dynamic NPC races with little to no setup. Nice one actually, i've tried it myself and yeah this method is good for racing NPC's but making them actually use the GTA Paths are something i didn't quite understand yet due the fact my knowledge about this is pretty low.But how determine which side it should go, based on distance of of the element the line hit or? Link to comment
Captain Cody Posted March 20, 2017 Author Share Posted March 20, 2017 Ima actually release this code tomorrow, I'm making a much more advanced one later today. Link to comment
Captain Cody Posted March 21, 2017 Author Share Posted March 21, 2017 (edited) Working on a new one that's stupidly advanced, basically maps out the environment around it Though this one's just a concept design, I'm not sure how it'll hold up around canyon walls and what not, because it triggers a control to steer the other way if it cannot find anything, meaning a huge mess. Edited March 21, 2017 by CodyJ(L) Link to comment
Aimcac Posted March 23, 2017 Share Posted March 23, 2017 This is awesome, how does it fare with bots tho? Would be cool if you could make the NPCs go to locations whilst finding paths towards them. Link to comment
Iaan Posted March 28, 2017 Share Posted March 28, 2017 Awesome, when i watched your system, i remembered this video, your system was based it? Link to comment
Rudransh Posted March 28, 2017 Share Posted March 28, 2017 One of your best creations i guess. Good work mate. Link to comment
Captain Cody Posted March 29, 2017 Author Share Posted March 29, 2017 Not near my best works, there's still so much work I'd have to do to it for it to come close. Also, no I didn't base it off of that, to best honest I was watching @Sam@ke's older bot video and thought I'd have a go at my own Spoiler 1 Link to comment
Captain Cody Posted March 30, 2017 Author Share Posted March 30, 2017 It's funny to see how multiple bots turned out. 1 Link to comment
Administrators Lpsd Posted March 30, 2017 Administrators Share Posted March 30, 2017 This is pretty damn cool, great job so far. I'll be keeping a close eye on this. Link to comment
Captain Cody Posted March 30, 2017 Author Share Posted March 30, 2017 (edited) Reason why the distance bots wreak, is due to the process line of sites not being able to properly process LOD objects due to them lacking collisions. Edited March 30, 2017 by CodyJ(L) Link to comment
Captain Cody Posted April 7, 2017 Author Share Posted April 7, 2017 Next update will include the bots being able to choose which direction they go at 3+ ways, so if they get to a 4 way or something they can choose either to go straight, left, or right. Also going to make it so it memorizes its route and sends info to other bots to ensure they don't end up colliding. Link to comment
Captain Cody Posted April 9, 2017 Author Share Posted April 9, 2017 Another main thing I'll be adding is the bots will be able to learn from their mistakes, adjusting their turn degrees based on if they successfully managed said multiplier multiple times or not. Link to comment
sweet-tooth17 Posted April 9, 2017 Share Posted April 9, 2017 i like the maps are released? Link to comment
Captain Cody Posted April 10, 2017 Author Share Posted April 10, 2017 Map is apart of my race server which will be back online soon. Link to comment
Jose76Tron Posted August 3, 2017 Share Posted August 3, 2017 (edited) When are you going to release this? I would love to have this for my server Edited August 3, 2017 by Jose76Tron Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now