Raised This Month: $51 Target: $400
 12% 

AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine


Post New Thread Reply   
 
Thread Tools Display Modes
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 07-18-2023 , 12:32   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #31

Quote:
Originally Posted by SoulWeaver16 View Post
Is it possible to implement some difficulty system in the future? Like reaction time, strategies and easier to manipulate, in CS 1.6 it's a bit disconcerting that they have 100% accuracy on the head which makes it hard to play
Yes.
Reaction here: 0x0005_functions.sma > stock Function_PlayerWeaponAction(pBot)

here you can set pause before/between attacks: c_fakeplayer_attack_time - increasing this value will make them aim with low reaction and pause between shots.

Aimbot by itself - 0x0003_ragebot.sma line 78 > ResultOrigin[1] and [2], you can randomize angle more

P.S. I'm not experienced in legitbot, mostly i coded before only ragehacks, i need to learn more currently
1xAero is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 07-19-2023 , 07:09   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #32

- * template update (July 19 2023) Half-Life/Adrenaline Gamer:
- Multiple weapon support: gauss, 9mmAR, 9mmAR Grenades, handgrenades, LOTS of snarks, hornet and gluon for bots.
- Fixed bot trying to attack spectator or dead body: Adrenaline Gamer and other.
- Fixed bot is not attacking and not switching to his primary weapon.

1xAero is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Old 07-19-2023 , 10:35   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #33

Looks fun!
__________________
Jhob94 is offline
mlibre
Veteran Member
Join Date: Nov 2015
Location: return PLUGIN_CONTINUE
Old 07-19-2023 , 11:53   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #34

Quote:
Originally Posted by SoulWeaver16 View Post
Is it possible to implement some difficulty system in the future? Like reaction time, strategies and easier to manipulate, in CS 1.6 it's a bit disconcerting that they have 100% accuracy on the head which makes it hard to play
it was something I dealt with with my fake players. this method applies

PHP Code:
public fHam_TraceAttack_Pre(victimidFloat:dmgFloat:direction[3], traceresultdmgbits)
{
    if(
isFakePlayer[id])
    {
        
/*
        #define HIT_GENERIC     0    //none    (map)
        #define HIT_HEAD        1    //cabeza
        #define HIT_CHEST       2    //pecho
        #define HIT_STOMACH     3    //estomago
        #define HIT_LEFTARM     4    //brazo izquierdo
        #define HIT_RIGHTARM    5    //"" derecho
        #define HIT_LEFTLEG     6    //pierna izquierda
        #define HIT_RIGHTLEG    7    //"" derecha
        #define HIT_SHIELD      8    // CS only
        #define MAX_BODYHITS    8    //GOLPES AL CUERPO
        */
        
        //https://forums.alliedmods.net/showthread.php?t=201163
        
        //get shoot
        
switch(get_tr2(traceresultTR_iHitgroup)) 
        {
            
//redirect!
            
case 1
            {
                if(
random_num(1,10) == 5)
                    return 
HAM_IGNORED
                
                set_tr2
(traceresultTR_iHitgroup0)
                
                
//https://forums.alliedmods.net/showpost.php?p=1074991&postcount=7
                
                
return HAM_SUPERCEDE
            
}
            case 
2,3
            {
                
set_tr2(traceresultTR_iHitgroup0)
                
                return 
HAM_SUPERCEDE
            
}
        }
    }
    
    return 
HAM_IGNORED

__________________
mlibre is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 07-20-2023 , 11:26   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #35

- * template update: (July 20 2023) Half-Life/Adrenaline Gamer:
- Fixed bot spawning without weapon in Adrenaline Gamer FFAX mode: hornetgun replaced with weapon_9mmAR.
- Removed weapons from bots: weapon_egon, weapon_handgrenade, weapon_rpg, rifle grenades.
- Reason: bunch of bots or players with it causing huge lags on clientside (lots of TE_ effects flooding on netchan).
- Maxbots amount now equal to server maxplayers cvar - 1.
- Applied bottomcolor for bot skin.

P.S. I removed explosive and egon weapon from bot usage because this guns are creating lots of TE_ effects and if all bots will start to throw grenades and loop attack with egon - client just will die quickly, because of too many explosions and egon beams non stop.
The only way to fix that - increase amount of upcoming packets from server, but it's another story.

Last edited by 1xAero; 07-20-2023 at 11:31.
1xAero is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 11-18-2023 , 03:07   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #36

Updated to Half-Life 25th Anniversary Update.
Fixed Host_Error: PF_MessageEnd_I.

1xAero is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 11-18-2023 , 06:50   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #37

Added support for HL team deathmatch (team gameplay)
You can download full package from youtube link, if you can't install or want to play right now. hl.dll is used from bugfixed repository, waiting for amxmodx dev team updates.

Last edited by 1xAero; 11-18-2023 at 07:15.
1xAero is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 11-20-2023 , 11:25   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #38

Added Kaboom mode for updated Half-Life. Fixed amxmodx missing signatures.
Usage: apb_hl_rocket 1 - console command

1xAero is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 11-29-2023 , 11:50   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #39

* beta build: 0.1 (Nov 30 2023)
- Half-Life:
Added spawn protection and player spawn from telefrag kill. Fixed client crash on death.
Fixed client crashes with large amount of bots. Max amounts of gibs to draw at once is limited to 30.
New weapons added: tripmine, satchel, handgrenades, crossbow, shotgun, gluon gun, ar grenades, all weapon with alternate fire.
- Engine bugfix ED_Alloc: no free edicts. By default, after a players death, a weaponbox appears and exists for 2 minutes, with large
amount of players the entity limit easily goes above 2k in a short time. By removing it from the game, we are
saving entity limits/server from crash. Added bot autofill option.
New items, available to player: randomly choosen gluon gun/gauss, ar grenades.

1xAero is offline
amirwolf
Senior Member
Join Date: Feb 2019
Location: Iran
Old 11-29-2023 , 14:43   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #40

Is it possible to define walking patterns and map positions for robots?
How to reduce the number of bots?
__________________
amirwolf is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 05:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode