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 12-27-2023 01:18

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

beta build0.8b (Dec 27 2023Half-Life 25th Anniversary Update:
Quality of Life for monster spawner scriptFixed 3rd person camera crash on death/respawn


1xAero 12-27-2023 08:05

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

- * beta build0.9c (Dec 27 2023Half-Life 25th Anniversary Update:
Quality of Life for monster spawner scriptfixed crashes on mapswhere weapon_9mmAR is spawning by default (like crossfire


spincs 02-15-2024 20:15

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
Hello, how can i set the bots to change their names when map is changing?

1xAero 02-16-2024 04:54

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

Originally Posted by spincs (Post 2818094)
Hello, how can i set the bots to change their names when map is changing?

Open aerobot/0x0001_settings.sma and find line 258

PHP Code:

//Bot names
new const c_name 

Change their names here.

If you want to disable prefixes, find line 26

PHP Code:

#define PB_PREFIX 

and change to

PHP Code:

//#define PB_PREFIX 


spincs 02-16-2024 15:04

Re: AEROBOT.XYZ - Artificial Intelligence template for GoldSource engine
 
Thank you bro, sorry for my explanation but the thing i want is that my 3 bots from the server, to change their names after each map. Now the bots names remain the same after map changed.

mlibre 02-16-2024 17:44

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

Originally Posted by spincs (Post 2818139)
Thank you bro, sorry for my explanation but the thing i want is that my 3 bots from the server, to change their names after each map. Now the bots names remain the same after map changed.

look > aerobot.sma line: 310 and try change:

Code:
        formatex(pBotNames, charsmax(pBotNames), c_name[(sizeof c_name - c_player_count) - 1]);                 formatex(pBotNames, charsmax(pBotNames), c_name[random(sizeof c_name)]);

spincs 02-16-2024 20:37

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

Originally Posted by mlibre (Post 2818147)
look > aerobot.sma line: 310 and try change:

Code:
        formatex(pBotNames, charsmax(pBotNames), c_name[(sizeof c_name - c_player_count) - 1]);                 formatex(pBotNames, charsmax(pBotNames), c_name[random(sizeof c_name)]);

It works, thank you very much but i have one more question :D
Its there any way to auto kick all bots when server reach 30 players?


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

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