Nur als Verständnisfrage: die Hochgeschwindigkeitsschienen und Strommasten für die Elektrifizierung der Strecken sind aber trotz Timeless Mod nicht früher verfügbar als im Originalspiel? Oder habe ich bei der Installation etwas falsch gemacht?
[MOD] Timeless mod
Willkommen in der Transport Fever Community
Wir begrüßen euch in der Fan-Community zu den Spielen Transport Fever und Train Fever, den Wirtschaftssimulatoren von Urban Games. Die Community steht euch kostenlos zur Verfügung damit ihr euch über das Spiel austauschen und informieren könnt. Wir pflegen hier einen freundlichen und sachlichen Umgang untereinander und unser Team steht euch in allen Fragen gerne beiseite.
Die Registrierung und Nutzung ist selbstverständlich kostenlos.
Wir wünschen euch viel Spaß und hoffen auf rege Beteiligung.
Das Team der Transport-Fever Community
-
-
As I mention in the instructions you have to choose 1950 as the start year if you want a all tracks an poles available.
These are hardcoded into the game and can't be controlled through scripts.Because the timeless mod enables everything it really doesn't matter, game wise, what year you start. So start 1950 to truly enable everything.
-
Lesson to be learned: to avoid making a fool of yourself, read the instructions. The whole instructions. Thanks and sorry!
-
Hallo zusammen, bin neu hier und habe eine Frage zum Mod:
Beim Spielstart 1850 erscheinen nur die Standardfahrzeuge, laut config-file sollten aber alle erscheinen-was mache ich falsch? Stutzig macht mich vor allem, dass die Einstellungen zum Verfügbarkeitsende und Fahrzeugalterung wie gewünscht funktionieren.
-
Jau, hab das selbe Problem wie User0815. Funktioniert alles wie geschnitten Brot, nur das mit dem Startjahr will nicht hinhauen.
-
ich schließe mich den beiden Vorrednern an. Habe das gleiche Problem. Alterund und Endjahr sind geändert.. nur das Anfangsjahr nicht.
Sobald ich in den jeweiligen Fahrzeugdaten das Datum vorziehe, geht's natürlich.. aber das sollte doch vom Mod erfolgen ?!
Gruß
Micha -
Bei mir liegt das selbe Problem vor. Habe jetzt jede fahrzeug datei selbst dem Jahr in dem ich es haben möchte umgeschrieben, da es durch den mod leider nicht funktionierte sonder nur die Lebensdauer und wie lange verfügbar.
Gruß
Bastii -
Hi, having some issues with timeless mod, i cant quite figure out what is wrong, i can install it as usual but it seems it's not activating.
This is the code from be5_6 tram mdl, it seems it's not changing yearfrom and yearto.
--[[ <MOD_ID:timeless_mod.lua TARGET_BUILD:4587>
Modified by timeless_mod.lua
Use timeless_mod.uninstall() to remove this mod
--]]
require "timeless_mod_config"--[[ <MOD_ID:cost_mod.lua BUILD_TARGET:4587>
Modified by cost_mod.lua
Use cost_mod("uninstall") to remove this mod
--]]
require "cost_mod_config"function data()
return {
boundingInfo = {
bbMax = {
17.189210891724, 1.1466519832611, 4.7869329452515,
},
bbMin = {
-17.189210891724, -1.396271944046, -0.05799201130867,
},
},
collider = {
params = {
},
type = "MESH",
},
lods = {
{
animations = {
},
children = {
{
id = "vehicle/tram/be5_6_lod_0_connector.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 8.6990995407104, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/tram/be5_6_lod_0_connector.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 2.979199886322, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/tram/be5_6_lod_0_connector.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -2.9839000701904, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/tram/be5_6_lod_0_connector.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -8.7013998031616, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/tram/be5_6_lod_0_mid_back.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -5.8449997901917, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/tram/be5_6_lod_0_mid_front.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 5.8449997901917, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/tram/be5_6_lod_0_back.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, -11.701299667358, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/tram/be5_6_lod_0_mid.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1,
},
type = "GROUP",
}, {
id = "vehicle/tram/be5_6_lod_0_front.grp",
transf = {
1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 11.701299667358, 0, 0, 1,
},
type = "GROUP",
},
},
events = {
open_all_doors = {
[5] = {
forward = true,
name = "open_all_doors",
},
[6] = {
forward = true,
name = "open_all_doors",
},
[7] = {
forward = true,
name = "open_all_doors",
},
[8] = {
forward = true,
name = "open_all_doors",
},
[9] = {
forward = true,
name = "open_all_doors",
},
},
close_all_doors = {
[5] = {
forward = false,
name = "open_all_doors",
},
[6] = {
forward = false,
name = "open_all_doors",
},
[7] = {
forward = false,
name = "open_all_doors",
},
[8] = {
forward = false,
name = "open_all_doors",
},
[9] = {
forward = false,
name = "open_all_doors",
},
},
},
matConfigs = {
{
0, 0, 0, 0, 0, 0, 0, 0, 0,
},
},
static = false,
visibleFrom = 0,
visibleTo = 1240,
},
},
metadata = {
description = {
name = _("Be 5/6 Cobra"),
description = _(
"The first completely low floor tram runs \n"..
"through the city like a snake \n"..
"with its four joints. \n" ..
"This gave it the nickname \"Cobra\".")
},
availability = {
yearFrom = getFromYear(2001),
-- yearTo = getToYear(2100),
},
cost = {
price = 212000 * TramFactor,
},
maintenance = {
lifespan = getLifespan(40),
runningCosts = 60000 * MaintenanceFactor,
},
railVehicle = {
configs = {
{
axles = {
"vehicle/tram/be5_6/be5_6_lod_0_w1.msh",
},
fakeBogies = {
{
group = 1,
offset = -2.0452001094818,
position = 11.701299667358,
}, {
group = 1,
offset = 1.8502999544144,
position = 5.8449997901917,
}, {
group = 3,
offset = -1.8006000518799,
position = 5.8449997901917,
}, {
group = 3,
offset = 2.0186998844147,
position = 0,
}, {
group = 5,
offset = -2.0269000530243,
position = 0,
}, {
group = 5,
offset = 1.8006000518799,
position = -5.8449997901917,
}, {
group = 7,
offset = -1.8502999544144,
position = -5.8449997901917,
}, {
group = 7,
offset = 2.039400100708,
position = -11.701299667358,
}, {
group = 9,
offset = 0,
position = -5.8449997901917,
}, {
group = 17,
offset = 0,
position = 5.8449997901917,
},
},
},
},
engines = {
{
power = 625,
tractiveEffort = 80,
type = "ELECTRIC",
},
},
soundSet = {
horn = "",
name = "tram_modern",
},
topSpeed = 70,
weight = 39.200000762939,
},
transportVehicle = {
capacities = {
{
capacity = 96,
type = "PASSENGERS",
},
},
carrier = "TRAM",
},
},
}
endAnyone having this issue ? And if were at it, anyone having the previous version of timeless mod ?
EDIT: Also the code from timeless_mod lua file. Please tell me if there's anything wrong with this if you know.
--[[ Timeless mod install/uninstal script
INSTALL
1. Check that the rootdir points to your Train Fever/res map.
2. Load the script and run timeless_mod.install()
3. A new file: timeless_mod_config.lua has been created in your /res/script folder.UNINSTALL
1. Check that the rootdir points to your Train Fever/res map.
2. Load the script and run timeless_mod.uninstall()--]]
-- Path to Trainfever res map
local rootdir = "D:/Jocuri/Steam/SteamApps/common/Train Fever/res/"local target = 4587
local minor = 2.0
local function getVersion() return target..'.'..minor end-- Files to apply this mod to
local TFPath = {
Bridge = { Path = rootdir.."config/bridge/", Filter = ".lua" },
Street = { Path = rootdir.."config/street/", Filter = ".lua" },
TrainStation = { Path = rootdir.."config/train_station/", Filter = ".lua" },
Depot = { Path = rootdir.."models/model/depot/", Filter = ".mdl" },
Signal = { Path = rootdir.."models/model/railroad/", Filter = ".mdl" },
BusStation = { Path = rootdir.."models/model/station/bus/", Filter = ".mdl" },
CargoStation = { Path = rootdir.."models/model/station/road/", Filter = ".mdl" },
TramStation = { Path = rootdir.."models/model/station/tram/", Filter = ".mdl" },
Bus = { Path = rootdir.."models/model/vehicle/bus/", Filter = ".mdl" },
Train = { Path = rootdir.."models/model/vehicle/train/", Filter =".mdl" },
Tram = { Path = rootdir.."models/model/vehicle/tram/", Filter = ".mdl" },
Truck = { Path = rootdir.."models/model/vehicle/truck/", Filter = ".mdl" },
Waggon = { Path = rootdir.."models/model/vehicle/waggon/", Filter = ".mdl" },
Car = { Path = rootdir.."models/model/vehicle/car/", Filter = ".mdl" },
People = { Path = rootdir.."models/model/", Filter = ".mdl" }
}local function oldUninstallScript (script)
local buff
local c
buff,c1 = script:gsub("%s*%*%s*Timeless","")
buff,c2 = buff:gsub("%s*%*%s*Endless","")
c = (c1+c2)
return buff,(c>0)
endlocal function InstallScript (script)
local buff
local c
from = script:match("yearFrom%s*=%s*(%d*)")
to = script:match("yearTo%s*=%s*(%d*)")
if from == nil then from=0 end
if to == nil then to=0 end
buff,c1 = script:gsub("yearFrom%s*=%s(%d*)","yearFrom = getFromYear(%1)")
buff,c2 = buff:gsub("yearTo%s*=%s(%d*)","yearTo = getToYear(%1)")
buff,c3 = buff:gsub("lifespan%s*=%s*(%d*)","lifespan = getLifespan(%1)")
c = (c1+c2+c3)
if c > 0 then
buff = [=[
--[[ <MOD_ID:timeless_mod.lua TARGET_BUILD:]=]..target..[=[>
Modified by timeless_mod.lua
Use timeless_mod.uninstall() to remove this mod
--]]
require "timeless_mod_config"]=]..buff
end
return buff,(c > 0)
endlocal function UninstallScript (script)
local buff
local c
buff,c1 = oldUninstallScript(script)
buff,c1 = buff:gsub('--%[%[%s*<%s*MOD_ID%s*:%s*timeless_mod%.lua.-%]%]',"")
buff,c2 = buff:gsub('%s*require%s*"timeless_mod_config"%s*',"")
buff,c3 = buff:gsub("%s*getFromYear%s*%(%s*(%d*)%s*%)"," %1")
buff,c3 = buff:gsub("%s*getToYear%s*%(%s*(%d*)%s*%)"," %1")
buff,c4 = buff:gsub("%s*getLifespan%s*%(%s*(%d*)%s*%)"," %1")
c = (c1+c2+c3+c4)
return buff,(c>0)
endlocal Actions = { ["install"] = InstallScript, ["uninstall"] = UninstallScript }
local UTF8BOM = "\xEF\xBB\xBF"
local function removeBOM(script) if script:byte(1) == 0xEF and script:byte(2) == 0xBB and script:byte(3) == 0xBF then script = script:sub(4) end return script end
local function isBOM(script)
for n=1,#script-3 do
if script:byte(n) == 0xEF and script:byte(n+1) == 0xBB and script:byte(n+2) == 0xBF then
return true;
end
end
return false;
endlocal function DoAction(mode,silent)
local touch = {}
if tf == nil then tf = tfgm end
if tf == nil then
print("*** ERROR #1\nYou need the Train Fever Extended Lua console to run this script")
return {
list = {},
status = 1
}
endif tf.mode == "console" then
tf.rootdir = rootdir
else
rootdir = tf.rootdir
endif mode == "install" then
DoAction("uninstall",true)
msg = "Installing"
else
msg = "Removing mod"
endlocal mod_config = [=[
--[[ timeless_mod configuration file for Train Fever build ]=]..target..[=[.
Script version ]=]..target..'.'..minor..[=[From
Specify the year from when vehicles should be available according to the original timeline.
All vehicles before this year are imediatley available.
To enable all vehiles at once, set this to 0.To
The end year when vehiles should be available. All vehicles after this year will never be seen.
If To is higher than From, also all vehicles before From isn't available either, only the vehicles between From and To.
Set this to 0, Disable or Infinite to reome the "To year" limit.Ageing
This is a factor to control how fast the vehiles will age.
Example:
0, Disable or Infinite = the lifetime is infinite
0.5 = 50% the lifetime is 50% shorter (half)
1.0 = 100% the life time is unchanged
2.0 = 200% the lifetime is doubledIf a From and To ear is specified, you will play with vehicles only available during this time period.
However, they will always be available, even after the To year has passed.
--]]-- Constant helpers - don't touch
local Enable = 1
local Disable = 0
local Infinite = 0-- Timeless configuration parameters - Do your configuration here
local From = 0
local To = Infinite
local Ageing = Disable-- Utils - don't touch
function getFromYear(year) if To < From then To = 0 if year < From then year = 0 end else if year < From then year = 999999 end end return year end
function getToYear (year) if To < From then year = 0 else if year <= To then year = 0 end if year > To then year = 999999 end end return year end
function getLifespan(year) return year * Ageing end
]=]if not silent then print('Train fever path (rootdir):\n'..rootdir) end
for modifier,object in pairs(TFPath) do
if object.Path ~= "" then
if not silent then print("\n"..msg.." "..modifier..":") end
list = tf.dir(object.Path,object.Filter)
for n=1,#list do
if not silent then io.write(" "..list[n]) end
local file = assert(io.open(object.Path..list[n],"r"))
local script = file:read("*a")
file:close()
bom = isBOM(script)
script,c = Actions[mode](removeBOM(script))
file = assert(io.open(object.Path..list[n],"w"))
if bom then
if not silent then io.write("write UTF8 BOM") end
script = UTF8BOM..script
end
file:write(script)
file:close()
if c then
if not silent then print("") end
table.insert(touch,object.Path..list[n])
else
local indent = string.rep(".",35-#list[n])
if not silent then print(indent.."[skipped]") end
end
end
end
end
local key = 'y'
if mode == "install" then
print("\nGenerate timeless_mod_config...")
if tf.exists(rootdir.."scripts/timeless_mod_config.lua") ~= 0 then
if tf.mode == 'console' then
io.write("There is already a timeless configuration file installed.\nDo you want to replace it? [Y/n] > \x07")
key = io.read("*line")
end
end
if key:lower() == 'y' or key == '' then
file = io.open(rootdir.."scripts/timeless_mod_config.lua","w")
file:write(mod_config)
file:close()
print("\ntimeless_mod installed in\n"..rootdir.."\n")
end
print(#touch.." files was modified.")
else
if not silent then
if tf.mode == 'console' then
io.write("Do you want to remove the timeless_cost_configuration file as well? [Y/n] > \x07")
key = io.read("*line")
end
if key:lower() == 'y' or key == '' then
os.remove(rootdir.."scripts/timeless_mod_config.lua")
end
print("\ntimeless_mod uninstalled from\n"..rootdir.."\n")
print(#touch.." files was restored.")
end
package.loaded.timeless_mod = nil
end
return {
list = touch,
status = 0
}
endtimeless_mod = {
version = function() print(getVersion()) end,
install = function(lang) print("Timeless mod version "..getVersion()) return DoAction("install",lang,false) end,
uninstall = function(lang) print("Timeless mod version "..getVersion()) return DoAction("uninstall",lang,false) end
} -
Selbes Problem wie beschrieben bei mir, ich kann zwar das Jahr ändern an dem die Fahrzeuge ablaufen, dass Startjahr kann ich aber nicht ändern! Also ändern kann ich es schon, nutzen hat es keinen! In frühern Version habe ich es geschafft
-
Hi,
Was hat das zu bedeuten? Auf jeden Fall wird nix installiert...
Hier die Meldung.[Blockierte Grafik: http://www.train-fever.net/galerie/userImages/3c/1111-3cdccfa1.jpg]
So nochmal ausprobiert weder Methode 1 noch 2 funzen.. Hab die Anleitung befolg und auch in der lua den Pfad geändert trotzdem gleich Meldung wie oben. Bei Methode 2 wird keine config lua erstellt daraus schließe ich es hat nicht geklappt. Jemand ne Idee??
Edit// Habs nun installiert bekommen. Aber die Konfiguration haut noch nicht so ganz hin Egal was ich bei From und To einstelle es bleiben alle Fahrzeuge freigeschaltet und das will ich überhaupt nicht. Ich wollte nur den Alterungsprozess verhindern aber auch dies funktioniert nicht. Die Fahrzeuge Altern immer noch und nerven mich mit Stundenlangem austauschen...
Mfg Chim
-
Der Alterungsprozess wird durch den Wert Lifespan angegeben. Bei zum Beispiel 250 ist der Austausch erst nach 250 Jahren erforderlich.
-
Bekomme es auch nicht zum laufen. Alle Datein werden ordnungsgemäß angepasst, nur verändert sich dadurch im Spiel nichts, kein Fahrzeug ist freigeschaltet worden.
-
I have found flaw in the mod and I'm working on it right now.
-
-
hi, you have the wrong version of the mod, the sktuelle version is faulty , so you can not install it. you need an older version of the mod. I had the problem too. pitback helped me by sending me an older version . the creator of the modes , this setting already and is working on a updeate .
____________________________
hi, du hast eine falsche version vom mod, die sktuelle version ist fehlerhaft, daher kann man sie nicht installieren. du brauchst eine āltere version von dem mod. ich hatte das problem auch. pitback hatte mir geholfen indem er mir eine āltere version schickte. der ersteller des modes, weis dies bereits und arbeitet an einem updeate. -
Can not install the script still. Have de current TfGM and timeless_mod 2.2.
Get this errors.The latest TFGM v0.7.8.21 should work fine with the script.
However, you reminded me that I had forgot to publish the latest "Train Fever Extended Lua console". It is now published. -
Will the Vehicle ageing displayed in the Info Box from the Vehicel? Cause it still says x Years instead of 0?
-
Will the Vehicle ageing displayed in the Info Box from the Vehicel? Cause it still says x Years instead of 0?
I Have the Same Problems, But The Vehicles are for Ever -
Reserviert für die Übersetzung
Reserved for Translation
Dies war 8 September . Kommt die Übersetzung noch?
Ich würde die Timeless_MOD auch gerne auf meine MAC installieren, aber es passierte nichts.
Als zuerst dann die Manual gelesen, aber ich glaube mann muss wohl PC-Programmer sein dass fertig zu stellen, oder?Ich bin nu gebrachter und die Farzeugmods mittels der TFMM gehen prima, aber der Timeless_MOD macht nichts. Wass ich lese ist etwas über die LUA-console aber wie ich es lese ist diese nur für Windows, Ich habe einen MAC, wie geht's dann vor?
-
Also wenn ich es bisher richtig verstanden habe, funktioniert die Installation aller Mods von GWINDA in dem man den Befehl fuer die Mod in die Original-Dateien von TF einbindet.
Ich selber benutze OS X zum Arbeiten und Windows zum spielen (und nur dafuer), aufgrund der in 90% der Faellen hoeheren Performance der Spiele.
Dieses ist in "Method 2" beschrieben, hier die Uebersetzung:
(Dieses funktioniert sowohl fuer den Timeless-Mod als auch fuer den Cost-Mod)Methode 2
Folgende Zeile muss der Datei costs.lua im Ordner trainfever/res/config hinzugefuegt werden.require "timeless_mod" timeless_mod.install() -oder / und-
require "cost_mod" cost_mod.install()Die Datei speichern und TF starten. Jetzt eine neue Karte beginnen (oder ein Savegame laden, koennte zu abstuerzen fuehren). Das starten der neuen Karte fuerht jetzt das Script aus, und fuegt die Aenderungen den Fahrzeugen hinzu.
Danach am besten das Spiel wieder beenden, und den Eintrag wieder auskommentieren.
-- requre "cost_mod" --cost_mod.install()Fuer die Deinstallation geht man identisch vor, man muss nur "install" in "uninstall" aendern.