[Release] Suspension Waypoint, rcwa for sc5.x |
[Release] Suspension Waypoint, rcwa for sc5.x |
Cheeseh |
Jan 11 2019, 10:20 PM
Post
#21
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
For sideways ladders try adding a waypoint that is 90 degrees perpendicular to the wall and ladder that they will climb. The first waypoint path becomes the look vector. When going down bots always look at the bottom waypoint.... I'm working on a later test map and yet to try sideway ladders though. I will have a look at this waypoint soon and see what u mean.
|
madmax2 |
Jan 12 2019, 08:58 AM
Post
#22
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
I updated the waypoint in first post... It's working better on the problem ladder (next to last ladder, I forgot there is a short ladder at the very end of the map)...
For getting off the ladder at the top, I raised the top ladder wpt a little bit, and added a new staynear wpt for bots to get off the ladder. Both top & bottom ladder wpts still have crouch flags, which seems to work the best on this ladder. For going down the ladder I removed a staynear flag from the wpt going to the top ladder wpt, seems to help them get on the ladder at top, without it. I found an extra path from the bottom ladder wpt (I had added the path before the new ladder code was added). Bots go down the ladder much better without the extra path at the bottom of the ladder. Also, fixed the last short ladder which broke with the new code, straitened the path, and bots really don't like single ladder wpts at the top anymore (normal wpt at bottom). Fixed a 3rd ladder too, the first up only ladder. Did some path edits for the moving tank path, and added some jumps to help bots avoid some tank shells/flack. [Edit] Note: minor issue for this map, it really doesn't effect the game play... Thought it may effect other maps though? Not sure which maps I have seen these in or how they were used? I have an openslater wpt behind this trigger push and bots try to go against it. This is at the same ladder, and appears after the apache is shot down and the final area opens. Bots will come here and bounce against it a few times then go about thier business. Here is the search on it. CODE [RCBOT]892 : func_illusionary frame=0 distance = 70.601868 (x=-383.5,y=1632,z=120) visible=1,solid=0,angle.x = 0, angle.y = 0 active = 0 [RCBOT]898 : trigger_push frame=0 distance = 101.764793 (x=-416,y=1636,z=128) visible=0,solid=1,angle.x = 0, angle.y = 0 active = 0 I've gone back to waypointing ladders in the conventional way. I think this will be best going forward, so if you change the ladder code then the ladders should still work. I did induce the down problem in the one ladder, my bad... I will have to go check all my wpts to be sure they at least have a ladder wpt at both top & bottom. Much of the odd stuff I did on the ladders was for the old bots, it worked for them, but should not be needed as it seems the new bots don't have the same issues now... I will continue using crouch flag with ladder wpts, this will still be needed on some ladders... I've been using wait for the approach wpt to ladders instead of staynear or jump and that seems to work well in tight areas (wait_noplayer too). I may use staynear at the top like I did here, when needed... |
Cheeseh |
Jan 13 2019, 08:03 PM
Post
#23
|
Admin Group: Admin Posts: 3,066 Joined: 11-September 03 From: uk Member No.: 1 |
I will try to add trigger_push to the opens later check - so you can put an opens later at the push (will ne tnotouch or do before the push is activated). Also I will add func_rot_button etc to the health/ammo resupply check
edit: done |
madmax2 |
Jan 14 2019, 08:54 AM
Post
#24
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Thanks
Decided to check some ladders in other maps today. Had to fix some ladders in intruder.rcwa & richard_boderman.rcwa. I'll post the wpts & info tomorrow when I get up in the morning . |
madmax2 |
Jan 14 2019, 09:14 PM
Post
#25
|
RCBot Guru Group: Waypointers Posts: 957 Joined: 2-March 12 From: USA, WA state Member No.: 2,162 |
Build: 9553bfdcd03e06e8710ea85e11134fba576bb7ae
Ok, I'm going to try and sum this up in a few paragraphs . After going through all the ladders on richard_boderman & intruder, bots climb ladders pretty good, but they have one problem, getting off the ladder at the top. I've been able to fix all the problem ladders by different methods. What I am seeing on many ladders is bots think they have reached either the top ladder wpt or the next normal wpt and turn to early and fall. On some problem ladders if I have bots jump on the ladder at the bottom(jump wpt), they will crouch up the ladder and when they hit the top ladder wpt they will stand with a bit of a hop, this works on some ladders alone, but not all. They are moving up the ladder faster when crouched, so that may be why a crouch on the top ladder wpt works sometimes. Raising the top ladder wpt may help sometimes, but not always & may still need that jump wpt at the bottom? I think if you could put in a ladder code change where bots need to get bit closer to the top ladder wpt, before they look at going to the next one, that might help? I've tried staynears on the top ladder wpts, sometimes it works but mostly not. It helped at one R_B ladder, but not another. With the old bots I didn't like to use staynears (sct) wpts on ladder wpts, except as a last resort, caused some problems, like bot jams, but might not be an issue with rcbot_AS? I think the down direction is working well, but haven't tested many down ladders. The last down ladder in intruder was broken, but it was not typical ladder wpts there. So I made it more of a standard ladder configuration, and they were going down it ok. But it is a sticky ladder, and on occasion a bot would get stuck to the wall/shaft and cause a bot jam. The simple solution was to remove the ladder flags. I still see them get stuck, but they can wiggle free, even if another bot is on top of them, so it works good now. I don't think you need to do anything with the down ladder code, unless you see something, this is just a bad ladder shaft... I may post a few images of what I had to do on some of the R_B ladders...? [Edit] Updated richard_boderman.rcwa & intruder.rcwa in my pack. A couple ladders may need fixing again as the code is changed, oh well ... Do what you have to, to make em better... They actually do pretty good going up or down ladders now, its just the getting off at the top is difficult to wpt on some ladders. It seems to be mainly long ladders or ladders where bots need to get off at the top to the side, like wall ladders. I'm having to raise the top ladder wpt or use staynears, various things until I find what will work... |
Lo-Fi Version | Time is now: 6th November 2024 - 01:17 AM |