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)

Jhob94 06-13-2023 06:29

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
Attach the sma to the thread please

1xAero 06-13-2023 06:35

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

Originally Posted by Jhob94 (Post 2805938)
Attach the sma to the thread please

I'm using separated source structure to make it more comfortable to read and edit, not everything messed in one source file or different sources with natives, that's why i uploaded .zip

https://i.imgur.com/fMuUAKt.jpg

Jhob94 06-13-2023 09:08

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

Originally Posted by 1xAero (Post 2805939)
I'm using separated source structure to make it more comfortable to read and edit, not everything messed in one source file or different sources with natives, that's why i uploaded .zip

https://i.imgur.com/fMuUAKt.jpg

Mate it’s ok to use zip for user installation but some people (like me right now) may want to read your sma file on mobile phone.

Edit: Btw you don’t need to define FALSE and TRUE on plugin_init, just use False and True

1xAero 06-13-2023 09:11

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
7 Attachment(s)
Quote:

Originally Posted by Jhob94 (Post 2805945)
Mate it’s ok to use zip for user installation but some people (like me right now) may want to read your sma file on mobile phone.

Allright. Here it is.

1xAero 06-13-2023 09:12

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

Originally Posted by Jhob94 (Post 2805945)
Edit: Btw you don’t need to define FALSE and TRUE on plugin_init, just use False and True

I know, i just like to do that for myself, because of big letters for reminding :shock:

MayroN 06-13-2023 11:45

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
For example, I have Zbot bots

I kick them and set up a team to add your Bots)

They come in and at the ping I see the BOT value

As if Zbot was added, because they also have a ping BOT

Is that how it should be?

But in terms of behavior, they are naturally different.

But they jump notably and often, as if baseballs ... We need to somehow reduce this

1xAero 06-13-2023 11:52

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

Originally Posted by MayroN (Post 2805950)
As if Zbot was added, because they also have a ping BOT

You can hide BOT ping.

aerobot.sma - find engfunc(EngFunc_SetClientKeyValue, pBot, infokeybuffer, "*bot", "1");
set it to 0.

1xAero 06-13-2023 11:55

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

Originally Posted by MayroN (Post 2805950)
But they jump notably and often, as if baseballs ... We need to somehow reduce this

Yes you can.
0x0004_movement.sma - line 37,
Function_RunPlayerMove(pBot, IN_DUCK | IN_JUMP, Function_ReturnWeaponRifle(pBot), NULL, f_msecval);

change it just to -

Function_RunPlayerMove(pBot, IN_FORWARD, Function_ReturnWeaponRifle(pBot), NULL, f_msecval);

I recommend you play Half-Life with this Bots bro )
just fill server and enjoy the meat hehe

1xAero 06-13-2023 12:03

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

0x0005_functions.sma - line 48, function -

Function_SetMovement(pBot)

You can set here you own movement button for Bots.

wirehead1 06-14-2023 15:47

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
Cool... How would you train it to bunnyhop?


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

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