Raised This Month: $32 Target: $400
 8% 

Subplugin Submission [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 01-03-2012 , 08:56   [ZP4.3+ZP5.0] Addon: SupplyBox v1.1 (Up to Date)
Reply With Quote #1

[ZP4.3+ZP5.0] Addon: SupplyBox
Version: 1.1 | Author: Dias

1. Description:
- This plugin can make supplybox in random location, to support for human team to fight with the zombie

2. Cvars:
Code:
- zp_supplybox_max // Max SupplyBox per Round (Default: 16)
- zp_supplybox_num // If enogh supplybox. It will stop appear per time appear (Default: 2)
- zp_supplybox_totalintime // Max SupplyBox per time appear (Default: 4)
- zp_supplybox_time 30 // Time to appear from infection start
- zp_supplybox_icon 1 // Enable Spr Icon
- zp_supplybox_icon_delay_time 0.03 // Delay Time per change origin icon
- zp_supplybox_icon_size 2 // Size of Icon
- zp_supplybox_icon_light 100 // Light Of Icon
3. Configs:
- Open the sma and you will see the config from line 26 ~ 45
PHP Code:
// ======================= SUPPLYBOX CONFIG ======================== // 
#define SUPPLYBOX_CLASSNAME "supplybox" // Classname of SupplyBox
#define TASK_SUPPLYBOX 128256
#define TASK_SUPPLYBOX2 138266
#define TASK_SUPPLYBOX_HELP 129257
#define TASK_SUPPLYBOX_WAIT 130259
const MAX_SUPPLYBOX_ENT 100 // Max Supplybox Entity
new const supplybox_spawn_file[] = "%s/zp_supplybox/%s.cfg" // The location of spawn point file
new const supplybox_item_file[] = "%s/zp_supplybox.ini" // Config item of supplybox
new const supplybox_icon_spr[] = "sprites/zombie_plague/icon_supplybox.spr" // Supplybox icon spr file
new const supplybox_model[][] = {
    
"models/zombie_plague/supplybox.mdl" // Model suppplybox
}
new const 
supplybox_drop_sound[][] = {
    
"zombie_plague/supplybox_drop.wav" // Drop Sound
}
new const 
supplybox_pickup_sound[][] = {
    
"zombie_plague/supplybox_pickup.wav" // Pickup Sound
}
// ======================= END OF SUPPLYBOX CONFIG ======================== // 
3. ScreenShots + Video Test:
[IMG]http://img27.**************/img27/1454/82202560.png[/IMG]
[IMG]http://img259.**************/img259/8573/23753943.png[/IMG]
- VIDEO: http://www.youtube.com/watch?v=HVcbuj3Acng

3. Installation:
- Extract the resource.zip copy the cstrike folder paste to half life folder
- Compile the sma file and copy amxx file to plugins and add name to plugin-zplague.ini

4. Create Spawn Point:
- What is Spawn Point ? -> The location supplybox appear is spawn point
- To create spawn point you need "zp_sbsp_maker" plugin
- Open Console. and Type "zp_supplybox_sp_maker" and Enter. Then exit the console. You will see a menu.
- Press (1) to go to add menu. Go to the location you want to add that location to list of spawn point. Then Press (1), and go to next location. and press (1) to add next spawn point. If want to delete press (2). If finish. Press (0) to back to menu. and press (3) to save. Then press (6) to exit.
- If want to load old spawn point. Press (4)
*VIDEO - How to create spawn point: http://www.youtube.com/watch?v=bfqcq3AZQn4

5. Add an item to SupplyBox:
- Go to cstrike/addons/amxmodx/config/zp_supplybox.ini
- You will see:
PHP Code:
SUPPLYBOX_ITEM NightVisionNapalm NadeFrost NadeFlareM249 Para MachinegunSG550 Auto-SniperG3SG1 Auto-Sniper 
- To add an item. Just add it name to this.
Example: I want to add Salamander to SupplyBox. So i have
[
PHP Code:
SUPPLYBOX_ITEM NightVisionNapalm NadeFrost NadeFlareM249 Para MachinegunSG550 Auto-SniperG3SG1 Auto-SniperSalamander 

*WARNING:

- Don't forget to add , between 2 item
- You must add the extractly the name of item of your server will "Crash", i think so

6. Updates:
- v1.0 | Release
- v1.1 | Fix Invalid Entity

7. Credits:
- Dias | Made Plugin
- Sontung0 | For Some Stock and config for Supplybox
- Twilight Suzuka | For Some Stock
- CSO | For Model, Sound, Sprite of SupplyBox
- 4eRT | For Read ini file code i got from plugin "[ZP] Random Extra On New Round"

If you got some error. Report to me here.
- Don't enable plugin zp_sbsp_maker if you don't use it for security
- Download this Plugin for Zombie Plague 5.0: Link
Attached Files
File Type: sma Get Plugin or Get Source (zp_sbsp_maker.sma - 10444 views - 14.8 KB)
File Type: zip resource.zip (241.9 KB, 10110 views)
File Type: sma Get Plugin or Get Source (zp_addon_supplybox_v1.1.sma - 11612 views - 14.3 KB)

Last edited by dias; 01-10-2012 at 07:21.
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
jonnzus
Epic Member
Join Date: Oct 2010
Location: Finland
Old 01-03-2012 , 09:02   Re: [ZP] Addon: SupplyBox v1.0 (Release)
Reply With Quote #2

Support zombie plague 5?
jonnzus is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 01-03-2012 , 09:06   Re: [ZP] Addon: SupplyBox v1.0 (Release)
Reply With Quote #3

Only Support ZP4.3. Need someone to convert to ZP5.0
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
JoKeR LauGh
Veteran Member
Join Date: May 2011
Location: Malaysia
Old 01-04-2012 , 04:51   Re: [ZP4.3] Addon: SupplyBox v1.0 (Release)
Reply With Quote #4

PHP Code:
set_task(2.0"update_radar"___"b"
==>

PHP Code:
set_task(0.1"update_radar"___"b"
??

you need to check it every second or it will not update the radar?

anyway , I will convert to 5.0 for you

EDIT : ZP50 version , sorry a bit late got some works to do with ..
Attached Files
File Type: sma Get Plugin or Get Source (zp50_addon_supplybox_v1.0.sma - 2385 views - 14.4 KB)
__________________
Quote:
Originally Posted by addons_zz View Post
Also, just to not read `the article`, read all you find. Read and read, for ever and ever. Never stop reading.
Why? Because there is not one single universal truth which holds the meaning for everything.

Last edited by JoKeR LauGh; 01-04-2012 at 05:21.
JoKeR LauGh is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 01-04-2012 , 05:20   Re: [ZP4.3] Addon: SupplyBox v1.0 (Release)
Reply With Quote #5

^
Thank for convert to 5.0 for me

Last edited by dias; 01-04-2012 at 05:23.
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
Isaac999
Senior Member
Join Date: Nov 2011
Location: Home
Old 01-04-2012 , 06:02   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.0 (Release)
Reply With Quote #6

Supply box = supply creates like in cross fire zombie mode?
__________________

Last edited by Isaac999; 01-04-2012 at 06:03.
Isaac999 is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 01-04-2012 , 06:11   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.0 (Release)
Reply With Quote #7

Like CSO
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
Isaac999
Senior Member
Join Date: Nov 2011
Location: Home
Old 01-04-2012 , 06:16   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.0 (Release)
Reply With Quote #8

Whats in side the supply box. I need fast reply before i log-out?
__________________
Isaac999 is offline
dias
BANNED
Join Date: Jul 2009
Location: South Vietnam
Old 01-04-2012 , 06:33   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.0 (Release)
Reply With Quote #9

You can add item to SupplyBox by go and edit file "zp_supplybox.ini" in config folder
Code:
SUPPLYBOX_ITEM = NightVision, Napalm Nade, Frost Nade, Flare, M249 Para Machinegun, SG550 Auto-Sniper, G3SG1 Auto-Sniper  
dias is offline
Send a message via Yahoo to dias Send a message via Skype™ to dias
Isaac999
Senior Member
Join Date: Nov 2011
Location: Home
Old 01-04-2012 , 07:27   Re: [ZP4.3+ZP5.0] Addon: SupplyBox v1.0 (Release)
Reply With Quote #10

Just like in crossfire.

I think cso's zombie are like in crossfire...

EDIT:

should i download the too sma file?
__________________

Last edited by Isaac999; 01-04-2012 at 07:34.
Isaac999 is offline
Reply



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 13:47.


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