dzek (varez) Posted September 22, 2010 Share Posted September 22, 2010 Aside of my new gamemode I'm working on driving bots, cause long time ago somebody said that he's working on peds resource, imitating peds from single player, but still nothing.. This is first working script so bots are behaving a little crazy (turning left and right), also no waypoints are set (just one short path - at the end of movie the path is over so bot is jumping from the cliff). I'm gonna improve AI, add some checks if something is on bot way - so it can avoid obstacle (or at least try) and .. synchronize it It won't be perfect when i finish it anyway, but be as good as i can do - and will be useful anyway (no more empty cities while playing - it will be cool even with race gamemode (if you dont want bots to move on your way - you can always but them in background - as visual thing)). okay, enough said, watch video, and remember - its only an early alpha and as a bonus, fail video: sorry for no sound in 2nd movie, some-weird-music in 1st one, bad quality in both ^^ Link to comment
eAi Posted September 22, 2010 Share Posted September 22, 2010 Looks like a good start You should be able to extract all the paths from GTA - or someone may have already done this. Then you'd need them to make decisions about which way to go at junctions which might lead to pathfinding if you want them to drive to particular locations. Anyway, that's looking good! Link to comment
dzek (varez) Posted September 22, 2010 Author Share Posted September 22, 2010 I can create own waypoints, there is no problem with this. Also custom waypoints system is a good feature for custom maps. I don't know any good algorithm of route selecting from waypoints and connections between them, but i think i will find it out sooner our later While creating this resource i discovered one bug with coronas, I'll report it tomorrow. Link to comment
eAi Posted September 22, 2010 Share Posted September 22, 2010 A* is a fairly simple pathfinding algorithm that's widely used. Link to comment
dzek (varez) Posted September 22, 2010 Author Share Posted September 22, 2010 Thanks- I'll check it when i will finish most important things Link to comment
darkdreamingdan Posted September 23, 2010 Share Posted September 23, 2010 Before you continue on this, it's worth noting that there is already a resource that immitates peds like in single player, it's just not publically available (available on request). We're looking into making this available to public. I'm sure there are videos of it on youtube already. It uses complete GTA paths and an A* algorithm. There's also a seperate taxi driver resource made by arc_, which is a fully functional resource in which a ped drives to a desired location. Link to comment
Xierra Posted September 23, 2010 Share Posted September 23, 2010 Wow! One next step for the realistic city, driving bots. Could be useful for non-skipping taxi driving with a bot. (As seen on DP2's Simbad's server taxi service, it just skips right to the destination.) That's one daring step to go. PS: The first video's music was like my country's national song. Link to comment
dzek (varez) Posted September 23, 2010 Author Share Posted September 23, 2010 Talidan - can i request this resource from you? Where I can expect it to be public? And why isn't it already public? Driving bots will be very useful for my gamemode, that's why i started creating it. Also can you point me to video of another driving bots? Can't find anything on youtube. Link to comment
Dark Dragon Posted September 23, 2010 Share Posted September 23, 2010 you might just want to ask gamesnert to start it on his 1.1 test server. Link to comment
dzek (varez) Posted September 23, 2010 Author Share Posted September 23, 2010 hm, maybe later.. i'm interested in this resource. if you cant release it soon - i'll finish this one (or maybe i wont implement A*) - because without it my gamemode will be a bit.. incomplete. after releasing i can always switch to better one (if it will be better than mine - but i think it will ) Link to comment
WallMart Posted September 30, 2010 Share Posted September 30, 2010 looks funny will certainly be a solution to loneliness in mta Link to comment
CowTurbo Posted October 11, 2010 Share Posted October 11, 2010 wow, varez, nice one. you are rly good =D Link to comment
gazzxr Posted December 4, 2010 Share Posted December 4, 2010 is this possible : NPC following you ( something like cops ) Link to comment
dukenukem Posted December 4, 2010 Share Posted December 4, 2010 is this possible :NPC following you ( something like cops ) yes. https://community.multitheftauto.com/index.php?p= ... ils&id=234 https://community.multitheftauto.com/index.php?p= ... ils&id=672 Link to comment
dzek (varez) Posted December 5, 2010 Author Share Posted December 5, 2010 he probably want to run it and forget. this need scripting knowledge anyway. btw: on my college we are taking math lessons that can be much useful to improve this script. after we'll finish this topic - i'm sure i'll continue it, as this is my fav script i even started to make (and i have some of them in progress.. hell, im always starting things and not finishing) 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