Happy New Year
A new RCbot Angelscript waypoint for the map Suspension by Hezus
The waypoint is still a WIP, but the whole map is waypointed. The map was a bit of a challenge to wpt without notouch, as each area is seperated by teleports/warpzones. Now that the whole map is waypointed, I may want to recheck the spawn area, see if it can be improved. It works ok, but I wasn't sure if connecting a path all the way from the spawn area would work, it just uses an important wpt in the center to pull the bots in. I'm not sure if the osprey area moves to different locations? If not I probably could connect through the osprey, there are no wpts there atm... I still need to put in some unreachables too.There are some issues on this map where bots don't recognize certain enemies, so it is probably impossible to win on easy. I did a test play last night and just made it to the 3rd area before losing all lives on easy, with 2 bots. I haven't worked on the wpt for a week, so after some testing i'll post about the specific enemy issues, hopefully later today.
=================
Update - Release2
=================
A bunch of additions & fix's...
All ceiling turrets and a couple mini turrets have unreachable wpts now. The Apache path has them too.
Most all Resupply crates have ammo wpts now. I skipped the first explosive crate because all bot classes will try to use them, but only engineers get ammo/explosives from them. Bots get slaughtered at the first explosive resupply crate, the other 2 are not a big issue or are better protected so engineers can use them, not that they can use trip-mines or satchel charges, yet...
Bots can use all ladders fairly well now without taking fall damage. The last ladder was the biggest problem, it looks sloppy, but bots can get up and down it much better, even if there are collisions. This and another ladder have been completely reworked... The last ladder seems slippery to the bots, they want to skew to the left or right depending on how the wpts are placed, but it works well enough now...
Did a number of wpt/path edits for better bot movement and to use cover places better...
This may be the final release? There are some minor issues I'll post about later. Kinda want to work on other wpts before doing any more updates to this one...
[Edit 11-23-20] For RCbot_AS builds Aug 14, 2020 or older. For newer builds get the rcwa in the hotfix_crouchjump_rcwa_pack.zip in main topic here:
http://rcbot.bots-united.com/forums/index.php?s=&showtopic=2212&view=findpost&p=15252
Attached File(s)
suspension_rcwa3.zip ( 5.39k )
Number of downloads: 245
Thanks for those tips, I will try notouch again Build tested: e88b08910430ad64d8a4a612a023c7774ae455e0
Build tested: 9f4cbd34ddd83f3304342be66c48de5a88134203ok, I haven't had time to go back and retest yet, will try to do that in the morning with new build? It was either the human grunts or enemy grunts, they would shoot one but not the other (all this was with notarget/godmode on bots). I think it was the human grunts they did not shoot, but a bit unsure ?
[EDIT] My mistake, they do attack both types of grunts. I think because bots are so intent on attacking the tanks they seem to ignor the nearby enemys at times. Seems like attacking breakables(tanks) is a higher priority than defending themselves from nearby enemies? I'm still testing the explosives on tanks issue. I did see one bot shoot an RPG in direction of a tank when I teleported it to the area...
They don't attack the tanks properly, they will shoot & knife them haha, but that does no damage. They need to use explosives. This is a class type map, so some bots may not have what they need to attack the tanks. grenades, satchel charges, RPG's can damage the tanks. I observed bots using RPG's on the grunt enemies, but they would not RPG the tanks. For a test I gave all bots grenades, again I never saw bots throw grenades at any of the tanks, but only at one of the grunt type enemies. I can't be 100% sure if they still had grenades left, but I think they should of thrown a grenade at one of the 3 tanks, but never saw it happen.
Here is some search info on the first 2 tanks, guess I didn't save it for the 3rd tank at end of map.
Bump...
Update: I've just fixed the bots now so they only use explosives against breakables that require explosives to break
I've made it so if the bots can't find any ammo_(or health/armor etc) nearby they just press the nearest func_button (or func_door for desertcircle). Means you'll need to put the ammo waypoint outside the box as they need to touch it. I tested it in suspension, it seems to work.
as for explosives -- will work on that
btw I've improved the "platform" waypoint
Build#: 6a6cd48643df99b0caa3198a6380ab718edf72e5
I worked on the wpt last night, from beginning to end. Fixed the ammo resupply boxes, some appeared to be dropping health too, but it may of been a medic dropping health when he used the box? Yeah, that seems to work good now...
I added a wpt so bots get one of the RPG ammo packs under the bridge, and some other tweaks..
Think I need to work the down direction of the ladders a bit more, bots are falling there more than I thought. The last ladder is the worst, since it is both a down & up. So probably have another day of work & testing before a update.
I was thinking about bots using explosives, maybe a grenade or explosive wpt to flag high value targets, but that won't work on a moving target, such as 2nd tank. The bots do miss the Apache & osprey with the RPG, but so do I, they do hit them too. They hit them a lot more with bullets, because it is instant. They do hit the engines with bullets, but at close range on the osprey, it looks like they are hitting the fuselage ?
They did hit the last (stationary) tank with the RPG about 5 or 6 times, if I eliminated all other enemies in the area. It seemed they would use the RPG on the tank with or without an unreachable wpt on it, but it may of been better with an unreachable? Do they use unreachables to help aim the RPG or see the target better, kinda like RCbot2 does? They seemed to hit the front of the tank with the unreachable at the front, but with no unreachable they were getting closer and hitting the side or corner of the tank. That could of been all just coincidence, just where they were at the time they had RPG ammo?
Oh, forgot to mention, nice job on the debug improvements, showing on the screen now...
hey, cool.
the unreachables don't help them aim, just for visibility to help them take cover.
did you update the waypoint in the first post?
The waypoint has been updated, see the first post...
[EDIT] Temporarily removed the waypoint due to new ladder problems. Re-tested the ladders with the new build, and the code changes borked a couple ladders. I've got them mostly fixed now, but want to test them again. The code changes will be good going forward, but I think I will need to check the ladders on some of my wpts... Some ladders I've done don't have ladder wpts at both top & bottom, one of the ladders in this map was that way and no longer worked well, bots could not get on the ladder at the bottom...
On the plus side, bots are no longer sliding sideways on that last ladder. Had to remove the staynear flag on the top ladder wpt there, that was needed to keep them on it before...
Anyways, I should be uploading a fixed wpt soon...
Build: bb7a690a23584f6cf3ed2488f5feea3c5a9e7960
The waypoint has been updated, again , see the first post...
Bots may take occasional fall damage at that last ladder, but it's as good as I can get it for now...
done some tweaks to ladder code now (again) for bots climbing downwards mainly. Although the waypoints need 'ladder' type for them to follow the code properly. only two waypoints needed (from start to end)
{edit}
The idea is that when going up ladders bots will look towards the ladder and up.
When bots are going down the ladder bots will look away from the ladder and down.
This seems to give best results for climbing.
Build: 9553bfdcd03e06e8710ea85e11134fba576bb7ae
The 1st 2 ladders are working well, the down ladder is near perfect, and I think the up ladder is working good too, they were just distracted by enemies (osprey) and slipping off sideways, sometimes.
The last ladder is just a pain, now they rarely can get off at the top, I haven't tried to fix it yet, it is the same configuration I have had there since the 1st ladder code change. When they get to the top of this ladder they sort of flip around, miss stepping off the ladder & slide down the ladder & take some fall damage, this keeps repeating until they die. I saw one one bot make it successfully last night. They were doing better on this ladder with the last build ...
All ladders in this map are free standing where bots step on or off to the side, at the top. I don't have a good image to post, and I won't get back to this until later today or tonight? So if you want to do anymore tweaking, go ahead... I could probably fix the problem by moving one of the top 2 wpts, or add an intermediate wpt between the ladder & normal wpts?
Think I will check some other map ladders tonight, the one in desertcircle was working ok last night. The free standing ladders & ladders where bots have to step on or off from the side will be the most difficult, perhaps vent ladders too?
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.
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)...
http://img4.imagetitan.com/img.php?image=19_suspension_ladder3b.jpg
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.
http://img4.imagetitan.com/img.php?image=19_suspension_ladder_top.jpg
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.
http://img4.imagetitan.com/img.php?image=19_suspension_ladder_btm.jpg
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.
http://img4.imagetitan.com/img.php?image=19_suspension_triggerpush.jpg
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
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 .
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...