Scripted Subgames

Forum Archive - from http://theuniversal.net
Locked
User avatar
morbydvisns
Posts: 1889
Joined: Sun Jan 30, 2005 12:51 am

Scripted Subgames

Post by morbydvisns »

ill be working on a series of scripted subgames, available on BongsFunZone. Heres an example of one i threw togeather last night. Right now its kinda crude and simple, but effective just to touch on possibilities, and get ur creative juices flowing =)

Code: Select all

Event( "UseItem", "Brain Power Challenge" )
{
$Playervar4 = $gPlayerTeam
Sleep(30)
*msg %player% Hello, and welcome to the Brain Power Challenge!
Sleep(30)
*msg %player% I have a task for you.  Its actually quite simple.
sleep(30)
*msg %player% As, im sure you've seen, the this land is rich with mushrooms. 
*msg %player% They are a valuable source of brain power.
Sleep(30)
*msg %player% I need you to collect as many as possible. You will need to build
*msg %player% a special building to exchange brain power for cash.  During this time
*msg %player% you will be placed on a specail team so that only you can use this building.
*Grantskill %player% Brain Power Challenge
*setteam %player% 4
*say %player% has entered quest mode.
sleep (30)
*msg %player% you have 10 minutes to collect as many brain power as you can
*msg %player% Build the Brain Power Exchange to sell them.
sleep (30) 
*msg %player% START NOW AND GOOD LUCK!
sleep (4200)
*msg %player% 3 minutes remaining, dont forget to cash in your brain power!
sleep (1800)
*msg %player% times up! back to normal mode again.  You can play again tomorrow.
*removeskill %player% brain power challenge
*setteam %player% $playervar4
}
In short... usable item triggers it, displayes a little message to the player (will soon be replaced by an textbox of sort) and placed to a quest-only team. The player is given a skill to build a quest-only building, and given the task to collect and sell as many brain power in 10 minutes. The building offers a nice payout for the quest. Once quest is over, player is put back to their origional team. This cuts off access to the quest building.

Again, this is a very basic layout. Soon will expand to give secondary quest completion payout, based upon wealth gain during quest, and limitations to how often / how many times the script can be executed per player.

enjoy

bongz
User avatar
zaroba
World Owner
World Owner
Posts: 7257
Joined: Fri Oct 10, 2003 11:06 pm
Location: Hereford, PA
Contact:

Post by zaroba »

speaking of scripted subgames....

i'm almost done making a scripted Blackjack.
User avatar
morbydvisns
Posts: 1889
Joined: Sun Jan 30, 2005 12:51 am

Post by morbydvisns »

Subgame Name: Shiver Me Triggers

Basically, you run the script, it puts you to a special quest team... your given a skil lto build 4 trigger bldgs.. you must build all 4 and trigger in a specific sequence. there are 5 different sequence possibilites picked at random when the quest starts.


Please come test this at BongsFunZone while im at work... i just got done so its probably not too swift what ive been able to try so far has worked, just dont have the time to muddle thru it right now.


bongz
Locked