Would it be possible to make a mod that speeds up the game? e.g. a fast forward button. If so, how?
created
last reply
- 25
replies
- 2.0k
views
- 7
users
- 20
likes
- 3
links
Would it be possible to make a mod that speeds up the game? e.g. a fast forward button. If so, how?
@sastrei is correct - he may just have mappings that others don’t have… ? I think these were debug keys, I am not even 100% sure they work in all builds released - the public preview may vary, or even some of the private beta builds…
In my autoexec.lua (where the exe is, I forgot how the public does this?)
bind2("TurboEnable(4)", SHIFTKEY, BACKSLASHKEY )
bind2("TurboEnable(1)", CONTROLKEY, BACKSLASHKEY )
bind1("TurboEnable(2)", BACKSLASHKEY )
So:
Shift / is Go faster by 2x
Ctrl / is Go slower by 2x (yes including slo-mo)
/ is return to normal speed
Is TurboEnable() also useable in an UI command, like Universe_Slowdown() ?
If that’s the case, I could add it to my code here 20 !
Edit :
I see that it can also slow things down. Does it have the same effect than Universe_Slowdown() in that case ?
The only parameters for it are 1, 2, and 4 ? Or is there other ones (like 8 for x4 for example) ?
Here’s another method to speed up and slow down the game. Open the following file in notepad:
C:\Program Files (x86)\Steam\steamapps\common\Homeworld\HomeworldRM\Bin\Profiles\Profile#\PLAYERCFG.LUA
Find this section:
ControlsOptions = {
keys = {
Copy and past this code below it:
{
0,
"TurboEnable(4)",
0,
0,
"debugbind2",
{
16,
220,
},
},
{
0,
"TurboEnable(1)",
0,
0,
"debugbind2",
{
17,
220,
},
},
{
0,
"TurboEnable(2)",
0,
0,
"debugbind1",
{
220,
},
},
While you’re in the game, use these keys. You can also press them multiple times to increase the effect.
Note: This is best used for Player vs CPU. It may potentially cause some glitches in the campaign, but nothing a mission restart can’t fix.