Posts: 28
Threads: 6
Joined: Mar 2008
Reputation:
0
So i followed the bot tut and the bot is there but i have the following problem:
The car moves then disappears and the driver (a chicken dude) ends up standing on the road and then the car reappears drives a bit then it happens again?
Posts: 42
Threads: 5
Joined: Apr 2009
Reputation:
0
Alright, this happened to me too.
How many NPCs do you have running on your server in total?
Posts: 28
Threads: 6
Joined: Mar 2008
Reputation:
0
well 7 i guess the 3 pilot 3 train ones i thought were built in cause i did not script them but they are there driving cars and not planes/trains?
Posts: 42
Threads: 5
Joined: Apr 2009
Reputation:
0
Hosted on a local server?
Posts: 28
Threads: 6
Joined: Mar 2008
Reputation:
0
just my own PC just testing stuff out
Posts: 42
Threads: 5
Joined: Apr 2009
Reputation:
0
Alright, your problem occurs because your computer specs (not sure which ones) aren't high enough to support that many NPCs/Bots. Basically, they are lagging terribly and virtually teleporting around the path you set it in the .rec file. If you had a speed warning detection system, you could see that the speeds of the NPCs/Bots are jumping from 5k to 10k.
I recommend you try removing OnNPCConnect in OnGameModeInit or OnFilterScriptInit until you only have 1 NPC/Bot connecting to your server, then see if it works.
Posts: 28
Threads: 6
Joined: Mar 2008
Reputation:
0
Ok thanks for your help bud.
Posts: 42
Threads: 5
Joined: Apr 2009
Reputation:
0
No prob, let me know if it worked.
Posts: 28
Threads: 6
Joined: Mar 2008
Reputation:
0
yes it worked,sorry for the delayed response have been busy.
When i cut out the other 6 generic bots running by taking gl_npcs out of server.cfg