Raised This Month: $ Target: $400
 0% 

AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine


Post New Thread Reply   
 
Thread Tools Display Modes
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 06-13-2023 , 07:29   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #11

Attach the sma to the thread please
__________________
Jhob94 is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 06-13-2023 , 07:35   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #12

Quote:
Originally Posted by Jhob94 View Post
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

1xAero is offline
Jhob94
AMX Mod X Donor
Join Date: Jul 2012
Location: Siiiiiiiiuu
Old 06-13-2023 , 10:08   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #13

Quote:
Originally Posted by 1xAero View Post
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

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
__________________

Last edited by Jhob94; 06-13-2023 at 10:10.
Jhob94 is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 06-13-2023 , 10:11   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #14

Quote:
Originally Posted by Jhob94 View Post
Mate its 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.
Attached Files
File Type: sma Get Plugin or Get Source (aerobot.sma - 48 views - 10.6 KB)
File Type: sma Get Plugin or Get Source (0x0001_settings.sma - 50 views - 7.9 KB)
File Type: sma Get Plugin or Get Source (0x0002_touch.sma - 40 views - 1.6 KB)
File Type: sma Get Plugin or Get Source (0x0003_ragebot.sma - 26 views - 3.1 KB)
File Type: sma Get Plugin or Get Source (0x0004_movement.sma - 32 views - 3.9 KB)
File Type: sma Get Plugin or Get Source (0x0005_functions.sma - 38 views - 19.6 KB)
File Type: sma Get Plugin or Get Source (0x0006_equipment.sma - 47 views - 3.1 KB)
1xAero is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 06-13-2023 , 10:12   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #15

Quote:
Originally Posted by Jhob94 View Post
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

Last edited by 1xAero; 06-13-2023 at 10:13.
1xAero is offline
MayroN
Senior Member
Join Date: Aug 2017
Location: Kyiv
Old 06-13-2023 , 12:45   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #16

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
__________________
МультиМод CS 83.222.97.124:27015

MayroN is offline
Send a message via ICQ to MayroN Send a message via Skype™ to MayroN
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 06-13-2023 , 12:52   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #17

Quote:
Originally Posted by MayroN View Post
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 is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 06-13-2023 , 12:55   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #18

Quote:
Originally Posted by MayroN View Post
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

Last edited by 1xAero; 06-13-2023 at 12:55.
1xAero is offline
1xAero
Member
Join Date: Feb 2018
Location: Sakha, Russia
Old 06-13-2023 , 13:03   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #19

Also for movement

0x0005_functions.sma - line 48, function -

Function_SetMovement(pBot)

You can set here you own movement button for Bots.
1xAero is offline
wirehead1
Junior Member
Join Date: May 2021
Old 06-14-2023 , 16:47   Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
Reply With Quote #20

Cool... How would you train it to bunnyhop?
wirehead1 is offline
Reply


Thread Tools
Display Modes

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 01:26.


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