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!

[SOLVED] Console command for changing virtual ressources?

murarst

Active Member
Messages
214
Hi,
I was wondering if there is a brute force way to change the amount of ressources in a settlement.
Maybe via the console?
I have -14.770.000 organic material at the castle which messes up the numbers of the whole network. It does not seem to resolve itself by passing (real) time.
Best
ScreenShot9.png
 
Hi ok, I tried the updated commands. Thanks @Cyberslas

Tried it at the castel as well as at the slog. At the castle I only updated the categores not dealing with the scrap components. At the slog I temporarily turned on scrap components and adjusted all numbers accordingly.
Here are the screenshots for the Slog.

It starts off with virtual scrap values completely off. I suppose what really screwed everything up was the bug which added scrap instead of substracting it when building plots and getting resources via the network. I remember being suprised that I not once had to scrounge for virtual resources when I started the game. There always were plenty.

ScreenShot31.png

Note that screws and oil are at negative values. Also the HUD oddly switches back and forth between the values for The Slog and the Network as seen here:
ScreenShot32.png


Heres the console commands I entered and the results. I built some more storage space in between commands to accomodate for the additional resources.

ScreenShot33.png
Pleyase note that the first to commands where are set values to 200 are unrelated to this settlement. I screwed up the command and reloaded the save.
First command in effect is where I set the oil to 10.

I'll keep you updated how these resxources develop and if everything turns out ok or not.
 
In case you were still wondering, here is how you would change the resources by console command. There may be a better way, but this is all I know of. Use these commands at your own risk. I can't be entirely sure there will be no side effects that may trash your save. These commands should probably only be relegated to testing purposes.
Click on the workshop then type
sv workshopid
to find the workshop ID number. You may have to scroll up. Then you type either
cqf ss2_resourcemanager adjustsettlementvirtualresource WORKSHOPID AV VALUE true true false false
OR
cqf ss2_resourcemanager setsettlementvirtualresource WORKSHOPID AV VALUE true true false false
Note: Don't use this, it will throw your total resource counts off. It is likely a bug.
where WORKSHOPID is the ID number you found, AV is either the Editor ID or Form ID found in the spoiler'd table below, and VALUE should be self-explanatory. adjustsettlementvirtualresource will add VALUE to the virtual resource, while setsettlementvirtualresource will set the virtual resource to VALUE.
Choose ONLY ONE of these values to use for AV. The xx on the Form ID should be replaced by the hex code representing the load order position for SS2.esm.
Editor IDForm ID
ss2_virtualresource_capsxx020af3
ss2_virtualresource_buildingmaterials_aluminumxx020b05
ss2_virtualresource_buildingmaterials_asbestosxx020b06
ss2_virtualresource_buildingmaterials_concretexx020b08
ss2_virtualresource_buildingmaterials_fiberglassxx020b09
ss2_virtualresource_buildingmaterials_glassxx020b0a
ss2_virtualresource_buildingmaterials_steelxx020b0b
ss2_virtualresource_buildingmaterials_woodxx020b0c
ss2_virtualresource_machineparts_circuitryxx020af2
ss2_virtualresource_machineparts_copperxx020af4
ss2_virtualresource_machineparts_gearsxx020af5
ss2_virtualresource_machineparts_leadxx020af6
ss2_virtualresource_machineparts_plasticxx020afb
ss2_virtualresource_machineparts_rubberxx020afa
ss2_virtualresource_machineparts_screwsxx020af7
ss2_virtualresource_machineparts_silverxx020af8
ss2_virtualresource_machineparts_springsxx020af9
ss2_virtualresource_organicmaterials_acidxx020afd
ss2_virtualresource_organicmaterials_adhesivexx020afc
ss2_virtualresource_organicmaterials_bonexx020afe
ss2_virtualresource_organicmaterials_ceramicxx020aff
ss2_virtualresource_organicmaterials_clothxx020b00
ss2_virtualresource_organicmaterials_corkxx020b01
ss2_virtualresource_organicmaterials_fertilizerxx020b04
ss2_virtualresource_organicmaterials_leatherxx020b02
ss2_virtualresource_organicmaterials_oilxx020b03
ss2_virtualresource_rarematerials_antisepticxx020b0e
ss2_virtualresource_rarematerials_ballisticfiberxx020b0d
ss2_virtualresource_rarematerials_crystalxx020b0f
ss2_virtualresource_rarematerials_fiberopticsxx020b10
ss2_virtualresource_rarematerials_goldxx020b11
ss2_virtualresource_rarematerials_nuclearmaterialxx020b12

If you've damaged your resource totals with setsettlementvirtualresource, see below:
Can you make the same console command but for virtual supplies, please? Because i can not make trade agreement at all. It always says "not enough caps available, although my virtual caps are more than 100k
 
Top