Workers & Resources: Soviet Republic

Workers & Resources: Soviet Republic

Customize your game
Create new vehicles, landscapes, buildings,..
Custom creations
Is there a way or possibility to create and import custom created content, I.e locomotives to the game?

I've tried and failed, any help would be appreciated
< >
Showing 1-15 of 18 comments
I've read that multiple times and I cannot get my item ìto the game. 🦧
Complete noob when it comes to coding and modding
Novu 285 18 Jun @ 11:40pm 
Did you create a workshop item through the game and a folder for your scripts and vehicle.

Then you have to add this tag in the workshop config file to port it into the game.

$OBJECT_VEHICLE <folder name>
I've done that to no avail, even if I download an item it don't load into my game.
Novu 285 19 Jun @ 2:58am 
There is something wrong with your script.ini then.

The mesh for your object has to be converted nmf and named main.nmf

Then you have to define a material.mtl file

Your texture has to be saved as a dds with dxt1 encoding with mini maps.
I've done the .nmf

I copied a material.mtl file from an in game one [temporarily use]

I have no idea what a texture is 🦧🤦🏼

Thank you for your advice too!!
Apologies as I said, complete noob when it comes to coding.
Novu 285 19 Jun @ 12:32pm 
The problem is in your material file because you can't just copy one from the game. The contents of the file for a mod should look something like this. The submaterial <name> should match the submaterial in the .nmf material. You can fine the submaterial by loading the .nmf into the model viewer or loading it into blender.

$SUBMATERIAL <name>

$TEXTURE_MTL 0 texture.dds
$TEXTURE_MTL 1 blankspecular.dds
$TEXTURE_MTL 2 blankbump.dds

$DIFFUSECOLOR 0.8 0.8 0.8 0.8
$SPECULARCOLOR 0.5 0.5 0.5 1.0
$AMBIENTCOLOR 0.8 0.8 0.8 0.8

$SPECULARPOWER 2

$END

The "texture" is the objects material flattened out into a dds file. The vehicle you are trying to import into the game should come with a texture file. It must be in .dds format not png or jpg
I'll give it another crack.
And I'll post up here a copy of what I've put into my script if that may help?
Or if there was a way I'd send off the whole thing lol
Novu 285 19 Jun @ 10:48pm 
Even if it doesn't work just upload the mod and I will take a look at it.
pitty3878 19 Jun @ 11:48pm 
Ok. I'll make some textures and other bis and see what I can do. I'll post back here once I get onto it.

Many thanks again
I finally got the texture thing worked out. Black is good right? Lol

Now to get it to the game?
Novu 285 20 Jun @ 5:30am 
That is probably an error but at least it should load into the game if you did everything else right.
No luck i keep getting ERROR CODE 9
Last edited by pitty3878; 20 Jun @ 6:58am
Novu 285 20 Jun @ 7:39am 
Just publish as friends only and I will take a look at it.
I'll keep trying.
But I think I'll try something easier. Like mechanical signals?
Will need help though haha
< >
Showing 1-15 of 18 comments
Per page: 1530 50