Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.

  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

JailBreak Final Generation


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7170
  • Lokalizacja:AMXX.PL
Offline

Napisano 21.04.2016 16:18


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

Contents

Info:

  • Introduction
  • Notes
  • Credits

Plugins:

  • JailBreak Main
  • Last Request
  • Day Events
  • Items + MegaShop + Market
  • Cell Opener
  • Round End Music

Other:

  • Extra Additions
  • Change Log
  • Developers Info
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 :D
  • 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:
[font=monospace]
[color=#000000][[/color]Painkillers[color=#000000]][/color]
cost [color=#0000dd]100[/color]
[color=#ff0000]stock[/color] [color=#0000dd]-1[/color]

[color=#000000][[/color]Smoke Grenade[color=#000000]][/color]
cost [color=#0000dd]200[/color]
[color=#ff0000]stock[/color] [color=#0000dd]10[/color]

[color=#000000][[/color]HE Grenade[color=#000000]][/color]
cost [color=#0000dd]300[/color]
[color=#ff0000]stock[/color] [color=#0000dd]5[/color]

[color=#000000][[/color]Flashbang[color=#000000]][/color]
cost [color=#0000dd]200[/color]
[color=#ff0000]stock[/color] [color=#0000dd]5[/color]

[color=#000000][[/color]Helmet[color=#000000]][/color]
cost [color=#0000dd]2000[/color]
[color=#ff0000]stock[/color] [color=#0000dd]1[/color]

[color=#000000][[/color]Anti Gravity Boots[color=#000000]][/color]
cost [color=#0000dd]5000[/color]
[color=#ff0000]stock[/color] [color=#0000dd]1[/color]

[color=#000000][[/color]Lock Pick[color=#000000]][/color]
cost [color=#0000dd]500[/color]
[color=#ff0000]stock[/color] [color=#0000dd]5[/color]

[color=#000000][[/color]Medical Kit[color=#000000]][/color]
cost [color=#0000dd]300[/color]
[color=#ff0000]stock[/color] [color=#0000dd]20[/color]

[color=#000000][[/color]Single Shot Glock[color=#000000]][/color]
cost [color=#0000dd]1500[/color]
[color=#ff0000]stock[/color] [color=#0000dd]5[/color]

[color=#000000][[/color]Crowbar[color=#000000]][/color]
cost [color=#0000dd]2000[/color]
[color=#ff0000]stock[/color] [color=#0000dd]1[/color][/font]
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:
[font=monospace]
[color=#000000][[/color]Painkillers[color=#000000]][/color]
maxcost [color=#0000dd]100[/color]
mincost [color=#0000dd]60[/color]

[color=#000000][[/color]Steroids[color=#000000]][/color]
maxcost [color=#0000dd]100[/color]
mincost [color=#0000dd]60[/color]

[color=#000000][[/color]Smoke Grenade[color=#000000]][/color]
maxcost [color=#0000dd]150[/color]
mincost [color=#0000dd]120[/color]

[color=#000000][[/color]HE Grenade[color=#000000]][/color]
maxcost [color=#0000dd]200[/color]
mincost [color=#0000dd]150[/color]

[color=#000000][[/color]Flashbang[color=#000000]][/color]
maxcost [color=#0000dd]180[/color]
mincost [color=#0000dd]130[/color]

[color=#000000][[/color]Helmet[color=#000000]][/color]
maxcost [color=#0000dd]2200[/color]
mincost [color=#0000dd]1800[/color]

[color=#000000][[/color]Anti Gravity Boots[color=#000000]][/color]
maxcost [color=#0000dd]2500[/color]
mincost [color=#0000dd]2000[/color]

[color=#000000][[/color]Lock Pick[color=#000000]][/color]
maxcost [color=#0000dd]400[/color]
mincost [color=#0000dd]250[/color]

[color=#000000][[/color]Medical Kit[color=#000000]][/color]
maxcost [color=#0000dd]150[/color]
mincost [color=#0000dd]120[/color]

[color=#000000][[/color]Single Shot Glock[color=#000000]][/color]
maxcost [color=#0000dd]500[/color]
mincost [color=#0000dd]350[/color]

[color=#000000][[/color]Crowbar[color=#000000]][/color]
maxcost [color=#0000dd]2500[/color]
mincost [color=#0000dd]2000[/color][/font]

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:
[font=monospace]
jail_aj_ultimate _1 [color=#0000dd]139[/color]
jail_amxisyan _1 [color=#0000dd]109[/color]
jail_andaman _2
jail_assault _1 [color=#0000dd]150[/color]
jail_brazilian_v3 _1 [color=#0000dd]88[/color]
jail_city_b1 _1 [color=#0000dd]148[/color]
jail_discovery _1 [color=#0000dd]153[/color]
jail_komandos _1 [color=#0000dd]208[/color]
jail_midday_v1 _2
jail_nd_beta10 _2
jail_park_b6 _2
jail_r0x0r_v1 _1 [color=#0000dd]116[/color]
jail_relaxx _1 [color=#0000dd]124[/color]
jail_revolution _1 [color=#0000dd]50[/color]
jail_secure _1 [color=#0000dd]196[/color]
jailbreak_final_1 _1 [color=#0000dd]163[/color]
jb_grass_b4 _1 [color=#0000dd]72[/color]
jb_rikers_island_kz _1 [color=#0000dd]35[/color]
jb_snow _1 [color=#0000dd]178[/color][/font]

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

p228
scout
xm1014
mac10
aug
elite
fiveseven
ump45
sg550
galil
famas
usp
glock18
awp
mp5navy
m249
m3
m4a1
tmp
g3sg1
deagle
sg552
ak47
p90


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



Code:
[font=monospace]
[color=#000000][[/color]Prison Security[color=#000000]][/color]
m4a1
usp

[color=#000000][[/color]Russian Soldier[color=#000000]][/color]
ak47
glock18

[color=#000000][[/color]Navy Seal[color=#000000]][/color]
mp5navy
deagle

[color=#000000][[/color]Israeli Officer[color=#000000]][/color]
mac10
glock18[/font]

<a name="Round End Music">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 Dołączona grafikahJB.zip (3.97 MB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych