Raised This Month: $12 Target: $400
 3% 

COD Mysterybox v1.2


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   Fun Stuff       
Natsheh
Veteran Member
Join Date: Sep 2012
Old 09-04-2017 , 13:52   COD Mysterybox v1.2
Reply With Quote #1

Description :>

COD Mysterybox the idea is taken from call of duty zombie...
still don't know what is a mysterybox here....

Cvars :>
* Cvars will only change its value on new round start.
  • mybox_enabled
    Default : 1
    1 - plugin is enabled
    0 - plugin is disabled
  • mybox_flags
    Default : "acd"
    * a = spawn a mybox on round start,
    * b = spawn a mybox every x second,
    * c = remove all the myboxes on round end,
    * d = spawn a mybox if a mybox has teddybear called AKA vanished.
  • mybox_quantity_spawn_onroundstart
    the quantity of spawning a mysterybox during the round start, Default is 1.
  • mybox_loop_spawn_time
    Default : "240" / 4 Minutes
    the amount of time in seconds to spawn a mysterybox this cvar is useful when the cvar mybox_flags contain the value 'b'
  • mybox_teddybear_chances
    Default : "50"
    the percent of showing a teddybear when opening the box.

Commands:>
  • Console Commands:
    mysteryboxspawn spawn a mysterybox in a random location!
  • Client Commands:
    mysteryboxeditor Opens up the mysterybox editor menu
    mysterybox_editor_menu Opens up the mysterybox editor menu
    mysterybox_call_teddybear Calls a teddybear to the mybox that you are aiming at!



CHANGE LOGS :>

Code:
v1.0: Released.
v1.1: Item chances are now more correct, added Scale for sprites.
v1.1.1: Fixed a small bug prevented the box from opening!
v1.2: The code were optimized, fixed a bug that crashes the server due freeing a memory using remove_entity, added samantha laugther sound effect, gave the box yellow aura light effect, fixed items chances, created an API.

mysterybox_items.ini configuration....
PHP Code:

// Item name, currently its AK47
[AK47]
// COMMAND TYPE #1 is executing a function from a plugin.
COMMAND_TYPE "1"
// FORMAT will be like this
// "function_fullname" "plugin_fullname" "I:parameter 1 integer value" "S:parameter 2 string value" "F:parameter 3 float value".......
// WARNING : max parameters are 5.
COMMAND "func_give_item mysterybox_functions.amxx I:%id S:weapon_ak47 I:30 I:90"
// item model.
MODEL "models/w_ak47.mdl"
// item model angles.
MODEL_ANGLES "0.0 0.0 0.0"
// item sound only wav type, the sound will be called when the item has been chosen.
SOUND ""
// item accessflags
FLAG "b"
// item chance.
CHANCES 25


// Item name is Restart
[Restart]
// item command type is 0 which its a server command
COMMAND_TYPE 0
// command execution!
COMMAND "sv_restart 1"
// ITEM accessflags is immunity.
FLAG "a"
// item chances is 75 %
CHANCES 75


// Item name is introduction
[Introduction]
// item command type is -1 which its a client command
COMMAND_TYPE = -1
// client console command execution!
COMMAND "say hello, what a nice mysterybox!"
// item chances is 75 %
CHANCES 75
// Model sprite.
MODEL "sprites/welcome.spr"
// Scale of the sprite half its original size.
SCALE 50 
check out the file for examples....



Installation

Extract all the files in the archive into your game/server folder....


Servers are using this plugin....
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 08-24-2023 at 21:16.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Relaxing
AlliedModders Donor
Join Date: Jun 2016
Location: White Plains
Old 09-05-2017 , 17:12   Re: COD Mysterybox
Reply With Quote #2

The configuration may be hard to customize for beginners. But the idea is great.
__________________
Relaxing is offline
Ynet
Member
Join Date: Aug 2017
Location: israel
Old 09-06-2017 , 00:03   Re: COD Mysterybox
Reply With Quote #3

incredible plugin nothing else to say,
Thumbs Up! But There is a little bug when you get a teddy bear the Box doesn't despawn and the box bounces for some reason aswell


Last edited by Ynet; 09-06-2017 at 00:19.
Ynet is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 09-06-2017 , 08:36   Re: COD Mysterybox
Reply With Quote #4

!

Quote:
Originally Posted by Ynet View Post
incredible plugin nothing else to say,
Thumbs Up! But There is a little bug when you get a teddy bear the Box doesn't despawn and the box bounces for some reason aswell

Theres several fall types for the mybox

1. Normal Fall
2. Bouncing Fall
3. Parachute Fall
4. No falling



About the teddybear you need atleast 2 locations inorder to respawn.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 06-11-2018 at 20:46.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Old 09-06-2017, 08:39
Natsheh
This message has been deleted by Natsheh.
Natsheh
Veteran Member
Join Date: Sep 2012
Old 10-18-2017 , 06:28   Re: COD Mysterybox
Reply With Quote #5

If you or somebody have a problem configuring read the tutorial carefully..
Or look at the examples...
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Natsheh
Veteran Member
Join Date: Sep 2012
Old 06-11-2018 , 08:12   Re: COD Mysterybox
Reply With Quote #6

Version 1.1 has been released!

Read the change log for more info.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 06-11-2018 at 08:12.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Fuck For Fun
Veteran Member
Join Date: Nov 2013
Old 06-12-2018 , 11:16   Re: COD Mysterybox
Reply With Quote #7

GJ BRO, Like it
Fuck For Fun is offline
Send a message via Skype™ to Fuck For Fun
Natsheh
Veteran Member
Join Date: Sep 2012
Old 08-27-2018 , 15:24   Re: COD Mysterybox
Reply With Quote #8

Quote:
Originally Posted by Fuck For Fun View Post
GJ BRO, Like it
Thanks would be real awesome if someone will make a video.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
Anonymous
Member
Join Date: Nov 2009
Location: Anonuser.org
Old 09-25-2018 , 17:26   Re: COD Mysterybox
Reply With Quote #9

Stolen from https://gamebanana.com/gamefiles/4180
__________________
This site is filled with shitters who call themselves experts.
Anonymous is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 09-26-2018 , 06:01   Re: COD Mysterybox
Reply With Quote #10

Its not even the same code beside my plugin has more features than that hardcoded plugin.

And you calling me a thief, how disrespectful is that.

Dont give any feedback without testing the differences or the results.

And btw i didnt steal shit from no one.

Instead of accusing people for stealing plugins why you dont find a better shit to do, and change your signature because you are on of the shits that youre talking about.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 09-26-2018 at 20:51.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
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 11:58.


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