Minigame Puzzlematching for TGE
by Herru Cules D · 10/08/2007 (10:22 am) · 3 comments
I want to contribute to this community with a feq knowledge that i know. I want to create minigames inside the game, so that on some situation, such as when the player is trapped in the room, the player can only escape if the player finishes this puzzle minigame.
and it is already networked - so each client can have their own puzzlematching, I bind the puzzle object to the client.
the steps are:
1. copy puzzlematching.cs on mods/server/scripts
2. on mods/server/game.cs @ onServerCreated() add exec("./puzzlematching.cs");
3. copy puzzlematching.gui to mods/client/ui
4. on mods/client/init.cs @ initClient() add exec("./ui/puzzlematching.gui");
5. copy images resources to mods/client/ui/bitmaps/puzzle
6. you can call the puzzle game by using commandToServer('generatePuzzleMatching');
it can be called becos of the trigger area or anything you want.
Due to the document size limitation, I upload the resources @ http://www.geocities.com/herrudarmadi/puzzlematching.zip
Any comment is welcome. thx
and it is already networked - so each client can have their own puzzlematching, I bind the puzzle object to the client.
the steps are:
1. copy puzzlematching.cs on mods/server/scripts
2. on mods/server/game.cs @ onServerCreated() add exec("./puzzlematching.cs");
3. copy puzzlematching.gui to mods/client/ui
4. on mods/client/init.cs @ initClient() add exec("./ui/puzzlematching.gui");
5. copy images resources to mods/client/ui/bitmaps/puzzle
6. you can call the puzzle game by using commandToServer('generatePuzzleMatching');
it can be called becos of the trigger area or anything you want.
Due to the document size limitation, I upload the resources @ http://www.geocities.com/herrudarmadi/puzzlematching.zip
Any comment is welcome. thx
About the author
#3
the link is not working any more. How can I get this resource?
Thanks,
03/27/2010 (12:22 pm)
Hello,the link is not working any more. How can I get this resource?
Thanks,

Torque Owner Jason Burch
Mirror
Excellent resource can use this for many things.
Thanks!