Using Codes? (1 Viewer)

sdrycoins

Potential Patron
Joined
Feb 3, 2013
Hey, i'm outirght bad when it comes to editing/modding things. I was wondering how one uses the codes that people
often post.
I.e:

setInterval(cTest,30);
var dIn:Number = 0;
function cTest()
{
if (dIn == 0 && her.mouthFull){
dIn = 1;
}
if (dIn == 1 && her.mouthFull == false)
{
//6 is least amount of cum drool, it can be increased.
her.cumInMouth = Math.max(6,her.cumInMouth);
her.startDroolingCum();
dIn = 0;
}
}
(by ModGuy)

Id like to use that specific code but dont know which file to edit. I've checked the Guide folder, it talks about something similar but
I'm not sure if its actually the same thing and I dont really understand it. Any help is appreciated
 

mike

Casual Client
Joined
Feb 4, 2012
This is some ActionScript code, to use with adobe flash professional. I'd recommend starting with easier things if you want to mod SDT.

I'm also pretty sure ModGuy already uploaded a mod for the girl to drool. Look for it in the loader import section.
 

sby

Content Creator
Coder
Joined
Sep 11, 2012
i think i mentioned it in another thread somewhere recently. .

the codes posted are mostly for other modders to learn from on how to do things. they are usually not for the end users to use.

end users use the compiled mods that modders upload in their respective threads. (.swf, .mod files)


also, most of the time such code is a snippet of the whole code, and only includes the 'juicy' parts that actually do the magic. what is not included is the setup code. so just throwing it into flash and compiling will most likely not work xD.
var main:Object;
var callFunc:MovieClip;
var dIn:Number;

if (this.parent.parent != null)
{
this.main = this.parent.parent;
this.main.registerUnloadFunction(this.unloadCTest);
this.callFunc = new MovieClip();
addChild(this.callFunc);
this.callFunc.addEventListener(Event.ENTER_FRAME, this.cTest);
this.main.unloadMod();
}
this.dIn = 0;

function cTest(param1)
{
if (this.dIn == 0 && this.main.her.mouthFull)
{
this.dIn = 1;
}
if (this.dIn == 1 && this.main.her.mouthFull == false)
{
this.main.her.cumInMouth = Math.max(6, this.main.her.cumInMouth);
this.main.her.startDroolingCum();
this.dIn = 0;
}
return;
}

function unloadCTest()
{
this.callFunc.removeEventListener(Event.ENTER_FRAME, this.cTest);
return;
}


//the code you posted might also be some hax code

edit - oh yeah, i believe this mod is called sloppymod
 

sdrycoins

Potential Patron
Joined
Feb 3, 2013
I see...This has cleared everything up for as I thought it was basic process in which you add the code to some text file in the game folder. Thank you for the help, gonna check out the sloppymod now hehe.
 

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.