various loader imports (3 new mods added) (1 Viewer)

smerrebred

Content Creator
Joined
Jun 6, 2013
As the title says this contains various loader imports to enhance the gameplay.
Thanks to sby and MG for help/feedback.

For settings and default keys check the respective settings text file that comes with every mod.

ToggleShock V2.3.1 (fixed persistency bug)
This is a small mod to toggle between normal/shocked eyes with the press of a button.

This version features streamlined code sponsored by MG and adjustable eyesize to enhance the shocked look.

Normal eyes
normal.jpg

Shocked Eyes
shocku.jpg

Download
View attachment toggleshockV2.3.1.zip

LipstickFade V1.2
Enables lipstick smearing from the menu and lets her lipstick fade with usage.
Speed of fading and lowest level can be adjusted in the options file.
Once the preset value is reached, smearing is disabled.

Download
View attachment lipstickfadeV1.2.zip

AutoBlush V1
Automatically adjusts her blush based on insertion depth. Blush will fade when not inserted.
Speed of increase and fading can be set in the settings file.

Download
View attachment autoblushV1.zip

OverlayLoader V1beta
This enables the loading of overlay images which are put over the scene. This was inspired by two existing flash mods.
The overlay has to be a static png with transparency enabled.

At the moment it is in beta and more like a proof of concept!

Screenshot
ovrl.png

Download
View attachment overlayloaderV1beta.zip

Camera overlay
cca.png

If you want to move her to better show up in a certain overlay i suggest MG's excellent CameraControls mod.
Uploaded here as well for convenience.

CamerControls by MG
View attachment CameraControl.v5.25c.zip
 
Last edited by a moderator:

ModGuy

Content Creator
Joined
Feb 17, 2011
Re: [loader import] toggle normal/shocked eyes

Clean code, uses a lot of the newer dev features so good job on that.
Some improvements:

Remove the temp MovieClip for event listeners.
Replace the add/remove ENTER_FRAME with loader.addEnterFrame.
Remove the global loader reference and use the available references on modSettingsLoader and addEnterFrame.
Implementation, feel free to publish:

Code:
package flash
{
    import flash.display.MovieClip;

    dynamic public class Main extends MovieClip
    {
        //Auto populating vars.
        public var modSettingsLoader;

        //Global vars.
        public var shocked:Boolean = false;

        public function initl(l) : void
        {
            var msl = new modSettingsLoader("toggleShockV1Settings", settingsLoaded);
            msl.addEventListener("settingsNotFound", settingsNotFound);
        }

        private function settingsLoaded(e) : void
        {
            var dict = e.settings;

            e.loader.registerFunction(toggleShock, dict["key"]);
            e.loader.addEnterFrame(shock);
            
            e.loader.unloadMod();
        }

        private function settingsNotFound(e) : void
        {
            e.loader.unloadMod();
        }

        private function toggleShock() : void
        {
            shocked = !shocked;
        }

        private function shock(l) : void
        {
            if(shocked)
                l.her.eyelidMotion.pos = 0;
        }
    }
}
 

smerrebred

Content Creator
Joined
Jun 6, 2013
Re: [loader import] toggle normal/shocked eyes

Thanks for the feedback and improved code MG.
My knowledge about modding came purely from looking at other available examples so mediocre code was to be expected.
 

sby

Content Creator
Coder
Joined
Sep 11, 2012
Re: [loader import] toggle normal/shocked eyes

welcome to the forums ;D

modguy is nitpicky when it comes to code, but usually his suggestions are helpful (even if they are just to see how things are cleanly done in a standardized way to use in the future)

always nice to have a new user start off with a bang
 

ModGuy

Content Creator
Joined
Feb 17, 2011
Re: [loader import] toggle normal/shocked eyes

Not mediocre, that was totally optimised a few versions ago.
The extra loader refs and auto populating vars are new.
 

theinternet

Potential Patron
Joined
Aug 8, 2014
erm, whenever I try to use the auto-blush mod, it just says "autoblush failed to load" in the upper-right corner. I have moved the settings for it several times, and nadda.
 

aztlan

Casual Client
Joined
Sep 14, 2013
Would it be possible to create a dialogue command for ToggleShock?

Or (as a second choice) allow it to be loaded with an animtool position?
 

JabEm

Potential Patron
Joined
May 10, 2015
Hi there, i have some issues with the toggleshock mod.
when i try to load it via swf mod, i get the message ´toggleshock failed to load´ , do i have to put the swf file in an specific map?
 

Users who are viewing this thread

Top


Are you 18 or older?

This website requires you to be 18 years of age or older. Please verify your age to view the content, or click Exit to leave.