AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Zombie Plague Mod (https://forums.alliedmods.net/forumdisplay.php?f=126)
-   -   Subplugin Submission [ZP] Addon: CZ Bot Helper [New & Improved Version] (https://forums.alliedmods.net/showthread.php?t=124835)

abdul-rehman 04-21-2010 13:59

[ZP] Addon: CZ Bot Helper [New & Improved Version]
 
2 Attachment(s)
[ZP] Addon: CZ Bot Helper



DESCRIPTION:
What this plugin basically deos is that it allows bots to use their
valuable flash light. It deos not Forces them to use it so the flash
light is not flickery but smooth as if a real player was using it.
The plugin also features an attack block for bots that means that
bots will no longer be firing at each other on round start.

CVARS:

- zp_bot_flashlight 1
-> Enable / Disable Flash light [0 - Disabled]

- zp_bot_flashlight_red 150
-> Red color content of the flashlight

- zp_bot_flashlight_green 150
-> Green color content of the flashlight

- zp_bot_flashlight_blue 150
-> Blue color content of the flashlight

- zp_bot_flashlight_radius 10
-> Radius / Size of the flashlight

- zp_bot_flashlight_max_distance 10000.0
-> Max distance after which flash light wont work

- zp_bot_flashlight_show_all 1
-> Whether or not to show the flash light to everyone

- zp_bot_block_attack 1
-> Prevents bots from shooting each other on round start

The following cvars are available for the New Modes version:

- zp_bot_flash_assassin_red 150
-> Red color content of the flashlight in Assassin round

- zp_bot_flash_assassin_green 150
-> Green color content of the flashlight in Assassin round

- zp_bot_flash_assassin_blue 150
-> Blue color content of the flashlight in Assassin round

- zp_bot_flash_assassin_radius 10
-> Radius / Size of the flashlight in Assassin round

CREDITS:
- MeRcyLeZZ ---> For the custom flash light code
- dels ---------> For the original bot helper plugin
- ConnerMcLoed -> How to get the origin where the player is aiming

CHANGE LOG:
-v1.0 ===> Initial Release

NOTE:
- This plugin has Not been tested with POD Bots so i dont know whether it will work on them.
- This plugin should not be used with Zbots running on CS 1.6 bcoz Zbots are illegal on CS 1.6 :nono:.
- This plugin is supposed to be used with original CZ Bots which are running on Condition Zero.
- If you are running the editted version of ZP with New Modes then download the Second Attachment.

georgik57 04-21-2010 14:32

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
 
lol
i didn't think the "block shooting" part was possible
but it seems almost everything is
nice job once again...

abdul-rehman 04-21-2010 14:45

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
 
Check out the code. It is possible to hook the button and then block it..!

georgik57 04-21-2010 14:48

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
 
Quote:

Originally Posted by abdul-rehman (Post 1156693)
Check out the code. It is possible to hook the button and then block it..!

i knew about that but i didn't think it will work for bots

fiendshard 04-21-2010 17:47

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
 
GJ abdul, really nice and useful plugin


Possible bug:
I'm not sure if i am the only one who experience this, but when this plugin is enabled, flare seems to cease working, and becomes flickery after some time.

sabrioz 04-22-2010 03:52

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
 
abdul can you force bot to use napalm and frost nade? because in CZ ZP mod, bot doesn't throw that grenade.

abdul-rehman 04-22-2010 05:51

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
 
Quote:

Originally Posted by sabrioz (Post 1157062)
abdul can you force bot to use napalm and frost nade? because in CZ ZP mod, bot doesn't throw that grenade.

I dont know how to force bot to take out napalm / Frost nade on a specific event

Quote:

Originally Posted by fiendshard (Post 1156818)
Possible bug:
I'm not sure if i am the only one who experience this, but when this plugin is enabled, flare seems to cease working, and becomes flickery after some time.

I checked it but there was no problem / bug regarding flare nades maybe some sub-plugin can cause that

st6315 04-22-2010 12:37

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
 
Quote:

I checked it but there was no problem / bug regarding flare nades maybe some sub-plugin can cause that
Well, after testing, I found this problem only happened when bot step into the flare lightning area. When bot leave the flare lightning area, then it's back to normal.

fiendshard 04-22-2010 18:24

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
Maybe it was because of kick the nades plugin that i'm using too, but works fine after small alterations of following values in zombieplague.cfg:

Code:

zp_flash_color_R 150 // Custom flashlight color (red)
zp_flash_color_G 150 // Custom flashlight color (green)
zp_flash_color_B 150 // Custom flashlight color (blue)

to

Code:

zp_flash_color_R 170 // Custom flashlight color (red)
zp_flash_color_G 170 // Custom flashlight color (green)
zp_flash_color_B 170 // Custom flashlight color (blue)


vipsafwan92 04-22-2010 23:45

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
nice, can you make it for PODBot with Normal Flashlight ?

abdul-rehman 04-23-2010 03:52

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
Quote:

Originally Posted by vipsafwan92 (Post 1157842)
nice, can you make it for PODBot with Normal Flashlight ?

The latest version of pod bots use flash light and also i think this may work with POD bots but i didnt test it with pod bots

Georgeus 04-23-2010 04:30

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
nice/nice
can you add auto join function,,
also bot difficalty and chattype cvars ?

abdul-rehman 04-23-2010 05:31

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
Quote:

Originally Posted by Georgeus (Post 1157920)
nice/nice
can you add auto join function,,
also bot difficalty and chattype cvars ?

I can make a plugin with which bot will chat..

Georgeus 04-23-2010 06:19

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
Quote:

Originally Posted by abdul-rehman (Post 1157952)
I can make a plugin with which bot will chat..

Well i meant plugin which would turn off bot audio chat

but if you make plugin with text chat messages like in podbot it would be great

fiendshard 04-23-2010 06:26

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
Abdul, if you can make plugin that executes commands for bots, like exec_client, it would solve problem with bots that are not throwing grenades other than flare

abdul-rehman 04-23-2010 06:57

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
But i think engient_client command dont work on bots but stiill i am gonna try it..

Georgeus 04-23-2010 07:25

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
L 04/23/2010 - 14:16:42: [AMXX] Run time error 4 (plugin "zp_server_addon_countdown.amxx") - debug not enabled!

Russiaboy 04-23-2010 07:30

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
Quote:

Originally Posted by Georgeus (Post 1158020)
L 04/23/2010 - 14:16:42: [AMXX] Run time error 4 (plugin "zp_server_addon_countdown.amxx") - debug not enabled!

thats not Abdul plugin!

Georgeus 04-23-2010 07:36

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
Quote:

Originally Posted by Russiaboy (Post 1158025)
thats not Abdul plugin!

UPSS
Quote:

L 04/23/2010 - 14:15:56: [AMXX] Invalid Plugin (plugin "zp_cz_bot_helper_new_modes.amxx")
Quote:

L 04/23/2010 - 14:28:20: [AMXX] Invalid Plugin (plugin "zp_cz_bot_helper.amxx")

fiendshard 04-23-2010 07:36

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
Quote:

Originally Posted by Georgeus (Post 1158020)
L 04/23/2010 - 14:16:42: [AMXX] Run time error 4 (plugin "zp_server_addon_countdown.amxx") - debug not enabled!

wrong thread, dude

abdul-rehman 04-23-2010 09:51

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
Quote:

Originally Posted by Georgeus (Post 1158029)
UPSS

Youre missing something my plugin has nothing to do with it.:nono:

albert123 04-25-2010 01:00

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
Can someone make PODBot Helper in ZP =)). I only joke but i hope we can try it

dels 04-25-2010 23:16

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
PODBOT helper should be ridiculous to build since the bots itself was so dumb when played with lighting below m, it's better for you to generate the nav mesh/waypoints for normal lighting map and make it read-only so it didn't re-generate the bots act for maps

also great improvement for my plugin :D

for the nade throw, i have some idea to take some idea from amxx nade throw plugin, so when human bots spotted some zombie it will try to throw it's flare/froze nade, but seems it's so hard then i gave up, but you could try it

sabrioz 04-26-2010 01:28

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
oh dels long time no see you in this forum. by the way can you tell me how to force bot to throw grenade.

jc980 04-30-2010 06:44

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
damn im using zbots on cs 1.6 dont you people have cs bots helper? or even podbot? bots are SO STUPID SHOOTING EACH OTHER WHAT A WASTE OF BULLETS.

abdul-rehman 04-30-2010 06:56

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
Quote:

Originally Posted by jc980 (Post 1165321)
damn im using zbots on cs 1.6 dont you people have cs bots helper? or even podbot? bots are SO STUPID SHOOTING EACH OTHER WHAT A WASTE OF BULLETS.


It will work on ZBots on cs 1.6 but i dont support them..!!

jc980 04-30-2010 07:21

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
 
Quote:

Originally Posted by abdul-rehman (Post 1165332)
It will work on ZBots on cs 1.6 but i dont support them..!!

YEHEY! its annoying when bots shoot each other on round start makes me lag and all Firing sounds at the same time are SO FUCKING ANNOYING!

abdul-rehman 04-30-2010 08:15

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
 
Well i am working on a plugin through which bots will throw Napalm and frost nades its almost complete...
I am gonna release it in a day or two

jc980 04-30-2010 08:30

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
 
Quote:

Originally Posted by abdul-rehman (Post 1165391)
Well i am working on a plugin through which bots will throw Napalm and frost nades its almost complete...
I am gonna release it in a day or two

i like this plugin. when u make the throwing nade and frost, dont remove original codes and plugin because others dont want bots throwing nades.

jenderalbsq 06-24-2010 14:24

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
 
I have add this plugin in condtion zero, but it wont start.. Can u tell me how to fix this?

abdul-rehman 06-24-2010 15:37

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
 
Quote:

Originally Posted by jenderalbsq (Post 1218546)
I have add this plugin in condtion zero, but it wont start.. Can u tell me how to fix this?

Did you install it correctly..?

jenderalbsq 06-27-2010 11:04

Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
 
I installed this plugin, it s nice when every bots turn the light on, but the nightvision of zombie n spectator got flicker and sometimes the light grenade doesnt turn on, it s ruin my eyes... Sory for my very bad english..


All times are GMT -4. The time now is 13:28.

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