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
< >
Viser 115 av 18 kommentarer
pitty3878 18. juni kl. 16.43 
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. juni kl. 23.40 
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>
pitty3878 19. juni kl. 1.53 
I've done that to no avail, even if I download an item it don't load into my game.
Novu 285 19. juni kl. 2.58 
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.
pitty3878 19. juni kl. 9.56 
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. juni kl. 12.32 
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
pitty3878 19. juni kl. 17.39 
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. juni kl. 22.48 
Even if it doesn't work just upload the mod and I will take a look at it.
pitty3878 19. juni kl. 23.48 
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
pitty3878 20. juni kl. 3.34 
I finally got the texture thing worked out. Black is good right? Lol

Now to get it to the game?
Novu 285 20. juni kl. 5.30 
That is probably an error but at least it should load into the game if you did everything else right.
pitty3878 20. juni kl. 6.53 
No luck i keep getting ERROR CODE 9
Sist redigert av pitty3878; 20. juni kl. 6.58
Novu 285 20. juni kl. 7.39 
Just publish as friends only and I will take a look at it.
pitty3878 24. juni kl. 7.53 
I'll keep trying.
But I think I'll try something easier. Like mechanical signals?
Will need help though haha
< >
Viser 115 av 18 kommentarer
Per side: 1530 50