LocoTool V0.4.3 [30 Oct 2004]

Discuss, get help with, or post new modifications, graphics or related tools for Locomotion in this forum.

Moderator: Locomotion Moderators

User avatar
Villem
Tycoon
Tycoon
Posts: 3310
Joined: 28 Aug 2003 09:38

Post by Villem »

Zimmlock i solved your problem it seems LocoTools latest release adds extra \ after each \ so, all you have to do is edit off the extra \ from the sprite tables and it will compile.
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

I've released LocoTool v0.4.2, see http://www.ttdpatch.net/loco/

Changes:
- fixed bug with filenames not having their backslashes de-escaped
- added airport layout auxdata descriptions
User avatar
PikkaBird
Graphics Moderator
Graphics Moderator
Posts: 5631
Joined: 13 Sep 2004 13:21
Location: The Moon

Post by PikkaBird »

Thanks Josef. :)
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

I've released LocoTool v0.4.3, see http://www.ttdpatch.net/loco/

Changes:
- documented almost all remaining airport structures, and fixed some incorrect ones
Olli
Engineer
Engineer
Posts: 93
Joined: 07 Oct 2004 14:58

Post by Olli »

great job with the tile editing.

Now theres an ingame bug when your object has tiles positioned over each other (by typos in tile coordinates) like here:

Code: Select all

		<structure name="tilepos[0]" size="4">
			<variable name="tilenum" size="1">13</variable>
			<variable name="rotate" size="1">0</variable>
			<variable name="x" size="1">0</variable>
			<variable name="y" size="1">0</variable>
		</structure>
		<structure name="tilepos[1]" size="4">
			<variable name="tilenum" size="1">14</variable>
			<variable name="rotate" size="1">1</variable>
			<variable name="x" size="1">0</variable>
			<variable name="y" size="1">0</variable>
		</structure>
(Both tiles at [0,0] )

The object than can be selected, reserves some space on the map but does not get drawn completely and is not buildable.

Would be nice if the next version automatically aborts and returns what tiles are placed over each other, theres many coordinates to check if this error comes.
scrat
Chief Executive
Chief Executive
Posts: 713
Joined: 04 Oct 2004 10:20
Location: Rotterdam, The Netherlands

Post by scrat »

First, GREAT tool. I wouldn't know what to do without it.

Secondly, I've got some variables for you:

Old:

Code: Select all

	<structure name="field_24[0]" size="6">
		<variable name="length" size="1">120</variable>
		<unknown name="field_1" size="1">120</unknown>
		<variable name="spriteind" size="1">0</variable>
		<unknown name="field_5" size="1">178</unknown>
	</structure>
New:

Code: Select all

	<structure name="field_24[0]" size="6">
		<variable name="left" size="1">120</variable> = previously "length"
		<unknown name="length" size="1">120</unknown> = previously "field_1"
		<variable name="spriteind" size="1">0</variable> 
		<unknown name="effect_pos" size="1">178</unknown> = previously "field_5"
	</structure>
"spriteind" is a bitflag with the following confirmed values:
00000000 = sprite 0
00000001 = sprite 1
00000010 = sprite 2
00000011 = sprite 3
10000000 = sprite 0 reversed
10000001 = sprite 1 reversed
10000010 = sprite 2 reversed
10000011 = sprite 3 reversed

"Field_24" can probably be renamed to "Consist_Part"
So long and thanks for all the fish.
User avatar
Paasky
Transport Coordinator
Transport Coordinator
Posts: 269
Joined: 06 Sep 2004 07:38
Location: Vantaa, Finland
Contact:

Post by Paasky »

I searched the forums but didn't find any info on this so here goes:
Is it possible to enlargen the station radius. Ie that a station (like an airport) could grab everything in a 10-block radius? I know this can be done by filling the city with passenger stops everywhere, but that takes time & I'm lazy :)

Also, can the station spread-out number be enlargened? So that a station can be as large as an entire metropolis?
Sorryaboutthemess
Engineer
Engineer
Posts: 66
Joined: 02 Jul 2004 03:50

Post by Sorryaboutthemess »

I agree with Paasky on the station issues, but I'd be amazed if you could edit that.

On a different issue, I've been trying to use Locotool to change the stats of the 747, A380 and concorde to make them more realistic. Locotool seems to be modifying the concor.dat file without a problem, but when I use locotool to make the .dat files into .xml files then modify the capacity of the 747 and A380 then make them into .dat files and check that they are correct by making it into a .xml file once again, the capacity is the original, unchanged. I tried deleting the .dat file before I converted the .xml back into a .dat file, but it didn't change anything. Any ideas?
You mess with the mess, you die like the rest
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

Not possible without hacking Locomotion itself.
Olli
Engineer
Engineer
Posts: 93
Joined: 07 Oct 2004 14:58

Post by Olli »

Theres an exploit that makes station sizes infinite:
http://www.tt-forums.net/viewtopic.php?t=11317
Flying Tiger
Engineer
Engineer
Posts: 35
Joined: 20 Oct 2004 20:47
Location: Netherlands

Post by Flying Tiger »

I hope it hasn't been asked before, but I tried to change the obsolete date of the APT, but when I changed it, the game wouldn't start up again.

What did i do wrong?

Thanks
-House Of Tomorrow-
"We'll upgrade your system, so you can upgrade your life"
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

You must have changed something else accidentally...
Flying Tiger
Engineer
Engineer
Posts: 35
Joined: 20 Oct 2004 20:47
Location: Netherlands

Post by Flying Tiger »

Im very sure I didn't chage anything else... this is what I did:

-got the newest locotool
-dropped a .dat file on the locotool icon so it creates a XML
-changed the obsolete number from 2005 to 65535

then I wasn't quite sure what to do after saving, so I dropped the XML file on locotool again, wich seemed to work out fine. I got a new .dat file. I replaced the old one, and then it wouldn't start anymore...

I am afraid i have done something stupid... im not such a progammer, but other than this, i didn''t change anything.
-House Of Tomorrow-
"We'll upgrade your system, so you can upgrade your life"
User avatar
Steve
Tycoon
Tycoon
Posts: 2085
Joined: 10 Jan 2004 20:19
Location: London
Contact:

Post by Steve »

Sounds about right. Try changing it back and see if it works. Also check you didn't change it to 65536, which would out of range.
Flying Tiger
Engineer
Engineer
Posts: 35
Joined: 20 Oct 2004 20:47
Location: Netherlands

Post by Flying Tiger »

hmm.. I got some other problems with Loco as well, so I reinstalled. Now that i tried again, it worked!

Thanks!
-House Of Tomorrow-
"We'll upgrade your system, so you can upgrade your life"
Royal Bavarian
Engineer
Engineer
Posts: 67
Joined: 29 Sep 2004 14:18
Location: Sweden

Post by Royal Bavarian »

Is it possible to change signal operation using Locotool?
Patchman
Tycoon
Tycoon
Posts: 7575
Joined: 02 Oct 2002 18:57
Location: Ithaca, New York
Contact:

Post by Patchman »

No, the .dat files control only graphics and some data describing the graphics. All signals work the same, they only look different.
Royal Bavarian
Engineer
Engineer
Posts: 67
Joined: 29 Sep 2004 14:18
Location: Sweden

Post by Royal Bavarian »

Too bad.

Where could such a thing be located? It seems every last file is a .DAT file (except for something called .CFG which doesn't seem to contain much at all).
User avatar
Steve
Tycoon
Tycoon
Posts: 2085
Joined: 10 Jan 2004 20:19
Location: London
Contact:

Post by Steve »

In the executable.
Royal Bavarian
Engineer
Engineer
Posts: 67
Joined: 29 Sep 2004 14:18
Location: Sweden

Post by Royal Bavarian »

In the .exe file!?

If so, is that what they call "hardcoded" (I'm not sure of the definition of that term, know very little about computers) or is possible, in principle at least, to mod it from there?
Post Reply

Return to “Locomotion Graphics, Modifications & Tools”

Who is online

Users browsing this forum: No registered users and 2 guests