Jump to content

? High Heels & Boots ? - Auto Slider Adjustment [Beta] 2021-03-26 v.0.2.3-patch-1


1 Screenshot

About This File

This is still an experimental mod for beta testers, content creators and developers. It allows to configure and apply CAS slider values and allows to set the walk style based on the outfit. For most base game + packs shoes and heels default settings are included. Settings for most DallasGirl heels  and a few asty96 shoes are included. It's not possible for me to include settings for all random available CAS items.

 

2021-07-26
Shameless update to be on the first page again for at least 3 hours.


Memory Dump Error
If you updated TS4 after July 23rd and experience a crash after the household has been loaded please download and install (overwrite utilities/walkstyles.py) the provided patch file and let me know whether it helps. The mod calls native TS4 functions with - from my point of view - valid parameters (a TGI resource). TS4 crashes if the parameter is invalid and obviously also if a valid parameter is provided but the tuning / definition is incomplete.

I tested it with S4CL v1.62 and v1.72-test-build-1 without issues.
Many thanks to ColonolNutty for supporting also in this area.

EOL Announcement
My current location has a very bad uplink to connect to loverslab. I often can open only one connection and the bandwidth is below 1 MBit/s. Even if it is related to my local internet provider for me it became a pain to use this site.
For now I'll provide patches here. The mod will be moved to GitHub and there a standard (.ts4script) package will be provided for simple setup.
This will not happen today, I just want to inform you in time.

 

2021-03-26

Hopefully fixed a small bug affecting some users.

 

2020-10-23

I added two UTF-8 icons to the title, the heels look really weird on Windows. But as a Windows user you may be used to things like this already.

 

2020-10-20 Add-Object added

The zip file contains an additional installation readme file. Old settings can not be migrated to this version and before you consider updating: The start time is quite high and removal of hoverboards does not always work. You may need to start a new game to get rid of hoverboards unless you disable this feature. Making a backup of the save game is highly recommended.

 

For all new users

This mod comes with configuration files to apply random sliders (actually only two sliders which are included here but all installed sliders are supported) based on the worn CAS item. 95% of the Basegame+EP+GP+SP shoes and some CC heels are supported. The CC links are below @2020-10-06 and in the INSTALL file.

Most clothing CC modifies the mesh already so there is likely no need to apply push-up or waist sliders but it's possible to create such a configuration file. Or a ring to create a long nose or deform the sim otherwise.

The mod allows to set the walkstyle based on a random CAS item, this makes most sense for shoes.

It allows to attach build items to all sim bones (similar to Debug > Attach As Head) based on the CAS item.

This version contains cloned Basegame shoes with a unique ID - wearing them will attach the hoverboard (download @2020-09-17 and in the INSTALL file). The walkstyle is set accordingly.

This mod requires S4CL by ColonolNutty.

 

The mod does not contain a PIE menu, use "Change Outfit" as usual and let the mod do its work.

 

Additional documentation regarding the used sliders is available in Oops19-Documentation 2020-09-20.zip. Unless you want to create your own bone sliders do not download this file. It is not required.

 

 

 

History Data

 

2020-10-08 Tiny WIP Update
Attaching objects works now quite good. The 3rd image above is static but the fountains emit water, shake and rotate with the hands. The objects have the in-game IDs 59591 and 59598 while the current release allows to set only one and not both or even more.

 

2020-10-06 Configuration Update

Some more slider configurations by Exorbitant!

A JoshQ TS3 to TS4 conversion by cooper322: Empress Impossible Heels TS4

Another JoshQ and Dallasgirl79 mesh used by Camillaleao: Camilla - High heels TS4

 

2020-10-05 Configuration Update

Exorbitant was so kind to provide more slider settings for DallasGirl79 heels and pointed my to some heels I missed. Hopefully all her slider heels are supported now. I added also the latest ones (oh no, new sandals released today) and hope that the configuration works also for them.

To use this update download the 'preset.DallasGirl79.ini' file and overwrite the existing one in %USERPROFILE%\Documents\Electronic Arts\The Sims 4\Mods\_Oops19-Debug_\Scripts\high_heels\configuration\ (Mac users may use ~/... and hopefully find the configuration directory).

 

2020-09-20 Update

  • Code cleaned up a little bit and hoping to get some feedback. A 'works as expected and no issues' reply would also be helpful.
  • Changing cloths in-game (Outfits > Change Outfit ... or WW > Outfit ...) should adjust the total height of the sim for selected shoes and heels.
  • If you have some heels and want to get the preset added here you may reply or send a PM. Unless I release the docs to do it it may be hard digging into the cheat command descriptions below.
  • Installation as before. Make a backup of your save game. Download and extract Oops19_High_Heels_2020-09-20_v0.2.0.zip into Mods and make sure that you have set up this directory structure: Mods\_Oops19-Debug_\Scripts\high_heels\[main.py] and that S4CL by ColonolNutty is installed. The older versions are not required but still available for reference / developers.
  • Tested with 1.65.77.1020 - The Disney update may break this mod and I didn't test it yet to keep my CC working.
  • 'Set object as head' as seen @ 2020-09-17 is not yet implemented.
  • Additional documentation regarding the used sliders is available in Oops19-Documentation 2020-09-20.zip. Unless you want to create your own bone sliders skip this file.
  • The cheat commands below may no longer work as expected as a few things got renamed (to o19.dump, o19.slider, o19.walk)

 

 

2020-09-17 Update

This is a very small update, here the 'Set object as head' cheat is used a little bit different, currently standalone. This will be integrated in the mod and allow to "wear" build items based on the outfit. The  hoverboard is from ATS4 https://sims4.aroundthesims3.com/objects/special_06.shtml and my sims are all black because of HQ issues. Anyhow it does not always work as TS4 sets random walk styles for short and long distances. The code can be found in 'add_board.py", as a standard user you want to wait for an upcoming release where this code is embedded in the mod.

 

2020-09-10 Update
There are still some open issues.

  •     It may be impossible to modify the sim sliders in CAS after this mod modified or added sliders.
  •     I added new custom sliders which may overwrite other slider mods. An upcoming release will contain the sliders also without CAS controls. So one can modify them only via script and CAS will not be touched. The sliders max-value 1 shoud grow/move the sim 1 meter up. A value of 0.1 is about 100 (in-game) mm and a good starting point for many heels.
  •     Code tested with the July-version. The StarWwar-update may cause issues.
  • The log file will grow very fast as many useless debug information is logged.

 

This version comes with presets for these shoes:

  •     Base game and many packs (EA didn't send me all packs so far)
  •     NightingaleSims_DallasGirl_shoes_Petite Feet V2 Tiptoes_EDIT(Pia).package [CAS shoes] (+NightingaleSims_PiaHeels_S4_as_Tights.package [CAS thights] & DallasGirl_Toenail Colors HQ [ONLY For My Shoes].package [CAS socks] - complicated setup but looks nice)
  •     DallasGirl_shoes_SLIDER_Louboutin Botalili Boots HQ.package
  •     DallasGirl_shoes_SLIDER_New Year's Party Pumps.package
  •     DallasGirl_shoes_SLIDER_DIESEL Ankle Booties HQ.package
  •     astya96_shoes_trs_no.4_slider_remaster.package
  •     astya96_valentine_heels_vers.2.package
  •     astya96_valentine_heels_vers.1.package
  •     astya96_shoes_lolita_boots.package
  •     astya96_shoes_mary_jane_high_heels.package
  •     astya96_shoes_embrace_venus_princess_slider_remaster.package
  •     astya96_shoes_balet.package
  •     astya96_shoes_mary_jane_high_heels_with_socks.package

    
Also the configuration file format is new and not compatible with the old one. To update rename the 'Scripts' folder to 'Scripts.v0.1' and extract the zip file.


Some feedback would be great, even though I understand that most users prefer a PIE menu.

 

2020-09-04 Update:
Here's a very small update with a new walkstyle.py mod which is not yet included in the High Heals mod. Do either use Walkstyle or HighHeels, they are currently not compatible. The High Heels config file will change and allow to specify the walkstyle to select a slowly walk style. Also WW interactions will be detected in the next update to make sure that fly=0 during animations.
Currently the walkstyle priority is MAX_INT32 and overwriting any other mod which is trying to change the walkstyle. It also lists all available walkstyles, priorities and of course a new walkstyle can be set. There may be still some issues with the request queue.

It offers pseudo auto-completion when entering Sim names or walkstyle IDs in the cheat console by using 'startswith(), endswith() and contains()' tests. The entered sim name 'F#B' will match 'Foo Bar' - which may be the wrong sim if you were looking for 'Fun Bags', but with 'Fu#Ba' the sim should match. With this feature it's again easy to enter sim names in the console even though sometimes the wrong sim may match.

'os.walk' will display the help message, there are list, info set, stop, exit, fix and init options available.

 

2020-09-01 Release

With this mod one can modify random sliders when changing the outfit in-game. It's meant for heels but it should also work for push-up bikinis etc. These screenshots were made without going into CAS. The outfit was simply changed with WW/Instant Undress.
Oops19_High_Heels_v0.1.png.5394d8de557818afadd3a609c6d9a8dc.png

The shoes (body part 8 with 2 sliders) are used to adjust the leg length and sim size.

 

 

The mod is not plug & play ready. If you like to play with settings or want to try it out you are welcome but please understand that this is an early access alpha preview version with bugs. I intentionally added many bugs to make sure that things can be improved in future. ;)


This mod requires S4CL by ColonolNutty. Thanks for this library and your support.

 

Disclaimer

  • This mod is still in alpha state. It has no PIE menu interactions to click and is not yet bundled as a package.
  • This mod alters game settings (only the sliders) so please make a backup of your savegame before you use it. It may break your game.

 

Getting started

  1. Make sure that you have set up this directory structure: Mods\_Oops19-Debug_\Scripts\high_heels\[main.py] - You may rename '_Oops19-Debug_' but do not copy it in any other folder or rename the 'Scripts' folder. Otherwise it will not work.
  2. Start the game.
  3. Choose your Sim and create an outfit with a flat shoe or barefoot. Clone it and replace the shoe with high heels of your choice. You may add as many outfits with different heels as you like but getting started with only could be a good idea.
  4. Open the cheat console (Shift + Ctrl + C) and enter
testingcheats true
cas.fulleditmode
o19.hh.dump

This will write 'debug/outfit.$sim_id.$outfit_category.$outfit_index.$sim_name.txt' and 'debug/slider.*.txt'.
Change the outfit ('Change outfit ...' or if the game is paused and in WW enabled 'Wicked... > Instant Undress ...').
You will be likely disappointed here as the mod does not yet work as intended. Enter

o19.hh.dump

This writes two more files. The slider.*.txt files should be identical as the sliders did not change.

The outfit.*.txt are not identical, hopefully only the shoe id will be different:

8: { 'Shoes': 173424 <-- FLAT, 1st outfit [0]
8: { 'Shoes': 9223372040721740311 <-- HEEL, 2nd outfit [1]

2020-09-10: Each color has a unique ID, it makes sense to gather all IDs. The tool to do this for mod creators is not yet documented.

Now you can go into CAS and adjust the slider. Or if you prefer to do look up the slider names and IDs open the slider*.txt file and adjust them on the command line like this.
As we modify the active sim we don't need to get the sim_id or specify the name:

o19.slider.set_sim
o19.slider.set_slider 3484085079657901585 2
o19.slider.to 0.3

If you wonder what the slider does enter a few times

o19.slider.toggle

And when you are finished

o19.slider.toggle off

To restore the previous slider settings. This is not really needed but your sim may end up looking like Angelina J. Hopefully you have a backup.

When your back from CAS or happy with the cheat console results enter once again:

o19.hh.dump

 

Now the sliders.*.txt files should differ and you should take a note of the keys and values. For example:

2: { 3484085079657901585: {'yfheadFeet_Big unknownAuthor_Height': 0.0 # old value
2: { 3484085079657901585: {'yfheadFeet_Big unknownAuthor_Height': 0.3 # new value

Do not worry if the standard description does not match properly. It may be a CAS overwrite or clone or whatever.

Now go back into CAS or use the cheat console to reset the slider to the default value. When used for the 1st time the mod will store the current slider value(s) as default for your sim.

If the new value is lower than the old one the difference is negative. The difference of both values will be applied to the standard (old) value, with a limit from 0..1. If the sim has a 0.8 height value and we add 0.3 the result is 1 (not 1.1, so scaling will not be perfect).

 

Now we bring everything together and save the file as "config/setting_for_heels.ini". Choose any random file name, folder must be config and suffix '.ini'. Use this template:

{
    CAS_ITEM_OutfitTxt: {
        BODY_ID_OutfitTxt[0..256, often 8]: {
            0: {
                SLIDER_GROUP_SlidersTxt[1..2]: {
                    SLIDER_ID[big]: SLIDER_VALUE[-1.0..1.0],    SLIDER_ID[big]: SLIDER_VALUE[-1.0..1.0],    SLIDER_ID[big]: SLIDER_VALUE[-1.0..1.0],    ...
                },
            }
        }
    }
}

It should look like this afterwards as we need only one slider.

{
    9223372040721740311: {
        8: {
            0: {
                2: {
                    3484085079657901585: 0.3
                },
            }
        }
    }
}

2020-09-10: Please copy 'preset.default.ini' to 'preset.yourname.ini' and look at it. The format is documented in the file itself. This old format is no longer supported.

I included also my small ini file so you can have a look. In the best case this mod comes with one or more ini files for all base game heels so users can use it.

 

If you make a mistake the file can not be parsed and will fail. There is no nice error handling available at the moment.
Read the file with (unless you want to restart the game to update the configuration):

o19.hh.readini

If everything works as expected the next "Change outfit ..." to the configured heels should work as expected.

 

Open Issus

  • The configuration files may change in future not being backward compatible.
  • Set walkstyle depending on selected CAS item.
  • Add hidden no-CAS sliders with the same ID as the Oops19 CAS sliders.
  • Cleanup the source code, replace some bugs with others, add calf sliders (see below) for this mod.
  • Reduce logging to a reasonable amount.
  • Add support for default

 

Getting Help

Do not expect a 24x7 hotline to get a solution for a bug, it will likely take much longer than expected.
If you find a bug you may fix it in the source code and reload it with 'r high_heels.main' (for main.py) if you have https://modthesims.info/t/534451#post5484995 installed.

Actually the source code is still a mess, as it is included you can confirm this on your own.

 

Looking for some help from you

As you read this until here you may be able to help creating a bone calf slider to make sure that the ankle-knee distance does not change. TS4 reduces it for heels and there may be a better way to fix it but a slider should also work.

TIA

 

Thank you all for contributing stuff for TS4.

With special thanks to AndaBelem, CmarNYC, ColonolNutty, JoshQ, Scumbumbo (RIP).

 

fountains.png

Edited by Oops19
update


What's New in Version 2021-03-26 v.0.2.3-patch-1   See changelog

Released

Added a patch file for TS4 2021-07-23 (Cottage Living). It seems that EA added a corrupt walkstyle definition. Requesting the hash or name of it may crash the game with a memory dump, at least for me.
Download the full version (100 KB), install it and then download the patch and replace high_heels/utilities/walkstyles.py if the game crashes for you after loading, as soon as a sim switches the outfit.



×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use