Bots: Aiming

Post anything to do with editing Nexuiz here. Whether its problems you've had, questions, or if you just want to show off your work.

Moderators: Nexuiz Moderators, Moderators

Postby Qantourisc » Sun Jul 23, 2006 7:30 am

I betatested it with peaple yesterday, they seemed to like the code, if the bots wouldn't run so dump, you'd have a hard time saying who the bot is :)
These thins i added (since i started over stuff changed a bit, for the better luckly).
  • Put stuff trough N^"order" fitler,(to try and extrapolate your movement) this helps the bot predict where you will be.
  • Seperared ping an reflexes, so bot have more packages / second.
  • Added a mouse interface
  • Added a keyboard interface (bots now only use the 8 direction on your keyboard)
  • Bots now don't always target the closest enemy, now they try to keep hold of a single enmy until it disapears out of view, the bots health is to low, the distance is to large or it is dead.
Bugs I found (and other found): (of witch i will TRY to see if i have the skill to fix them)
  • Bot's don't crouch, crouching can be an extra trick to win, so higher skill players will use it
  • Bots use litle or no secondary fire
  • Bots try to pick up a 'weapon stay' weapon they already have...
  • They don't always detonate the rocjet even when they should
  • Current bug, I caused, rockets are slow, extrapolation where they player would be a second from here, when he dodging left right , causes big issues... Will need to fix that somehow.
  • When the bot determens where to shoot, he seems to ferget gravity, will check if this is true and try to fix it if possible
  • Curerntly sys-timer has a large impact on my extrapolation .... must fix that
Could someone who POWNS evryone with a roccket launcher tell me how to aim ? Cause I have no clue how I can solve the: strafe to the righ, strafe to the left, and try to hit me stuff ...
Qantourisc
Alien
 
Posts: 130
Joined: Fri Jun 16, 2006 5:44 am

Postby tZork » Sun Jul 23, 2006 11:24 am

Qantourisc wrote:I betatested it with peaple yesterday, they seemed to like the code, if the bots wouldn't run so dump, you'd have a hard time saying who the bot is :)
These thins i added (since i started over stuff changed a bit, for the better luckly).
  • Put stuff trough N^"order" fitler,(to try and extrapolate your movement) this helps the bot predict where you will be.
  • Seperared ping an reflexes, so bot have more packages / second.
  • Added a mouse interface
  • Added a keyboard interface (bots now only use the 8 direction on your keyboard)
  • Bots now don't always target the closest enemy, now they try to keep hold of a single enmy until it disapears out of view, the bots health is to low, the distance is to large or it is dead.
Bugs I found (and other found): (of witch i will TRY to see if i have the skill to fix them)
  • Bot's don't crouch, crouching can be an extra trick to win, so higher skill players will use it
  • Bots use litle or no secondary fire
  • Bots try to pick up a 'weapon stay' weapon they already have...
  • They don't always detonate the rocjet even when they should
  • Current bug, I caused, rockets are slow, extrapolation where they player would be a second from here, when he dodging left right , causes big issues... Will need to fix that somehow.
  • When the bot determens where to shoot, he seems to ferget gravity, will check if this is true and try to fix it if possible
  • Curerntly sys-timer has a large impact on my extrapolation .... must fix that
Could someone who POWNS evryone with a roccket launcher tell me how to aim ? Cause I have no clue how I can solve the: strafe to the righ, strafe to the left, and try to hit me stuff ...


wow nice work, will be fun to try.

i dont pwm the world with the rl, but i have my moments with it ;)
* Only use over medium-large distances as a tactical weapon.
* Fire down at ppl while jumping down, fire in a spread pattern. this creates kinda a rocket shotgun effect..
* Fire and detornate rockets to force a player into a spot where dodgning is hard/impossible :twisted:
* Spam rockets in a players general direction to make em bsy hidning / dodging and switch to another weap. rocket dodgning is diffrent from nex dodgning so this can be horrible effective at times.. ;)
HOF:
<Diablo> the nex is a "game modification"
<Diablo> quake1 never had a weapon like that.
<Vordreller> there was no need for anything over 4GB untill Vista came along
<Samua>]Idea: Fix it? :D
<Samua>Lies, that only applies to other people.
tZork
tZite Admin
 
Posts: 1337
Joined: Tue Feb 28, 2006 6:16 pm
Location: Halfway to somwhere else

Postby obi_wan » Sun Jul 23, 2006 12:24 pm

yeah one technic wich is really effective with the RL for a face to face fight (more on silvercity) :

Shoot on the left,
shoot on the right,
shoot on the left,
shoot on the right,
shoot on the left,
shoot on the right,
shoot on the right AGAIN..... ploup :)

If you see the enemy and he doesn't, its better to avoid a pure face to face. The better way for shooting somebody with the RL imo is to be at 90 degrees from the enemy's running line and shooting where the guy runs. (with the nex i really prefer to face the enemy and shoot him when he changes his strafing direction.
A last thing : rockets go by pair ;) i mean if i shoot one rocket on somebody the second one is shot as fast as possible at a 60 degrees angle in the enemy's overbounce direction.

Something i noticed while spectating bots is that they really seem to be blind guys with some telepathic capacities. I think the first thing to do to get them more human is making them more concentrated on what they see.
[NSB] ppwer !
obi_wan
Alien trapper
 
Posts: 256
Joined: Mon Mar 13, 2006 9:24 am
Location: France

Postby Qantourisc » Fri Jul 28, 2006 12:29 pm

Ok submitted the patch to div0, he immidantly scoops out some mistakes :) but that's good, so we don't get crappy code :)
Qantourisc
Alien
 
Posts: 130
Joined: Fri Jun 16, 2006 5:44 am

Postby GDI+ » Fri Jul 28, 2006 1:22 pm

^^ Nice to here that Qantourisc, great work. :)

Is your test server still running? I really enjoyed playing against those, at times, really human-like "Bots". When they're not acting all funny while you were testing them. :P
GDI+
Member
 
Posts: 18
Joined: Tue Jul 25, 2006 11:48 am
Location: England, UK

Postby Gego » Fri Jul 28, 2006 8:38 pm

good work!

the next nexuiz will hav enven better bots... (i am ganna ger pwn:d by lvl 1 bots......:P )
Gego
Alien
 
Posts: 159
Joined: Wed Mar 01, 2006 4:39 pm

Postby Qantourisc » Sun Jul 30, 2006 7:27 am

GDI+ wrote:Is your test server still running?
No sorry ... not always a lot of peaple joined my server :) And it would be laggy from time to time :) And due to all the programming and playing against bots, I fail to predict the routing of real human beeings :) As thus i need to train again (I didn't work on the routing(waypoints) system)
Qantourisc
Alien
 
Posts: 130
Joined: Fri Jun 16, 2006 5:44 am

Previous

Return to Nexuiz - Editing

Who is online

Users browsing this forum: No registered users and 1 guest

cron