The Ur-Quan Masters Home Page Welcome, Guest. Please login or register.
Did you miss your activation email?
December 06, 2024, 09:41:46 am
Home Help Search Login Register
News: Celebrating 30 years of Star Control 2 - The Ur-Quan Masters

+  The Ur-Quan Masters Discussion Forum
|-+  The Ur-Quan Masters Re-Release
| |-+  General UQM Discussion (Moderator: Death 999)
| | |-+  Key requests, time slowing
« previous next »
Pages: 1 [2] Print
Author Topic: Key requests, time slowing  (Read 4579 times)
Ego1607
Zebranky food
*
Offline Offline

Posts: 4


I love YaBB 1G - SP1!


View Profile
Re: Key requests, time slowing
« Reply #15 on: June 11, 2004, 04:43:35 am »

Are there any editors i could use to extend the time limit on the UGM 0,3? I tryed searching, but found nothing. I realy want more time to explore the game, so i'd be VERY gratefull.
Logged
FalconMWC
Enlightened
*****
Offline Offline

Gender: Male
Posts: 1059


Avatar Courtesy of Slyrendro


View Profile
Re: Key requests, time slowing
« Reply #16 on: June 12, 2004, 07:25:58 pm »

Can't you just save your game once you have all the RU you want then loadwhen you know and want to do the things next?

Also,

Quote
Editing the saved game by hand (with a hex editor) is not really an option as the relevant data in the saved game is compressed. It should be possible to write a savegame editor, which would have to replicate the way the savegame is loaded from the game.

It is however not very hard to edit the source to give you more time. But that means you have to recompile the source yourself. I don't know whether you have the skills and tools to do that. If not, maybe someone else could do it for you.
This is what has to be done:
- edit src/sc2code/globdata.h, and edit the line saying '#define YEARS_TO_KOHRAH_VICTORY 4', by replacing the 4 by however many years you want (excluding the extra year you get for the Utwig mission). Races in the game will think you've got this many years now, but the Kohr-Ah victory has already been scheduled, and the date is saved in your saved game, so this will only help for new games. If you want to change this date, you'll need to make the following modification (in addition to this one):
- edit src/sc2code/load.c, and insert before the line saying "UnlockEvent (hEvent);" the following lines:
               if (EventPtr->func_index == KOHR_AH_VICTORIOUS_EVENT) {
                   UnlockEvent (hEvent);
                   FreeEvent (hEvent);
                   continue;
               }
Then leave the lines after that alone that say
               UnlockEvent (hEvent);
               PutEvent (hEvent);
           }
       }
and then add:
       AddEvent (ABSOLUTE_EVENT, 2, 17, START_YEAR + YEARS_TO_KOHRAH_VICTORY,
                   KOHR_AH_VICTORIOUS_EVENT);
These first section of code added makes sure the event from the savegame is not loaded, and the second section adds the event to be triggered when you want it. (I couldn't just modify the event from the saved game, as the queue should always be sorted on date).

If you're already in the extension time this won't work; the event for the destruction of the first race is already scheduled. Something similar can be done for that, but let's see if this is enough for your purposes first.


« Last Edit: June 12, 2004, 07:31:40 pm by FalconMWC » Logged
Art
Guest


Email
Re: Key requests, time slowing
« Reply #17 on: July 06, 2004, 04:03:40 pm »

Well, for what it's worth, time *only* passes when in navigation mode (traveling through hyperspace or a star system). Everything else in the game -- talking with aliens, cruising over a planet surface, battling hostile ships, and so on -- freezes time. So there's no real reason that you should be consuming huge amounts of time, even if you are taking it easy. Yes, that includes orbit around a planet (scanning and analyzing the planet and so on), so no need to get all rushed with your lander.
Time will *only* pass when you're in the mode labeled "Navigate". So you can stop time just by opening the menu (everything on screen will freeze). If you always travel through Hyperspace by autopilot (unless you need to take evasive action against pursuing Ur-Quan) and you don't spend long periods of time drifting and turning in Truespace, you should be fine.

Other than that, all you need to do is to put some hard limits on how much time you spend mining -- or, rather, how much time you spend traveling from planet to planet in order to mine. As Commander Hayes says, spend a year on it *at most*. Be smart about it, plan your flight paths to minimize flight time (visit a whole constellation at once before going back) and once your flagship is moderately powerful, ease off on mining (unless you find a really juicy Ruby World) and focus on collecting life forms and Rainbow Worlds for credits and killing hostiles for RU. That's overall more fun -- c'mon, mining is boring as heck -- and should get you all the resources you need with time to spare.

Other things: Get QuasiSpace as soon as you can -- the only reason I ran out of time my first game was that I put investigating the variable green star low on my list of priorities. And do not hang around in Hyperspace waiting for encounters if you can avoid it; if you want to go hunting for ships to kill, keep it in a solar system, as time passes much more slowly in Truespace.
Logged
Pages: 1 [2] Print 
« previous next »
Jump to:  


Login with username, password and session length

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines Valid XHTML 1.0! Valid CSS!