Skip to main content

Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
TagsGame Engines

Strive: Conquest

A successor to first Strive For Power game, currently at alpha stage · By Strive4Power

Body Image Auto-Switcher

A topic by Raetekusu created 71 days ago Views: 1,560 Replies: 5
Viewing posts 1 to 3
(6 edits)

This mod will automatically switch body images for custom image sets assuming an applicable picture exists and it is located within the proper folders in the AppData directory.  This is functionality the original AricsExpansion mod had for Strive For Power but was excluded from Strive Conquest.  This mod restores that functionality.

Game Version: 0.11.1 (theoretically, this should be compatible with all game versions unless SlaveBodyModule.gd's "update" method drastically changes)
Mod Version: 1.0

DOWNLOAD - https://www.mediafire.com/file/s35av1uo5jrvfdn/BodyImageAutoSwitcher.zip/file

Big shoutout to pyro994 for getting the mod_config hooked up properly.  I was on the right track when it came to which node and how to do it, but I had no idea how to override a sub-node, and now I do.  Many thanks, boss!

REQUIREMENTS:
This mod assumes you have image packs from Strive For Power installed. In your AppData/Roaming/Strive For Power 2 folder, there should be FOUR new folders added: "portraits", "bodies", "bodiesnaked", and "bodiespregnant". All images within should have EXACTLY the same names and be nested in the same folders as its sister pictures in the other directories. Otherwise, this mod will not work. If you do not have these images, this mod won't actually do anything.

COMPATIBILITY:
Theoretically, this mod should be compatible with all mods. If anyone finds a compatibility issue, give me a shout and I can figure out the issue.

NOTICE TO USERS OF PRE-1.0 VERSIONS:
Since that version was installed directly into the base game files, you will need to find a clean version of gui_modules/CharacterInfo/SlaveBodyModule.gd, which can be found either with the backup the old installation instructions had, or in a fresh download.


INSTALLATION:

  1. Extract mod from .zip archive.
  2. Navigate to AppData/Roaming/Strive for Power 2/mods
  3. Copy internal "BodyInputAutoSwitcher" folder into Mods folder.
  4. Load game, activate in Mods menu, reload, load in, enjoy!


TO TEST:

  1. Get your first servant from any guild.
  2. Select an image within the image sets with a known normal, naked, and pregnant variant and set it as your slave's custom body.
    For my testing purposes, I used image set "43170d88" from Da7kness' TRASHY image set.
  3. Raise their loyalty enough to enable Sex Services to unlock "Nudity".
  4. Toggle nudity on, go back to the slave body image, your slave's body should now be naked.  Toggle nudity off, it should now be back to normal.
  5. Impregnate your servant.  Depending on which mods you are using, this could take effect immediately or you may have to wait a while for the status effect to show up.
    They need to be any variety of pregnant.  Either "Pregnant" or "Heavily Pregnant" will do.
  6. The slave's picture should now have changed to a pregnant variant.  This will last until they give birth.
  7. Once slave has given birth, image should go back to nude or normal depending on the Nudity checkbox.  Pregnancy ALWAYS is higher priority than Naked/Normal.
  8. Test same steps with unique character (Daisy/Cali/etc.).  Their functionality should remain unchanged.
(+1)

This fixes your problem: https://www.mediafire.com/file/xd7jqmbmwwz2x6d/BodyImageAutoSwitcher_mod.zip/fil...

It's not great because it needs to replace a node script instead of letting the mod infrastructure extend it, but it's still probably better than modifying the game files directly.

In summary:

  • Extend NODE_SLAVEMODULE since that's the nearest GUI node we have a handle to.
  • Minimally replace the update method in SlaveBodyModule.
  • Replace the node script at NODE_SLAVEMODULE/$SlaveBodyModule with the customized script.
(1 edit)

Thank you!  I will give it a test to see if it works, learn how it works, and see if it can be improved.  In addition, there was a change made that fixed a bug where unique characters were not updating in v0.2.  If your fix works, I can call the mod "fully released".

Have given it a test, added the aforementioned bugfix, and have verified everything now works exactly as intended.  Super buge thank you from the bottom of my heart, boss!

Does this work for unique characters? What about unique characters when using the paperdoll system.

No, it does not alter unique character behavior in the slightest (aka, it leaves vanilla behavior completely alone).  This is purely for people using image packs on non-unique characters.