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

Equation Quest


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Admin Commands       
Blue Snake.
Member
Join Date: May 2011
Location: Romania
Old 04-15-2012 , 20:19   Equation Quest
Reply With Quote #1

Equation Quest
By Andrei

Description

This plugin will generate 2 random numbers and a type of equation (+ - * /). The first to answer correctly will receive points.


Client Commands
Enable/disable the chat messages from the plugin
/eq

Show your current points
/eqpoints

Show your current position
/eqrank

Show top10
/eqtop

Cvars
The amount of time (in seconds) given to answer each equation
eq_time_answer <default: 30>

The amount of time (in seconds) between two equations if nobody has answered correctly.
eq_nobody_answer <default: 60>

The amount of time (in seconds) between two equations if there was a correct answer.
eq_correct_answer <default: 90>

Does the user get any bonus if he answer correctly? (0=nothing, 1=money, 2=health)
eq_bonus <default: 0>

The limit of hp that a user can have if he answer correctly and eq_bonus is set for health
eq_hp_limit <default: 100>
ChangeLog

1.00 - Initial release
1.01 - Added /eq command
- enable/disable the chat messages from the plugin
1.02 - Save type changed to fvault
1.03 - Added eq_bonus for money and health
1.04 - Added /eqpoints command - Show current points.
1.05 - Added /eqrank and /eqtop - Tops and rankings
1.06 - Added integer division | fixed a top bug

Credits

  • nucLeaR - Helped me with the translation, with testing, gave suggestions and helped improving the code
  • terryoh (MesseD uP MinD) - The original idea
To do:
Any sugestions?
Attached Files
File Type: sma Get Plugin or Get Source (equation_quest.sma - 1118 views - 15.5 KB)

Last edited by Blue Snake.; 05-25-2012 at 15:23.
Blue Snake. is offline
tlch0324
Senior Member
Join Date: Jan 2007
Old 04-16-2012 , 04:14   Re: Equation Quest
Reply With Quote #2

what is the use of the point?
tlch0324 is offline
Blue Snake.
Member
Join Date: May 2011
Location: Romania
Old 04-16-2012 , 05:39   Re: Equation Quest
Reply With Quote #3

Actually no use, I don't have enough imagination, can you suggest something?
Blue Snake. is offline
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 04-16-2012 , 10:07   Re: Equation Quest
Reply With Quote #4

Maybe a Top15?

Or a menu with some good stuff to buy with your points.
__________________
We all live under the same sky but we have different horizons.
bLacK-bLooD is offline
TeddiBer
Senior Member
Join Date: Oct 2011
Old 04-16-2012 , 10:35   Re: Equation Quest
Reply With Quote #5

if think you should add:
/top15 (for points)
/shop
in the shop there will be 4 menus:
Your Points: X
Special Weapons
Special Powers
Players Points
------------------
Special Weapons Menu:
Golden Deagle (x1.5 damage) : 15 Points
Golden Ak47 (x2 damage): 25 Points
and some more special weapons ....
------------------
Special Powers Menu:
Noclip (1round) : 30 points
Speed (1round) : 25 points
Gravity (1round) : 25 points
------------------
Players Points Menu:
there will be all the players name that plays now in the server, and next to them names will be there points.
------------------
* you should all so add a cvar:
eq_save_points (saving the points after map changing)
TeddiBer is offline
erader
Senior Member
Join Date: Dec 2010
Old 04-17-2012 , 11:39   Re: Equation Quest
Reply With Quote #6

Can you make it with money ? I think it will be more usefull.
erader is offline
Blue Snake.
Member
Join Date: May 2011
Location: Romania
Old 04-17-2012 , 13:51   Re: Equation Quest
Reply With Quote #7

I will add a cvar for money and health

Edit: done

Last edited by Blue Snake.; 04-18-2012 at 06:50.
Blue Snake. is offline
NucL3ra
Veteran Member
Join Date: Sep 2008
Location: Bucuresti , Romania
Old 04-17-2012 , 18:00   Re: Equation Quest
Reply With Quote #8

Addictive plugin >.>
__________________
My nickname is nucLeaR, I just screwed up at registering and didn't want to change after that X_X.
NucL3ra is offline
Send a message via Yahoo to NucL3ra
Liverwiz
Veteran Member
Join Date: Feb 2010
Location: Maryland
Old 04-22-2012 , 22:46   Re: Equation Quest
Reply With Quote #9

i've seen concepts like this get used as things terrorists have to do in JailBreak.

possibly correlate with a JB developer to make this a plugin to one of their mods. Might actually catch on.
Liverwiz is offline
pacheco
Senior Member
Join Date: Jul 2011
Old 04-23-2012 , 14:08   Re: Equation Quest
Reply With Quote #10

Nice plugin! Thanks for TOP10
__________________



pacheco 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 14:03.


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