Jump to content

HOWTO: Applying RRS pregnancy scripts to garments from other mods


DocClox

1,748 views

@Froggyasked me to apply the Raider Reform School pregnancy detection scripts to Ahsohka;s  Night Dress Turns out, it's a simple process so I thought I'd blog it up. That people can make their own pregnancy aware garments.

 

We're going to use zEdit for this. If you're comfortable with xEdit you can use that and the process is largely identical, but I find I prefer zEdit.

 

I'm going to break this down into sections and spoiler each of them. Lots of screenshots, so all you need is zEdit and a little patience.

 

Creating The Patch ESP File

 

 

Spoiler

Start up zEdit. If you use MO2, start it through that. We're going to make a patch that alters the Night Dress to use a Raider Raider Reform School resource, so load just those two. They may pull in some other scripts as masters - that's OK.

 

image.png

 

 

Next: open the Armor section of the mod and select all the garments you want to patch. Then right click and choose "Copy into"

 

image.png

 

 

Make sure "copy as override" and "<new file>" are ticked.

 

image.png

 

It'll prompt you for the name of a new esp file. I chose "rrs_night_dress.esp"

 

 

Setting up the zEdit Window

 

This is a lot easier if you can drag values from a working record into the new one, so we're going to take  a moment and set up zEdit so you can view the old and new ones side by side


 

Spoiler

 

On the left hand side of the zEdit window, click the "+" icon, and then click on "Record View"

 

image.png

 

Then, on the right hand side, click "+" and choose "Tree View"

 

image.png

 

Now open up raider_reform_school.esp on the right hand side and expand "Armor", then drag the "rrs_bikini_beeder" record onto the left hand side record view

 

image.png

 

Now change the left hand pane to the Tree View tab, and the right hand side to the Record View tab.

 

image.png

 

Expand the armor section of the patch mod you created in the previous step, and double click an outfit that needs patching. I've already done the first one here (which is why its green rather than grey, so I'm going to do the "Night Dress - Blue" variant.

 

image.png

 

Lastly, go back to the Record view in the left pane. You should now have the rss_bikini_breeder in on one side and the garment you want to patch on the other

 

image.png

 

OK. We're ready to copy the script over.

 


Copying The Script

 

The scripts live in the VMAD sub-record of the Armor. So we've going to create one of those in the override record, and then add an empty script to it, and copy values from the bikini breeder record. (Also I'm using the green dress and not the blue, because I find I've half started the blue one, and I want to do this from scratch. So don't be confused by that :) )

 

Spoiler

First thing, find the VMAD record in the to-be-patched record. If it already has scripts attached, it will have a VMAD record already. If not we'll have to add one. 

 

One important thing to note: There are two columns on the patch side, one for the original mod, and one for the patch mod. Anything you do where needs to be done on the patch mod column. Otherwise you can end up editing the original mod by mistake, and one thing we're trying to do here is leave the original unaltered.

 

So, with that in mind, put the mouse over the VMAD entry in the patch mod column. It's called "rrs_night_dress.esp" here, but when you d it it'll have the name you chose for your patch mod. Then right click and choose Add

 

image.png

 

That will get you an empty VMAD record. Expand it. If you already had a VMAD record, expand it anyway. The process is the same for both from here on forward.

 

Right-click on the Scripts record (in the rightmost column, the one for the patch mod, remember) and chose Add once again.

 

image.png

 

Expand the scripts section on the left hand side, and expand the script you just added on the right. If the record didn't have scripting it'll be the only one, otherwise find the onewhere scriptNmae is blank.

 

Then drag the script name from the left hand side over to the script name in the patch mod column

 

image.png

 

It should now look like this:

 

image.png

 

Almost forgot: Set the Version and Object Format in the new VMAD to 6 and 2 respectively. Again, you can just drag the values across

 

image.png

 

And that's pretty much done!

 

Save your new esp


 

Spoiler

 

Just close the window. You'll be prompted for which records you want to change. Ideally there will only be your patch mod in the list. If there's more than one, make sure your patch mod is the only one ticked.

 

image.png

 

 

Now fire up the game and test it. I keep a pregnant raider ad a fertile one in chains, for just this contingency. I expect you can make your own arrangements.

 

image.png  image.png

 

 

The tat applying on top of some garments is something of a known issue, by the way. I think it's because the tats apply as effects rather than materials. if anyone knows a way to stop it happening, I'd appreciate the information.

 

 

Setting The Properties (Optional)

 

There are some properties on the original script that we didn't bother with. One of them points at a quest in RRS that, if you capture Ack-Ack or Whiplash or one of the other named raider bosses, it'll tattoo her name on her right ass cheek. The other two are material swaps to change the color or design of the garment. This is how to set them up.

 

Spoiler

Open up zEdit, set it up like before. You'll notice that the bikini record has three properties while the patched garment doesn't have any

 

image.png

 

Right click "Properties in the patch mod column, and click "Add". Don't be alarmed if you get an error.

 

image.png

 

If you got a scary-looking error popup, don't worry about it. Just go back to the tree view on the left hand side and double-click the record you're editing. That'll reload the right hand side, which will now have a property record. Expand that, as well as the properties on the bikini record

 

image.png

 

Of the three properties on the bikini script, the "names" on is probably the most useful. This points at the list of boss names in RRS. To set that up, drag the propertyName, Type and Flags values from the left hand side to the patch mod column. If you get a scary-looking error popup here, that probably means you dragged a value into the wrong column. The original mod doesn't have a VMAD record, so trying to add values to it is going to raise an error. Ignore it and drag the record to the correct column this time. (I mention this because I'm doing this as I write it up, and just made the exact same mistake. So it's easy to do.

 

If you get it right, zEdit should look like this

 

image.png

 

Now: because you set the type to Object, the value field has a "+" next to it. Expand that, and do the same on the bikini side.

 

image.png

 

As you can see, there's about three layers to be expanded. Expand all of them. After that, you just need to drag the FormID and Alias values over. Make sure you copy them from the names property and not some other one (like I just did) or it won't work

 

You get it right, it should look like this.

 

image.png

 

The other two properties are object mods that apply material swaps to the garment. Setting these up only makes sense if the garment has object mods defined. If it does, and you want them to change alongside the tats, copy over the "preggers" and  "fertile" properties.  The process is exactly the same, except you'll need to set the FormID by dragging an OMOD record from the tree view.

 

Once you're done, test it again. Luckily, I happen to have Ack-Ack and Whiplash in the pillory.

 

ScreenShot1099.png

 

The name brands are still purely black-and-alpha, so they're a  bit tricky to see through the dress, but if you look closely there, you can just make out her name inside the RRS chain-and-book logo.

 

Finally

 

If you get this far, you've seen how to set up zEdit, how to copy the scripts from a working outfit, and how to set up properties for the scripts. You can probably generalize from this to copy all sorts of scripts and patch any number of things.

 

What I haven't talked about is how to change the tats that apply. That's because they're hard coded into the script at the moment. I'll probably make them into properties in the next release. The values are just the overlay ids for the tattoos so it's not hard to change them.

 

OK. Hope that's useful to someone.

 

[edit]

 

Actually there's a simpler way to do this that I just discovered: create the VMAD subrecord, set the version and object format, and then just srag the scripts section across. That will copy all scripts and properties - job done. 

 

Akc-Ack's name shows up much more clearly on the white dress, incidentally.

 

image.png

 

(The gaps in the design are because her panties render over the design while the dress itself renders under it. Go figure.)

4 Comments


Recommended Comments

This might be my next modding project. But first I need to learn how to turn an armor conversion(Skyrim--> Fallout4) into its own functioning mod(these legs are my project).

 

 I like your idea with the bikinis and baggy shirts but sometimes you want to wear other armors but still enjoy the scripted tattoos without wearing something big. In Skyrim you could do that via some rings or invisible objects. But in the end it consumes an armor slot. So this guide might avoid that.

 

I don't know what others are focused on but I use your mod for the scripted pregnancy/breeding tats. So maybe expand the phrases that are available into that direction that you think is most "useful" for you.

 

Link to comment
2 hours ago, ZI0MATRIX said:

This might be my next modding project. But first I need to learn how to turn an armor conversion(Skyrim--> Fallout4) into its own functioning mod(these legs are my project).

Nice legs :)

 

2 hours ago, ZI0MATRIX said:

 I like your idea with the bikinis and baggy shirts but sometimes you want to wear other armors but still enjoy the scripted tattoos without wearing something big. In Skyrim you could do that via some rings or invisible objects. But in the end it consumes an armor slot. So this guide might avoid that.

 

Well, I can do a slotless, invisible garment. I just now tested two of them, so it should be easy enough to have one for each tat, plus the pregnancy scripting on the breeder tat.

 

Link to comment

Just want to make sure that I am clear, I do not intend pushing any work on you! This just an idea because I use this outfit whenever I want to check something out where my character needs to be mostly nude but not actually because of other mod interactions(Sexual Harassment ...).

I use from HN66s EasyGirl Outfits for CBBE and SHB - Bodyslide the red/white/black over knee boots. Maybe you didn't know about this clothing collection and want to use pieces of it for your mod.

1656940473_Anmerkung2020-05-06151854.png.8e8d76942974f233f5e042f31bf1ee4c.png

 

Update to the legs: I have them in game(replaced the yellow trench coat for it) but they are under my character and distorted.... still a long way for me to go.

Link to comment

You're not using HN66's bodyslide preset, then? ;)

 

54 minutes ago, ZI0MATRIX said:

Maybe you didn't know about this clothing collection and want to use pieces of it for your mod.

 

Some nice clothes there, but he sounds kind of grumpy on the whole subject of permissions. I don't think I'll bother him.

 

54 minutes ago, ZI0MATRIX said:

Just want to make sure that I am clear, I do not intend pushing any work on you!

 

Nothing I wasn't going to do anyway. This just brings things forward a little.

 

Link to comment
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use