User
Pass
2FA
 
 

Cerere plugin bonus_box

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived)
Author Message509
M@r1n3l

[Assasin]



Status: Offline
(since 10-10-2019 19:55)
Joined: 27 Jan 2010
Posts: 4268, Topics: 48
Location: Pe aici , Pe acolo , Peste Tot.

Reputation: 519.4
Votes: 28

Post Posted: 08-07-2019, 20:23:46 | Translate post to: ... (Click for more languages)

Salut as dori si eu pluginul bonus_box cel care iti da anumite extra-iteme sau arme etc din cutiile gasite pe harta pe jos, am tot cautat pe net o multime de pluginuri dar nici unul nu a mers, poate ma ajutati voi cu ceva, Multumesc.


0 0
  
Back to top
View user's profile Send private message
InLoveCs

[00 11 00]



Status: Offline
(since 24-12-2021 07:55)
Joined: 11 Jan 2011
Posts: 8224, Topics: 738
Location: zmx.freakz.ro

Reputation: 2926.8
Votes: 170

     
Post Posted: 08-07-2019, 20:48:00 | Translate post to: ... (Click for more languages)

Asta e : https://forums.alliedmods.net/showthread.php?t=175372
0 0
  
Back to top
View user's profile Send private message
Pyssu

[Mentally Stable]



Status: Offline
(since 05-12-2019 19:03)
Joined: 23 Jul 2019
Posts: 71, Topics: 3
Location: Romania

Reputation: 1
Votes: 7

         
Post Posted: 03-08-2019, 15:51:15 | Translate post to: ... (Click for more languages)

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

2. Cvars:

Code:
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


[b]3. Configs:
- Open the sma and you will see the config from line 26 ~ 45
PHP Code:
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:
- VIDEO: https://youtube.com/watch?v=HVcbuj3Acng:



[b]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: https://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:
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:
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: https://forums.alliedmods.net/showpost.php?p=1628731&&postcount=43?p=1628731&&postcount=43:



Last edited by Pyssu on 03-08-2019, 16:02:55; edited 4 times in total
0 0
  
Back to top
View user's profile Send private message Yahoo! Messenger ID
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Freakz Forum Index -> Trash Bin -> CS 2006-2019 (Archived)  


The time now is 28-03-2024, 20:32:55
Copyright info

Based on phpBB ro/com
B

 
 
 







I forgot my password


This message appears only once, so
like us now until it's too late ! :D
x