Difference between revisions of "User:Infinithil"

From Sim Settlements
Jump to: navigation, search
(First Toolkit Extra finished)
m
 
(34 intermediate revisions by the same user not shown)
Line 7: Line 7:
 
Have a nice day!
 
Have a nice day!
  
Finished additions:
+
Last finished: [[Toolkit Extra - Advanced Possibilities]]
[[Toolkit_Chapter_05_Randomized_Clutter]]
 
[[Toolkit_Chapter_05.5_Helping_the_Player]]
 
[[Toolkit_Chapter_06_Settler_Navigation]]
 
[[Toolkit_Chapter_07_Releasing_your_Mod]]
 
 
----
 
----
 
Workshop area
 
Workshop area
 
----
 
----
[[Toolkit Extra - Advanced Possibilities]]
+
[[Toolkit Extra - Custom Flag Tutorial]]
''This tutorial assumes you know basic navigation and keyboard shortcuts to navigate the Creation Kit. If not, [[Toolkit_Chapter_00_Creation_Kit_101|please go back]] and check out the <span style="color:#006400">'''Creation Kit 101'''</span> primer.
+
----
  
 
All of my guides will highlight things that are specific to your experience level: <span style="color:#006400">'''Green for beginners'''</span>, and <span style="color:#FF0000">'''Red for seasoned modders'''</span>. So if you’re new, you aren’t meant to understand the red messages, and if you’re a vet - you can probably skip the green.''
 
All of my guides will highlight things that are specific to your experience level: <span style="color:#006400">'''Green for beginners'''</span>, and <span style="color:#FF0000">'''Red for seasoned modders'''</span>. So if you’re new, you aren’t meant to understand the red messages, and if you’re a vet - you can probably skip the green.''
  
==Preamble==
+
''If you’ve never built a mod or used the Creation Kit before, it’s recommended that you go through the Sim Settlements Builder’s Toolkit. Even if you aren’t interested in creating buildings for Sim Settlements, it teaches you the basics of the Creation Kit and shows you how to package and upload a mod.''
 +
 
 +
 
 +
This tutorial will go over adding custom flags to the Sim Settlements system. It does not cover photo-editing techniques, only the steps needed to convert an image into a custom flag for use with Sim Settlements.
 +
 
 +
<span style="color:#000080">If you already have a mod with custom flags, and you’d like to integrate them without making Sim Settlements a dependent mod, please contact me and I’d be happy to show you the steps required.</span>
 +
 
 +
 
 +
==Programs Needed==
 +
 
 +
'''[http://www.gimp.org/downloads/ Gimp] or Photoshop'''
 +
 
 +
'''[http://registry.gimp.org/node/70 Gimp DDS Plugin] or [https://software.intel.com/en-us/articles/intel-texture-works-plugin Intel TextureWorks Plugin]'''
 +
 
 +
'''[http://www.nexusmods.com/fallout4/mods/3635/ Material Editor]''' by Ousnius
 +
 
 +
'''Creation Kit''' (or XEdit, though this tutorial will only show the steps in the Creation Kit)
 +
 
 +
'''Sim Settlements 2.0.8 +''' (make sure you have the mod installed as it includes scripts you’ll need)
 +
 
 +
 
 +
Used in this tutorial are several files:
 +
 
 +
Flag_Material_Template.BGSM - which tells the game which texture files to use.<br/>Flag_Diffuse_Template_d.dds - which is the art texture file.
 +
 
 +
And two optional files, that you most likely won’t need unless you’re a 3d artist. Most people will just want to use the game’s default files for these.<br/>
 +
Flag_Diffuse_Template_n.dds - which is the normal map <br/>Flag_Diffuse_Template_s.dds - which is the specular map
  
This guide contains a series of '''smaller tutorials''' to show you some of the more advanced things you can do with your building plans and VIP stories for Sim Settlements. It assumes you’ve gone through the tutorials and understand how to make buildings for Sim Settlements.
+
Download the [https://www.nexusmods.com/fallout4/mods/22808 full Builder's Toolkit] to get the files.
  
If you find something I added on one of my building plans, or want to do something I described in the other tutorials that isn’t covered here, contact me and I’ll expand on this guide.
 
  
 +
==Setting Up Your Files/Directories==
  
==Randomizing Building Models==
+
# Go into your Fallout 4/Data folder, this is usually found under C:/Program Files(x86)/Steam/steamapps/common. This is where your game files exist.
 +
# If you don’t have a folder called Textures, create it. Then inside of that, create a new folder for your mod. Copy Flag_Diffuse_Template_d.dds to this folder, now rename it something for the first flag you want to create, for consistency sake, make sure it ends in “_d” like the current name.<br/>So if you decide to name it MyFlag, name it MyFlag_d instead. The d stands for diffuse, and represents what most people would consider the texture.
 +
# If you don’t have a folder called Materials, create it. Then inside of that, create a new folder for your mod. Copy Flag_Material_Template.BGSM to this folder, now rename it something similar to the texture name you used above for the first flag you want to create.
 +
# Open the .BGSM file you just renamed in the [http://www.nexusmods.com/fallout4/mods/3635/ Material Editor] program.<br/>[[File:Toolkit Extra Custom Flag Tutorial image01.jpg]]
 +
# Go to the Material tab, then click on the grey box to the far right next to the Diffuse Texture row, and navigate to the DDS file you copied in step 2. Now save the material and exit this program.
  
One of the possibilities available with the Building Plan system that the core of Sim Settlements doesn’t even take advantage of yet, is the ability to randomize the building models themselves.
+
<span style="color:#FF0000">If you are going to be creating custom normal and specular maps, you would link those files here.</span>
  
Imagine you have a complete building plan done, but at Level 3 you decide you want your settlers to paint their homes, yet you don’t want your model to always be painted the same color, or maybe you want a different style roof on each.
 
  
# Start by making variations on your building model via the SCOL/Nif/Static process. (Check out this tutorial on Material swaps if you don’t know how to change textures in order to do things like change the color: http://www.nexusmods.com/fallout4/mods/19431/?).
 
# Next, go to the Object Window, then Miscellaneous->FormList and create a new Formlist, give it a unique ID, maybe something related to the building plan and the level you’re doing this for, then drag your building static and all of the variations of it that you created into this list.
 
# Open your Building Plan, open the script properties, select StageModels, then change the model for the stage you want to randomize to point to your formlist instead of the static.
 
  
[[File:Toolkit_Extra_Advanced_Possibilities_image01.jpg]]
+
==Making Your Custom Flag Art==
  
That’s it! Next time your building reaches that stage, it will choose one of the statics from the formlist!
+
Open the DDS file you copied into your directory in Gimp or Photoshop.<br/>[[File:Toolkit Extra Custom Flag Tutorial image02.jpg]]<br/>The flag art is made up of two images that look mostly identical, and for the most part you would fine using the same image on top and bottom. Though they are used slightly differently.
  
You can use this same trick on any StageItemSpawns as well! For example, you could randomize the door or a chair. Just be sure that all of the objects you use in your list will line up the same way with your model. To test this, place one of your potential random objects in the cell, and copy the position and rotation properties from the original to this potential random object and make sure it still looks good with those coordinates.
+
When the Martial Plot is manned, and flag is up in the air, only the top half of the texture is used on both sides of the flag. When the Martial Plot is not manned, and the flag is down, it uses both halves of the texture.
  
 +
You’ll be fine copy pasting the top half to the bottom as it’s hard to tell the difference when the flag is down anyway. If you’re a perfectionist, you have the option to do each side separately.<br/>[[File:Toolkit Extra Custom Flag Tutorial image03.jpg|left|Bottom half of the texture]][[File:Toolkit Extra Custom Flag Tutorial image04.jpg|right|Top half of the texture]]<br/>
 +
The erased parts of the texture file are what will show up as holes in the flag.<br/>
 +
# Once you have your flag designed the way you want, do the following to save the file correctly:
 +
## Gimp: Choose File -> Export As, in the window that pops up, select the file you are editing, then press Export. A second window will come up with DDS settings.
 +
### Set Compression to BC3 /DXT5
 +
### Change Mipmaps to Generate mimmaps
 +
### Press OK.
 +
## Photoshop: Choose File -> Save As, in the Save As Type dropdown, select Intel Textureworks, click Save. A second window with come up with DDS settings.
 +
### Change Texture Type to Color + Alpha
 +
### Set Compression to BC3 8bpp (Linear)
 +
### Set Mip Maps to Auto Generate.
 +
### Press OK.
  
==Teleporting Doors (or “It’s Bigger On the Inside”)==
+
==Configuring Your Flag==
  
There’s no reason you have to limit yourself to the plot space! If you’ve played Sim Settlements for a while you may have stumbled upon a VIP with an underground cellar in their home.
+
This portion uses the Creation Kit, it will be written as if you’ve never used it before, but you may want to go through a basics tutorial, such as the one included in the Sim Settlement’s [[Toolkit|Builder’s Toolkit]].
  
In this section, I’ll show you how to create doors to custom cells that work with Sim Settlements.
+
# Open the Creation Kit.
 +
# Click on File->Data and check in SimSettlements.ESM, then press OK.
 +
# Once the files are loaded, select the Object Window, and type '''kgsim*flag''' in the Filter box. This will show all of the different Sim Settlements objects related to flags.
 +
# Find the object with the name '''kgSIM_FlagDown_USA''', right-click it and choose '''Duplicate and Rename''', in the pop-up, type in kgSIM_ in the Search box, and enter your own prefix in the Replace box - it can be whatever you want. You’ll use this prefix to identify all of your custom objects.<br/>[[File:Toolkit Extra Custom Flag Tutorial image05.jpg]]
 +
# Press OK.
 +
# Now repeat step 4 for '''kgSIM_FlagWavingUSA01''', '''kgSIM_FlagWallUSA''', and '''kgSIM_DynamicFlag_Template'''.
 +
# In the Object Window, replace the Filter field with the prefix you used for your three objects.
 +
# Double-click '''yourPrefix_FlagDown_USA'''.
 +
## In the ID field, erase '''USA''' and give the flag a name.
 +
## Click on the Edit button near the center of the window. This will bring up the model selection screen.
 +
## Use the Material Swap dropdown menu to select '''Custom Material Swap'''.
 +
## In the large white section with the headings “Original Material”, “Replacement Material”, and “Remap Index”, double-click the white area under Replacement Material next to “clothflag01alpha.bgsm”.
 +
## Navigate to materials folder you created at the beginning of this guide and select your .BGSM file, and press OK.
 +
## Press OK again, and when prompted to Create a New form select No. You’ll then be prompted to Rename, answer Yes.
 +
# Repeat step 8 for '''yourPrefix_FlagWavingUSA01''' and '''yourPrefix_FlagWallUSA'''. The Wall version will be the exact same steps, and the only difference for the Waving version is that screen will look slightly different, so the Edit button won’t be in the exact same position.
 +
# Double-click '''yourPrefix_DynamicFlag_Template'''. This is going be your '''Dynamic Flag Record'''.<br/>[[File:Toolkit Extra Custom Flag Tutorial image06.jpg]]
 +
## In the ID field, erase '''Template''' and replace it with your flag name.
 +
## In the Name field, erase '''Dynamic Flag''' and replace it with what you want the player to see when choosing your flag from the list.
 +
## Select the '''SimSettlements:DynamicFlag''' script and click the Properties button.
 +
## Double-click FlagDown.
 +
### Select '''Static''' from the Form Type dropdown (there may be a slight delay before the Creation Kit response).
 +
### Check in the Filter box and type in your prefix.
 +
### Select your flag down model from the Pick Object dropdown.
 +
## Double-click FlagWall.
 +
### Select '''Static''' from the Form Type dropdown (there may be a slight delay before the Creation Kit response).
 +
### Check in the Filter box and type in your prefix.
 +
### Select your flag wall model from the Pick Object dropdown.
 +
## Double-click FlagUp.
 +
### Select MoveableStatic from the Form Type dropdown.
 +
### Check in the Filter box, your prefix should be there already (type it in if not).
 +
### Select your flag model from the Pick Object dropdown.
 +
## Press OK to exit the properties screen.
 +
## Press OK to exit the MiscItem screen, when prompted to Create a new form, select No. Then press Yes when asked to rename.
 
   
 
   
# Start by creating yourself a new Interior Cell, or duplicating an existing one.
+
==Adding Your Flag to Sim Settlements==
## To duplicate a cell, go to the Cell View window, right-click on the cell you’d like to copy and choose Duplicate, then rename your copied cell.<br/>[[File:Toolkit_Extra_Advanced_Possibilities_image02.jpg]]
+
 
##To create a fresh cell, at the top of the CK, choose World -> Cells, then right-click on the left hand section and choose New from the right-click menu and enter a unique ID for your cell.<br/>[[File:Toolkit_Extra_Advanced_Possibilities_image03.jpg]]
+
<span style="color:#FF0000">If you already have an add-on pack, you can use your existing Quest during this setup.</span>  
# Next we need to set up two objects, these will act as the objects the player will activate to teleport between the plot and your custom cell. We’ll start with the object that sits in your custom cell.
+
 
## In the Object Window, go to WorldObjects -> Door or WorldObjects -> Activator and find an object you’d like to use for the player to get back. This can be anything at all: a door, a ladder, a button, etc. Once you’ve chosen one, duplicate it and give it a unique ID (<span style="color:#006400">don’t forget your prefix!</span>).
+
Now that you have a flag configured, you’re going to tell Sim Settlements about it.
## Double-click your new object to open its properties, make sure it has something in the Name field or the player won’t be able to interact with it, then click Add under Scripts.
+
 
## Search for “dynamicreturndoor”, find SimSettlements:DynamicReturnDoor and press OK, press OK again to close your object’s properties.<br/>[[File:Toolkit_Extra_Advanced_Possibilities_image04.jpg]]
+
'''You’re only going to do this section once, after which, you’ll only need to add additional flags to the form list you’ll configure in this section.'''
## Now place your object somewhere in your cell.
+
 
## Next, go to the Object Window, WorldObjects -> Static and filter for “heading”, place an XMarkerHeading near your object, this determines where the player will be placed, rotate it so the arrow is facing in the direction you want the player to face. (<span style="color:#006400">If you don’t see the object, click on the render window and press M on your keyboard to reveal the Markers</span>)<br/>[[File:Toolkit_Extra_Advanced_Possibilities_image05.jpg]]  
+
In the Object Window, expand the Character category, then select Quest. Set the Filter to “kgsim_addon”. You’re looking for a quest called kgSIM_AddonTemplate - right-click this and choose Duplicate. Now open the newly created kgSIM_AddonTemplateCOPY0000.
#Next we’ll create the object the player will activate on the plot to be teleported to your cell, we’ll call this the Teleport Door.
+
 
## Repeat step 2a and 2b to create another object the player can interact with to act as your Teleport Door, except instead of SimSettlements:DynamicReturnDoor, you’re looking for SimSettlements:kgSIM_MoveOnActivate as the script to add.
+
# On the Quest Data tab, change the ID to something unique <span style="color:#006400">(as always, remember to start with your prefix!)</span>.
## Once you’ve added the script to your object, select the script and choose Properties.
+
# Press OK. If it asks you to Create a new form, answer No, then answer Yes to renaming.
### Double-click “AutoBuildParent” and select the only available entry in the list.
+
# Next we’re going to prepare a FormList for holding your Flag(s).
### Double-click “destination” and point it to your XMarkerHeading object by selecting your cell and the XMarkerHeading from the Cell and Reference dropdowns, respectively.
+
## In the Object Window, expand the Miscellaneous category and click FormList. Then in the right-side of the Object Window, right-click and select New.
### Doublic-click “ReturnDoor” and point it your interactive object in the same way.
+
## Enter a unique id <span style="color:#006400">(remember to start with your prefix)</span>, for example: '''yourPrefix_FlagList'''
# Finally, set up your Teleport Door as a StageItemSpawn in your building plan, just like you would any other (as explained in tutorial 4).
+
## Press OK.
# '''[Optional]''' Normally, with this method the player will be teleported back to the door that your plot spawned when they activate the door inside your custom cell. If you would like them to teleport back to a different location on your plot, follow these steps.
+
# While you’re still in the FormLists category, change the Filter in the Object Window to your prefix and double-click the FormList you just created and drag it off to the side.
## Make a duplicate of the XMarkerHeading static item and rename it with your prefix (if you already have done this for another building plan, you can re-use your duplicate).
+
# In the Object Window, expand the Items category, select MiscItem.
## In your building plan, set up a StageItemSpawn entry immediately before your Teleport Door. It’s VERY important it comes BEFORE the door.
+
# Drag your Dynamic Flag Record into the main part of the formlist. It should look like this:<br/>[[File:Toolkit Extra Custom Flag Tutorial image07.jpg]]
## Now edit your Teleport Door form (not the return door in your cell), select the kgSIM_MoveOnActivate script and click properties, set the ReturnMarker property to your duplicated XMarkerHeading form.
+
# Press OK.
 +
# Next, in the Object Window, expand the Characters category, then click on Quest, and filter for your prefix to find the quest you made. Double-click it to open it up.
 +
# On the scripts tab, select SimSettlements:AddOnScript and click Properties.
 +
# Double-click on '''SIMParent''' and select kgSIM_SIMSettlementParent from the drop down menu.
 +
# Double-click the MyClutter section, it will be in blue and have a horizontal line next to it. This will expand the MyClutter properties.
 +
# Double-click MyMartialFlags.
 +
# Check in filter and enter your prefix.
 +
# Select your flag list from the Pick Object drop down.
 +
# Press OK to close the properties window.
 +
# Press OK again to close the quest.
 +
# Now click File->Save to save your plugin. Name it anything you like.
 +
 
 +
 
 +
==You’re done!==
 +
 
 +
Your flag will now be selectable from the flag menu on the City Planner’s Desk!
 +
 
 +
To add additional flags, just repeat the Configuring Your Flag section and add your additional Dynamic Flag Records to your flag formlist you created. No need to do configure additional quests.
 +
 
 +
If this is your first Addon for Sim Settlements, know that there can be a short delay after starting up your game before it registers completely with Sim Settlements, so don’t be alarmed if your flag isn’t there in the first 10 seconds.
 +
 
 +
[[Category:Toolkit]]
 +
 
 +
----
 +
[[Toolkit Extra - FO4Edit - Working Faster]]
 +
----
 +
 
 +
''This tutorial assumes you know basic navigation and keyboard shortcuts to navigate the Creation Kit. If not, [[Toolkit_Chapter_00_Creation_Kit_101|please go back]] and check out the <span style="color:#006400">'''Creation Kit 101'''</span> primer.
 +
 
 +
All of my guides will highlight things that are specific to your experience level: <span style="color:#006400">'''Green for beginners'''</span>, and <span style="color:#FF0000">'''Red for seasoned modders'''</span>. So if you’re new, you aren’t meant to understand the red messages, and if you’re a vet - you can probably skip the green.''
 +
 
  
This works by telling your teleport door to check the plot for an instance of the ReturnMarker form and if it finds one to use that as the location to return the player if they use the door in your cell. If an instance of that ReturnMarker is NOT found, the player will just be returned back to your Teleport Door.
 
  
 +
==Preamble==
  
==Custom Agricultural Crops==
+
This guide assumes you’ve been through the numbered tutorials and understand how Building Plans work. It may use some shorthand that you’d only be familiar with if you’ve successfully created a building for Sim Settlements.
  
This won’t show you how to make your own models, but it will show you how to take existing Fallout 4 flora,<span style="color:#FF0000"> or flora you’ve added with your mod,</span> and convert it so it’s compatible with Sim Settlements.
+
Always be sure that you backup your esp file before applying a script in XEdit. While the software will offer to backup your mod file before committing the changes, it’s better to be safe than sorry. XEdit is mostly agnostic to the specifics of Fallout 4 mods and can create entries that the game doesn’t support, so you should always test your mod after editing it with XEdit scripts. (FO4Edit is the Fallout 4 version of XEdit that you’ll need for this. XEdit is the collective name for all of the variations of this software that work for different games. For example, TES5Edit is the Skyrim version.)
  
# Start by duplicating the Flora form you want to use in a Sim Settlements building plan, and give it a unique name.
 
#Look in the Keywords section, if you find WorkshopWorkObject, select it and press Delete on your keyboard to remove it.
 
# Look in the Actor Values section, if you find Food, select it and press Delete on your keyboard to remove it.<br/>[[File:Toolkit_Extra_Advanced_Possibilities_image06.jpg]]
 
# Look in the scripts section, if it has a workshopobjectscript, select it and choose Properties. Select each of the properties under the FurnitureMarker section and press Clear Value on the right if the option is available.
 
# If you did not find the workshopobjectscript, click Add, search for that script and add it.
 
## Once the script is added, select it and choose Properties.
 
## Double-click WorkshopParent and select WorkshopParent from the drop down list (should only be one entry).
 
## The rest of the properties can be left blank. Press OK to close the script properties, and OK again to save your object changes.
 
# Your flora is now ready to be placed as a StageItemSpawn!
 
  
 +
==Programs Needed==
  
 +
*Creation Kit
 +
*FO4Edit 3.2 or Greater
 +
*Any Free Text editing software (ex. Notepad)
 +
*Any Free Spreadsheet software (ex. Google Sheets or OpenOffice)
  
==Changing Dynamic Needs==
 
  
If you want to alter the way your building plans affect Dynamic Needs, there is now a simple way to do so (as of patch 2.1.4). On your Building Plan, you’ll find a new property called SettlementResources - this is where the magic happens.
+
==Importing Stage Data To Your Add-on==
  
<span style="color:#FF0000">For Branching Plans, you’ll want to do these on the actual plans, not the paths and not on the master plan.</span>
+
Two of the more time-consuming fields to fill out for your Building Plan, are the StageModels and the StageItemSpawns. With the scripts included in the Builder’s Toolkit, the process is greatly simplified.
  
The SettlementResources property can hold as many changes as you like, it will allow for AI driven building plan selection, and it’s much less system intensive than the way Sim Settlements was previously providing resources (by spawning invisible furniture objects).
 
  
[[File:Toolkit_Extra_Advanced_Possibilities_image07.jpg]]
+
Start by creating your actual building - essentially do all of the staging work of creating your SCOLs and static records for your building levels and construction stages, and laying out all of the objects you’d normally put in
 +
 +
the StageItemSpawns field. A best practice to make this easier is to create a Layer for each level of your building (you’ll understand why shortly).
  
When you add a new field to SettlementResources, you’ll have several options to fill out - only 3 of them are absolutely necessary, one of them you’ll never use, and the rest are optional if you want finer control.
+
If you’re using scripted objects that do things OnInit or OnLoad, you have to consider a few extra things.
  
*AVToChange - This tells Sim Settlements which field to alter. You’ll generally be using one of the following: SafetyAV (Defense), Water, Food, WorkshopRatingBonusHappiness (Happiness), WorkshopRatingScavengeGeneral (Scavenger rating), vendorIncome (Caps/day per settler), PowerGenerated (For power producing buildings), and PowerRequired (to make your plan require additional power).
+
The below Export process is much simpler if you use the actual objects you want to appear, rather than static placeholders inside the staging cell (which is something you might see that I’ve done in a lot of my builds).
 +
Doing so will leave active objects that might trigger things happening when the player is playing, even if they haven’t built your building plan.
  
*AVValue - The amount to adjust the AVToChange. In general, positive numbers are used to provide a bonus, and negative numbers are use to apply an extra cost. The exception to that rule is Power. If you want to add a cost, use a positive number and PowerRequired.
+
As an easy way to combat this, you can actually continue to use the placeholder objects in your staging cell, and then edit the exported records to reference your actual objects by their Editor ID.
  
*iLevel - The plot level this change will be applied. There are no level ranges, if you want a benefit to continue, you’ll need to create an additional entry for each level.
+
After you’ve done all this, create your Building Plan object like you would for any other building - just don’t fill out the StageModels or StageItemSpawns fields. We’re going to do that with FO4Edit.
  
*BuildingPlans - DO NOT USE.
+
You’ll want to find the XEdit scripts (.pas files) from the Builder’s Toolkit and copy them to the Edit Scripts
 +
directory where FO4Edit is installed.
  
*OwnerAV - [Optional] If this and OwnerValue are set, the owner of the plot must have this ActorValue = OwnerValue as one of the requirements for this to take affect. This is a great way to implement settlement bonuses for your VIPs.
 
  
*OwnerValue - [Optional] See OwnerAV description.
+
==StageItemSpawns Export/Import Process==
  
*WorkshopAV - [Optional] If this and WorkshopValue are set, the settlement this plot is in must have this ActorValue = WorkshopValue as one of the requirements for this to take affect. This could be used in combination with the Building Path system to apply additional benefits and penalties based on other buildings in the settlement.
+
To start, you’ll need to export the position/rotation/scale data of your StageItemSpawns. This is best done in 3 stages so that you can easily keep track of which goes on which stage.
  
 +
1. Select the objects for your Level 1 building, then choose File -> Export -> Ref Placements for Selection.
 +
a. You’ll be prompted to create a file, name it something that makes sense to you, and then repeat the process for your the items of each of your other levels.
 +
2. Now that you have the exported data for each group of items, you need to combine them together in a spreadsheet and fill in the missing data fields.
 +
a. You’re going to need to be sure to follow a template for the spreadsheet you’re making. The first row should be a header row and not hold any of your item data, if you’d like to label that top row, the data will go in this order:
  
One this to always keep in mind when playing with these values, is balance. If you put too harsh a penalty, or even too big a bonus, it will not only cause balance problems with the mod, but will also make your building plans less desirable. If you’d like to see the existing values used by Sim Settlements, check out the SettlementResources field on the actual plots, which follows the same format as those on the building plans.
+
Editor ID, posX, posY, posZ, RotX, RotY, Rotz, Scale, sSpawnName, iStageNum, iStageEnd, iType, ActorValue, iValidActorValue
  
 +
To make this simpler, I’ve created a file you can paste your data into on a google drive, simply save it to your own drive and edit that copy: https://docs.google.com/spreadsheets/d/1OIgadz52gQLF3jh5by9XyFh9qttDiImIw0ZyVn9jSoc/e dit#gid=0
 +
b. Now that you have your spreadsheet started, open one of your exported documents you created in Step 1. Copy everything but the header row from one of your exported documents, click on the first field in the first empty row of your spreadsheet and paste.
  
==Resource Generation==
+
The software should detect the formatting, and automatically place each piece of data in its own field. You may notice that the EditorID fields don’t quite match the in game version. In order to support multiple objects of the same form, a 3 digit suffix is added to the end. You can leave these on if you like, as the XEdit script will strip them automatically.
 +
 +
c. Fill in the iStageNum and sSpawnName fields at minimum.
 +
d. Fill in any additional fields you’d like to use. If you’re filling in the ActorValue field, be sure to enter the Editor ID of the ActorValue object you used.
 +
e. At this point, you may alter any of the data manually, such as pointing your placeholders to your actual editor ids.
 +
f. Repeat these steps for each of your level files of stage items, be sure to use the correct iStageNum for each.
 +
3. Once your spreadsheet is finished, save it as a .CSV file (comma separated values) - you’re going to end up having to type the exact path to it, so best to store it somewhere simple. I like to create a folder in my C:\ drive called Imports, that way my path will just be C:\Imports\filename.csv
 +
4. Close the Creation Kit and make sure your CSV file isn’t open in any software.
 +
5. Make a backup of your esp file in case something goes wrong (it shouldn’t but, not worth the risk anyway).
 +
6. Open your esp in FO4Edit.
  
If you’re creating a new Industrial or Agricultural building, you may want it to produce specific resources, as of patch 2.0.0, you can now do so!
+
Wait for it to finish loading, it is substantially faster than the Creation Kit. When it’s done, you should see a message similar to this in the lower left corner:
  
To do so, you’ll need to create LeveledItems. These can be created in the Object Window by expanding the Items category and selecting LeveledItems.
+
7. On the left side of the screen, you will see all of your mod’s parent files as well as your mod. Expand your esp by clicking the plus sign next to it.
 +
8. Next expand Misc. Item and find your Building Plan in the list (if you click the word EditorID near the top of the screen, it will sort all of the entries alphabetically).
 +
9. Warning: This step is destructive, it will erase the previous entries of your StageItemSpawns property before inserting your spreadsheet data. Right-click on your building plan and choose Apply Script.
 +
10. In the window that pops up, find kgSIM_ImportStageItemSpawns in the list (if you don’t see this, close the box, then copy the .pas files from the XEdit Scripts folder of the Builder’s Toolkit into the Edit Scripts directory where FO4Edit is installed).
  
The basic premise of a LeveledItem, is that you add items to the table on the left and set their quantities. The Use All checkbox will ensure they gain all of the lines of items you enter, or leave Use All unchecked to give the player a random item from the list.
+
11. Press OK.
 +
12. After a second or two, you will be prompted to enter the file path. Type the exact path on your local computer to the spreadsheet you created and press OK.
 +
13. As the script runs you should see messages on the right hand side confirming each line of your document was imported.
 +
14. If you receive any errors, fix your spreadsheet, and try running the script again.
  
<span style="color:#FF0000">LeveledItems can get fairly complex, you can nest them together, tie them to player level, and with creative use of the Use Global system, you can even arrange for other things in the game to dynamically affect which items are created. This tutorial won’t go into the specifics of how each field on them works, they are best learned by looking at examples in the Creation Kit.</span>
+
==StageModels Import Process==
  
[[File:Toolkit_Extra_Advanced_Possibilities_image08.jpg]]
+
The StageModels process is much simpler as you can just type up the data needed instead of combining documents.
  
You’ll need to create a LeveledItem for each level of your building plan.
+
1. Create a new text file or spreadsheet, which ever is easier for you. If you used a naming scheme, it should go fairly quickly as you can just copy/paste the name and change the ending for each stage.
 +
a. If a text file, type the Editor ID of each of your StageModels, separated by a comma and NO spaces. (Editor ID is the unique ID you gave your Static, for example the Tato Mud Farm’s first stage model Editor ID is: kgSIM_Farm01_SA_L1_Final)
 
   
 
   
Once you’re satisfied with your LeveledItems, open your building plan, expand the Advanced section (double click it) and add your LeveledItems to the ResourcesGenerated property in ascending order (ie. the LeveledItem to generate for the level 1 version of your building should be 1st, the level 2 LeveledItem should go 2nd, etc).
+
b. If a spreadsheet, type the Editor ID of each of your StageModels in a cell across a single row.
 +
2. Save the file as a .CSV file. If you’re using Notepad, just type in .csv at the end of your filename, it won’t be an option in the dropdown menu.
 +
3. Close the Creation Kit and make sure your CSV file isn’t open in any software.
 +
4. Make a backup of your esp file in case something goes wrong (it shouldn’t but, not worth the risk anyway).
 +
5. Open your esp in FO4Edit.
 +
 
 +
Wait for it to finish loading, it is substantially faster than the Creation Kit. When it’s done, you should see a message similar to this in the lower left corner:
 +
 
 +
6. On the left side of the screen, you will see all of your mod’s parent files as well as your mod. Expand your esp by clicking the plus sign next to it.
 +
7. Next expand Misc. Item and find your Building Plan in the list (if you click the word EditorID near the top of the screen, it will sort all of the entries alphabetically).
 +
8. Warning: This step is destructive, it will erase the previous entries of your StageModels property before inserting your spreadsheet data. Right-click on your building plan and choose Apply Script.
 +
9. In the window that pops up, find kgSIM_ImportStageModels in the list (if you don’t see this, close the box, then copy the .pas files from the XEdit Scripts folder of the Builder’s Toolkit into the Edit Scripts directory where FO4Edit is installed).
 +
 
 +
10. Press OK.
 +
11. After a second or two, you will be prompted to enter the file path. Type the exact path on your local computer to the spreadsheet you created and press OK.
 +
12. As the script runs you should see messages on the right hand side confirming each of your building stage models was imported.
 +
13. If you receive any errors, fix your spreadsheet, and try running the script again.
 +
 
 +
 
 +
After you’ve finished importing data for any building plans you’re working with. Close FO4Edit and it will prompt you to save the changes. (If you don’t want to save, simply uncheck the boxes next to the plugins.)
 +
 
 +
Load the Creation Kit and confirm everything is setup correctly.
  
<span style="color:#FF0000">If you are using the Building Path system for advanced building plans, you may want to set these up on the Path object instead of the building plan (see tutorial 10). Setting them on the Path level allows you to create variations of the building plan for that path that will rely on the same resource generation to give them some consistency.</span>
 
  
[[Category:Toolkit]]
+
==You’re Done!==
 +
 
 +
You can now speed past the most difficult stages of setting up the building plan! You can even hold onto your spreadsheets for quickly editing things in the future. Once you get really comfortable with it - you’ll even be able to add completely new entries to the spreadsheet and into your add-on without ever entering the Creation Kit.

Latest revision as of 17:06, 12 February 2018

Greetings, you people!

My name is Infinithil, I am from Germany and work as a civil servant.

In my free time, I work on my first addon pack for SimSettlements and help around the SimSettlements Wiki.

Have a nice day!

Last finished: Toolkit Extra - Advanced Possibilities


Workshop area


Toolkit Extra - Custom Flag Tutorial


All of my guides will highlight things that are specific to your experience level: Green for beginners, and Red for seasoned modders. So if you’re new, you aren’t meant to understand the red messages, and if you’re a vet - you can probably skip the green.

If you’ve never built a mod or used the Creation Kit before, it’s recommended that you go through the Sim Settlements Builder’s Toolkit. Even if you aren’t interested in creating buildings for Sim Settlements, it teaches you the basics of the Creation Kit and shows you how to package and upload a mod.


This tutorial will go over adding custom flags to the Sim Settlements system. It does not cover photo-editing techniques, only the steps needed to convert an image into a custom flag for use with Sim Settlements.

If you already have a mod with custom flags, and you’d like to integrate them without making Sim Settlements a dependent mod, please contact me and I’d be happy to show you the steps required.


Programs Needed

Gimp or Photoshop

Gimp DDS Plugin or Intel TextureWorks Plugin

Material Editor by Ousnius

Creation Kit (or XEdit, though this tutorial will only show the steps in the Creation Kit)

Sim Settlements 2.0.8 + (make sure you have the mod installed as it includes scripts you’ll need)


Used in this tutorial are several files:

Flag_Material_Template.BGSM - which tells the game which texture files to use.
Flag_Diffuse_Template_d.dds - which is the art texture file.

And two optional files, that you most likely won’t need unless you’re a 3d artist. Most people will just want to use the game’s default files for these.
Flag_Diffuse_Template_n.dds - which is the normal map
Flag_Diffuse_Template_s.dds - which is the specular map

Download the full Builder's Toolkit to get the files.


Setting Up Your Files/Directories

  1. Go into your Fallout 4/Data folder, this is usually found under C:/Program Files(x86)/Steam/steamapps/common. This is where your game files exist.
  2. If you don’t have a folder called Textures, create it. Then inside of that, create a new folder for your mod. Copy Flag_Diffuse_Template_d.dds to this folder, now rename it something for the first flag you want to create, for consistency sake, make sure it ends in “_d” like the current name.
    So if you decide to name it MyFlag, name it MyFlag_d instead. The d stands for diffuse, and represents what most people would consider the texture.
  3. If you don’t have a folder called Materials, create it. Then inside of that, create a new folder for your mod. Copy Flag_Material_Template.BGSM to this folder, now rename it something similar to the texture name you used above for the first flag you want to create.
  4. Open the .BGSM file you just renamed in the Material Editor program.
    File:Toolkit Extra Custom Flag Tutorial image01.jpg
  5. Go to the Material tab, then click on the grey box to the far right next to the Diffuse Texture row, and navigate to the DDS file you copied in step 2. Now save the material and exit this program.

If you are going to be creating custom normal and specular maps, you would link those files here.


Making Your Custom Flag Art

Open the DDS file you copied into your directory in Gimp or Photoshop.
File:Toolkit Extra Custom Flag Tutorial image02.jpg
The flag art is made up of two images that look mostly identical, and for the most part you would fine using the same image on top and bottom. Though they are used slightly differently.

When the Martial Plot is manned, and flag is up in the air, only the top half of the texture is used on both sides of the flag. When the Martial Plot is not manned, and the flag is down, it uses both halves of the texture.

You’ll be fine copy pasting the top half to the bottom as it’s hard to tell the difference when the flag is down anyway. If you’re a perfectionist, you have the option to do each side separately.

The erased parts of the texture file are what will show up as holes in the flag.

  1. Once you have your flag designed the way you want, do the following to save the file correctly:
    1. Gimp: Choose File -> Export As, in the window that pops up, select the file you are editing, then press Export. A second window will come up with DDS settings.
      1. Set Compression to BC3 /DXT5
      2. Change Mipmaps to Generate mimmaps
      3. Press OK.
    2. Photoshop: Choose File -> Save As, in the Save As Type dropdown, select Intel Textureworks, click Save. A second window with come up with DDS settings.
      1. Change Texture Type to Color + Alpha
      2. Set Compression to BC3 8bpp (Linear)
      3. Set Mip Maps to Auto Generate.
      4. Press OK.

Configuring Your Flag

This portion uses the Creation Kit, it will be written as if you’ve never used it before, but you may want to go through a basics tutorial, such as the one included in the Sim Settlement’s Builder’s Toolkit.

  1. Open the Creation Kit.
  2. Click on File->Data and check in SimSettlements.ESM, then press OK.
  3. Once the files are loaded, select the Object Window, and type kgsim*flag in the Filter box. This will show all of the different Sim Settlements objects related to flags.
  4. Find the object with the name kgSIM_FlagDown_USA, right-click it and choose Duplicate and Rename, in the pop-up, type in kgSIM_ in the Search box, and enter your own prefix in the Replace box - it can be whatever you want. You’ll use this prefix to identify all of your custom objects.
    File:Toolkit Extra Custom Flag Tutorial image05.jpg
  5. Press OK.
  6. Now repeat step 4 for kgSIM_FlagWavingUSA01, kgSIM_FlagWallUSA, and kgSIM_DynamicFlag_Template.
  7. In the Object Window, replace the Filter field with the prefix you used for your three objects.
  8. Double-click yourPrefix_FlagDown_USA.
    1. In the ID field, erase USA and give the flag a name.
    2. Click on the Edit button near the center of the window. This will bring up the model selection screen.
    3. Use the Material Swap dropdown menu to select Custom Material Swap.
    4. In the large white section with the headings “Original Material”, “Replacement Material”, and “Remap Index”, double-click the white area under Replacement Material next to “clothflag01alpha.bgsm”.
    5. Navigate to materials folder you created at the beginning of this guide and select your .BGSM file, and press OK.
    6. Press OK again, and when prompted to Create a New form select No. You’ll then be prompted to Rename, answer Yes.
  9. Repeat step 8 for yourPrefix_FlagWavingUSA01 and yourPrefix_FlagWallUSA. The Wall version will be the exact same steps, and the only difference for the Waving version is that screen will look slightly different, so the Edit button won’t be in the exact same position.
  10. Double-click yourPrefix_DynamicFlag_Template. This is going be your Dynamic Flag Record.
    File:Toolkit Extra Custom Flag Tutorial image06.jpg
    1. In the ID field, erase Template and replace it with your flag name.
    2. In the Name field, erase Dynamic Flag and replace it with what you want the player to see when choosing your flag from the list.
    3. Select the SimSettlements:DynamicFlag script and click the Properties button.
    4. Double-click FlagDown.
      1. Select Static from the Form Type dropdown (there may be a slight delay before the Creation Kit response).
      2. Check in the Filter box and type in your prefix.
      3. Select your flag down model from the Pick Object dropdown.
    5. Double-click FlagWall.
      1. Select Static from the Form Type dropdown (there may be a slight delay before the Creation Kit response).
      2. Check in the Filter box and type in your prefix.
      3. Select your flag wall model from the Pick Object dropdown.
    6. Double-click FlagUp.
      1. Select MoveableStatic from the Form Type dropdown.
      2. Check in the Filter box, your prefix should be there already (type it in if not).
      3. Select your flag model from the Pick Object dropdown.
    7. Press OK to exit the properties screen.
    8. Press OK to exit the MiscItem screen, when prompted to Create a new form, select No. Then press Yes when asked to rename.

Adding Your Flag to Sim Settlements

If you already have an add-on pack, you can use your existing Quest during this setup.

Now that you have a flag configured, you’re going to tell Sim Settlements about it.

You’re only going to do this section once, after which, you’ll only need to add additional flags to the form list you’ll configure in this section.

In the Object Window, expand the Character category, then select Quest. Set the Filter to “kgsim_addon”. You’re looking for a quest called kgSIM_AddonTemplate - right-click this and choose Duplicate. Now open the newly created kgSIM_AddonTemplateCOPY0000.

  1. On the Quest Data tab, change the ID to something unique (as always, remember to start with your prefix!).
  2. Press OK. If it asks you to Create a new form, answer No, then answer Yes to renaming.
  3. Next we’re going to prepare a FormList for holding your Flag(s).
    1. In the Object Window, expand the Miscellaneous category and click FormList. Then in the right-side of the Object Window, right-click and select New.
    2. Enter a unique id (remember to start with your prefix), for example: yourPrefix_FlagList
    3. Press OK.
  4. While you’re still in the FormLists category, change the Filter in the Object Window to your prefix and double-click the FormList you just created and drag it off to the side.
  5. In the Object Window, expand the Items category, select MiscItem.
  6. Drag your Dynamic Flag Record into the main part of the formlist. It should look like this:
    File:Toolkit Extra Custom Flag Tutorial image07.jpg
  7. Press OK.
  8. Next, in the Object Window, expand the Characters category, then click on Quest, and filter for your prefix to find the quest you made. Double-click it to open it up.
  9. On the scripts tab, select SimSettlements:AddOnScript and click Properties.
  10. Double-click on SIMParent and select kgSIM_SIMSettlementParent from the drop down menu.
  11. Double-click the MyClutter section, it will be in blue and have a horizontal line next to it. This will expand the MyClutter properties.
  12. Double-click MyMartialFlags.
  13. Check in filter and enter your prefix.
  14. Select your flag list from the Pick Object drop down.
  15. Press OK to close the properties window.
  16. Press OK again to close the quest.
  17. Now click File->Save to save your plugin. Name it anything you like.


You’re done!

Your flag will now be selectable from the flag menu on the City Planner’s Desk!

To add additional flags, just repeat the Configuring Your Flag section and add your additional Dynamic Flag Records to your flag formlist you created. No need to do configure additional quests.

If this is your first Addon for Sim Settlements, know that there can be a short delay after starting up your game before it registers completely with Sim Settlements, so don’t be alarmed if your flag isn’t there in the first 10 seconds.


Toolkit Extra - FO4Edit - Working Faster


This tutorial assumes you know basic navigation and keyboard shortcuts to navigate the Creation Kit. If not, please go back and check out the Creation Kit 101 primer.

All of my guides will highlight things that are specific to your experience level: Green for beginners, and Red for seasoned modders. So if you’re new, you aren’t meant to understand the red messages, and if you’re a vet - you can probably skip the green.


Preamble

This guide assumes you’ve been through the numbered tutorials and understand how Building Plans work. It may use some shorthand that you’d only be familiar with if you’ve successfully created a building for Sim Settlements.

Always be sure that you backup your esp file before applying a script in XEdit. While the software will offer to backup your mod file before committing the changes, it’s better to be safe than sorry. XEdit is mostly agnostic to the specifics of Fallout 4 mods and can create entries that the game doesn’t support, so you should always test your mod after editing it with XEdit scripts. (FO4Edit is the Fallout 4 version of XEdit that you’ll need for this. XEdit is the collective name for all of the variations of this software that work for different games. For example, TES5Edit is the Skyrim version.)


Programs Needed

  • Creation Kit
  • FO4Edit 3.2 or Greater
  • Any Free Text editing software (ex. Notepad)
  • Any Free Spreadsheet software (ex. Google Sheets or OpenOffice)


Importing Stage Data To Your Add-on

Two of the more time-consuming fields to fill out for your Building Plan, are the StageModels and the StageItemSpawns. With the scripts included in the Builder’s Toolkit, the process is greatly simplified.


Start by creating your actual building - essentially do all of the staging work of creating your SCOLs and static records for your building levels and construction stages, and laying out all of the objects you’d normally put in

the StageItemSpawns field. A best practice to make this easier is to create a Layer for each level of your building (you’ll understand why shortly).

If you’re using scripted objects that do things OnInit or OnLoad, you have to consider a few extra things.

The below Export process is much simpler if you use the actual objects you want to appear, rather than static placeholders inside the staging cell (which is something you might see that I’ve done in a lot of my builds). Doing so will leave active objects that might trigger things happening when the player is playing, even if they haven’t built your building plan.

As an easy way to combat this, you can actually continue to use the placeholder objects in your staging cell, and then edit the exported records to reference your actual objects by their Editor ID.

After you’ve done all this, create your Building Plan object like you would for any other building - just don’t fill out the StageModels or StageItemSpawns fields. We’re going to do that with FO4Edit.

You’ll want to find the XEdit scripts (.pas files) from the Builder’s Toolkit and copy them to the Edit Scripts directory where FO4Edit is installed.


StageItemSpawns Export/Import Process

To start, you’ll need to export the position/rotation/scale data of your StageItemSpawns. This is best done in 3 stages so that you can easily keep track of which goes on which stage.

1. Select the objects for your Level 1 building, then choose File -> Export -> Ref Placements for Selection. a. You’ll be prompted to create a file, name it something that makes sense to you, and then repeat the process for your the items of each of your other levels. 2. Now that you have the exported data for each group of items, you need to combine them together in a spreadsheet and fill in the missing data fields. a. You’re going to need to be sure to follow a template for the spreadsheet you’re making. The first row should be a header row and not hold any of your item data, if you’d like to label that top row, the data will go in this order:

Editor ID, posX, posY, posZ, RotX, RotY, Rotz, Scale, sSpawnName, iStageNum, iStageEnd, iType, ActorValue, iValidActorValue

To make this simpler, I’ve created a file you can paste your data into on a google drive, simply save it to your own drive and edit that copy: https://docs.google.com/spreadsheets/d/1OIgadz52gQLF3jh5by9XyFh9qttDiImIw0ZyVn9jSoc/e dit#gid=0 b. Now that you have your spreadsheet started, open one of your exported documents you created in Step 1. Copy everything but the header row from one of your exported documents, click on the first field in the first empty row of your spreadsheet and paste.

The software should detect the formatting, and automatically place each piece of data in its own field. You may notice that the EditorID fields don’t quite match the in game version. In order to support multiple objects of the same form, a 3 digit suffix is added to the end. You can leave these on if you like, as the XEdit script will strip them automatically.

c. Fill in the iStageNum and sSpawnName fields at minimum. d. Fill in any additional fields you’d like to use. If you’re filling in the ActorValue field, be sure to enter the Editor ID of the ActorValue object you used. e. At this point, you may alter any of the data manually, such as pointing your placeholders to your actual editor ids. f. Repeat these steps for each of your level files of stage items, be sure to use the correct iStageNum for each. 3. Once your spreadsheet is finished, save it as a .CSV file (comma separated values) - you’re going to end up having to type the exact path to it, so best to store it somewhere simple. I like to create a folder in my C:\ drive called Imports, that way my path will just be C:\Imports\filename.csv 4. Close the Creation Kit and make sure your CSV file isn’t open in any software. 5. Make a backup of your esp file in case something goes wrong (it shouldn’t but, not worth the risk anyway). 6. Open your esp in FO4Edit.

Wait for it to finish loading, it is substantially faster than the Creation Kit. When it’s done, you should see a message similar to this in the lower left corner:

7. On the left side of the screen, you will see all of your mod’s parent files as well as your mod. Expand your esp by clicking the plus sign next to it. 8. Next expand Misc. Item and find your Building Plan in the list (if you click the word EditorID near the top of the screen, it will sort all of the entries alphabetically). 9. Warning: This step is destructive, it will erase the previous entries of your StageItemSpawns property before inserting your spreadsheet data. Right-click on your building plan and choose Apply Script. 10. In the window that pops up, find kgSIM_ImportStageItemSpawns in the list (if you don’t see this, close the box, then copy the .pas files from the XEdit Scripts folder of the Builder’s Toolkit into the Edit Scripts directory where FO4Edit is installed).

11. Press OK. 12. After a second or two, you will be prompted to enter the file path. Type the exact path on your local computer to the spreadsheet you created and press OK. 13. As the script runs you should see messages on the right hand side confirming each line of your document was imported. 14. If you receive any errors, fix your spreadsheet, and try running the script again.

StageModels Import Process

The StageModels process is much simpler as you can just type up the data needed instead of combining documents.

1. Create a new text file or spreadsheet, which ever is easier for you. If you used a naming scheme, it should go fairly quickly as you can just copy/paste the name and change the ending for each stage. a. If a text file, type the Editor ID of each of your StageModels, separated by a comma and NO spaces. (Editor ID is the unique ID you gave your Static, for example the Tato Mud Farm’s first stage model Editor ID is: kgSIM_Farm01_SA_L1_Final)

b. If a spreadsheet, type the Editor ID of each of your StageModels in a cell across a single row. 2. Save the file as a .CSV file. If you’re using Notepad, just type in .csv at the end of your filename, it won’t be an option in the dropdown menu. 3. Close the Creation Kit and make sure your CSV file isn’t open in any software. 4. Make a backup of your esp file in case something goes wrong (it shouldn’t but, not worth the risk anyway). 5. Open your esp in FO4Edit.

Wait for it to finish loading, it is substantially faster than the Creation Kit. When it’s done, you should see a message similar to this in the lower left corner:

6. On the left side of the screen, you will see all of your mod’s parent files as well as your mod. Expand your esp by clicking the plus sign next to it. 7. Next expand Misc. Item and find your Building Plan in the list (if you click the word EditorID near the top of the screen, it will sort all of the entries alphabetically). 8. Warning: This step is destructive, it will erase the previous entries of your StageModels property before inserting your spreadsheet data. Right-click on your building plan and choose Apply Script. 9. In the window that pops up, find kgSIM_ImportStageModels in the list (if you don’t see this, close the box, then copy the .pas files from the XEdit Scripts folder of the Builder’s Toolkit into the Edit Scripts directory where FO4Edit is installed).

10. Press OK. 11. After a second or two, you will be prompted to enter the file path. Type the exact path on your local computer to the spreadsheet you created and press OK. 12. As the script runs you should see messages on the right hand side confirming each of your building stage models was imported. 13. If you receive any errors, fix your spreadsheet, and try running the script again.


After you’ve finished importing data for any building plans you’re working with. Close FO4Edit and it will prompt you to save the changes. (If you don’t want to save, simply uncheck the boxes next to the plugins.)

Load the Creation Kit and confirm everything is setup correctly.


You’re Done!

You can now speed past the most difficult stages of setting up the building plan! You can even hold onto your spreadsheets for quickly editing things in the future. Once you get really comfortable with it - you’ll even be able to add completely new entries to the spreadsheet and into your add-on without ever entering the Creation Kit.