AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine (https://forums.alliedmods.net/showthread.php?t=343064)

1xAero 06-15-2023 00:05

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
Quote:

Originally Posted by wirehead1 (Post 2806013)
Cool... How would you train it to bunnyhop?

Probably same way as double duck, repeatable action with modified velocity (hack?)
And with angles set to forward view.

Syfon 06-15-2023 02:29

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
Does the bot see through the smoke?

1xAero 06-15-2023 04:37

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
Quote:

Originally Posted by Syfon (Post 2806028)
Does the bot see through the smoke?

Yes . Normally there is some checks need to be done inside trace between attacker and victim.

Code:

//Simply trace to target. NOTE: this is just trace example, to check for doors, boxes need to be done more.
stock bool: Function_MonsterDetection(Float: iOrigin[3], Float: fOrigin[3], bool: IGNORE_PLAYER = true)
{
        new TRACE = NULL;
       
        engfunc(EngFunc_TraceLine, iOrigin, fOrigin, (IGNORE_PLAYER ? IGNORE_MONSTERS : DONT_IGNORE_MONSTERS), NULL, TRACE);
   
        new Float: flFraction;
        get_tr2(TRACE, TR_flFraction, flFraction);
   
        /*Should add here view in cone, if you want to make pBot only target
        player on his view angles.*/
        if(flFraction == 1.0)
                return true;
               
        return false;
}


cyxnzb 06-28-2023 00:56

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
That's so cool.Sounds like i can use it in my zp mode.

Sunny C. 06-30-2023 07:57

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
Can you also add the bots specifically? add_ct / add_t and set the strength?
I am interested in this, but for normal play on the standard maps?what would be the settings for this?

SoulWeaver16 07-10-2023 10:47

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
2 Attachment(s)
I have Zombie Mod, but I don't quite understand how to configure it, the apbs shoot each other and when they are Zombies, they stay still in their place
Attachment 201123Attachment 201124

1xAero 07-10-2023 11:25

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
Quote:

Originally Posted by SoulWeaver16 (Post 2806999)
the apbs shoot each other and when they are Zombies

#define PB_TEAMGAME - should be defined
Quote:

Originally Posted by SoulWeaver16 (Post 2806999)
they stay still in their place

Move it, if it's the Zombie to the target enemy (Human) origin and let it attack only in close distance (calculate close distance).

mlibre 07-10-2023 13:32

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
It would remain pending to add tasks for the maps de_ in planting and deactivating c4

1xAero 07-18-2023 12:05

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
Updated, Half-Life and Adrenaline Gamer QoL :stupid:


SoulWeaver16 07-18-2023 12:24

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
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


All times are GMT -4. The time now is 06:54.

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