Workers & Resources: Soviet Republic

Workers & Resources: Soviet Republic

View Stats:
Creating own mod vehicles
Hi, I recently started to create some minor modded vehicles like e.g. a bus, based on a integrated model (also tried it based on one from the workshop).
Basically the process to create an own mod is as follows:
1. Create a preview image (PNG file, quadratic image would be best, alpha channel is working) and a description in a txt-file
2. Sart the game, in main menu go to Workshop > WIP > click the + button at the bottom right corner
3. in the mod creation menu, set the basic settings, e.g. type = vehicle, sub type = bus, load the image, load the txt file, then press the + button again and you get your own mod folder in the <gamefolder>\SovietRepublic\media_soviet\workshop_wip with preview image and the basic mod ini file.
Then lets do some very basic test: Just copy the files for a bus from the vehicles-folder, do some basic modifications to the script.ini to change the name, remove $description, do some other modifications to the values to your liking and the mod should be ready to test (alternatively, copy the contents of any othe mod vehicle of the same type to your folder (and do the same basic editing or unsubscribe from the original mod to remove the duplicate).
Now my expectation would be, that I can see the vehicle inamge (given that the ingame year is in the range of the production years specified in the script.ini file).
But nothing shows up. It seems like the game does not even process the wip-folder to load mods.

I enabled the debug log and looked into the log (in the games root folder), but no mentioning of the wip folder, only other subscribed mods from steams workshop folder (not in the game directory) are processed. What am I doing wrong?

I also tried to publish one of my mods privatly, but it still resides in the wip folder and is not loaded ingame.
I tried to consult modding information but could no find any info on this issue. Any help in appreciated!
I also check the scripts for errors according to the modding information I could find here:
https://steamcommunity.com/sharedfiles/filedetails/?id=2050253358
https://steamcommunity.com/sharedfiles/filedetails/?id=1861143159
https://workers-resources.fandom.com/wiki/General_modding
but everything should be alright.
< >
Showing 1-1 of 1 comments
Okay, finally got it to work. The above linked guides are not complete, they do not mention the necessary file and folder linking...

The workshopconfig.ini works as follows
$ITEM_ID XXXX $OWNER_ID XXXX $ITEM_TYPE WORKSHOP_ITEMTYPE_VEHICLE $VISIBILITY 0 $TAGS 0 $OBJECT_VEHICLE foldername $ITEM_NAME "Daedalus 120" $ITEM_DESC "Daedalus 120 - 12-meter counterpart to the hungarian Icarus." $END
$VISIBILITY = your sharing settings, 0 = private
$TAGS = the functionality of your vehicle, for values see the ingame list when creating a new mod folder, e.g. 0 = bus
$OBJECT_VEHICLE <-- that was the problem. This value must equal the folder where you put the files for the vehicle itselt (model, material, script.ini), if this value is not present, nothing will show up. There are mods without this line, I dont know how they work... In this expample the folder name = "foldername" (This means the folder in your mod folder, besides the workshopconfig.
The rest should be obvious.
< >
Showing 1-1 of 1 comments
Per page: 1530 50

Date Posted: Sep 25, 2024 @ 9:40am
Posts: 1