Tinkering with the source...
Moderator: OpenTTD Developers
Tinkering with the source...
Greetings!
Ever since Transport Tycoon Deluxe has been released, some things, that were different from Transport Tycoon Original, bothered me quite much.
And in every TTD I try and change them.
I've played and liked TTO very much and just want to create the same "ambience" in TTD.
And since I'm more of a tweaker than a programmer, I have some things to inquire about.
Thing that I've changed:________________________________Status:
-All vehicle names/commentaries
change to TTO like - English______________________________DONE
(english.txt/lng)
-Leyland Leopard Bus speed
changed to 96km/h_____________________________________DONE
(roadveh_cmd.c)
-Bridge speeds of gold Suspension Bridge,
Cantilever Bridge and Tubular Bridge increased
in order not to slow down TGV/Maglevs._____________________DONE
(tunnelbridge_cmd.c)
-Locomotive's speed/power change - like in TTO
or in real life, e.g. power of T.G.V. is now 13600hp and
not 7000..._____________________________________________DONE
(engines.h -->in TABLES)
-Industry production increase to the levels
of TTO___________________________________________KINDA DONE
(in buildindustry.h)
At the end I settled for a 34.8% change of all production rates of all industries (or multiply them with 1.538), e.g. coal mine before - 8x/9x 15 = 120/135 - changed: 8x/9x 23 = 184/207 -- in TTO 12x/13x/14x 15 = 180/195/210 tonnes of coal.
This is all fine, but how could I change the multipliers to 12/13/14 instead of prod. rates?
There are two values - production rate [0] * 8 and production rate [1] * 8 in the file industry_cmd.c. I changed them to 12 and it worked only for the newly built industry in scenarion editor or at the start of new game.
In "February 1st 1950" productions of all industries return to "normal" 8/9x system.
I think these multipliers aren't fixed and are dependent on game-tick duration - so how to modify this dependency of industries on the tick?
You can check out all the changes - you have to have OpenTTD 0.2.1 installed, then just download http://www.geocities.com/sirkozus/openttd2.zip. Just unpack my ttd.exe and english.lng in you OpenTTD 0.2.1 dir, replacing the original files...
Thank you in advance for your explanations.
S/Z
P.S.: Does anyone of you (developers) know how to change station ratings to be more equal to those of AI players?
Ever since Transport Tycoon Deluxe has been released, some things, that were different from Transport Tycoon Original, bothered me quite much.
And in every TTD I try and change them.
I've played and liked TTO very much and just want to create the same "ambience" in TTD.
And since I'm more of a tweaker than a programmer, I have some things to inquire about.
Thing that I've changed:________________________________Status:
-All vehicle names/commentaries
change to TTO like - English______________________________DONE
(english.txt/lng)
-Leyland Leopard Bus speed
changed to 96km/h_____________________________________DONE
(roadveh_cmd.c)
-Bridge speeds of gold Suspension Bridge,
Cantilever Bridge and Tubular Bridge increased
in order not to slow down TGV/Maglevs._____________________DONE
(tunnelbridge_cmd.c)
-Locomotive's speed/power change - like in TTO
or in real life, e.g. power of T.G.V. is now 13600hp and
not 7000..._____________________________________________DONE
(engines.h -->in TABLES)
-Industry production increase to the levels
of TTO___________________________________________KINDA DONE
(in buildindustry.h)
At the end I settled for a 34.8% change of all production rates of all industries (or multiply them with 1.538), e.g. coal mine before - 8x/9x 15 = 120/135 - changed: 8x/9x 23 = 184/207 -- in TTO 12x/13x/14x 15 = 180/195/210 tonnes of coal.
This is all fine, but how could I change the multipliers to 12/13/14 instead of prod. rates?
There are two values - production rate [0] * 8 and production rate [1] * 8 in the file industry_cmd.c. I changed them to 12 and it worked only for the newly built industry in scenarion editor or at the start of new game.
In "February 1st 1950" productions of all industries return to "normal" 8/9x system.
I think these multipliers aren't fixed and are dependent on game-tick duration - so how to modify this dependency of industries on the tick?
You can check out all the changes - you have to have OpenTTD 0.2.1 installed, then just download http://www.geocities.com/sirkozus/openttd2.zip. Just unpack my ttd.exe and english.lng in you OpenTTD 0.2.1 dir, replacing the original files...
Thank you in advance for your explanations.
S/Z
P.S.: Does anyone of you (developers) know how to change station ratings to be more equal to those of AI players?
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Re: Tinkering with the source...
The next release will feature two additional bridges with higher maximum speeds for Monorails and Maglevs.SirkoZ wrote:-Bridge speeds of gold Suspension Bridge,
Cantilever Bridge and Tubular Bridge increased
in order not to slow down TGV/Maglevs._____________________DONE
(tunnelbridge_cmd.c)
Excellent!
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Do you mean amount of all vehicles in game? I suppose it can be changed, I haven't looked for that one yet...
Now I'm more interested in changing industry production algorithm...
Now I'm more interested in changing industry production algorithm...
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
It's getting better and better.
Any idea about industries, any pointers?
Any idea about industries, any pointers?
Last edited by SirkoZ on 13 Apr 2004 07:43, edited 1 time in total.
NewGRF: Oil Wells in Temperate terrain now can Increase production, Better vehicle names, Use-able default aircraft, Oil Rig for Snowland and Desert, Speed for Suspension bridges.
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
Patches (OpenTTD): Improved smooth_economy [in trunk], More (diesel) smoke [in trunk], Realistic_acceleration finetune.
Keep 'em rollin'!
- Born Acorn
- Tycoon
- Posts: 7595
- Joined: 10 Dec 2002 20:36
- Skype: bornacorn
- Location: Wrexham, Wales
- Contact:
Re: Tinkering with the source...
any screens?dominik81 wrote:The next release will feature two additional bridges with higher maximum speeds for Monorails and Maglevs.SirkoZ wrote:-Bridge speeds of gold Suspension Bridge,
Cantilever Bridge and Tubular Bridge increased
in order not to slow down TGV/Maglevs._____________________DONE
(tunnelbridge_cmd.c)
Re: Tinkering with the source...
Born Acorn wrote:any screens?
- Attachments
-
- Featuring the golden "Tubular, Steel" bridge and the "Tubular, Silicon" bridge.
- newbridg.gif (101.96 KiB) Viewed 5886 times
- hovering teacup
- Route Supervisor
- Posts: 429
- Joined: 03 Feb 2004 12:40
Who is online
Users browsing this forum: No registered users and 12 guests