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

Subplugin Submission [ZP] Last Man Ammo Packs Bet || Updated v0.2


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 10-22-2008 , 12:26   [ZP] Last Man Ammo Packs Bet || Updated v0.2
Reply With Quote #1

[ZP] Last Man Ammo Packs Bet
(ability for server)


Description :

When two people remain, one on each team, the other players will have the chance to bet a sum of ammo packs on who will win the round. So this time You can bet with Your ammo packs instead of money.You have to have a minimum of atleast 5 ammo packs to place a bet, but then you can raise your bet as much as your wallet performs. If your bet wins, you win the other betters ammo packs. The more you bet, the more you win. If you win. :-) Everything is completely menu driven, no need to learn any commands or anything. Bots bet automatically.

Pots :

If no one bets on winning player, all failing bets will be added to the pot. The next player to win a bet (win the most money, if more win the same bet), gets the pot. If pot is not collected before map ends/server shuts down/crashes ;-) it will be there for next map.

I want prize ability : ( only with money )

Example: If you bet $200 on the t player, and another person bets $100 on the t player, and the t player wins, you will receive 2/3rds of the total sum of money bet by all players. Winning over $16000: Win prizes (optional)! For the money you win over $16000, you receive something :

For each You receive
$1000 Xtra life (respawn as long as round did not end when you died, a note to all players go out that you respawned - and how many lives you have left)

$100 Health boost (+100 health when spawning)
$10 Assault suit (if you don't have 100 armour when spawning, you will be given a full assault suit)

Cvars :
  • zp_overridemenu <1|0> // Default is 1
  • zp_ammobet "5" // How much You need to start bet, default is 5
  • zp_bettime "45" // How long beting will be on before it closes, default are 45 seconds
To Do :

- bet against the odds
- redo the now IMO somewhat ugly menu
- verbose output of bets, prizes, stats..? Keep history, like top-ten most rewarding wins? Ever, and for current map...? (And output who killed who etc :-)
- max time, like 20 seconds, to bet, else menu closes
- and other stuff

Credits :

Johnny Got His Gun - For his Last man bets plugin ( Idea from miscstats' "Lastman" (by Olo?) )

Changelog :

Code:
22/10/2008 - v0.1 - First release
25/10/2008 - v0.2 - added pcvars.
Attached Files
File Type: rar zp_last_man_ammo_packs_bet v0.2.rar (33.5 KB, 4165 views)
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.

Last edited by Fry!; 10-25-2008 at 05:37. Reason: Updated v0.2
Fry! is offline
shadowski
Senior Member
Join Date: Feb 2007
Old 10-22-2008 , 15:31   Re: [ZP] Last Man Ammo Packs Bet
Reply With Quote #2

it could be useful for normal mod, but it is useless for DM mod, i suggest add feature when DM mod is on to bet in round start before zombie is choosen which team will win or which player will win
shadowski is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 10-22-2008 , 16:37   Re: [ZP] Last Man Ammo Packs Bet
Reply With Quote #3

Then this plugin would not call as Last man bets if You will bet in round start...
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
shadowski
Senior Member
Join Date: Feb 2007
Old 10-23-2008 , 07:59   Re: [ZP] Last Man Ammo Packs Bet
Reply With Quote #4

well maybe gamble plugin then?
shadowski is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 10-23-2008 , 08:16   Re: [ZP] Last Man Ammo Packs Bet
Reply With Quote #5

I still don't know about this.
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 10-25-2008 , 05:39   Re: [ZP] Last Man Ammo Packs Bet || Updated v0.2
Reply With Quote #6

Updated to v0.2

Changelog :

Added new pcvars.
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
water
Member
Join Date: Feb 2009
Old 03-06-2009 , 00:22   Re: [ZP] Last Man Ammo Packs Bet || Updated v0.2
Reply With Quote #7

when i won ammo packs but my ammo packs was not increased
water is offline
dogandcat
BANNED
Join Date: Jan 2009
Old 03-06-2009 , 11:09   Re: [ZP] Last Man Ammo Packs Bet || Updated v0.2
Reply With Quote #8

bause the pot is empty
dogandcat is offline
silver-
Senior Member
Join Date: Jul 2006
Old 08-20-2009 , 09:16   Re: [ZP] Last Man Ammo Packs Bet || Updated v0.2
Reply With Quote #9

hm perhaps just make it available on normal infection rounds and swarm?
__________________


Need active admins for our zombie server. Just PM.
silver- is offline
Fry!
Veteran Member
Join Date: Apr 2008
Location: Latvia
Old 08-21-2009 , 09:19   Re: [ZP] Last Man Ammo Packs Bet || Updated v0.2
Reply With Quote #10

Yea I will add that.
__________________
Quote:
Originally Posted by wisam187
why all the great scriptors..... always.... leave and let their works go into oblivion ???
i miss your way in making outstanding plugins...
this forum needs lots of the likes of you..... and less of the idiots that spread right now.
Fry! is offline
Reply



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 02:37.


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