Raised This Month: $66 Target: $400
 16% 

Ski 2 Shop v1.7.1


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Gameplay        Approver:   ConnorMcLeod (74)
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Brazil
Old 02-17-2010 , 23:56   Ski 2 Shop v1.7.1
Reply With Quote #1

Ski2 Shop v1.7.1
by Seta00

This plugin adds gameplay functionalities to the surf_ski_2 map.

When the player enters the Mario room, a menu is displayed with the Ski 2 Shop Items.

All item costs and durations are changeable by cvars, changes are applied on round start.


Items description:


- Get Out Of Jail ($1500) - One shot

Inspired by the "Get Out Of Jail Free Card" from GTA2, this item removes you from the jail as soon as you enter it.

Note: Users with the Eye of the Spy can see you entering the jail, but not leaving it.
You can use this to attract enemies to the jail area.

- Health Reload ($7500) - One shot

Reloads your HP to 100. Useful but expensive.

Note: Be careful, two Health Reloads and you are left with ~1000 in your pocket.

- Extra Amor ($2500) - 3 rounds

Sets your maximum armor to 150.

Note: If you are already wearing armor, it gets filled to 150 AP.

- M3 and M4 ($5000) - 3 rounds

The second most expensive item in the shop, it's a really god choice. Remember, if you die with this item, you have to reach the Mario room to get a new M3 and M4.

- Eye of the Spy ($1000) - 5 rounds

An item for the strategists. It warns you every time someone enters the jail.

- Save ($2500) - One shot

Saves your current items. When you reconnect, items are automatically restored.

Thanks to xPaw for his surf_ski_2 rules watcher plugin.
Thanks to Arkshine for pointing me the message issue and by doing so allowed me to remove fakemeta dependency.
Thanks to ConnorMcLeod for reviving this trash from the deeper layer of hell.

Cvars:
- ss_******_price / ss_******_duration XXXX
Item prices and duration. Replace ****** with one of these:
* getoutofjail
* healthreload
* extraarmor
* m3andm4
* eyeofthespy
* save
Note: Duration 0 means one shot, 1 means this round.
Note: It's not advised to put durations different from 0 (one shot) in items like Get Out Of Jail, Health Reload and Save.

- ss_version (Server cvar)
Plugin version.

Translations:Please post your translation in this thread if you can: http://forums.alliedmods.net/showthread.php?t=119126

Note:
The dictionary file is saved in UTF-8 without BOM!!!
Attached Files
File Type: sma Get Plugin or Get Source (ski2_shop.sma - 3183 views - 17.7 KB)
File Type: txt ski2_shop.txt (19.2 KB, 1744 views)

Last edited by Seta00; 11-02-2010 at 20:09. Reason: v1.7.1
Seta00 is offline
wrecked_
Veteran Member
Join Date: Jan 2010
Location: New York (GMT-5)
Old 02-18-2010 , 00:00   Re: Ski 2 Shop v1.0
Reply With Quote #2

Great work, Seta. Very elaborate ideas and concepts.

Quick thing:
Code:
SAVE = Your items has been saved!
LOAD = Your items has been loaded!
-->
Code:
SAVE = Your items have been saved!
LOAD = Your items have been loaded!
EDIT: Now I need one of those badass comments that spell my name really big.
__________________
[ Paid Requests ]
DO NOT PM ME ABOUT BLOCKMAKER
NO PRIVATE SUPPORT

Last edited by wrecked_; 02-18-2010 at 01:18.
wrecked_ is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Brazil
Old 02-18-2010 , 00:03   Re: Ski 2 Shop v1.0
Reply With Quote #3

Fixed. Thanks wrecked.
Seta00 is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-18-2010 , 00:44   Re: Ski 2 Shop v1.0
Reply With Quote #4

Why post 2 versions when you can use just 1 and not confuse anybody with the 2?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (intervening in a thread, asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Brazil
Old 02-18-2010 , 01:05   Re: Ski 2 Shop v1.0
Reply With Quote #5

Thought that someone might want the clean version.
Edited the post.
Seta00 is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 02-18-2010 , 05:08   Re: Ski 2 Shop v1.0
Reply With Quote #6

Quote:
If you're going to download the .amxx file, use surf_shop_webcompile.sma.
Huh?
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Brazil
Old 02-18-2010 , 07:10   Re: Ski 2 Shop v1.0
Reply With Quote #7

Sorry, forgot to remove that. I've included colorchat stocks into my file so it can be compiled online.
You can download the compiled file normally now.

Last edited by Seta00; 02-18-2010 at 07:22.
Seta00 is offline
Seta00
The Seta00 user has crashed.
Join Date: Jan 2010
Location: Brazil
Old 02-18-2010 , 08:22   Re: Ski 2 Shop v1.1 (Updated)
Reply With Quote #8

Updated

v1.1 Hot New Features:
+ Reimplemented item storage and loading/saving system
+ Fixed bug: If you disconnect from the Mario room, the plugin can't detect if you entered Mario again.
* Removed old debug server_print's
* Improved Mario room origins

Ski 2 Shop v1.1 by Seta00
Seta00 is offline
KadiR
Unnecessary Member
Join Date: Aug 2008
Location: Zürich / Switzerland
Old 02-18-2010 , 10:01   Re: Ski 2 Shop v1.1 (Updated)
Reply With Quote #9

Great plugin!
KadiR is offline
MouseSplash!
Veteran Member
Join Date: Dec 2009
Location: En Tu Mente!
Old 02-18-2010 , 14:15   Re: Ski 2 Shop v1.1 (Updated)
Reply With Quote #10

[es]
MENU_TITLE = Menu - Tienda Surf Ski 2
MENU_ITEM_1 = Salir De La Jaula
MENU_ITEM_2 = Recarga De Vida
MENU_ITEM_3 = Armadura Extra
MENU_ITEM_4 = M3 y M4
MENU_ITEM_5 = Ojo Espia
MENU_ITEM_6 = Guardar
MENU_ADVERTISING = Estas en el cuarto de Mario. Para abrir el menu de la tienda, escribe /menu
NOT_ON_MARIO = No estas en el cuarto de mario.
GET_OUT_OF_JAIL = Ahora tienes la carta para salir de la jaula.
LOST_GET_OUT_OF_JAIL = Tu usaste la carta para salir de la jaula
HEALTH_RELOAD = Usaste tu recarga de vida
EYE_OF_THE_SPY = Ahora tienes el Ojo Espia
LOST_EYE_OF_THE_SPY = Perdiste tu Ojo Espia
M3_AND_M4 = Ahora tienes M3 y M4 al mismo tiempo
LOST_M3_AND_M4 = Perdiste tu M3 y M4!
EXTRA_ARMOR = Ahora tienes Armadura Extra
LOST_EXTRA_ARMOR = Perdiste tu Armadura Extra
SAVE = Tus Items han sido Guardados!
LOAD = Tus Items han sido Cargados!
NOT_ENOUGH_MONEY = No tienes dinero suficiente
PLAYER_ON_JAIL = Jugador %s entro en la jaula

Spanish Version
MouseSplash! 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 23:32.


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