Re: Turn off Bots shooting back after Teamattack
That fix could not work because of the wrong comparing direction...
It should be done this way: PHP Code:
Sorry... :( |
Re: Turn off Bots shooting back after Teamattack
1 Attachment(s)
I've recompiled POD-Bot again, also just to make things easier I've included both Debug and Optimised builds in this zip for both Win32 and Linux servers. They will maybe need to be monitored for any crashes or instablity issues. But those are the Metamod plugins I'm using for my CS 1.6 server:-
] meta list Currently running plugins: [ 1] Adminmod, v2.50.61-beta5 (MM), Mar 1 2018, by Alfred Reynolds & RoboCop <robocop@lycos.co.uk>, see www.adminmod.org [ 2] LogDaemon, v1.0.0.7, 2015/11/30, by Will Day <willday@metamod.org>, Tim Thelin, <Kndroc@hotmail.com>, Pieter de Zwart, [ 3] AGuard, v1.6, Nov 30 2017, by Nikolay <SpooK> Milkov, see http://www.nmsoft.ml/ [ 4] AMX Mod X, v1.8.2, Feb 14 2013, by AMX Mod X Dev Team, see http://www.amxmodx.org [ 5] POD-Bot mm, vV3B23-APG, Jun 14 2018, by Count Floyd & Bots United, see http://www.bots-united.com |
Re: Turn off Bots shooting back after Teamattack
After rethinking the problem and the logic the conclusion is:
the first idea was correct (and the comparator direction). I have added yet some code to depand the shoot back time on the current bot's aggression level. Finaly - after limited testing time - the code should look like this: PHP Code:
I have also added a code to increase the bot aggessivity when the teamnate is shooting at it. In botclient.cpp in the function BotClient_CS_Damage PHP Code:
|
Re: Turn off Bots shooting back after Teamattack
Err are you able to point out which line number they are located, please?
|
Re: Turn off Bots shooting back after Teamattack
The file is botclient.cpp. The function is BotClient_CS_Damage. Lines 403..427.
The line 403: PHP Code:
Lines 424..427 are added lines posted in my previous post. PHP Code:
|
Re: Turn off Bots shooting back after Teamattack
1 Attachment(s)
OK thanks I've recompiled those builds and added that new script and for the '[DEBUG] FireHurtsFriend - Bot %s cannot fire because it may hurt its friend %s (1).\n' as well. Feel free to test them, also if you want to check those bots in my CS 1.6 server let me know.
|
Re: Turn off Bots shooting back after Teamattack
Hi,
great news and thank you for your effort, but the last beta version does not work, no bot will appear on the map, we needed to revert it to the last version, does someone have such problems too? |
Re: Turn off Bots shooting back after Teamattack
Oh it seems to run fine on my side, even though I'm testing those bots in Debug Mode with the POD-Bot Debug build and using GDB for CS 1.6 Linux.
Any other problems? |
Re: Turn off Bots shooting back after Teamattack
I am using normal version and windows OS, they did not appear on the map at all, so I use the last stable build with the shooting back for now :/ other people with experiences on windows build, what should be wrong?
|
Re: Turn off Bots shooting back after Teamattack
1 Attachment(s)
Weird they seem to be working on my Windows 10 PC Listenserver...Also try this zip...it contains Metamod-P37 along with the latest Windows build and Debug build of POD-Bot.
|
All times are GMT +2. The time now is 15:04. |
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.