![]() |
Re: Work In progress (WIP) #9
actually i want to be more precise and let the path finder calculate this in. I have found information where the fall damage is given (and its also there in the sdk), so in theory i can make the path finder avoid falling when the health is low.
This does not really have priority at the moment though. |
path finding
something i just thought of while playing on cs_italy:
problem: when the bots are following a path that is on a elevation A, and accidently fall down to elevation B (B < A), they appear to think they are still on elevation A and continue to try to get to the next node on elevation A. they can often get to the correct x and y points, but are off on the z axis (x and y being the horizontal plane, and z being vertical). possible solution: when checking how to get to the next node, have the bot check the vertical distance first. if it is too high to jump, then have them try to find a route up. this would solve the above mentioned problem, and a common problem of the bots running to wps and running into crates/fences/etc. before figuring out that they need to jump to get to the next node. this might make it so you dont need to add the jump bit into the node data. maybe. not sure how the jump bit will work in the node, but will a bot jump every time it passes thru that node? or just when it is heading towards a certain other node? because they dont always need to jump, only if they are heading towards the crate/fense/hurdle/etc. hope that helps. any ETA on the next wip? :D getting really itchy for all those nice looking changes you have made. wow, this turned out a lot longer than i expected... |
Re: Work In progress (WIP) #9
bdjohns , i also had errors at first on this install.. it had been a while since i ran the server. check to see if u have a master request restart message, if you do, run ./steam -update to make sure yr up to date on the steam install.
im about to go and have a few test runs my self. ps: im on redhat 9 |
Re: Work In progress (WIP) #9
Quote:
About the "z" problems in navigation: maybe it's possible to make the bots think of the nodes as floors: if they find a direct vertical link they climb to the upper "floor". If it is blocked, then the "floor" they stand on has priority, and thus the bots wouldn't get blocked when they can't climb. Quote:
|
Re: Work In progress (WIP) #9
I don't know how to handle complex jump situations yet. As the current 'path walk' function only takes care of a distance check in some sort so it does not really care if the node is more up or down.
The BIT_JUMP makes the bot force to jump when stuck only. It does not make the jump before-hand. I think 2 new bits should be introduced for complex jumping: BIT_JUMPSTART BIT_JUMPEND so: Node A->B->C when you have to jump from A to C via B. Then Node A should have a JUMP_START and B a JUMP_START and JUMP_END thingy. Node C only a JUMP_END. When the path_walk function finds a JUMP_START at the current node and a JUMP_END at the other, it should somehow make sure that it jumps on node B. It requires other demands to know if the bot IS at Node B, and not only its distance, but also on height. Hmm, still pondering about it. |
Re: Work In progress (WIP) #9
i guess would be easier to check when bot fall down just to estimat the time he needs to get to the waipoint closest to the last location before fall - and if it is more than 5 sec then ignore it and make bot move as if he respawned there
i have noticed they are a bit dumb then when fall down on cs_havana - but they are performing extremely well on that map - i really started enjoying this map once again :D |
Re: Work In progress (WIP) #9
-nvm
|
Re: Work In progress (WIP) #9
how often do updates for the realbot_mm.dll come out
|
Re: Work In progress (WIP) #9
we are currently up to wip #10 which is available at the filebase
|
Re: Work In progress (WIP) #9
could you point me in the right direction to get that
|
All times are GMT +2. The time now is 15:30. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.