Raised This Month: $209 Target: $400
 52% 

JailBreak Final Generation


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay       
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-21-2016 , 12:18   JailBreak Final Generation
Reply With Quote #1


<^> JailBreak Final Generation <^>
Package Version 0.0.1
by hornet


Contents
Info:
Plugins:
Other:

Introduction

Firstly, I apologize for the name mixups in the package ... I couldn't think of a name for the mod, so someone suggested BigHorn lel .... eventually changed to what it is now.

JailBreak Final Generation is the result of generations of Australian JailBreak ( hence it's name ), remastered to provide the peak JailBreak experience with all features unleashed. Let's forget about all that now because I don't care about that anymore - I wrote this entire thread and mod over a whole year ago and I'm now just releasing this as a gift to the community because it seems stupid to hold onto something that I don't need and am not going to use - I also recall some valuable snippets of code in there that could be quite useful, so for now it is provided *as is*. Expect there to be some minor bugs, glitches, old functional methods etc. as it was never finished and I'm unsure of which parts I was last working on and the like.
Each plugin is specifically designed to not require other plugins from the package to run, therefore any of them can be disabled without issues, or used alongside your own JailBreak plugins ( if used correctly ).
All plugins are also designed for further development with powerful API's available for developers.

By choosing this JailBreak package your guaranteed:
  • Plugin Efficiency
  • Future Updating Possibly
  • Full Support When I have the time
  • And Hours Of Entertainment!

So far, the package contains 7 plugins:
  • JailBreak Main
  • Last Request
  • Day Events
  • Items + MegaShop + Market
  • Cell Opener
  • Guard Classes
  • Round End Music

As for updating, I will be updating each plugin individually for fixes and small additions, and will make a full package update when required.

Detailed descriptions for each of the above can be found in their respective sections below.

How can you help make this mod better?

If your willing to help out there are things that you can do that will be appreciated ( and receive credit for ):
  • Language Translations
  • Testing / Bug / Error Reports
  • New Ideas
  • Write a plugin that uses its API and I may add it in here somewhere

Notes
  • This mod requires that you have AmxModx 1.8.3 installed ( or updated Hamsandwich Module and hamdata ).
  • The data saving system does not and will not ever save by name, IP or any way other than Steam ID.

Credits

Plugin Specifics

JailBreak Main
Description

JailBreak Main controls the miscellaneous features or anything else that is unspecific to the other plugins.

Features
  • Commander Menu:
    • Cell Opener
    • Assign Team Colours
    • Boxing Match
  • Team Ratio
  • Week Day System
  • Prisoner Fists
  • Decorated status when looking at players
  • Gamble For Glock
  • Prisoner Gag
  • Rebel System
  • Anonymous Prisoner Kill System
  • Powerful API

Cvars
  • hjb_game_description ( default: "JailBreak FG" ) Changes the game name shown in the server browser.
  • hjb_team_ratio ( default: 3 ) The team ratio. If the number of Prisoners multiplied by the ratio is not larger than the number of Guards, a player may not join CT team.
  • hjb_guard_armour ( default: 100 ) The amount of armour that a Guard receives when spawned.
  • hjb_commander_enabled ( default: 1 ) Enables the Commander feature. Also known as Simon. This player will be randomly selected at round start.
  • hjb_commander_glow ( default: 1 ) If enabled the Commander will glow.
  • hjb_prisoner_mute ( default: 1 ) If enabled Prisoners cannot use their microphone unless they are admin.
  • hjb_rebel_enabled ( default: 1 ) If enabled Prisoners will become a Rebel / Wanted after attacking a Guard.
  • hjb_rebel_glow ( default: 1 ) If enabled Rebels will glow.
  • hjb_prisoner_fists ( default: 1 ) If enabled Prisoners will use their fists instead of knives.
  • hjb_gamble_enabled ( default: 1 ) If enabled Prisoners may gamble their life for a glock.
  • hjb_anonymous_kill ( default: 0 ) If enabled the kill messages will not show the name of the Prisoner.

Client Commands
  • /gamble Prisoners may use this command if enabled by cvar.
  • /cm Opens the Commander Menu if the user is the Commander and it is enabled by cvar.

Admin Commands
  • hjb_xfer <player> Transfers a player to the opposite team without killing them.

Last Request
Description

Last Request is an important aspect of the games, which provides the final standing Prisoner with a fair method to win the round, by typing /lr in order to initiate.

Features
  • Anti Damage for Last Request Challengers
  • Game Countdown
  • Tuff Last Request Exploit Preventer Let's be realistic it just stops people from doing annoying things ...
  • Powerful Configuration File
  • Powerful API

Games Available
  • Shot 4 Shot:
    • All Guns Available
  • No Scope Shootout:
    • All Snipers Available
  • Classic Shootout:
    • All Guns Available
  • Weapon Toss:
    • Desert Eagle
    • Smoke Grenade
  • Knife Fight
  • Grenade Battle
  • Scoutzknivez Duel
  • Maths Challenge

Cvars
  • hjb_lr_wait ( default: 10 ) Sets the amount of seconds that must pass from round start before Last Request can be used.

Client Commands
  • /lr Inititiates Last Request for that player.

Configuration

Below, is an example of how the configuration file is used for Last Request games.
The first section contains a list of games, where the names must match either a default Last Request name from the plugin, or name of any other Last Request that was created with the API.
The second list contains all soundtracks that can be played while a player is selecting a Last Request.

[ Please note that the configuration file is not fool proof and may fail if configured incorrecly ]

PHP Code:
[]
Shot 4 Shot
No Scope Shootout
Classic Shootout
Weapon Toss
Knife Fight
Grenade Battle
Scoutzknivez Duel
Maths Challenge

[Soundtracks]
JailBreak FG/last_request_1.wav
JailBreak FG
/last_request_2.wav 
All errors regarding the configuration file will be logged to the standard amxx log file.

Day Events
Description

Day Events are designed to provide extra fun and entertainment for both teams, and also drags some effort away from the Guards ( which can be good when the Guards don't have a strong team ).
Events and votes can be assigned to any particular rounds that you like.

Features
  • Voting System
  • Configuration File
  • Powerful API

Games Available
  • Free Day
  • Deathmatch
  • All In Brawl
  • Gang Wars
  • Spartan Day
  • Haunted Prison
  • Zombie Apocalypse
  • Night Crawlers

Cvars
  • hjb_dayevent_countdown ( default: 10 ) Sets the time count down for Day Events.
  • hjb_dayevent_votetimer ( default: 10 ) Sets the display time for the vote.
  • hjb_adminvote_bonus ( default: 1 ) Sets the extra vote amount for admins when voting.
  • hjb_zombie_health ( default: 1000 ) Sets the health for the Zombies in the game Zombie Apocalypse.
  • hjb_items_during_days ( default: 0 ) If enabled Prisoners may use item related functionality during a Day Event.

Configuration

Below, is an example of how the configuration file is used for Day Events.
The first section contains a list of Day Events that are available. ( Games registered with the API must also be listed here in order to be enabled ). A hyphen then seperates the name and the information that will be displayed while a Day Event is starting.
Now, each other section will be labelled with a number from 1 to 7 - being the numbers of the days of the week, 1 being Monday, 7 being Sunday. ( These days do not correspond to days in real life - Each new round will be a new day ).
You may list each option that you would like to be available beneath the day number label. If you put only 1 option, that Day Event will automatically begin at the start of the round.

In the following example, players would vote for Day Events on Tuesday, vote for different Day Events on Thursday, and have a Free Day on Sunday.

[ Please note that the configuration file is not fool proof and may fail if configured incorrecly ]

PHP Code:
[]
Free Day Prisoners may roam the Jail freely!
Deathmatch Receive your weapons and destroy your enemies!
All In Brawl Work as a team and beat up your enemies with your fists!
Gang Wars The Prisoners are divided into 2 gangs and must destroy each other until one side remains.
Spartan Day The Prisoners are given shields and are to work as a team and overthrow the Guards!
Haunted Prison The Guards become ghosts with no clip and must kill all of the Prisoners!
Zombie Apocalypse Prisoners turn into zombies and must destroy all of the Guards!

[
1]

[
2]
Deathmatch
All In Brawl
Gang Wars

[3]

[
4]
Spartan Day
Haunted Prison
Zombie Apocalypse

[5]

[
6]

[
7]
Free Day 
All errors regarding the configuration file will be logged to the standard amxx log file.

Items + MegaShop + Market
Description

This plugin contains the system that controls all items, player inventories, currency, MegaShop, and the Market.

Prisoners may receive a variety of items via purchase or by killing an enemy. These items can be viewed, used, and sold from the inventory menu. This can all be controlled by Cvars and setup to your liking.
Prisoners will also receive currency as a reward for killing Guards. This currency can also be renamed to your liking by cvar.

The MegaShop is the store for Prisoners from which they can buy items with the currency that they hold. The items, prices, and stock counts can be setup via the configuration file.
The Market is like the shop but more complicated. The items that can appear on the Market can be setup via the configuration file. At the start of the new map, the Market will be filled with these items and put up for sale at random relatively random prices. Prisoners may buy and sell items with this feature.
Both options are available, but by default the MegaShop is enabled and the Market is not. They can both be enabled at the same time, but not reccommended.

Features
  • Items System
  • Currency System
  • Inventory System
  • MegaShop
  • Market
  • Configuration Files
  • Powerful API

Cvars
  • hjb_currency_prefix ( default: "" ) Changes the currency prefix.
  • hjb_currency_postfix ( default: "Jail Credits" ) Changes the currency postfix / suffix.
  • hjb_enable_inventory ( default: 1 ) Allows players to accumulate their items and use them at the time of their choosing.
  • hjb_enable_market ( default: 0 ) Allows players to buy items from the Market and sell their items aswell.
  • hjb_enable_megashop ( default: 1 ) Allows players to buy items for set prices and limited stock amounts from the MegaShop.
  • hjb_data_saving ( default: 0 ) Players currency and items will save when enabled. Item data will not work in conjunction with hjb_item_use_instantly.
  • hjb_inv_while_dead ( default: 0 ) If enabled players may access inventory functions while dead. This will not work in conjunction with hjb_item_use_instantly.
  • hjb_market_while_dead ( default: 0 ) If enabled players may access the Market while dead.
  • hjb_shop_while_dead ( default: 0 ) If enabled players may access the MegaShop while dead.
  • hjb_market_sell_min ( default: 100 ) The minimum price that a player may sell an item on the market for.
  • hjb_market_sell_max ( default: 10000 ) The maximum price that a player may sell an item on the market for.
  • hjb_market_sell_num ( default: 20 ) The number of sell options. Half will be lower, half higher end.
  • hjb_market_before_open ( default: 1 ) If enabled players can only buy from the Market before the cells open.
  • hjb_shop_before_open ( default: 1 ) If enabled players can only buy from the MegaShop before the cells open.
  • hjb_item_use_instantly ( default: 0 ) If enabled players will automatically use an item as soon as they obtain it. This means that players will not receive items for killing other players.
  • hjb_painkillers_health ( default: 25 ) The health return when using the item Painkillers.
  • hjb_crowbar_dmg_x ( default: 1.3 ) Determines the damage multiplier for the item Crowbar.
  • hjb_market_buy_time ( default: 0 ) Sets the time limit from round start in which a player may buy from the Market.
  • hjb_shop_buy_time ( default: 10 ) Sets the time limit from round start in which a player may buy from the MegaShop.
  • hjb_currency_per_kill ( default: 100 ) The amount of currency a Prisoner earns for killing a Guard.
  • hjb_currency_per_rebel ( default: 25 ) The amount of currency a Prisoner earns for rebelling.
  • hjb_item_chance_kill ( default: 5 ) The chance a Prisoner has to receive an item for killing a Guard. The chance is 1/x. With the default value the chance will be 1 in 5.

Client Commands
  • /menu Opens the main player item menu.
  • /market Opens the Market menu.
  • /shop Opens the MegaShop menu.
  • /inv Opens the Inventory menu.
  • Flashlight Key Is automatically bound to Inventory Menu.

Configuration [ MegaShop ]

Below, is an example of how the configuration file is used for the MegaShop.
Each item name must match either a default item name from the Items plugin, or the name of any other item that was created with the API.
The cost is the amount of currency that item will sell for, and stock is the amount of that item which the Shop can sell. Or item to have infinite stock, simply set the stock amount to -1.

[ Please note that the configuration file is not fool proof and may fail if configured incorrecly ]

Code:
[Painkillers] cost 100 stock -1 [Smoke Grenade] cost 200 stock 10 [HE Grenade] cost 300 stock 5 [Flashbang] cost 200 stock 5 [Helmet] cost 2000 stock 1 [Anti Gravity Boots] cost 5000 stock 1 [Lock Pick] cost 500 stock 5 [Medical Kit] cost 300 stock 20 [Single Shot Glock] cost 1500 stock 5 [Crowbar] cost 2000 stock 1

Configuration [ Market ]

Below, is an example of how the configuration file is used for the Market.
Each item name must match either a default item name from the Items plugin, or the name of any other item that was created with the API.
The mincost is the minimum amount of currency that item will sell for, and maxcost is the maximum amount of that item will appear for.
The Market will generate a random selection of the configured items and price them randomly between their minimum and maximum cost.

[ Please note that the configuration file is not fool proof and may fail if configured incorrecly ]

Code:
[Painkillers] maxcost 100 mincost 60 [Steroids] maxcost 100 mincost 60 [Smoke Grenade] maxcost 150 mincost 120 [HE Grenade] maxcost 200 mincost 150 [Flashbang] maxcost 180 mincost 130 [Helmet] maxcost 2200 mincost 1800 [Anti Gravity Boots] maxcost 2500 mincost 2000 [Lock Pick] maxcost 400 mincost 250 [Medical Kit] maxcost 150 mincost 120 [Single Shot Glock] maxcost 500 mincost 350 [Crowbar] maxcost 2500 mincost 2000

Cell Opener
Description

Having a controlled way to open the cells in JailBreak is a must!
This plugin uses a clever method to automatically determine which button opens the cell doors. Tests show that this method is able to correctly open the cells in over 85% of JailBreak maps.
In the instance where the button locator is not successful, I've provided other ways for you to configure your cell doors.

Features
  • Auto Button Locator
  • Timed Auto Cell Open
  • Cell Open Message
  • Configuration File
  • Powerful API

Cvars
  • hjb_cellopen_time ( default: 60 ) The amount of seconds in which the cells will automatically open after round start.

Admin Commands
  • /open Opens the cells if you are an admin as defined by ADMIN_OPEN in the plugin's source code.
  • /index This is used to help configure your cell doors when the auto locator fails. Admins can use this command whilst looking at an entity in order to find out the entity index ( which will be used later ).

Configuration

Below, is an example of how the configuration file is used for the Cell Opener.
This is what should be used in order for the cells to be opened correctly when the auto locator fails.
Each map has one line of the file to itself. Simply put the mapname, then a space, then the method, then the button entity index ( if using method _1 ).
There are 2 methods available at the present time. Method _1 uses the standard method but uses your choice of button entity. Method _2 simply opens doors that are found close to Prisoner spawn location.
When testing my collection of JailBreak maps on my PC, I corrected the the ones that did not work, by using the /index command, and adding an entry to the configuration file.

[ Please note that the configuration file is not fool proof and may fail if configured incorrecly ]

Code:
jail_aj_ultimate _1 139 jail_amxisyan _1 109 jail_andaman _2 jail_assault _1 150 jail_brazilian_v3 _1 88 jail_city_b1 _1 148 jail_discovery _1 153 jail_komandos _1 208 jail_midday_v1 _2 jail_nd_beta10 _2 jail_park_b6 _2 jail_r0x0r_v1 _1 116 jail_relaxx _1 124 jail_revolution _1 50 jail_secure _1 196 jailbreak_final_1 _1 163 jb_grass_b4 _1 72 jb_rikers_island_kz _1 35 jb_snow _1 178

Guard Classes
Description

This plugin allows you to customize classes for the Guards. You can create your own classes, with custom names and weapons.

Features
  • Configuration File
  • Powerful API

Configuration

Below, is an example of how the configuration file is used for the Guard Classes.
Simply put the class name in square brackets, and list all weapon names, each on a new line below. The weapon names must be the CS 1.6 class names.

For a list of weapon names:
Spoiler


[ Please note that the configuration file is not fool proof and may fail if configured incorrecly ]

Code:
[Prison Security] m4a1 usp [Russian Soldier] ak47 glock18 [Navy Seal] mp5navy deagle [Israeli Officer] mac10 glock18

Round End Music
Description

This plugin gives a bit more kick and sense of reward when a team wins a round by playing any soundtrack ( .wav ) that you have configured.

Features
  • Configuration File

Configuration

Below, is an example of how the configuration file is used for Round End Music.
Simply put the team name in square brackets, and list all soundtracks, each on a new line below. Note that you do not need to include the "sound" folder in the directory.

[ Please note that the configuration file is not fool proof and may fail if configured incorrecly ]

Code:
[Prisoner]
JailBreak_FG/prisoners_win_1.wav
JailBreak_FG/prisoners_win_2.wav

[Guard]
JailBreak_FG/guards_win_1.wav
JailBreak_FG/guards_win_2.wav
Attached Files
File Type: zip hJB.zip (3.97 MB, 1353 views)
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

Last edited by hornet; 05-01-2016 at 13:34.
hornet is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-21-2016 , 12:18   Re: JailBreak Final Generation
Reply With Quote #2

Change Log

Full Package

Code:
0.0.1 - Initial Release 02/05/16 - Item API typo/bug fixed.

Extra Additions

No additions available yet.

Developers Info

Custom items - Custom items will not work with the base package right now. If you wish to add in your own items using the provided API, download the attached item source code.
Attached Files
File Type: sma Get Plugin or Get Source (BigHorn_Items.sma - 964 views - 56.5 KB)
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

Last edited by hornet; 05-01-2016 at 13:31.
hornet is offline
EFFx
Veteran Member
Join Date: Feb 2016
Location: São Paulo, Brasil
Old 04-21-2016 , 13:34   Re: JailBreak Final Generation
Reply With Quote #3

Amazing
__________________
EFFx is offline
Send a message via Skype™ to EFFx
Gabe Iggy
Veteran Member
Join Date: Mar 2011
Location: Chile
Old 04-22-2016 , 11:55   Re: JailBreak Final Generation
Reply With Quote #4

Quote:
Modification: ALL
__________________
Gabe Iggy is offline
PyPKjE20
Member
Join Date: Dec 2010
Location: Lithuania
Old 04-22-2016 , 19:30   Re: JailBreak Final Generation
Reply With Quote #5

It will be necessary to test the cool work if wandering a good modification to provide support
__________________

CS:GO Open Chest MOD IP: csgo.slimi.lt
New CS 1.6 CSGO IP: pub.slimi.lt
CS 1.6 BloodHunt IP: bh.slimi.lt
CS 1.6 Slimi RPG MOD http://rpg.slimi.lt
PyPKjE20 is offline
Send a message via Skype™ to PyPKjE20
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-23-2016 , 11:31   Re: JailBreak Final Generation
Reply With Quote #6

Yes thanks I fixed that.

Quote:
Originally Posted by PyPKjE20 View Post
It will be necessary to test the cool work if wandering a good modification to provide support
I will provide support. Most of the features are 100% working there is just some stuff in there that is not quite complete, so as I stated in the first post I am not necessarily aiming to complete it all. What I've provided should be rather useful.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.
hornet is offline
misiakool12
Member
Join Date: Apr 2016
Old 04-24-2016 , 05:59   Re: JailBreak Final Generation
Reply With Quote #7

Where is library jailbreak_fg ?
misiakool12 is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 04-25-2016 , 01:30   Re: JailBreak Final Generation
Reply With Quote #8

Quote:
Originally Posted by misiakool12 View Post
Where is library jailbreak_fg ?
My apologies I uploaded the wrong package. There was only a very small update, but part of it was the name change of the include file.
I've uploaded the new one.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

Last edited by hornet; 04-25-2016 at 01:30.
hornet is offline
Blizzard_87
AlliedModders Donor
Join Date: Oct 2012
Old 04-25-2016 , 02:16   Re: JailBreak Final Generation
Reply With Quote #9

Nice. You released it. This shall be the best version of jail break.
__________________
Blizzard_87 is offline
tousif
AlliedModders Donor
Join Date: Nov 2014
Location: India
Old 04-25-2016 , 04:54   Re: JailBreak Final Generation
Reply With Quote #10

Firstly , welcome back :p , didn't seen you from long time haha. Will be using this jailbreak on my server .

A suggestion , is there anything like poison bomb ? The ct get poison bomb , when the prisoners start rebelling and when CT use this bomb, the prisoners speed will be reduced. This would be quite fun . If it isn't there just add it , it would be fun.
tousif is offline
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 04:54.


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