Lag |
Lag |
Micke |
Nov 19 2021, 02:45 AM
Post
#1
|
Newbie Group: Members Posts: 8 Joined: 6-October 07 Member No.: 1,231 |
Is it normal for the FPS to go down to 20 when there are just 10 bots? or is it just for me?
|
RoboCop |
Nov 19 2021, 03:30 PM
Post
#2
|
RCBot Fan Group: Admin Posts: 192 Joined: 17-December 15 From: Dundee, Scotland Member No.: 2,435 |
Well, those RCBots coded in AngelScript aren't as superior nor as fast as RCBot Metamod version. We cannot seem to allow RCBot MM to work anymore as we need the Svengine Header files in order for RCBot MM to work in Sven v5. So it maybe best to spawn no more than 4 bots.
|
Cheeseh |
Nov 20 2021, 02:44 PM
Post
#3
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
I agree with Robocop. Metamod plugins (or typical plugins) would allow the execution of code at each frame, where as Angelscript only allows at specific time intervals, so it's more difficult to evenly load CPU. For now the only way is to reduce navrevs and visrevs value. see as_command rcbot.navrevs and as_command rcbot.visrevs cvars , reduce their current value
|
Micke |
Nov 21 2021, 02:37 AM
Post
#4
|
Newbie Group: Members Posts: 8 Joined: 6-October 07 Member No.: 1,231 |
Running a dedicated server fixes the FPS and increases your ping instead which makes it playable. Unless you add too many bots and so your ping skyrocket.
What does navrevs and visrevs do? |
madmax2 |
Nov 21 2021, 08:25 PM
Post
#5
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Running a dedicated server fixes the FPS and increases your ping instead which makes it playable. Unless you add too many bots and so your ping skyrocket. What does navrevs and visrevs do? Hi, From the readme.md: QUOTE # Commands visrevs (number of visible checks every 0.1 sec - reduce to increase CPU performance but bots' reaction time will be reduced) navrevs (number of paths to check every 0.1 sec - reduce to increase CPU performance but bots' pathfinding time will be increased) heal_npc (set to '0' to disable bots healing NPCs - default is '1') revive_npc (set to '0' to disable bots reviving NPCs - default is '1') For most maps I don't usually recommend more than 3 bots because of choke points in the maps... I don't think I've ever run more than 5 bots... I would think you would have problems with bots blocking choke points such as vents, which annoys me to no end... And if bots arrive at the same time at difficult jumps, they will miss those jumps a lot more... On the other hand , I don't play survival mode, so that might be why you want more bots? I appreciate the feedback |
Micke |
Nov 25 2021, 06:02 PM
Post
#6
|
Newbie Group: Members Posts: 8 Joined: 6-October 07 Member No.: 1,231 |
Thank you madmax
it helped and made quite a difference. been testing and trying to find a balance between the settings. I was so sure for some reason that the bots could play pvp maps and fight players and bots. EDIT: my friend helped me with the bot code so they can detect team 1 to 4 and fight against each others in teams |
madmax2 |
Nov 28 2021, 07:27 PM
Post
#7
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Thank you madmax it helped and made quite a difference. been testing and trying to find a balance between the settings. I was so sure for some reason that the bots could play pvp maps and fight players and bots. EDIT: my friend helped me with the bot code so they can detect team 1 to 4 and fight against each others in teams Cool . So what pvp maps do you use rcbot for? Warforts? Would you or your friend be willing to share the code and/or files? Perhaps Cheeseh could use it? |
Micke |
Nov 30 2021, 08:27 AM
Post
#8
|
Newbie Group: Members Posts: 8 Joined: 6-October 07 Member No.: 1,231 |
we mainly used it to play on bm_sts for the bonus rounds
and we also made some other changes: I made so I could put waypoint_auto on another player, and he helped me so two players can have autowaypoint on. we fixed a crashing what would happen when a map replaces the yell for medic or grenade sprites, I made so it uses unique sprites just for rcbot. He also made so the bots pick random names and random models from a txt file instead of using the profiles, so we can use huge model packs. And finally he made so the bots can say random things. heres the code/files: https://github.com/TomDobbelaere/RCBotSven5 oh and he said that "doing the if (true) was temporary lol" |
madmax2 |
Dec 2 2021, 06:40 PM
Post
#9
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Nice work, tried them out on ctf_warforts . Would you be interested in adding flag support for ctf? Might need a flag waypoint or maybe END waypoint could be used? Anyways, good job .
|
Lo-Fi Version | Time is now: 9th November 2024 - 08:17 AM |