Satellite Reign

Satellite Reign

View Stats:
Caldor Oct 31, 2016 @ 10:43pm
I made a mod :)
Now tactical pause is possible, but that is the mod 5Lives made as an example. I modified it so you can cgange how your agents look a bit, and do some cheats. So far it has mainly been to figure out what is possible to do with the modding system.

But here is what I have made so far:
http://dionysus.dk/devstuff/downloads/Pause.dll

Go to your Satellite Rain installation folder, make a folder in it called "Mods", then download this "Pause.dll" file and put it into the Mods folder. Then the next time you start the game it will be enabled.

** Key: Pause ** action: Pauses game tactically. You can still give orders, and use arrow keys to scroll around.
Cheats:
** Key: Page Up and Page Down ** action: The selected agent will switch to a weapon higher or lower than the current weapon.
** Key: Del ** action: Enables cheat mode. All agents will be unable to die or lose energy, until you respawn your agents or click the key again.
** Key: keypad plus and minus ** action: Pauses increases or decreases the speed of the game. It seems to have a max, and it cannot go below zero, at zero it pauses. You can pause the game and unpause to get back to normal speed.
** Key: Keypad 7 ** action: Forces all cars to park. Trying to make it possible to use cars, even though its most likely still very bugged if I managed to make it possible.
** Key: Backspace ** action: Takes or loses control of any human or mech you have selected. Beware, you can even lose control of your agents, but you can select them again with the number keys.
** Key: Insert ** action: Gives any selected agent a skill boost and a plasma rifle. Also gets an extra weapon slot and more, so you can click it several times to get more slots, but when you get above max it will stop working. Can be solved by respawning your agent or agents.

Change looks:
** Key: N ** action: If your agent has a clone with modifiers, this key will increase those modifiers to a much higher value.

** Key: M ** action: Changes the sex of any selected agent. Sex 0: both, sex 1: male, sex 2: female. It goes from 0 to 1 to 2. This also respawns the selected agents.

** Key: End ** action: All selected agents become female and increase the randomseed by 10. Selected agents also respawn.
** Key: Keypad 8 ** action: Selected agents gets a random sex and body and is respawned with it.
** Key: Keypad 9 ** action: Tries to change hair and skincolor. Does not seem to work, so it just shows some information about selected agents.
** Key: Keypad 1-3 ** action: Saves the seed / body of the selected agent or civilian. Does not work on civilians it seems.
** Key: Keypad 4-6 ** action: Applies settings saved by keypad 1-3 respectively. If no agent is selected, current seeds saved will be shown as information.
** Key: Keypad 0 and home ** action: home saves the randomseeds of every agent, and 0 returns the agents to those seeds and respawns all agents.


I have updated these mods a bit so here are links to some newer versions. Oh and yes it is now 4 mods so you dont suddenly make your agents have super clones and stuff like that with a wrong keypress.
http://dionysus.dk/devstuff/downloads/Pause5Lives.dll
Enables you to pause the game using the pause/break key.

http://dionysus.dk/devstuff/downloads/UnStuck.dll
This is the UnStuck mod. You just press F11 and your agents should get unstuck. If not I also made it possible to use the minus key. At least I am pretty sure its the minus key.

http://dionysus.dk/devstuff/downloads/Cheats.dll
Cheats mod:
** Key: Page Up and Page Down ** action: The selected agent will switch to a weapon higher or lower than the current weapon.
** Key: Del ** action: Enables cheat mode. All agents will be unable to die or lose energy, until you respawn your agents or click the key again.
** Key: keypad plus and minus ** action: Pauses increases or decreases the speed of the game. It seems to have a max, and it cannot go below zero, at zero it pauses. You can pause the game and unpause to get back to normal speed.
** Key: Keypad 7 ** action: Forces all cars to park. Trying to make it possible to use cars, even though its most likely still very bugged if I managed to make it possible.
** Key: Backspace ** action: Takes or loses control of any human or mech you have selected. Beware, you can even lose control of your agents, but you can select them again with the number keys.
** Key: Insert ** action: Gives any selected agent a skill boost and a plasma rifle. Also gets an extra weapon slot and more, so you can click it several times to get more slots, but when you get above max it will stop working. Can be solved by respawning your agent or agents.

http://dionysus.dk/devstuff/downloads/ChangeLooks.dll
Key: Action:
Numpad 1,2 or 3: Save what the currently selected agent or person looks like and name in slot 1, 2 or 3.
Numpad 4, 5 or 6: Apply the clone saved in slot 1, 2 or 3 to the selected agents. Both sex, seed, wardrobe type and name.
Home: Will save the clones of all agents, including their name.
End: Will revert all selected agents to their saved clones.
Numpad 8: Randomize selected agents. Random sex, random looks.
Numpad 9: Randomize the names of selected agents. The name will match their current sex.
Numpad 0: See detailed information about the selected agent or person.
M: change the sex of any selected agent.
Last edited by Caldor; Nov 19, 2017 @ 8:20pm
< >
Showing 1-15 of 88 comments
Gillsing Nov 1, 2016 @ 1:33am 
Sadly, I couldn't get it to work in Linux. Not in the Steam installation (both "Mods" and "mods") or the free-standing Humble Bundle installation, where I tried both the basic installation folder and the "SatelliteReignLinux_Data" subfolder, where all the other game data folders are located.

I was looking forward to attempt to copy the looks of my cool looking civilian clones to some commander clones in another user profile.

http://steamcommunity.com/sharedfiles/filedetails/?id=791332454

EDIT: The workaround made it work:
Originally posted by thedjnK:
Workaround: make another directory in the same folder that the satellite reign folder is in named <whatever_satellite_reign_is_called>\Mods (mkdir SatelliteReign\\Mods) and put mods in there, dlls in that directory successfully load.
Last edited by Gillsing; May 3, 2017 @ 6:55pm
Caldor Nov 1, 2016 @ 5:00am 
Maybe this can help you? Although it sounds like you did what you should, unless its not the real installation folder, but its hard to tell if its the Linux version. Possibly the whole DLL is mainly for Windows, but I am pretty sure it should not be.
https://github.com/5Lives/SR.Plugin.Pause

But your game does not say (MODDED) in the bottom right corner after loading the menu?
Caldor Nov 1, 2016 @ 7:16am 
If you got it working, you can get the seeds from all your agents with the home button, or you can select an agent and press numpad 1, 2 or 3, and then make sure no agent is selected and click numpad 4, 5 or 6. Then a list of the seeds saved in 1, 2 and 3 will be shown.

Satellite Reign uses Steam cloud save by the way, so it should be possible log on to your Steam account on a Windows computer and get it that way, or if you just want to make sure you can save the agents, I made a tutorial on how to get the data for each agent from the save game file. Then you can add them to another save game file.

Another thing is, I am pretty sure my copying of clones is still flawed. Not completely sure why, its a bit confusing that each agent has to random seeds, and two of almost everything else. One is just called, f.ex. RandomSeed, and then the agent has another stat with the same name except an m_ in front of the name, so with RandomSeed it becomes m_randomseed instead. I have not managed to figure out if there is a difference.

Would be nice if I could make my own UI panel in the game with custom buttons and texts. I might even be possible, but not easy to do it from Visual Studio alone.
Gillsing Nov 1, 2016 @ 8:10pm 
Nope, doesn't say (MODDED) anywhere. And this time I made both "Mods" and "mods" and put both folders in both the Steam Games SatelliteReign and the SatelliteReignLinux_Data folders, just for good measure.

Compiling stuff is definitely too much trouble for my taste. I doubt I even have the software that's required. Which is why I would've found it useful to copy RandomSeeds within the game itself.
Caldor Nov 1, 2016 @ 8:33pm 
Originally posted by Gillsing:
Nope, doesn't say (MODDED) anywhere. And this time I made both "Mods" and "mods" and put both folders in both the Steam Games SatelliteReign and the SatelliteReignLinux_Data folders, just for good measure.

Compiling stuff is definitely too much trouble for my taste. I doubt I even have the software that's required. Which is why I would've found it useful to copy RandomSeeds within the game itself.

Sounds like the Linux version works differently... maybe post it as a bug in the bug forum? Not really seeing any good reason it would not also work on Linux.
TOMBSTONE Nov 5, 2016 @ 4:38am 
Hi Caldor,
many thanks for this mod! You mentioned in another thread, that you could provide a version without the extra features, so just the pause key function.

I used your mod and it works like a charm, but I often do activate unwanted functions with a key press. Since it's my first playthrough, I would like to play without the possibility to "cheat" with your mod.

Can you compile a simplified version with pause only?

thank you!
Tomb
Caldor Nov 5, 2016 @ 7:40am 
Originally posted by Tombstone:
Hi Caldor,
many thanks for this mod! You mentioned in another thread, that you could provide a version without the extra features, so just the pause key function.

I used your mod and it works like a charm, but I often do activate unwanted functions with a key press. Since it's my first playthrough, I would like to play without the possibility to "cheat" with your mod.

Can you compile a simplified version with pause only?

thank you!
Tomb

Sure thing. Will post a link soon.
Caldor Nov 5, 2016 @ 7:46am 
The mod 5Lives made, with just the pause button:
http://dionysus.dk/devstuff/downloads/Pause5Lives.dll
TOMBSTONE Nov 5, 2016 @ 8:58am 
Thank you very much, works perfect!
Creamysmooth Nov 5, 2016 @ 9:41pm 
This thread should be pinned. Well done Caldor for posting this info up.
Caldor Nov 5, 2016 @ 10:06pm 
I made it all into 3 mods. So there is the pause mod, a cheats mod and a change looks mod:
http://dionysus.dk/devstuff/downloads/Cheats.dll

http://dionysus.dk/devstuff/downloads/ChangeLooks.dll

Those are the cheats and change looks one. Should work by just putting them all into the mods folder, and then removing the ones you do not want.

I plan on making a "unstuck button" later. But might have to work a bit like a cheat. But I could give it like a 30 min or one hour cooldown for each agent.
Bob Nov 6, 2016 @ 3:06am 
Cheats? Good Lord, the mentality.
Caldor Nov 6, 2016 @ 5:20am 
Originally posted by Bob:
Cheats? Good Lord, the mentality.

Well, stuff that works as cheats, its useful for testing mods and figuring out the modding system. I made it into 3 different mods to make it so you do not have to have the option to cheat.
Caldor Nov 6, 2016 @ 7:06am 
Finished the UnStuck mod:
http://dionysus.dk/devstuff/downloads/UnStuck.dll

As usual, it goes into the "Mods" folder in the Satellite Reign installation folder. If it does not exist, you have to create the Mods folder first.

Then you press the "minus" key or "F11" key and all your agents gets teleported to the currently selected human or mech, then it has a cooldown of 15 minutes. Any dead agents will be revived without penalty. Loading a save game resets the timer. Took a bit of time to figure out how to reset the timer when a game was loaded. Could be useful for other mods.
Caldor Nov 6, 2016 @ 5:11pm 
I updated the UnStuck mod, because I found that there already is a "GetClosestPos" method in the game, which seems to be pretty perfect for unstucking an agent. Seems they did work on making this possible, just did not implement it for some reason.

This is still the link:
http://dionysus.dk/devstuff/downloads/UnStuck.dll

So now, every agent will just get to the closest position that is part of the city as a walkable area. I even tried it on an agent in a vent, and he moved a bit while inside the went, then continued crawling through it. I am not 100% that it will work in all cases, but if anyone experience that it fails, then I will just make two unstuck key functions. The keys are still F11 or minus. The minus not on the numpad.

I also found a better way to show messages.
< >
Showing 1-15 of 88 comments
Per page: 15 30 50