TTD ALTER for OpenTTD
Moderator: OpenTTD Developers
TTD ALTER for OpenTTD
Welcome.
Where i found a editor train`s like TTD Alter for TTDLX ?? But i want edit a train on OpenTTD.
And my next question how i can add my own train, bus and aircraft in OpenTTD?
Greets
Where i found a editor train`s like TTD Alter for TTDLX ?? But i want edit a train on OpenTTD.
And my next question how i can add my own train, bus and aircraft in OpenTTD?
Greets
- bobingabout
- Tycoon
- Posts: 1850
- Joined: 21 May 2005 15:10
- Location: Hull, England
we've already been down this road before, it impossable (or extreamly difficult and not worth is) to make a TTDAlter type program for OTTD, because every time you compile the program, it will be completly different, and the part of the code you would need to alter has moved location, which happens several times a day in the development versions, not to mention optimisations, and many different platforms, increasing the number of posabile versions by several billion.(many people alter the code for personal use(maybe to make it work on their PSP, or to optimise it for the spacific hardware in their computer), if you add up all the times anyone has done this, you are looking at billions or even trillions of versions of OTTD over its lifetime so far) how can 1 program know where to find a few spacific bytes of code out of that many different versions?
since the game is open, this means you can download and alter the code directly, this can be used to alter the statistics of whatever you want in the code, then compile it yourself, however, like TTDPatch, OpenTTD has a lot of NewGRF support, so, i, and many others will sugest that you try and do what you want to do using newGRF
although the primary purpose of a GRF is to allow new graphics(hence the name NewGRF), it also contains pseudo sprites, which is code, this code if used correctly can alter statistics of your vehicles, and bridges, and more, with not only working on current, and many past versions of OpenTTD, but also TTDPatch.
granted, its not as easy to learn and use as a TTDAlter program, but some very smart people are working on a program that will allow you to create a NewGRF much in the same was as TTDAlter allows you to alter statistics in TTDX.
since the game is open, this means you can download and alter the code directly, this can be used to alter the statistics of whatever you want in the code, then compile it yourself, however, like TTDPatch, OpenTTD has a lot of NewGRF support, so, i, and many others will sugest that you try and do what you want to do using newGRF
although the primary purpose of a GRF is to allow new graphics(hence the name NewGRF), it also contains pseudo sprites, which is code, this code if used correctly can alter statistics of your vehicles, and bridges, and more, with not only working on current, and many past versions of OpenTTD, but also TTDPatch.
granted, its not as easy to learn and use as a TTDAlter program, but some very smart people are working on a program that will allow you to create a NewGRF much in the same was as TTDAlter allows you to alter statistics in TTDX.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
- orudge
- Administrator
- Posts: 25223
- Joined: 26 Jan 2001 20:18
- Skype: orudge
- Location: Banchory, UK
- Contact:
Indeed, TTDAlter doesn't, and probably never will, work with OpenTTD I'm afraid. At some point, I may get the GRF Export plug-in complete though, which will effectively let you alter OpenTTD vehicles the same way you can alter normal TTD vehicles (although not newgrf files). But I need to finish that, which may take some time...
- orudge
- Administrator
- Posts: 25223
- Joined: 26 Jan 2001 20:18
- Skype: orudge
- Location: Banchory, UK
- Contact:
As I say, there's the possibility of a GRF export plug-in sometime, hypothetically. Not sure when. Anyone capable of Windows programming could in theory create one - the TTDAlter API is well documented (although could do with a bit of work I guess). If I ever get around to it, I may take a look at it this summer, although I'd need to reinstall Visual Basic...
Basically, unless someone does it, it's not likely to be done. Kind of obvious, really, but, eh.
Basically, unless someone does it, it's not likely to be done. Kind of obvious, really, but, eh.
I wasn't necessarily referring to a program... just a newgrf plugin that can basically do the same functions. I appreciate your work, but there's no need to get heated over my question, even though it was done in ignoranceRubidium wrote:What about the "it's impossible to make a TTDAlter type program for OTTD" of bobingabout don't you understand?jezza333 wrote:Gday there, any progress on an editor?

orudge, thanks for the response mate.

BTW sorry for bumping the topic

-
- Transport Coordinator
- Posts: 283
- Joined: 08 May 2004 07:48
- Location: Alkmaar, The Netherlands
Just spraying my thoughts here, I'm not a programmer so I have no clue if what I'm about to suggest is possible, but here it goes:
Is it possible to program a simple tool in which you can change all the values of all the vehicles, that then exports a .patch file, with which you can compile your own version with BuildOTTD? That way it is usable for non-programmers as well...
Is it possible to program a simple tool in which you can change all the values of all the vehicles, that then exports a .patch file, with which you can compile your own version with BuildOTTD? That way it is usable for non-programmers as well...
Beer equals power
- bobingabout
- Tycoon
- Posts: 1850
- Joined: 21 May 2005 15:10
- Location: Hull, England
probably easier just to export a NewGRF file, so that you don't need to re-compile it all.
JPG SUX!!! USE PNG!!!
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
There are times when JPG is useful, TTD screenshots is not one of them. Please use PNG instead.
[/url]
- belugas
- OpenTTD Developer
- Posts: 1507
- Joined: 05 Apr 2005 01:48
- Location: Deep down the deepest blue
- Contact:
You mean code the grf to change all the values?Desolator wrote:And it's a lot harder to code.
This would be easier than to program the suggested simple tool...
GRF is not THAT hard to learn, you know. And the more people know it, the more goodies will come up, the more will be to play with.
And further more, you don't have to wait for somebody else to find the time and the drive to make it all for you, since you are your own boss

If you are not ready to work a bit for your ideas, it means they don't count much for you.
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
OpenTTD and Realism? Well... Here are a few thoughs on the matter.
He he he he
------------------------------------------------------------
Music from the Bloody Time Zones
- athanasios
- Tycoon
- Posts: 3138
- Joined: 23 Jun 2005 00:09
- Contact:
It is simply HELLbelugas wrote:GRF is not THAT hard to learn, you know...

http://members.fortunecity.com/gamesart
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
"If no one is a fool I am also a fool." -The TTD maniac.
I prefer to be contacted through PMs. Thanks.
Who is online
Users browsing this forum: No registered users and 4 guests