AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   New Plugin Submissions (https://forums.alliedmods.net/forumdisplay.php?f=26)
-   -   JailBreak Gang System (https://forums.alliedmods.net/showthread.php?t=169907)

nikhilgupta345 09-26-2011 23:05

JailBreak Gang System
 
15 Attachment(s)
Jailbreak Gang System

By: nikhilgupta345

Description:
This plugin allows prisoners to create gangs and upgrade specific skills that apply to everybody in the gang.

Gang Menu:
    • Create a Gang - Allows a user to create a gang by paying money.
    • Invite to Gang - Only the leader of the gang can invite people to the gang.
    • Skills - Opens the skills menu, where any member of the gang can pay money to upgrade their skills.
    • Top-10 - Shows a MOTD with the top10 gangs, SORTED BY KILLS. (If you have a good way to sort it, please post it below)
    • Leave Gang - Allows a player to leave the gang. The leader cannot leave the gang until he transfers leadership to somebody else (explained later).
    • Gang Admin Menu - Shows a menu with options to disband the gang, kick a player from the gang, or transfer leadership to somebody else in the gang.
    • Online Members - Shows a list of gang members that are currently in the server.

Skills:
    • HP - Increased health
    • Stealing - Increased money earnings.
    • Gravity - Lower Gravity
    • Damage - Increased damage
    • Stamina - Gives higher speed to players.
    • Weapon Drop - Chance of making the guard drop the weapon when you knife them. (%1 chance increase per level)


CVars:
    • jb_gang_cost - The cost to create a gang.
    • jb_health_cost - The cost to upgrade gang health.
    • jb_stealing_cost - The cost to upgrade gang money earning.
    • jb_gravity_cost - The cost to upgrade gang gravity.
    • jb_damage_cost - The cost to upgrade gang damage.
    • jb_stamina_cost - The cost to upgrade gang stamina (speed).
    • jb_weapondrop_cost - The cost to upgrade gang weapon drop percentage.
    • jb_points_per_kill - JB Points received per kill.
    • jb_headshot_bonus - Amount extra received for a headshot.
    • jb_max_members - Max members allowed per gang.
    • jb_admin_create - Whether or not admins can create gangs without points (default 0).
    • Additionally there are CVars for the max level for each type of upgrade, so replace _cost above with _max.
    • Also, there are CVars for amount gain per level, so replace _cost above with _per.
Installation:
    • Click 'Get Source' link below
    • Compile Locally
    • Place 'jb_gangs.amxx' in addons/amxmodx/plugins/ folder
    • Open addons/amxmodx/configs/plugins.ini
    • Add the line 'jb_gangs.amxx' at the bottom
    • Restart server or change map

Credits:
    • F0RCE - Main plugin idea
    • Exolent - SQLVault include
    • Drekes - Fixed freezetime problem for me (too lazy) :)

Click here to see servers running this plugin.

nikhilgupta345 09-26-2011 23:05

Re: Jailbreak Gang System
 
Changelog:

Code:

September 26, 2011 - v1.0 -    Initial release
September 27, 2011 - v1.01 -  Added more cvars, fixed a few bugs.
September 28, 2011 - v1.1 -    Added gang admins, jb points instead of money, and a few other things I can't remember :)
January 21, 2012 - v1.1.1 -      Added a new cvar jb_admin_create
January 23, 2012 - v1.1.2 -      Fixed freezetime problem



Notes:
    • You must have both sqlvault .inc files in your include file for this to compile correctly.
    • If you have any suggestions for a change in the plugin works, an addition/removal of skills, or renaming of skills (Yes, I know the names are lame), feel free to post below.
    • The plugin will create a file called 'jb_gangs.ini' in your configs folder, where all gang names, and skills will be located. You can edit the skills of the gangs, but changing the name will mess up the saving.
    • This plugin saves using SQL.

stevenisecko138 09-26-2011 23:27

Re: Jailbreak Gang System
 
sweet :D

juan2394 09-27-2011 00:13

Re: Jailbreak Gang System
 
Why not to make a gang bang plugin? :D

D.Moder 09-27-2011 01:48

Re: Jailbreak Gang System
 
you have to upload sqlvault_ex.inc
no one can compile your sma file but you

r0ck 09-27-2011 01:51

Re: Jailbreak Gang System
 
again jb plugin by you ^_^ cool...

how are you getting so cool ideas ? :)

F0RCE 09-27-2011 05:47

Re: Jailbreak Gang System
 
It was my idea :P

We decided to release it for everyone, not just me ;p


The only thing that remain left are custom tags with gang name ;]

Suggestion of skill :
Skill : Evasion [3% chance each level to dodge the blow]
Skill : Nade Maker [1% chance to create a NADE] [Only One person in gang in round]

Good Job =D

Also maybe gang limitation would be good idea??
There could be 5lvl of Gang.
It would work like that:
1lvl # 3ppl
2lvl # 6ppl
3lvl #12ppl
4lvl # 18ppl
5lvl # 24ppl

Each lvl of gang would cost money normally :)

nikhilgupta345 09-27-2011 07:45

Re: Jailbreak Gang System
 
Quote:

Originally Posted by D.Moder (Post 1563959)
you have to upload sqlvault_ex.inc
no one can compile your sma file but you

Done

Lokogaditano 09-27-2011 08:59

Re: Jailbreak Gang System
 
Hi, I am trying this plugin, its great

Bugs:

-In my server, we made 4 gangs, with 7-10 people in each gang, and, without change map , in the same map , the gangs bugged, I appear in other band that not was mine, and other people too, and I cant return to my gang

-When a member of the gang its a guard, the leader cant kick him

-The leader of a gang can invite a guard to his gang

-The skills stamina, gravity,and drop weapon dont work


Ideas:

-Can you make cvars for the amount of health, gravity or damage that receive the members of the gang?

-The members can deposit his money to a gang bank, and get money of the bank when he wants

-The leader of a gang can declare war to other gang, and all members of the gang can see whose gangs are in war with their

-When you aim a player, you see in front of his name (that is show in the hud) the tag or his gang, and in the nickname too

-I use the hats plugin, and more jailsbreak have the plugin too, can you make for any gang an official hat that only the members can put? or something? that identifies their

-The leader can make admins of the gang, and the admins can invite somebody to the gang or kick him




Sorry for the bad english :)

F0RCE 09-27-2011 09:19

Re: Jailbreak Gang System
 
NonSteam?

No Support ;)


All times are GMT -4. The time now is 00:48.

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