IPB

Welcome Guest ( Log In | Register )

7 Pages V « < 5 6 7  
Reply to this topicStart new topic
> Converted Waypoints for RCbot-AngelScript, Updated & Tested for Git
RoboCop
post May 11 2021, 06:50 PM
Post #121


RCBot Fan
****

Group: Admin
Posts: 192
Joined: 17-December 15
From: Dundee, Scotland
Member No.: 2,435



Nice work!
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
madmax2
post May 20 2021, 05:51 AM
Post #122


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



Thanks, try this out... smile.gif

---------------------------------
Release 3 - yabma.rcwa + script - See next post for Release 4 ...
---------------------------------
Again, Tweaked/moved/added wpts at several areas throughout the map. Mostly for better navigation or sticking/stuck bots, vents & doors, etc.

* Most testing done with 3 or 4 bots to force problems at choke points (vents, doors ladders). Waypoints added at these problem areas has corrected/improved these issues. Most of these problems didn't happen much with only 2 bots... I still recommend no more than 3 bots, because of the tight narrow areas. 4 bots will work, but expect some collisions and temporary jams at the choke point areas.

* The Big Fan & vent area has had changes that greatly improves bots navigating that area. I could not improve where bots duck under the fan, but they are much better at using the wall ladder and jumping from the top of the fan (they now jump from the center axis of the fan with almost 100% success). Bots will fall if the fan stops in a couple positions, but they will get through the area once they decide to use the ladder. Bots no longer stall at the next vent grate with head-crabs... They are better moving into the vent and usually don't stop inside it now.

* Added waypoints in the test labs area to help with multiple bots entering & leaving that room.

* Some tweaking in the final area too...

* Script: just helps bots press the fan button better, nothing more... The script is optional...

1 or 2 issues remain, not sure if I can do much fix them, so this may be final? Bots kinda stall at the point where they duck under the fan blade. This is more apparent with 4 bots, bots bunch up there. I don't think it was an issue with 2 bots? It could be due to bot collisions or they hear something. It might be the wait wpt there? It could be they bunch there because they get through the previous vent quicker now? So I might look at this issue again, but to many other improvements to hold up releasing this now...

There are more details in the readme...

Btw, I saw bots get through the spinning Big Fan about 3 times and make the jump laugh.gif. One time it was on there for like 10 seconds, tongue.gif ... It's more likely to happen without using the script, but it happened once with the script...

[Edit] I'll be doing a hotfix for this waypoint. In my play test last night I noticed a bot stopped at the door just past the big fan, and this morning it was 2 bots. I had moved that door wpt shortly before release, thought it was better for this problem, but it may be worst than the original position... So, should be a fixed soon, I hope... I'm also checking if removing the wait just before the fan will fix bots stopping there or not?

See next post for Release 4 ...
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
madmax2
post May 23 2021, 07:14 AM
Post #123


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



-----------------------------------
Release 4 - yabma.rcwa + script
-----------------------------------


Ok, a bit more done than a hotfix for that door... Note: some of this won't happen with 2 bots... So, this probably will be final, but I'm still testing that fan door...

I did a ton of bot teleporting, with up to 4 bots, to areas where bots could get jammed/stuck. More details in the readme...

Rcwa changes:

* fixed floor vent/ladder for stuck bot problem. yes, it really is fixed this time. I teleported bots right onto the ladder

* a couple door fixes & wpts added, added a wpt for a bot stuck in corner next to the table with the radio/shotgun ammo

* I did some rework of the 1st ladder, and removed the down path on that ladder. reconfigured the wpts so bots don't jump straight to the ladder from the pipe so much. there was an occasional bot jam on this ladder with 3 or more bots.

* did a tweak in the 1st vent, since I saw one bad jam with 4 bots (wait_noplayer givetype added at small fan). Nothing cleared the jam, so its a matter of just trying to prevent it... probably will never happen with 2 bots...

* changed the wait/staynear wpt before the Big Fan, to a wait_noplayer/staynear wpt. bots still stall/stop here, but perhaps not as long as before?

* At the Big Fan door, changed the door config to 2 paths. The primary path is a oneway path through the wall to the wpt inside the door, which causes bots to slide along the wall to trigger the door. By itself, this was working good in testing, but then I saw a couple bots stopped in front of the door. So i added another wpt just before the door with a oneway path going in. Then I saw bots stopping inside the door, that is when I made this new path bidirectional. I'm still testing this, but so far it seems ok...

Script: no change

See next post for a patch/hotfix to this rcwa... Sorry, I keep finding things... ohmy.gif
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
madmax2
post May 24 2021, 08:25 AM
Post #124


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



-------------------------------------------------------------
Yabma Release 4b - rcwa + script (with vent fan fix)
-------------------------------------------------------------


So I played through yabma a couple times today with 3 bots and it all seemed good, except on one game I got trapped at the bottom of that first vent (on fan), because a bot landed on top of me when I was crouched. There seems to be a map bug there? This is why bots have stacked up in that vent & it happens with the fan on or off. I think with players you could tell the guy on top to jump and you could get going again, but no such luck with bots. This is showing up now because bots can get into that vent much better than the first couple waypoints I released.

I did a few tweaks in the vent that I think will reduce the chances of bots stacking up (trapping the bottom bot). Bots should do a better job waiting inside and outside the vent, and hopefully will not enter the vent at the same time. They should wait just before dropping down to the fan if a bot is at the fan. They can back out of the vent now, I had them forced to drop to the fan. They will also drop to the fan standing erect rather than crouched.

I think it is more likely now, that a player will cause a bot jam here than just the bots jamming by themselves; By blocking the exit from the fan for to long, Or by dropping down on top of bots before they leave the fan. The changes may cause bots to pause just inside & outside the vent entrance, but it looks ok and seems to be spacing the bots out better. You might not even notice a difference with 2 bots...

There is more detail in the readme how to safely get through this vent without getting trapped. Basically, let bots clear the fan before dropping down yourself. Turn the fan off before going in, and if a bot is right behind you, drop down to the fan in the standing position, and face the exit before crouching. You will be able to exit if a bot drops on top of you while standing...

If a bot or a player gets trapped in the crouch position on that fan, there is no way to get free, they must be kicked or suicide.

Hopefully, this is the last patch, the 5th time... blink.gif

[EDIT] I think I'll be doing another patch to this rcwa... At minimum, I'm going to have the bots turn the vent fan off. This is mainly for players that might not turn it off, if they get in there first. So a following bot will turn it off, and it will be easier for the player to get off the fan.


Attached File(s)
Attached File  yabma_rcwa4b_script.zip ( 12.69k ) Number of downloads: 1374
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
madmax2
post Jun 17 2021, 07:27 AM
Post #125


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



-------------------------------------------------------------
Yabma Release 5 - rcwa + script (with vent fan fix2)
-------------------------------------------------------------


Updated smile.gif

This should be the final update for yabma rcwa & script. I'm only testing at 1st vent and some possible changes in the secure access room there. So if those changes don't test out better than this, then this is final. I should know in a few days (I'll post results or update then). I'm done testing on any other part of the map... Many tweaks & fixes added. 4 bots will work, but I recommend 2 or 3 bots for better waypoint function and fun... Here are the main changes & fixes...


RCWA Changes:

* Bots will now turn off the vent fan. This is mainly to prevent a permanant blockage on the small fan, for players that don't turn it off. I have not had any permanent blockage in this vent since the last release. I did just make 2 path changes at the vent entrance because bots were bunching up more after adding the fan button back in; Even though the first bot almost always turns the fan off. The old pathing was causing some temporary blocks that would be annoying. So I'm testing it to be sure there are no permanent blocks at the fan...

* Improved the next security room (with power box and secure access door button). Multiple Bots won't stall in there as long, and should move out quicker with the script. Both the power box & the secure access door is now scripted. In the event a bot manages to get past the big fan without turning it off, I put a bidirectional path at the secure access door so the bot will keep moving and open the secure access door, and loop back though the vent. This is to prevent bots from freezing up if they don't see & break the powerbox (scripted). I'm still testing some changes in this area, but this may be the best I can do...

* beyond this point there are a few door improvements. I found on some of the automatic doors, bots go though them better with a longer path through the door, so they do a button press long before they get to the non-button doors. I moved wpts at a couple doors and where bots drop through the floor.

* Added a couple more waypoint fixes in the elevator shaft, where I saw 2 bots stick at 2 un-used ladders, and they sometimes stop at the top of the long ladder when they first see an enemy at the desk.

* fixed most of the door button spamming at the Black Mesa reception desk, where you get the M16 & ARnades. Bot movement is more fluid there and they usually go right in to the security room, unless colliding with other bots.

* A few more door and vent fixes/tweaks, and at the blowable steam pipes. Slightly improved bot movement in the final area and fixed the RPG pickup there (bots were staying at the RPG for to long, due to a forced oneway path there)...

Default Script (yabma.ini):

Now fully scripted through the vent/fans area, steam valve, and up to Security Overide button. I mainly wanted to stop the bots from looping through the floor/hole area, but it doesn't help much. Bots go back there for weapons & ammo...

yabma_ALT.ini: older alternate script you can try for comparison, it will work with this rcwa even though it generates a script error. This was going to be the script, until I added the access door button to the new script.

Note: I haven't tested without a script, but the rcwa should work ok. Bots may not press the big fan button as well.

One issue I tried to correct/fix but didn't, is bots spam pressing the automatic door at the room with the battery (Dr. Newell's office). The only way to fix it would be to remove the armor wpt on the battery, then they won't get the battery.

See the readme for additional details...

In the default script, you can change how/when the bots open the Secure Access door by moving the hash# mark.

CODE
# 72, 57, 453, null, null, null  #Secure Access door optional
72, 73, 453, null, null, null    #open Secure Access door then break powerbox

WID#72 = powerbox wpt
WID#73 = Access Door Button


Bots don't always see either at times, but the script as is, makes them usually open the access door first. If they don't see the powerbox they might circle through the vent again. Often 1 bot will do that, but usually not 2 bots. I only ran them through there about 10 times last night and it seemed good, I think they did the door first every time. The other option had way more testing and worked ok too. With that option bots may break the powerbox before opening the door, or open the door first. If they break the powerbox first, they might not open the access door right away. But more often, I think they will open the door first, but its a little bit random, like the yabma_ALT.ini is random too. I think it is ok this way, it's not really part of the main path, and the door is opened first, the majority of the time. I'm not sure which option has more circling through the vent?

[Edit 6-18-21] added 2 paths for vent & secure access room ... still testing this area...


Attached File(s)
Attached File  yabma_rcwa5b_script.zip ( 15.57k ) Number of downloads: 1993
User is offlineProfile CardPM
Go to the top of the page
+Quote Post
madmax2
post Jun 22 2021, 05:18 AM
Post #126


RCBot Guru
*****

Group: Waypointers
Posts: 957
Joined: 2-March 12
From: USA, WA state
Member No.: 2,162



----------------------------------------
Yabma Release 5c - rcwa + script
----------------------------------------

Should be final Yabma rcwa release... rolleyes.gif

RCWA Changes:

* Improved the Secure Access Room, bots will open secure access door, break the powerbox, and move on much quicker with less stopping (i.e. no piling up in this room), and less circling back through the vent. Moved the important flag for the powerbox from the door wpt to a wpt on the power box, and changed the script for this.

* Also fixed the next door just past lasers (less bunching at the door, bots go right through it most of the time, now).

Script (yabma.ini):

Changed for the powerbox wpt. The default is set for bots to open the Secure Access Door first then break the powerbox, on occasion it will happen the other way, but they should do both goals before moving on. The other option in the script # 409, makes the door & powerbox equal priority, so it can be a little random, though bots seem to be doing both much better now.

CODE
# Powerbox - Secure Access door optional - WID409 is on the powerbox
# 409, 57, 453, null, null, null
# Powerbox - open Secure Access door then break powerbox - default
409, 73, 453, null, null, null


yabma_keycard.ini: optional script - see the readme


Attached File(s)
Attached File  yabma_rcwa5c_script.zip ( 16.62k ) Number of downloads: 1971
User is offlineProfile CardPM
Go to the top of the page
+Quote Post

7 Pages V « < 5 6 7
Reply to this topicStart new topic
8 User(s) are reading this topic (8 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 9th November 2024 - 10:10 AM