Scripted Subgames
Posted: Mon Jun 25, 2007 2:51 pm
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 =)
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
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
}
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