@Alex Paen, is this what you are looking for:
Configuration
After installation a new file has been created in the trainfever/res/scripts foldercost_mod_config.lua
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
@Alex Paen, is this what you are looking for:
Configuration
After installation a new file has been created in the trainfever/res/scripts foldercost_mod_config.lua
@Alex Paen, is this what you are looking for:
In the new config file "MaintenanceFactor = 0.0 -- Cost factor for train maintenance" and after install mod in LuaTF.exe modifier "Maintenance" present at all vehicles mdl, not only trains.
What system are you running on?
Is there an error message when enabling the mod?
What file did you download?
Win7 64
No errors, Im remove old cost_mod_config.lua and after insallation of 2.0 new file was created.
I have cost_mod.zip file and TFMM show 2.0 version after install it.
It sounds like the wrong script has been running. If you use TFGM, you don't need the LuaTF.exe anymore. TFGM will run the scripts automatically for you.
After the mod has been enabled the cost_mod_config.lua should look like this:
--[[ cost_mod configuration file version 1.5.
The factors are multiplied witht the costs.
1.0 = 100%
0.5 = 50%
2.0 = 200%
0.0 = free
]]
-- Cost factor for building rail signals
SignalFactor = 0.0
SignalFactor_Maintenance = 0.0
-- Cost factor for building train stations
TrainStationFactor = 0.0
TrainStationFactor_Maintenance = 0.0
-- Cost factor for bying train waggons
WaggonFactor = 0.0
WaggonFactor_Maintenance = 0.0
-- Cost factor for bying busses
BusFactor = 0.0
BusFactor_Maintenance = 0.0
-- Cost factor for building railroad crossings
RailroadCrossingFactor = 0.0
RailroadCrossingFactor_Maintenance = 0.0
-- Cost factor for building bus, tram and train depots
DepotFactor = 0.0
DepotFactor_Maintenance = 0.0
-- Cost factor for building bus stations
BusStationFactor = 0.0
BusStationFactor_Maintenance = 0.0
-- Cost factor for building streets
StreetFactor = 0.0
StreetFactor_Maintenance = 0.0
-- Cost factor for bying trucks
TruckFactor = 0.0
TruckFactor_Maintenance = 0.0
-- Cost factor for bying trams
TramFactor = 0.0
TramFactor_Maintenance = 0.0
-- Cost factor for bying train engins
TrainFactor = 0.0
TrainFactor_Maintenance = 0.0
-- Cost factor for building tram stations
TramStationFactor = 0.0
TramStationFactor_Maintenance = 0.0
-- Cost factor for building cargo stations
CargoStationFactor = 0.0
CargoStationFactor_Maintenance = 0.0
-- Cost factor for building bridges
BridgeFactor = 0.0
BridgeFactor_Maintenance = 0.0
TerrainFactor = 0.0 -- Cost factor for rais and lower terrain
RoadOptionsFactor = 0.0 -- Cost factors for bus lane and tram tracks
TrackFactor = 0.0 -- Cost factor for laying railroad tracks, switches, catanery, on bridges and in tunnels
Alles anzeigen
All .mdl files will have a xxxx_Maintenance multiplied with the maintenance cost. xxxx is the name of the group, such as Bus, Train, Tram etc...
Hallo,
bei der Installation werden nun ja ALLE gefundenen Dateien bearbeitet. Dies ist jedoch nicht immer wünschenswert (z.B. bei Fakes).
Ich würde mir wünschen, dass man Dateien gezielt von der Bearbeitung ausschliessen kann. Zum Beispiel durch eine entsprechende Kennzeichnung am Anfang der jeweiligen Dateien, wie z.B. "no_costmod" oder auch "no_timelessmod".
@Gwinda, wäre es möglich, dies zu implementieren?
Liebe Grüße
Enno
Alles anzeigenHallo,
bei der Installation werden nun ja ALLE gefundenen Dateien bearbeitet. Dies ist jedoch nicht immer wünschenswert (z.B. bei Fakes).
Ich würde mir wünschen, dass man Dateien gezielt von der Bearbeitung ausschliessen kann. Zum Beispiel durch eine entsprechende Kennzeichnung am Anfang der jeweiligen Dateien, wie z.B. "no_costmod" oder auch "no_timelessmod".
@Gwinda, wäre es möglich, dies zu implementieren?
Liebe Grüße
Enno
I don't speak German and Google translate gave me some weird translation. But I think I know what you mean.
Technically it's not a problem. The hurdle is how this would be configured in a way that is easy for users with no Lua experience. I do have some interesting ideas to implement in TFGM that would make this more easy to configure, but there is no easy solution right now.
I will keep this in mind on future development.
Thank you.
OK, thank you for the answer. Sorry, but my english is also not the best.
Now i have the following problem. On run the LuaTFx64.exe or the LuaTFx.exe (both in Version 5.2) i become the Error-Message: ERROR #1 You need the latest Train Fever Extended Lua console or the Train Fever Game Manager to run this script. This is on cost_mod also timeless_mod.
Have you, @Gwinda, a Solution for that?
Greetings
Enno
Are you sure you have the latest version of LuaTF.exe (or LuaTFx64.exe)
When you start it, it should display:
Train Fever Extended Lua Console 6.2 by Gwinda
Based on Lua 5.2 Lua.org, PUC-Rio
>
This is the Text on LuaTFx64.exe:
Train Fever Extended Lua 5.2 by Gwinda
Based on Lua 5.2.2 Lua.org, PUC-Rio
>
I downloaded this Version today from Webdisk.
Ok, now i find the right Version.....i'm so stupid....
Very Thanks for your help and time.
Greetings
Enno
PS: I change the code a little bit for my suggestion (No Cost Mod on Fake's etc.)....
.....
c = isNoCostMod(script)
if not c then
bom = isBOM(script)
script,c = Actions[mode](removeBOM(script),modifier.."Factor")
file = assert(io.open(rootdir..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()
end
.....
Alles anzeigen
....and it's running good.
Hi all iam new here i have registration here i have a problem whis the cost mod. Sorry my english is terrible. I have install the new TFMM 0.6.66 the old cost mod are not function with the version. I install then the new cost mod version, Install with lua a no probs but i start a new game now i become this error. Some one can help me?
The problem is that the new version, the old unfortunately can not remove it.
Here is a modified version of me that can uninstall the old version and incidentally manipulated no fake files.
Procedure:
Greetings
Enno
PS: You need the latest Lua-Console from here.
PPS: Mein Deutsch ist auch erheblich besser, als mein Englisch. Sorry.
Hallo EAT1963 Fake Files verwende ich gar keine. Ansonsten werden ich das mal durch arbeiten und bescheid geben ob es funzt oder nicht danke für die Antwort.
So hat alles wunderbar geklappt danke EAT1963
Sorry for the inconvenience, I was to fast there. I have updated to v2.10 and it now takes care of the earlier installation.
Cost_mod v3.0 for the new TF mod system.
Should work on all platforms, see description.
Thank you Gwinda
Doesn't work for me I downloaded the new TFGM and Cost mod, but when activated (in a normal or legacy mode), there is no possibility to "edit config" when right-clicking as it was possible before.