SDT Loader question (4 Viewers)

ModGuy

Content Creator
Joined
Feb 17, 2011
Re: Mods

Hakkesshu said:
Can you make her cough with a shortcut?

No.
Think about what a waste of a hotkey that is.
I will however look in to enabling modders to raise events using hotkeys.

EDIT:
Custom events are now possible.

Code:
if (this.parent.parent != null)
{
	var main = this.parent.parent;
	main.registerFunction(doThing, 40);
	main.unloadMod();
}
function doThing(){
	main.her.alpha = 0;
}

Example, pressing key 40 (Down arrow) triggers event "doThing" which makes her invisible.
Expect in next release.


EDIT2:

Working on some things but I looked over Kona's dialogue code and it is wonderful.
Unfinished but very well thought out.
From a coder's view I have to complain about this:
Code:
        public function replaceTokens(param1:String) : String
        {
            param1 = param1.replace("*FINISHES*", this.finishes());
            param1 = param1.replace("*BREASTSIZE*", this.breastSize());
            param1 = param1.replace("*YOU*", this.partnerName());
            param1 = param1.replace("*YOUR*", this.partnerPosessive());
            param1 = param1.replace("*ME*", this.herName());
            param1 = param1.replace("*MY*", this.herPosessive());
            return param1;
        }

He should have used an array like this:
Code:
var replacements:Array = new Array("*FINISHES*", finishes(), "*BREASTSIZE*", breastSize())
And so on and used the following code to utilise it:
Code:
for(var i:int = 0; i<replacements.length;i+=2){
	param1 = param1.replace(replacements(i), replacements(i+1));
}

Code probably is bugged but it's off the top of my head so, yeah.

EDIT3:
Cough hotkey example.
Code:
her.cough();
Yup, that's it.

EDIT4:
Multiple custom mods now possible.
 

ModGuy

Content Creator
Joined
Feb 17, 2011
Re: Mods

Hakkesshu said:
Thanks.

Where can I get a full list of events like .cough()?

I'll have to write up a tutorial for this at some point.
You really just poke around in the code using some form of decompiler or disassembler.
In the loader I've already defined the main classes such as "Him", "Her", "DT" and "g".
I'll try and create some sort of list.
 

anonymous

Avid Affiliate
Joined
Feb 16, 2011
Re: Mods

Just because I'm tired of people complaining... I will give Karma to anyone who makes a step by step tutorial thread on how to use the Mod Loader. Maybe even some magikarps?
 

ModGuy

Content Creator
Joined
Feb 17, 2011
Re: Mods

Anonymous said:
Just because I'm tired of people complaining... I will give Karma to anyone who makes a step by step tutorial thread on how to use the Mod Loader. Maybe even some magikarps?

+1 this idea.
Willing to explain features for anyone willing to create and maintain a guide thread.
 

anonymous

Avid Affiliate
Joined
Feb 16, 2011
Re: Mods

I have no interest in making the thread, but I have messed around with the loader and I believe I could write a guide for the loader, but it would take so much time and I don't feel like doing it. So if no one does it, I may eventually get around to it.
 

ModGuy

Content Creator
Joined
Feb 17, 2011
Re: Mods

Anonymous said:
I have no interest in making the thread, but I have messed around with the loader and I believe I could write a guide for the loader, but it would take so much time and I don't feel like doing it. So if no one does it, I may eventually get around to it.

Do it. Do it. Do it. Do it. Do it. Do it.


Please?
 

anonymous

Avid Affiliate
Joined
Feb 16, 2011
Re: Mods

My problem is I have no intent to maintain such a thread, so if you change anything as of 3.5a I won't be able to help anyone.
 

havok6669

Potential Patron
Joined
Aug 17, 2011
Re: Mods

i noticed the mod named "Auto" in the folder and ran the application and tried changing the settings it doesnt seem to make any difference for the speed :[ am i doing it wrong or is this function not working yet? i have played a couple other flash games with real fast and furious throat pumping action and would love for that option to be avaliable on SDT :D
 

ModGuy

Content Creator
Joined
Feb 17, 2011
Re: Mods

havok6669 said:
i noticed the mod named "Auto" in the folder and ran the application and tried changing the settings it doesnt seem to make any difference for the speed :[ am i doing it wrong or is this function not working yet? i have played a couple other flash games with real fast and furious throat pumping action and would love for that option to be avaliable on SDT :D

I remember putting this in the guide although upon checking it there's no mention.
WAT.
Anyway, change the settings in the tool, click hide if you want to minimize to notification area, then use Caps Lock to enable/disable.
This tool was made purely upon request by a member so it's pretty basic.
 

anonymous

Avid Affiliate
Joined
Feb 16, 2011
Re: Mods

Mod guy, is there any way to make the Mod Manager do a lot of the work for you.

Basically, give it the ability to make folders, browse for mods and then copy them to folders; basically really dumb it down for stupid users.
 

ModGuy

Content Creator
Joined
Feb 17, 2011
Re: Mods

Anonymous said:
Basically, give it the ability to make folders
browse for mods
copy them to folders

It does all of these things.
As for doing it automatically, impossible.
It could never know the contents of a file.
 

Ryf

Potential Patron
Joined
Mar 12, 2011
Re: Mods

Don't know if this is intentional or not, but max pleasure just makes the guy cum continuously until I press max pleasure again.
 

ModGuy

Content Creator
Joined
Feb 17, 2011
Re: Mods

Anonymous said:
It can't be programmed to do a file copy or something? Or at the least a file move?


I can't understand what you're getting at.
The Mod manager allows users to create folders easily.
Rename/Delete mods easily.
Allows addition and removal of mod files with correct filenames easily.

Try it and see if it does what you want, if not please suggest an improvement.

Ryf said:
Don't know if this is intentional or not, but max pleasure just makes the guy cum continuously until I press max pleasure again.


If you used Keys.swf to remake the hotkeys you'd notice I replaced "Max Pleasure" with "Inf Ejac" as it was pointless given the shortcut "J"



EDIT:
55215094723725797203.png

Arm tattoos now layer correctly, expect in next release.
Oh yeah, I released 3.6 I just forgot to mention it here.
 

anonymous

Avid Affiliate
Joined
Feb 16, 2011
Re: Mods

I'm saying basically... The mod manager allows the user to browse their computer for a mod (i.e. arm.swf) and it will place said file in the folder for the character they are creating. If that makes any sense.
 

Renegade

Potential Patron
Joined
Aug 3, 2011
Re: Mods

Anonymous said:
I'm saying basically... The mod manager allows the user to browse their computer for a mod (i.e. arm.swf) and it will place said file in the folder for the character they are creating. If that makes any sense.

So if I get what your saying it will work something like the official SWF importing, cept the SWFs stay in the folder. Sort of like a sorting feature? If so this should make the loader so much more user friendly...not that it wasn't already, what with the tutorials and all ;).
 

anonymous

Avid Affiliate
Joined
Feb 16, 2011
Re: Mods

Ok, not that you don't understand me, but I'm going to be more specific.

You open the mod manager. You click add to create a new character.

Now that you have your new character, you go down to where you set up the character. We'll call this character Faith.

Basically what I would like to see is... Lets say you want to add an arm mod... you go click browse > select the arm.swf you want (where the file name doesn't matter, we'll get there be patient), you check that this is an Arm and click save. The mod manager proceeds to Copy or Move the selected arm.swf to the Faith folder and name the arm.swf file... arm.swf (SURPRISE!!!) just to make sure that the loader will read it properly.

Also... on a completely separate note. It would be nice to be able to do this in game, being able to mix and match stuff on a whim.
 

Renegade

Potential Patron
Joined
Aug 3, 2011
Re: Mods

Anonymous said:
Ok, not that you don't understand me, but I'm going to be more specific.

You open the mod manager. You click add to create a new character.

Now that you have your new character, you go down to where you set up the character. We'll call this character Faith.

Basically what I would like to see is... Lets say you want to add an arm mod... you go click browse > select the arm.swf you want (where the file name doesn't matter, we'll get there be patient), you check that this is an Arm and click save. The mod manager proceeds to Copy or Move the selected arm.swf to the Faith folder and name the arm.swf file... arm.swf (SURPRISE!!!) just to make sure that the loader will read it properly.

Also... on a completely separate note. It would be nice to be able to do this in game, being able to mix and match stuff on a whim.

Ok, I get what ur saying now. Should make mixing mods a lot easier.
 

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.