file Mod_TMTimer: A Time Modifier Clock

  • HiGuy
  • HiGuy's Avatar Topic Author
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
  • Posts: 1334
  • Thank you received: 605
06 Aug 2013 07:56 #1
I was playing Threefolder's newest level, Time Modifier Collect-a-Thon, and thought to myself, I wonder how much time I have left in bonuses... So I speedily wrote up this little script and it works... apparently. Basically, it appears as a small timer underneath your normal timer, which shows you how much time bonus you have remaining. It hides if it's not needed, and shows when you grab a Time Modifier.

Oh, and pictures! I almost forgot pictures!


Shown: Bags of Time
Level: Time Modifier Collect-a-Thon by Threefolder


Shown: Totally Compatible

So what are you waiting for? Go get it!

Download URL: cl.ly/code/353K3O2j0n1r
Direct Download: cl.ly/code/353K3O2j0n1r/mod_tmtimer.cs

Installing
1. Download mod_tmtimer.cs from the link above
2. Open the folder where the copy of MarbleBlast that you wish to use is installed
2a. If you are on a Mac, right-click the application (hold control+click) and select Show Package Contents
3. Open the file main.cs with a text editor
4. Find in the file:

Quote:function onStart()
{
   // Default startup function
}


5. Add text inside the function so it looks like this:
Use whichever exec() function pertains to the version of MarbleBlast you are installing this in

Quote:function onStart()
{
   // Default startup function

   // If you are installing this in Marble Blast Platinum 1.20 or higher, use this:
   exec(platinum/mod_tmtimer.cs);

   // Otherwise use this:
   exec(marble/mod_tmtimer.cs);
}

6. Save and close your text editor
7. Open the marble folder (or platinum if you are using MBP 1.20 or higher)
8. Place mod_tmtimer.cs in that folder
9. Open Marble Blast and verify that the installation was successful by opening the console (~) and looking for Initializing TimeModifier Timer scripts in MarbleBlast Gold near the bottom of the console.

Thanks, and I hope you enjoy!

-HiGuy

This signature is real code
Code:
function clientcmd12dothepq() { commandToClient(LocalClientConnection, '34onthedancefloor'); }

Please Log in or Create an account to join the conversation.

  • Perishingflames
  • Perishingflames's Avatar
  • Offline
  • Senior Marbler
  • Senior Marbler
  • Posts: 882
  • Thank you received: 21
06 Aug 2013 08:16 #2
Looks awesome and very useful! I'm guessing this will make its way into 1.50 in some shape?

Please Log in or Create an account to join the conversation.

  • HiGuy
  • HiGuy's Avatar Topic Author
  • Offline
  • Lead Developer
  • Lead Developer
  • PQ Developer Emeritus
  • Posts: 1334
  • Thank you received: 605
06 Aug 2013 08:20 #3
It may, it may not. I'll have to ask Matan on specifics about that.

This signature is real code
Code:
function clientcmd12dothepq() { commandToClient(LocalClientConnection, '34onthedancefloor'); }

Please Log in or Create an account to join the conversation.

  • Posts: 224
  • Thank you received: 156
06 Aug 2013 19:54 #4
Awesome! I've always wanted to have something like this, especially for levels like Diamond Seeking Fun!

Please Log in or Create an account to join the conversation.

Moderators: Doomblah
Time to create page: 1.495 seconds
We use cookies

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.