Raised This Month: $ Target: $400
 0% 

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


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
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 - 10492 views - 14.8 KB)
File Type: zip resource.zip (241.9 KB, 10160 views)
File Type: sma Get Plugin or Get Source (zp_addon_supplybox_v1.1.sma - 11678 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
 



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 15:21.


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