AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Unapproved/Old Plugins (https://forums.alliedmods.net/forumdisplay.php?f=27)
-   -   Equation Quest (https://forums.alliedmods.net/showthread.php?t=182982)

Blue Snake. 04-15-2012 20:19

Equation Quest
 
6 Attachment(s)
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?

tlch0324 04-16-2012 04:14

Re: Equation Quest
 
what is the use of the point?

Blue Snake. 04-16-2012 05:39

Re: Equation Quest
 
Actually no use, I don't have enough imagination, can you suggest something?

bLacK-bLooD 04-16-2012 10:07

Re: Equation Quest
 
Maybe a Top15?

Or a menu with some good stuff to buy with your points.

TeddiBer 04-16-2012 10:35

Re: Equation Quest
 
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)

erader 04-17-2012 11:39

Re: Equation Quest
 
Can you make it with money ? I think it will be more usefull.

Blue Snake. 04-17-2012 13:51

Re: Equation Quest
 
I will add a cvar for money and health

Edit: done

NucL3ra 04-17-2012 18:00

Re: Equation Quest
 
Addictive plugin >.>

Liverwiz 04-22-2012 22:46

Re: Equation Quest
 
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.

pacheco 04-23-2012 14:08

Re: Equation Quest
 
Nice plugin! Thanks for TOP10


All times are GMT -4. The time now is 14:47.

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