file Gem Madness Duration?

  • PacPlayer
  • PacPlayer's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Game Dev. for MB1/MBUn
More
08 Aug 2017 01:46 - 08 Aug 2017 12:06 #1 by PacPlayer
Gem Madness Duration? was created by PacPlayer
Sorry for posting so many questions, but this is more of a glitch...

Basically, I want to change the duration of Gem Madness on one of my/only custom level(s). But it resets every time and I can't change the default 5 min. Here's a video to explain it more:



Gem Madness... more like DURATION Madness! im sorry
Last edit: 08 Aug 2017 12:06 by PacPlayer. Reason: VIDEO LINK BROKE

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

  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Administrator
  • Administrator
  • At college, may not be around
More
08 Aug 2017 03:02 #2 by HiGuy
Replied by HiGuy on topic Gem Madness Duration?
How are you trying to change the duration? Should be the "time" field in the MissionInfo.

PQ in a nutshell
function clientcmd12dothepq() {
    commandToClient(LocalClientConnection, '34onthedancefloor');
}
The following user(s) said Thank You: PacPlayer

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

  • PacPlayer
  • PacPlayer's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Game Dev. for MB1/MBUn
More
08 Aug 2017 22:49 #3 by PacPlayer
Replied by PacPlayer on topic Gem Madness Duration?

HiGuy wrote:
Should be the "time" field in the MissionInfo.


I tried to change the "Qualify Time" Section, but it resets when I click accept! Here's a vid explaining more:

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

  • eNetro
  • eNetro's Avatar
  • Offline
  • Professional Marbler
  • Professional Marbler
  • Skilled PlatinumQuest Player
More
09 Aug 2017 01:45 #4 by eNetro
Replied by eNetro on topic Gem Madness Duration?
That's exactly what I tried to do when I was playing around with the level editor's newest features! What I simply did if I were to create a Gem Madness level is to go to the mission file, open it up with a text editor, and added a 'time' field under MissionInfo.

Use this:
time = "12345";

where this number is represented in milliseconds.

You're welcome!

Awesome Hint:

Since the Awesome Time/Score is secret, you will have to beat it in order to find out what it is. Just practice every day, and be ready to keep pressing the 'Restart' button...A LOT!
The following user(s) said Thank You: PacPlayer

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

  • PacPlayer
  • PacPlayer's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Game Dev. for MB1/MBUn
More
09 Aug 2017 12:49 #5 by PacPlayer
Replied by PacPlayer on topic Gem Madness Duration?

eNetroMB wrote:
That's exactly what I tried to do when I was playing around with the level editor's newest features! What I simply did if I were to create a Gem Madness level is to go to the mission file, open it up with a text editor, and added a 'time' field under MissionInfo.

Use this:

time = "12345";


Thanks! But there was an error and I removed the code, but now, with that line out, I can't load my level anymore! It just says "Line 22: Syntax Error", which is my "radar = 0" line:
//--- OBJECT WRITE BEGIN ---
new SimGroup(MissionGroup) {
 
   new ScriptObject(MissionInfo) {
         artist = "PacPlayer";
         blast = "0";
         customRadarRule = "3";
         desc = "* Secret *";
         eggHint = "* Secret *";
         forceRadar = "0";
         game = "Custom";
         gameMode = "GemMadness";
         generalHint = "* Secret *";
         hideRadar = "1";
         level = "3000";
         mega = "0";
         music = "* Secret *";
         name = "Pac-Blast";
         noAntiCheckpoint = "0";
         noBlast = "1";
         persistStartHelpTextTime = "0";
         radar = “0”;
         type = "Custom";
         useUltraMarble = "0";
   };

(The "* Secret *" is just for hiding my level info) I tried changing "radar = 0" to 1,2, and 3 but still no luck. Anyone know anything I could do? This is getting way more complicated than it needs to be sry...

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

  • HiGuy
  • HiGuy's Avatar
  • Offline
  • Administrator
  • Administrator
  • At college, may not be around
More
09 Aug 2017 20:19 #6 by HiGuy
Replied by HiGuy on topic Gem Madness Duration?
Your issue there is the fancy quotes around the 0 in radar-- note how they look different. Make sure your text editor isn't using smart / fancy quotes. Worst case, copy+paste the quotes from the other fields.

PQ in a nutshell
function clientcmd12dothepq() {
    commandToClient(LocalClientConnection, '34onthedancefloor');
}
The following user(s) said Thank You: PacPlayer

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

  • PacPlayer
  • PacPlayer's Avatar Topic Author
  • Offline
  • Intermediate Marbler
  • Intermediate Marbler
  • Game Dev. for MB1/MBUn
More
09 Aug 2017 20:35 #7 by PacPlayer
Replied by PacPlayer on topic Gem Madness Duration?
Thanks guys! Finally got the duration working! :cheer: Now I can finish my level! :)

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

Moderators: Kalle29AayrlRegislian