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 = NightVision, Napalm Nade, Frost Nade, Flare, M249 Para Machinegun, SG550 Auto-Sniper, G3SG1 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 = NightVision, Napalm Nade, Frost Nade, Flare, M249 Para Machinegun, SG550 Auto-Sniper, G3SG1 Auto-Sniper, Salamander
*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