Transport Fever 2

Transport Fever 2

View Stats:
Flosk89 Jan 12, 2020 @ 11:36am
How to upload mod to workshop?
Hey guys!

I have made two files - one with city names and one with street names - how do I add them to the workshop?

I can't figure that out. :)
Originally posted by SoftwareSimian:
Getting there, but you need to match the directory structure of where you want the files to appear in the game.
Instead of just putting the files in the root of your mod folder, they should be inside name2\denmark\en
i.e. \Steam\userdata\<steamid>\1066780\local\staging_area\flosk_Danish-City-names_1\name2\denmark\en\streets.lua
Optional, but recommended, would be to put a mod.lua in the root of the mod folder containing basic information about the mod, something like:
function data() return { info = { minorVersion = 0, severityAdd = "NONE", severityRemove = "NONE", name = _("Flosk's Danish Names"), description = _("Danish names for streets and towns"), authors = { { name = "Flosk", role = "creator", }, }, tags = { "Denmark" }, visible = true }, options = { }, runFn = function (settings) end } end
BTW: you know that MysteriAnt already has a Danish name pack. You can subscribe to his and examine the structure (in \Steam\steamapps\workshop\content\1066780\1963790757) if you have more questions of how this should be laid out:
https://steamcommunity.com/sharedfiles/filedetails/?id=1963790757

Also, this probably should be in the modding section of Discussions :)
< >
Showing 1-4 of 4 comments
Gedo Jan 12, 2020 @ 11:42am 
The folder that contains your mod has to be named like this: "short _modname_version"
For example: "abc_trainxyz_1"

This folder has to be placed under $steamuserdata\$yoursteamid\1066780\local\staging_area.
If followed correctly, start or restart TF2 and find a new menu item in the main menu that allows you to upload your modded files.
SoftwareSimian Jan 12, 2020 @ 12:43pm 
Originally posted by Gedo:
The folder that contains your mod has to be named like this: "short _modname_version"
For example: "abc_trainxyz_1"
It's supposed to be "<modder>_<modname>_<majorversion>"
So for example, "flosk_klingon-city-names_1"
Flosk89 Jan 12, 2020 @ 1:34pm 
Originally posted by SoftwareSimian:
It's supposed to be "<modder>_<modname>_<majorversion>"
So for example, "flosk_klingon-city-names_1"

I have done this "flosk_Danish-City-names_1"

You can see what I have done on the pictures.
Is that correct?

https://imgur.com/a/ZBFrBPR
Last edited by Flosk89; Jan 12, 2020 @ 1:58pm
The author of this thread has indicated that this post answers the original topic.
SoftwareSimian Jan 12, 2020 @ 2:13pm 
Getting there, but you need to match the directory structure of where you want the files to appear in the game.
Instead of just putting the files in the root of your mod folder, they should be inside name2\denmark\en
i.e. \Steam\userdata\<steamid>\1066780\local\staging_area\flosk_Danish-City-names_1\name2\denmark\en\streets.lua
Optional, but recommended, would be to put a mod.lua in the root of the mod folder containing basic information about the mod, something like:
function data() return { info = { minorVersion = 0, severityAdd = "NONE", severityRemove = "NONE", name = _("Flosk's Danish Names"), description = _("Danish names for streets and towns"), authors = { { name = "Flosk", role = "creator", }, }, tags = { "Denmark" }, visible = true }, options = { }, runFn = function (settings) end } end
BTW: you know that MysteriAnt already has a Danish name pack. You can subscribe to his and examine the structure (in \Steam\steamapps\workshop\content\1066780\1963790757) if you have more questions of how this should be laid out:
https://steamcommunity.com/sharedfiles/filedetails/?id=1963790757

Also, this probably should be in the modding section of Discussions :)
< >
Showing 1-4 of 4 comments
Per page: 1530 50

Date Posted: Jan 12, 2020 @ 11:36am
Posts: 4