Need For Speed :: San Andreas

Full Version: "Single Player" races
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello, sometimes in server on night time or tomorrow there'is no many players to quick race and i think that races with bots will be nice idea. In that type of race you got small rp and cash , but bots will be always avaible for racing. 
sry for english.
It is impossible to script race bots.
So if this is impossible, maybe just make the races for one player (like time-trial) but this will be avaible on any time and have small rp and cash.
Nah, that doesn't make sense. Many players would try to exploit it, abuse it or something.
it would be very cool if it would be possible to make bots for single player racing, it would also make the server more entertaining in night when there is nobody to race with.
Custom peds can be synchronized with player when he is nearby (around 150-200 meters) there. When player will be too far from ped he will just stop or/and he won't react to checkpoint script recommendation. If ped will be ahead and will be gone, he will be freezed there until he will notice a player nearby again.
So yeah... I think it's impossible or it takes much, much time to make AI even very basic.
Only way to do it it's using onClientRender, where every frame ped's position will be changed. However bot will be acting like lagged.
Or maybe a system of ghost already recorded like race_ghost resource for race mode . Example , you can face 3 ghosts at same time with a different behavior or car like bronze , silver and gold times or just chosing one before race starts . Like this example http://www.youtube.com/watch?v=09PlBleWoaA
I think, it's good idea
Isnt it possibke to teleport player on "another Map" to Just make the bot only available and seable of him ?

Even tho, it looks like a giant task to do. And maybe not very useful when thinking at it.
Single player races are stupid idea, cuz it's multiplayer!