Pim_gd
Content Creator
- Joined
- Jan 25, 2013
Technical issue,
and
Kona wrote male/female bodies badly, and I have no idea if...
- modders even make custom bodies or just do something wonky with male clothing
- how they handle setSkin
Basically, I don't have a good way to find out what the "setSkin" of a random modded body is nor how I'm gonna communicate this back to the user.
(Do people even care? Are there other bodies than male and female for him)
Anyway, leaving this here to sort-of document the issue and hoping someone has an idea - for now, DialogueActions will just...
... only handle Male and Female bodies.
Code:
public dynamic class HimMaleBody extends HimBody
{
....
public function setSkin(param1:uint) : void
{
this.currentSkinID = param1;
g.himSkinType = "Male" + this.skinNameList[this.currentSkinID];
g.him.updatePenis();
g.him.balls.setSkin(g.himSkinType);
g.him.updateArm();
g.him.torsoLayer.torso.gotoAndStop(g.himSkinType);
g.him.leftLeg.gotoAndStop(g.himSkinType);
g.him.leftLeg.calf.gotoAndStop(g.himSkinType);
g.him.leftLeg.calf.foot.gotoAndStop(g.himSkinType);
g.him.rightLeg.gotoAndStop(g.himSkinType);
g.him.rightLeg.calf.gotoAndStop(g.himSkinType);
g.him.rightLeg.calf.foot.gotoAndStop(g.himSkinType);
this.updateSkinList();
}
and
Code:
public dynamic class HimFemaleBody extends HimMaleBody
{
...
public function setSkinx(param1:uint) : void
{
currentSkinID = param1;
this.currentBreastOffset = this.breastOffset[currentSkinID];
g.himSkinType = "Female" + skinNameList[currentSkinID];
this.setBreasts();
g.him.updatePenis();
g.him.balls.setSkin(g.himSkinType);
g.him.updateArm();
g.him.torsoLayer.torso.gotoAndStop(g.himSkinType);
g.him.leftLeg.gotoAndStop(g.himSkinType);
g.him.leftLeg.calf.gotoAndStop(g.himSkinType);
g.him.rightLeg.gotoAndStop(g.himSkinType);
g.him.rightLeg.calf.gotoAndStop(g.himSkinType);
this.setFeet();
this.updateSkinListx();
}
Kona wrote male/female bodies badly, and I have no idea if...
- modders even make custom bodies or just do something wonky with male clothing
- how they handle setSkin
Basically, I don't have a good way to find out what the "setSkin" of a random modded body is nor how I'm gonna communicate this back to the user.
(Do people even care? Are there other bodies than male and female for him)
Anyway, leaving this here to sort-of document the issue and hoping someone has an idea - for now, DialogueActions will just...
Code:
var gender:String = getHimGender();
if (gender == "Male") {
g.him.currentBody.setSkin(skinIndex);
} else if (gender == "Female") {
g.him.currentBody.setSkinx(skinIndex); //kona pls why do you have such a poor class inheritance tree for the male body
} else {
m.displayMessageRed("da.him.body.skin can't be set, gender is " + gender + " and DA does not recognize this");
}
... only handle Male and Female bodies.