Marine Bot 0.97.3b[GW] change log FIXED bot trying to return back to a place where he boarded the transport once he deboards it (now he'll simply reset the navigation when he's in transport to start afresh upon leaving it) Bot medics can now heal teammates (both on a radio call as well as when a wounded teammate gets close) Bot engineers can plant a mine and set a C4 explosives (this is based on the claymore waypoint setup where priority 1 a.k.a. a goal placed claymore waypoint will make the bot set the C4 charge and all other priorities mean the bot will plant a mine) Updated the reaction to "follow me" command (now the Fireteam is up to 4 members same as in other modern MB versions) Added reaction to radio command "hey" (wounded teammate will pause for a while to wait for a medic to come) Added reaction to radio command "hold this position" (if the bot isn't in any Fireteam he'll wait at his current position for a while, if the bot is in your Fireteam then he'll do the same and he'll also stop following you) Added reaction to radio command "medic" (nearby medic will come to provide a medical treatment) Added reaction to radio command "move out" (a bot doing waiting duties will break it and start moving again, also a bot medic will break the medical treatment and will go away) Bot can spot buried mines and attempt to evade or shoot them (currently he'll either simply jump over them or shoot them if jumping isn't possible or would fail due to current stance - e.g. lying prone) Bot can spot grenades thrown by opposing team and warn about them FIXED the fancy HUD text (GW uses own way of formatting the text that corrupted MB messages style, now there's a simple tool to insert non-breaking spaces to all the HUD text MB sends to maintain the messages the way we are used to) Bot can manage weapon fire modes (he'll use single shots on distance and burst/auto in close quarters) Updated the teams balancing a bit (now there's a short pause between each task because the original code moved the bots between the teams almost instantly which could potentially crash the game, also fixed and changed the console output on listen server i.e. in your local game) Bot can get on the ladder and start climbing it normally (the ladders in GW are strange and if you try to start climbing up then you'll get stuck most of the time but climbing down is usually fine, now the bot simply jumps onto the ladder when he needs to climb up or if that fails or if the bot follows a Fireteam leader to a ladder or if the bot sticks to a ladder unplanned then he'll perform this stunt with a brief holding of a crouch key to start climbing up) Bot can now understand the Capture Point mechanics and detect the moment when he gets into active capture area (as in the other mods MB now fully supports a 'pushpoint' waypoint placed in a capture area which will tag the paths with a goal tag that is based on which team owns that Capture Point, however the bots will only react to goal tagged paths that lead to currently active Capture Point and will ignore those that lead to points that cannot be captured at the moment, next the bot will also try to secure active capture area any time he gets to it following even common path not just the goal tagged one) Added client command 'check_capture_points' (the aliases are 'checkcapturepoints' and 'checkcappoints' and same as in MB for DoD 1.3 this command allows you to check the data MB gathers about the Capture Points including currently active point for each team, this means the data that improve the behaviour of the bots on maps that utilize the Capture Points as the map objectives, on maps with other map objectives this command will print only default values that MB uses to initialize these records because there are no real data to gather of course) Bot radio specialist can now call in an airstrike ('pushpoint' waypoint placed in an airstrike trigger area will make the bot drop the GPS device in order to call in the airstrike on that area, such waypoint will also make the system add the goal path tag that matches the team that is allowed to call in the airstrike, next a combination of waypoints tags 'shoot' and 'pushpoint' will make a bot playing the radio specialist class use the laser target painting device to fulfill the mission goal by calling the airstrike on the target, a priority 1 'aim' waypoint has been updated for this particular case to reach a target that is up to 900 units far, the 'checkshoot' command was updated same way, also the bot will use a radio message to announce that he started painting the target and can use a text message to warn teammates if they are blocking his line of sight and so prevent the airstrike countdown from counting) FIXED max ammo value for Walther P99 in GW (GW weapon list message gets sent with incorrect max ammo value of only 21 rounds while the real value in game is 48, this mismatch can cause bugs in bots behaviour like getting stuck at ammobox - bot does strange dance around that waypoint - and navigation reset follows, now there's a patch that corrects this value when the bot receives this engine message) Bot can spot placed GPS transmitters and attempt to shoot them to cancel the airstrike that is inbound (same as spotting the mines this is a skill based action so the worse bots will fail more often) Bot can spot the scorpion and attempt to evade or shoot it (evasion means jumping over it, again a skill based action where the worse the bot is the more often will he act as that he didn't see the scorpion and will get hurt on it then) FIXED bot running into walls after round restart until he resets the navigation (on round restart the engine doesn't seem to update certain variables for the clients which means the bot cannot detect this event based on those variables in order to go through correct respawn and reset own variables, therefore the 1st respawn after the round restart the bots behaved strange until the other internal mechanics kicked in and corrected it, now the code was changed to check for one of the internal variables MB maintains instead of relying on the game engine variables) Bot behind the onboard gun in a transport will aim correctly now (a gunner in the APC will always aim forward in a direction of the movement and a gunner in the helicopter will aim to the side - outside of course) Bot can detect that he's carrying a capturable item (the bot will set appropriate behaviour which also includes looking for the carry item tagged paths to deliver the item to a designated area) Bot can spot dropped goal items and take them (if a teammate drops the documents as a result of being killed and the documents aren't exactly on route but still within the seek for objects radius the bot is able to pause waypoint based navigation in order to get to the documents and take them, he will then resume standard navigation again and continue on his way) Added a system of custom classes (by default this is disabled, you must first enable it in the configuration file and then at the end of that file is a section that allows you to set your own weapon loadouts for the bots to use, the classes that are listed there do match those that are hard-coded to Marine Bot and serve as an example for you to get the idea how does it work) Improved unstuck behaviour (bot can now correctly detect manholes that are positioned just a few units above the ground and enter them same as standard manholes that are aligned with the ground, next the bot is able to correctly detect that he has to first stand up to perform successful duck jump over or on a high obstacle - previously he tried to do it from crouched stance if he was crouched at that moment and kept failing because of that) Bot is able to manage ammo reserves and keep the weapon fully loaded (as the bot moves around on the map he does check and reload current weapon to have it fully loaded for next combat and sets the need to visit ammobox when ammo reserves start to run low, this is part of modern MB code and it's been just tweaked for GW weaponry) Bot can get rid of the launchers (rocket launchers Stinger and LAW are pretty useless as you cannot carry them normally so if the bot happen to pickup one of these then he'll immediately drop it again) Added reaction to radio command "i need ammo" (radio specialist bot will attempt to call in resupply, if the team score isn't high enough - 20 per one resupply box - the bot will reply "negative" otherwise he'll use the command and confirm it by a radio message "resupply is inbound") FIXED bot can get stuck in ground after going prone on sloped terrain (this is a bug in GW where you can go prone normally but as you try to stand up you'll fall partly through the ground and get stuck there, however there's a trick where you crouch and go prone at the same time - you hold crouch key as you activate the prone - which won't get you stuck then, big thank you to Vas for finding this solution, now the bot will always use this "crouch and prone" combo whenever going prone or standing up from prone) FIXED "SV_StartSound: weapons/dryfire1.wav not precached (0)" bug in GW (MB does precache this sound instead of GW so you won't get this error to console when you use the medkits anymore) Reworked the system of The Triggers to work in GW (same as in the MB for DoD1.3 there's a client command "wpt triggerevent checkcapturemessage" - short alias 'checkcapmsg' - which allows you to view the text string MB generates based on the data gathered from the Capture Point list update message GW sends when someone from the team is capturing the only active point at that moment, however unlike the MB for DoD here you can use this check command also for the messages related to capturable items where the output to the console will look like this "Bot received: " followed by the text of the message, generally this command allows you to see which of the text messages do the bots receive and which not because GW strangely doesn't send all the text messages to the bots - e.g. the text message when the Capture Point gets captured isn't send to bots at all - anyways this command will work even when the bot is in the other team so you can always use this command to design the unique parts of these text strings to create the Trigger messages, mind the case sensitivity and spaces, and best results you'll get when there is only one bot in the game, the rest of the system of The Triggers is the same to how it is described in the HTML Waypointing Guide) Reworked the system of Alternative Start Positions for GW (modern MB allows you to modify player start points on the maps using a specific configuration file in 'mapcfgs' folder, this is now available in GW too, including special points for the Generals that are available on some maps) Added client command 'generate_start_positions_file' (the aliases are 'generatestartpositionsfile' and 'buildspawnsfile' and similar as it is in MB for DoD 1.3 and creating a file for the Capture Areas this command allows you to let the system build the file with the spawn positions on a map restart, all you need to do is use this command and restart the map, the file will be generated and this feature automatically turned off, now there is also a clear protection system which means that if the file with the start positions already exists for that map then if you use this command you'll immediately get an error message telling you so, and of course the feature won't be activated and nothing will happen on map restart) Added 'miniturrets_are_destructible' as a Dedicated and Listen Server commands (by default it's turned off, allows you to change the mini turrets that protect the Landing Zones to take damage as by default GW doesn't allow their destruction, this is a static switch - a persistent setting that stays set the way you choose for the whole time the server is running or until you change it again, it doesn't get reset on map change, seeing this is a Dedicated Server setting you can also add it to MB configuration file to the Binding/commands section to make it turn on automatically as the game starts) Added 'miniturrets_are_removed' as a Dedicated and Listen Server commands (by default it's turned off, allows you to completely remove the mini turrets from the LZs, same as above this is also a static switch or a persistent setting if you will and it can also be added to MB configuration files) FIXED game crashing to desktop with error "ED_Alloc: no free edicts" on map d_citadel (it seems that this large map is using too many game entities and combined with how GW temporarily creates additional entities on each player spawn this caused HL engine to get over its limits and the game crashed, now MB on this map will extend the pause time before adding another bot to give GW enough time to destroy the temporary entities, however on Dedicated Server this can still happen due to how do the human players rejoin the game)