Raised This Month: $29 Target: $400
 7% 

Subplugin Submission [ZP] Addon: CZ Bot Helper [New & Improved Version]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 04-21-2010 , 13:59   [ZP] Addon: CZ Bot Helper [New & Improved Version]
Reply With Quote #1

[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 .
- 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.
Attached Files
File Type: sma Get Plugin or Get Source (zp_cz_bot_helper.sma - 3093 views - 6.0 KB)
File Type: sma Get Plugin or Get Source (zp_cz_bot_helper_new_modes.sma - 2695 views - 7.3 KB)
__________________

My Plugins For ZP

Inactive due to College and Studies

Last edited by abdul-rehman; 04-30-2010 at 06:56.
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 04-21-2010 , 14:32   Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
Reply With Quote #2

lol
i didn't think the "block shooting" part was possible
but it seems almost everything is
nice job once again...
__________________

Last edited by georgik57; 04-21-2010 at 14:35.
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 04-21-2010 , 14:45   Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
Reply With Quote #3

Check out the code. It is possible to hook the button and then block it..!
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
georgik57
Veteran Member
Join Date: Oct 2008
Location: 🎧Music World
Old 04-21-2010 , 14:48   Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
Reply With Quote #4

Quote:
Originally Posted by abdul-rehman View Post
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
__________________
georgik57 is offline
Send a message via MSN to georgik57 Send a message via Yahoo to georgik57 Send a message via Skype™ to georgik57
fiendshard
Senior Member
Join Date: Dec 2009
Location: In Water
Old 04-21-2010 , 17:47   Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
Reply With Quote #5

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.
fiendshard is offline
Old 04-22-2010, 03:43
abdul-rehman
This message has been deleted by abdul-rehman.
sabrioz
Senior Member
Join Date: Apr 2009
Old 04-22-2010 , 03:52   Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
Reply With Quote #6

abdul can you force bot to use napalm and frost nade? because in CZ ZP mod, bot doesn't throw that grenade.
sabrioz is offline
Old 04-22-2010, 04:05
abdul-rehman
This message has been deleted by abdul-rehman. Reason: .||!!--__!!--!--||...
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 04-22-2010 , 05:51   Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
Reply With Quote #7

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

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
st6315
Member
Join Date: Apr 2010
Old 04-22-2010 , 12:37   Re: [ZP] Addon: CZ Bot Helper [New & Improved Version]
Reply With Quote #8

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.
st6315 is offline
fiendshard
Senior Member
Join Date: Dec 2009
Location: In Water
Old 04-22-2010 , 18:24   Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
Reply With Quote #9

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)
fiendshard is offline
vipsafwan92
Member
Join Date: Jan 2010
Location: Brunei
Old 04-22-2010 , 23:45   Re: [ZP] Addon: CZ Bot Helper [New & Improved Version] !! Added support for New Modes
Reply With Quote #10

nice, can you make it for PODBot with Normal Flashlight ?
vipsafwan92 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 06:16.


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