Workers & Resources: Soviet Republic

Workers & Resources: Soviet Republic

View Stats:
Tigrovica Apr 19, 2019 @ 1:58pm
Modding
Hello there, i'm looking for someone who's into modding in this game. I've ben doing some experiments my self (mainly failed), but i've seen a lot of people using some mods that seemed to be more complexed than just a texture change.

So what i'm looking for is someone who could explain to me, how the "Script" works, what can i change there and how to make it work. (For example i'd like to explain how to change name of my vehicle or the capacity etc.)

!But! I've already did something that affected the thing as i wanted:
I made this little tram set: http://prntscr.com/nec1ur (screenshot)
(Please don't look at the door texture error, this was the 1st version of this type and i mainly wanted to test if the set works)

So if there'd be anyone more experienced in modding of this game, i'd really like to contact him, via steam, discord or how ever it'd fit.



Plus: I'd also like to know if there's already option to edit/create models it self. I've already seen some pictures but that's probably done in some different program, if you'd know what that is all about, please let me know



This is about it, if you know something about this please contact me.
Thanks for reading this and sorry for grammer mistakes (Not an english speaker)
< >
Showing 1-15 of 16 comments
Gripen Apr 19, 2019 @ 5:22pm 
here you have smal youtuber telling a littel how som of it works https://www.youtube.com/watch?v=E-0gTmizUIk hope this help a littel
Tigrovica Apr 19, 2019 @ 6:01pm 
Originally posted by Gripen:
here you have smal youtuber telling a littel how som of it works https://www.youtube.com/watch?v=E-0gTmizUIk hope this help a littel
I've already found this video sooner, but thanks :)
3division  [developer] Apr 20, 2019 @ 2:54am 
Super cool you wanna to mod.. :-)
I just wanted to say.. that we will sure support moders.. and add various documentation and help for them (just I was too busy last weeks).. moreover the exported/editor for the vehicles is already WIP.. later also building editor.. even you will able to export buildings even with the vehicles editor (create a NMF model files)
So what I see.. you would like to be able to modify also the resources.. and maybe also the storage types right? :-) .. currently... I think add resources is not possible.. or not fully possible.. also those storage types.. but we try to think something in few months to make it possible..
Tigrovica Apr 20, 2019 @ 7:10am 
Originally posted by 3division:
Super cool you wanna to mod.. :-)
I just wanted to say.. that we will sure support moders.. and add various documentation and help for them (just I was too busy last weeks).. moreover the exported/editor for the vehicles is already WIP.. later also building editor.. even you will able to export buildings even with the vehicles editor (create a NMF model files)
So what I see.. you would like to be able to modify also the resources.. and maybe also the storage types right? :-) .. currently... I think add resources is not possible.. or not fully possible.. also those storage types.. but we try to think something in few months to make it possible..
Thanks for the info / Díky za informace
Edit: Also really like the game and the effort you're putting into it, Thanks so much
Last edited by Tigrovica; Apr 20, 2019 @ 7:14am
Karalis Arturs Apr 20, 2019 @ 7:57am 
@Tigrovica - I suppose you want to do something like this?
https://steamcommunity.com/sharedfiles/filedetails/?id=1718220766

The Ikarus 280 now does not transport passangers, but is a covered hull (you can't have both, currently, or I haven't found it).
Max speed - 630km/h (which is actually not possible as the fastest road allows only 110km/h :D).
Empty weight - 1 ton.
Engine power - 1410kW.
Capacity - A cr*pload of tons :D

Names and descriptions seem to be in BTF files, which can't be edited with Notepad and I'm too lazy to look for alternatives. The script file, just refers to a string from the BTF file to be used in the game.

As for buildings - I managed to add additional connection points and increase their capacity, production speed. I just got tired to transport rocks to the gravel plant by trucks :). But I somehow can't figure out the coordinate system used for those. I always get the connection points pointing towards the center of the building and not out, thus they can't be used, because the building is in the way.
Last edited by Karalis Arturs; Apr 20, 2019 @ 8:06am
webmotors Apr 20, 2019 @ 8:53am 
Originally posted by 3division:
Super cool you wanna to mod.. :-)
I just wanted to say.. that we will sure support moders.. and add various documentation and help for them (just I was too busy last weeks).. moreover the exported/editor for the vehicles is already WIP.. later also building editor.. even you will able to export buildings even with the vehicles editor (create a NMF model files)
So what I see.. you would like to be able to modify also the resources.. and maybe also the storage types right? :-) .. currently... I think add resources is not possible.. or not fully possible.. also those storage types.. but we try to think something in few months to make it possible..
Please answer some of my questions in this thread.
https://steamcommunity.com/app/784150/discussions/0/3022387599799150495/
Tigrovica Apr 20, 2019 @ 9:02am 
Originally posted by Karalis Arturs:
@Tigrovica - I suppose you want to do something like this?
https://steamcommunity.com/sharedfiles/filedetails/?id=1718220766

The Ikarus 280 now does not transport passangers, but is a covered hull (you can't have both, currently, or I haven't found it).
Max speed - 630km/h (which is actually not possible as the fastest road allows only 110km/h :D).
Empty weight - 1 ton.
Engine power - 1410kW.
Capacity - A cr*pload of tons :D

Names and descriptions seem to be in BTF files, which can't be edited with Notepad and I'm too lazy to look for alternatives. The script file, just refers to a string from the BTF file to be used in the game.

As for buildings - I managed to add additional connection points and increase their capacity, production speed. I just got tired to transport rocks to the gravel plant by trucks :). But I somehow can't figure out the coordinate system used for those. I always get the connection points pointing towards the center of the building and not out, thus they can't be used, because the building is in the way.
Nice """""Bus""""" mate.
I've somehow menaged to change the name of the thing on something different (Wasn't what i wanted tho, I tried to put there normal text and that happened) Viz. Screenshot: http://prntscr.com/nela3z

I am still curious if i can change the year, when the vehicle was manufactured, price (it's kinda wierd) and assigning sound files (I tried to do it with the script file but maybe i did something badly or it is assigned somewhere else idk)

Also... I think you just made the 1st Cursed image in this game, thank you :lunar2019laughingpig:
Karalis Arturs Apr 20, 2019 @ 9:32am 
Name - that's what I said. :)
The script file uses a number code. I assume it's a line in those BTF files which can't be read/edited directly. Meaning if you change the number it will use a different string. Put $NAME 6104 in your trams script file and you will have an animal farm on rails :D

Look for lines that start with:
$AVAILABLE - years between which the vehicle is available (it does not change the text in the buy menu, there are some vehicles where the buy menu says one thing, but actually they are available in other period, just check R-2203 Microbus, you'll see what I mean).
$SOUND_PARAMS - sounds, it links to a ini file which is actually easy to understand ;)

Also fun stuff:
$TYPE - want to convert a tram to a bus. No problemo. :D
$RESOURCE_CAPACITY - for passangers shows the amount of passangers, for cargo there seems to be some calculations done somewhere for different cargos, so putting 10 here will not always equal to 10 tons.
$RESOURCE_TRANSPORT_TYPE - This line made my bus into covered cargo. But the game will read only the last line of this. You can put all transport types in one file, but the last will be used.

But without being able to access or bypass the BTF files it seems that no texts can be modified. Which is a bit bugging at some stuff (for example the country of origin for trainsets DR1, ER1 and ER2 are different, but in reality they all were built in the same factory :D).

As for cursed images... how's this?
https://steamcommunity.com/sharedfiles/filedetails/?id=1718327944
It's a double of the cement car, which is still available in the game. :)
Last edited by Karalis Arturs; Apr 20, 2019 @ 9:35am
webmotors Apr 20, 2019 @ 10:11am 
Originally posted by Tigrovica:
Originally posted by webmotors:
Wait Editor & Workshop.
Oh yeah, so it was you who posted those pictures of 3D models, i really like them, nice work.

This is not my job, these are models from the game.

see my work here:
https://steamcommunity.com/app/784150/discussions/0/3022387599799150495/?tscn=1555778410
Tigrovica Apr 20, 2019 @ 12:19pm 
Originally posted by Karalis Arturs:
Name - that's what I said. :)
The script file uses a number code. I assume it's a line in those BTF files which can't be read/edited directly. Meaning if you change the number it will use a different string. Put $NAME 6104 in your trams script file and you will have an animal farm on rails :D

Look for lines that start with:
$AVAILABLE - years between which the vehicle is available (it does not change the text in the buy menu, there are some vehicles where the buy menu says one thing, but actually they are available in other period, just check R-2203 Microbus, you'll see what I mean).
$SOUND_PARAMS - sounds, it links to a ini file which is actually easy to understand ;)

Also fun stuff:
$TYPE - want to convert a tram to a bus. No problemo. :D
$RESOURCE_CAPACITY - for passangers shows the amount of passangers, for cargo there seems to be some calculations done somewhere for different cargos, so putting 10 here will not always equal to 10 tons.
$RESOURCE_TRANSPORT_TYPE - This line made my bus into covered cargo. But the game will read only the last line of this. You can put all transport types in one file, but the last will be used.

But without being able to access or bypass the BTF files it seems that no texts can be modified. Which is a bit bugging at some stuff (for example the country of origin for trainsets DR1, ER1 and ER2 are different, but in reality they all were built in the same factory :D).

As for cursed images... how's this?
https://steamcommunity.com/sharedfiles/filedetails/?id=1718327944
It's a double of the cement car, which is still available in the game. :)
Thanks for the explenation with the date :D I'll also try that type and capacity which i've not yet touched. And talking about that sound, from my understanding is that going like this: https://prnt.sc/neng7u (screenshot) am i right? Well, i've tried to rewrite something but most of the times it just silenced that sound that i wanted to edit. Also i have no idea, why is there $SOUND_PARAMS twice.

BTW that image... i was hoping that i'd get some sleep tonight but after seeing this image... I may not be....
Karalis Arturs Apr 20, 2019 @ 12:41pm 
To be honest I haven’t played around with the sounds. But I assume it’s a mistake that there are two sound_params. Just like I said that if you put two cargo types in the script only the last one will work. Maybe here is the same, either remove one or play around with the second one.

Just do what I did - play around with the script file. Make a backup copy of it and go nuts. Change one entry > load game > look what it did > repeat...
Tigrovica Apr 20, 2019 @ 1:50pm 
Originally posted by Karalis Arturs:
To be honest I haven’t played around with the sounds. But I assume it’s a mistake that there are two sound_params. Just like I said that if you put two cargo types in the script only the last one will work. Maybe here is the same, either remove one or play around with the second one.

Just do what I did - play around with the script file. Make a backup copy of it and go nuts. Change one entry > load game > look what it did > repeat...
The thing with loading the game is exactly same thing what i do usually for review of textures. And i'll also look at some of dat sound soon again, probably not today tho.
Pai De Familia Apr 20, 2019 @ 2:32pm 
Can you mod the distance that people can walk? I always felt like 300m wasn't much, it should be at least 1 km
< >
Showing 1-15 of 16 comments
Per page: 1530 50

Date Posted: Apr 19, 2019 @ 1:58pm
Posts: 16