Ravenger6660

Active Member
Sep 14, 2017
866
1,013
Modders:
How/Can you dress someone in an outfit?
Actor2.dress(outfits_F_sports)
gives me invisible people :(
Thanks.
I use a combination of forcing an actor to dress how I want randomly based on their stats.

Actor.dressUniform(Sports) is an option too. This uses the uniforms.txt file which can be edited. Just be careful with it.
You don't have permission to view the spoiler content. Log in or register now.

Code:
If !Actor.ismale()
    if Actor:perversion > 42 || Actor:arousal > 42
       Random
           Actor.dress(Stylish-Workout-Top_1_F, Stylish-Workout-Bottom_1_F)
           Actor.dress(Mtt-Gymwear-Pantie_1_F, Mtt-Gymwear-Top_1_F, Mtt-Print-Shorts_1_F)
           Actor.dress(Gymwear-Shorts_1_F, Gym-Brat-Top_1_F)
           Actor.dress(Gymwear-Shorts_1_F, Active-Wear-Sports-Bras_1_F)
           Actor.dress(Jmr-Sports-Bra_1_F, Jmr-Sports-Panties_1_F)
       Endrandom
    Else
       Random
           Actor.dress(Stylish-Workout-Jacket_1_F, Stylish-Workout-Top_1_F, Stylish-Workout-Bottom_1_F)
           Actor.dress(Mtt-Gymwear-Top_1_F, Mtt-Print-Shorts_1_F)
           Actor.dress(Gym-Brat-Bra_1_F, Gym-Brat-Pants_1_F, Gym-Brat-Top_1_F)
           Actor.dress(Gymwear-Shirt_1_F, Active-Wear-Gym-Pants_1_F)
           Actor.dress(Sport-Pants_1_F, Sports-Bra-Top_1_F)
       Endrandom
    Endif
Else
    Actor.dressUniform(Sports)
Endif
 

Sydney2

New Member
Apr 11, 2022
4
1
thats because that outfit doesnt exist, unless taht's a custom of yours in the content\heavy\clothes4 folder.
It's one of the standard list of clothes in \Content\Modules\
I'd love to 'function call' them, but couldn't figure out how.

Furthermore, I've found it seems to only handle 3 arguments per dress line. As an example - here's what a segment of my own custom-dress up decision script looks like:
Thank you. :D:D:D I would have spent ages figuring that out!!!
Actor.dressUniform(Sports) is an option too. This uses the uniforms.txt file which can be edited. Just be careful with it.
Hmmm... just speculating... compatibility be dammed :eek:, can you add your own uniforms? (Obviously the be dammed bit is A Bad IdeaTM)

Code:
If !Actor.ismale()...
Thank you :D

Attachments
Ooooh! Thank you again!
 

Sydney2

New Member
Apr 11, 2022
4
1
How do you access the wears_glasses and is_virgin variables?
Actor.setVirgin(true) is in fantasy_virgin_tribute.lpscene, but I can't get it to work:

Actor.setVirgin(true)
if actor.isvirgin()
"Hymenoplasty FTW"
else
"Damn hairbrush!"
endif
 

JoleenStar

Active Member
Sep 29, 2017
923
1,482
One criticism I always had in this game is that no event or whatever ever felt like it has any real impact. It happens, disappears, and 99.9% of the time, didn't matter at all.
 
  • Like
Reactions: Spamwise

Icebird

Member
Sep 22, 2017
397
284
How do you access the wears_glasses and is_virgin variables?
Actor.setVirgin(true) is in fantasy_virgin_tribute.lpscene, but I can't get it to work:

Actor.setVirgin(true)
if actor.isvirgin()
"Hymenoplasty FTW"
else
"Damn hairbrush!"
endif
Maybe your code should look like this:
Code:
If Random(0,100)>50 && Actor.isValid() && !Actor.isTemporary() && !Actor.hadSex() && !Actor.hasRelationship(Child) && !Actor.isPregnant()
    Actor.setVirgin(true)
EndIf

if actor.isvirgin()
   "Hymenoplasty FTW"
else
   "Damn hairbrush!"
endif
 

FrogComet

New Member
Aug 23, 2016
6
5
If i wanted to download some new clothing and animations and additional content for this game, where would I find that stuff? New to this kinda thing but this game has unlimited potential holy wow
 

pencilfight

Newbie
Nov 9, 2018
51
118
- If a character (NPC or PC) gets impregnated by a horse, she'll have a noticeably bigger belly during the pregnancy
Is there a way to actually adjust this value or is it buried in the base game code along with the regular pregnancy morph settings?

(yes I know about the text file but adjusting the "Genesis8Female__PBMPregnant" value doesn't do anything anymore)
 

Grim

Active Member
Aug 17, 2016
913
623
Furthermore, I've found it seems to only handle 3 arguments per dress line.
Unless this was recently broken, it definitely wasn't true when I was working on my Dresser mod. I made outfits with more than 3 parts using a single dress() call during testing of the outfit loading/saving. Some clothing takes up multiple slots though, and you can't have multiple items occupying the same slot.
 
Last edited:

Pr0GamerJohnny

Conversation Conqueror
Sep 7, 2022
7,687
11,641
Unless this was recently broken, it definitely wasn't true when I was working on my Dresser mod. I made outfits with more than 3 parts using a single dress() call during testing of the outfit loading/saving. Some clothing takes up multiple slots though, and you can't have multiple items occupying the same slot.
that could certainly be it - though I don't know a way of knowing the biped slots ahead of time unless you do.......so some "leg" pieces could certainly occupy "underwear" slots as well.
 

Grim

Active Member
Aug 17, 2016
913
623
that could certainly be it - though I don't know a way of knowing the biped slots ahead of time unless you do.......so some "leg" pieces could certainly occupy "underwear" slots as well.
If you look in LifePlay/Content/Modules/Clothes4.txt it lists the slot(s) that each piece of clothing occupies. Each line will look something like:
Wisteria-Dress_1_F: false: Top, Bottom: ParUn
In that example, "Top" and "Bottom" are the slots it occupies. Basically what's listed after the "true:" or "false:" part of the line are the slots.
 
  • Heart
Reactions: Pr0GamerJohnny

Pr0GamerJohnny

Conversation Conqueror
Sep 7, 2022
7,687
11,641
How do you access the wears_glasses and is_virgin variables?
Actor.setVirgin(true) is in fantasy_virgin_tribute.lpscene, but I can't get it to work:

Actor.setVirgin(true)
if actor.isvirgin()
"Hymenoplasty FTW"
else
"Damn hairbrush!"
endif
When you're trying to do things that affect a single actor, I would make a test interaction script to see if it works outside the context of whatever else you're doing. This would consist of two things, a lpaction file and a lpscene file, where the lpaction file has "WHERE: interaction", and "SCENE_ALWAYS: THELPSCENENAME" - then the "WHO: getTarget()" - then write the code you want in the lpscene file, and you can test it on random npcs in the world of clicking them.

Also, like the other guy pointed out; the script language is sensitive to indentation.
 

Grim

Active Member
Aug 17, 2016
913
623
that could certainly be it - though I don't know a way of knowing the biped slots ahead of time unless you do.......so some "leg" pieces could certainly occupy "underwear" slots as well.
Not sure if you (or anyone else) have any use for these, but here's a few text files I created for my own use by parsing that Clothes4.txt file while I was working on my mod. I feel like they're a bit easier to read.

Each file has sections for male/female. slots.txt lists every possible clothing slot, categories.txt lists each slot/combination of slots that clothing items can fall under, and clothes.txt lists every category with every clothing item that falls under that category
 
Last edited:
  • Like
Reactions: xsmaks
3.30 star(s) 117 Votes