the Sim Settlements forums!

Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Question Relocating red workbench in a Workshop Framework layout

snarkhunter

Active Member
Messages
115
I've been experimenting some more with Workshop Framework layouts and learned about the use of scrap profiles for custom settlement cells. It's going well but I have a question for the city builder experts out there:

Is it possible to relocate the main settlement workbench (the red one) as part of the workshop layout?

I've tried this myself by moving the workbench with Place Everywhere before creating the "fully scrapped" scrap profile, but it hasn't worked for me so far - when I import my new modified layout, the workbench is the one item that stays in its original location. Any ideas out there?
 
things you move with the extra function of place everywhere will not be captured in city plans. For example, at Warwicks the beds you can scrap them, but the moment the plan starts they will be right back so if you are moving the workbench it will not translate to the plan so best to just not move it.
 
@Karvoc, thanks for the feedback. Actually, using a custom set of scrap profiles (untouched and fully-scrapped) in the Settlement Layout Tool has helped me successfully remove vanilla items in the original cell that I wanted gone. Check that out if you haven't already - it's very effective!

It's now just down to relocating the workshop workbench itself. I checked the Papyrus log from an "export layout" made after moving the workbench, and it is showing the new x,y,z coordinates, so the information is there all right. @kinggath or other Workshop Framework developers, any other option available for moving the workshop workbench? Would that require writing a script to add into the Settlement Layout Tool?
 
Last edited:
I think if I recall something I read many moons past that if you move it out of the original cell it was in that it may cause game affecting bugs for the play through. Perhaps someone with greater knowledge could help.
 
@GavMan, thanks for the reply - I should clarify that the new position is only a few steps and a 180 degree rotation from the original position, in the same cell. I am moving the workbench from the right-hand side of the Red Rocket garage to the left-hand side (which makes room for a Sim Settlements 2 interior plot to fit into the garage, in the back right corner.
 
@snarkhunter I can't remember for sure, but I think WSFW excludes any references that are a "workshop" to prevent the issues stated above.

The only solution I can think of is creating a controller quest with a script listening for the WSFW event "Settlement Layout Built" Using that you could check if the layout built was one you need to move the workshop then run code to actually move the workshop if required.
 
@msalaba, that explanation makes sense, and I'll look into the idea of a listener quest with script. Thanks for the suggestion!
I gave it a quick look. These custom events are on WSFW SettlementLayoutManager
Code:
CustomEvent SettlementLayoutAdded
CustomEvent SettlementLayoutBuilt
CustomEvent SettlementLayoutScrapped
CustomEvent ExportStarting

Function SendAddSettlementLayoutEvent(WorkshopScript akWorkshopRef, WorkshopFramework:Weapons:SettlementLayout aAppliedLayout)
    Var[] kArgs = new Var[2]
    kArgs[0] = akWorkshopRef
    kArgs[1] = aAppliedLayout
    
    SendCustomEvent("SettlementLayoutAdded", kArgs)
EndFunction

Function SendSettlementLayoutBuiltEvent(WorkshopScript akWorkshopRef, WorkshopFramework:Weapons:SettlementLayout aBuiltLayout)
    Var[] kArgs = new Var[2]
    kArgs[0] = akWorkshopRef
    kArgs[1] = aBuiltLayout
    
    SendCustomEvent("SettlementLayoutBuilt", kArgs)
EndFunction

Function SendScrapSettlementLayoutEvent(WorkshopScript akWorkshopRef, WorkshopFramework:Weapons:SettlementLayout aRemovedLayout)
    Var[] kArgs = new Var[2]
    kArgs[0] = akWorkshopRef
    kArgs[1] = aRemovedLayout
    
    SendCustomEvent("SettlementLayoutScrapped", kArgs)
EndFunction

Function ExportSettlementLayout(String asExportFileName = "", WorkshopScript akWorkshopRef = None)
...
Var[] kArgs = new Var[2]
kArgs[0] = akWorkshopRef
kArgs[1] = asExportFileName

SendCustomEvent("ExportStarting", kArgs)
 
sorry, my answers will often be vague not on purpose I understand why it's bad I just cant explain why it's bad well enough.
 
sorry, my answers will often be vague not on purpose I understand why it's bad I just cant explain why it's bad well enough.
I won't hold it against you. ;)

I don't know about cells specifically, but I do know a workshop workbench object is defined in the Location record with the LocRefType Workshop. I would assume as long as the workbench is located in a cell defined in the Location record there would be no issues. I am not confident enough to declare that as fact though... :scratchhead more like an educated guess.

I do not move workshop workbenches just to avoid issues altogether.
 
Top