View previous topic :: View next topic |
Author |
Message |
JasonX
Joined: 21 Apr 2009 Posts: 92
|
Posted: Tue May 18, 2010 12:27 pm Post subject: Questions on FrikBots |
|
|
I have a few questions about configuring FrikBots and would be great if you guys could help me out.
1) How do i make them move and act slower?
2) How do i make them less accurate and "good"?
3) Do i need to create waypoints for each map? Any tutorials on this?
4) What's the maximum number of bots in-game? |
|
Back to top |
|
 |
c0burn
Joined: 05 Nov 2004 Posts: 158 Location: Liverpool, England
|
Posted: Tue May 18, 2010 4:01 pm Post subject: Re: Questions on FrikBots |
|
|
JasonX wrote: | I have a few questions about configuring FrikBots and would be great if you guys could help me out.
1) How do i make them move and act slower?
2) How do i make them less accurate and "good"?
3) Do i need to create waypoints for each map? Any tutorials on this?
4) What's the maximum number of bots in-game? |
1) They use a port of the player physics code from the engine into QuakeC. See bot_phys.qc. You could make them use your own variables instead of reading cl_forwardspeed, etc.
2) See bot_ai.qc and search for the "skill" variable for ideas. You could make them always use skill 0, or make skill 0 even worse!
3) Yes, ideally. There is a built in waypoint editor, read the readme.
4) Theoretically, Whatever the server supports (16 for quake, 64 iirc for darkplaces). However I think Frikbot is hard limited to 16 but this could be easily extended for DP. |
|
Back to top |
|
 |
Spike
Joined: 05 Nov 2004 Posts: 944 Location: UK
|
Posted: Wed May 19, 2010 12:10 am Post subject: |
|
|
2: frikbot hooks/redirects the aim builtin if I remember correctly. And if it doesn't then mneh, hook it yourself. :)
4: frikbot attempts to detect the maxplayers at run time, and supports any value between 1 and 23, due to floats and run-time precision. The active maxplayers value must be in this range - the default for a listen server is 4. Dedicated servers default to 16. Custom engines may have different defaults or limits, but 23 is the max of what (nq)frikbot will support. I'm not sure if it'll silently ignore additional slots or not. I don't remember either way.
The QW version potentially supports 46, I think. but it does have bugs due to engine differences. The expectation is 32 always. _________________ What's a signature? |
|
Back to top |
|
 |
JasonX
Joined: 21 Apr 2009 Posts: 92
|
Posted: Wed May 19, 2010 12:26 pm Post subject: |
|
|
Thank you guys.  |
|
Back to top |
|
 |
|