1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

various loader imports (3 new mods added)

Discussion in 'Loader Imports' started by smerrebred, Sep 25, 2014.

  1. smerrebred

    smerrebred Potential Patron

    Joined:
    Jun 6, 2013
    Messages:
    4
    Likes Received:
    3
    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: Dec 4, 2015
    aztlan likes this.
  2. ModGuy

    ModGuy Club Regular Content Creator

    Joined:
    Feb 17, 2011
    Messages:
    1,754
    Likes Received:
    21
    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;
            }
        }
    }
     
  3. smerrebred

    smerrebred Potential Patron

    Joined:
    Jun 6, 2013
    Messages:
    4
    Likes Received:
    3
    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.
     
  4. sby

    sby Club Regular Content Creator

    Joined:
    Sep 11, 2012
    Messages:
    1,330
    Likes Received:
    73
    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
     
  5. ModGuy

    ModGuy Club Regular Content Creator

    Joined:
    Feb 17, 2011
    Messages:
    1,754
    Likes Received:
    21
    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.
     
  6. theinternet

    theinternet Potential Patron

    Joined:
    Aug 8, 2014
    Messages:
    3
    Likes Received:
    0
    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.
     
  7. aztlan

    aztlan Swell Supporter

    Joined:
    Sep 14, 2013
    Messages:
    507
    Likes Received:
    15
    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?
     
  8. JabEm

    JabEm Potential Patron

    Joined:
    May 10, 2015
    Messages:
    3
    Likes Received:
    0
    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?
     
  9. I-like-porn

    I-like-porn Potential Patron

    Joined:
    Mar 30, 2016
    Messages:
    3
    Likes Received:
    0
    So I got the overlay loader to work successfully, but how to I actually load the overlays?
     
  10. stuntcock

    stuntcock Club Regular Staff Member Moderator

    Joined:
    Jun 5, 2012
    Messages:
    1,515
    Likes Received:
    352
    • Copy the overlayloader.txt file to your Settings folder
    • Load the overlayloader.swf file
    • Press F3
    • Choose a PNG file