need help creating the xml, for my new trucks trailers
Moderator: Locomotion Moderators
need help creating the xml, for my new trucks trailers
first can not good english i com from the german loco fanpage, and i have new trailers created for trucks. there is the link for 3 Flatbed Trailers for the Flatbed Trucks
http://www.locomotion-fanpage.net/forum ... eadid=1514
the problem what i have, I want to load those of trailer with and without a load function outer-did. but white at which do not place I that to change must in xml, and which rates to be registered must.
have the pics png for the flatbed trailers with lumber, paper and stole ready
here is the xml code for the flatbed trailers:
<?xml version="1.0" encoding="ISO-8859-1"?>
<object class="0x97" subclass="0x118281" name="FTRAIL1 "><chunk compression="1">
<variable name="class" size="1">1</variable>
<variable name="type" size="1">2</variable>
<unknown name="field_4" size="1">1</unknown>
<variable name="nummods" size="1">0</variable>
<variable name="costind" size="1">8</variable>
<variable name="costfact" size="2">6</variable>
<variable name="reliability" size="1">0</variable>
<variable name="runcostind" size="1">0</variable>
<variable name="runcostfact" size="2">1</variable>
<variable name="colourtype" size="1">8</variable>
<variable name="numcompat" size="1">1</variable>
<structure name="field_24[0]" size="6">
<variable name="length" size="1">12</variable>
<unknown name="field_1" size="1">12</unknown>
<unknown name="field_2" size="1">255</unknown>
<unknown name="field_3" size="1">255</unknown>
<variable name="spriteind" size="1">0</variable>
</structure>
<structure name="field_24[1]" size="6">
<variable name="length" size="1">0</variable>
<variable name="spriteind" size="1">0</variable>
</structure>
<structure name="field_24[2]" size="6">
<variable name="length" size="1">0</variable>
<variable name="spriteind" size="1">0</variable>
</structure>
<structure name="field_24[3]" size="6">
<variable name="length" size="1">0</variable>
<variable name="spriteind" size="1">0</variable>
</structure>
<structure name="sprites[0]" size="30">
<variable name="numdir" size="1">32</variable>
<unknown name="field_1" size="1">4</unknown>
<unknown name="field_2" size="1">1</unknown>
<variable name="vehtype" size="1">1</variable>
<variable name="numunits" size="1">1</variable>
<unknown name="field_5" size="1">1</unknown>
<variable name="bogeypos" size="1">32</variable>
<bitmask name="flags" size="1">
<bit name="hassprites">1</bit>
<bit name="bit_3">1</bit>
<bit name="bit_4">1</bit>
<bit name="reversed">1</bit>
</bitmask>
<variable name="spritenum" size="1">0</variable>
</structure>
<structure name="sprites[1]" size="30">
<variable name="numdir" size="1">0</variable>
<variable name="vehtype" size="1">0</variable>
<variable name="numunits" size="1">0</variable>
<variable name="bogeypos" size="1">0</variable>
<bitmask name="flags" size="1">
<bit name="hassprites">0</bit>
<bit name="reversed">0</bit>
</bitmask>
<variable name="spritenum" size="1">0</variable>
</structure>
<structure name="sprites[2]" size="30">
<variable name="numdir" size="1">0</variable>
<variable name="vehtype" size="1">0</variable>
<variable name="numunits" size="1">0</variable>
<variable name="bogeypos" size="1">0</variable>
<bitmask name="flags" size="1">
<bit name="hassprites">0</bit>
<bit name="reversed">0</bit>
</bitmask>
<variable name="spritenum" size="1">0</variable>
</structure>
<structure name="sprites[3]" size="30">
<variable name="numdir" size="1">0</variable>
<variable name="vehtype" size="1">0</variable>
<variable name="numunits" size="1">0</variable>
<variable name="bogeypos" size="1">0</variable>
<bitmask name="flags" size="1">
<bit name="hassprites">0</bit>
<bit name="reversed">0</bit>
</bitmask>
<variable name="spritenum" size="1">0</variable>
</structure>
<variable name="power" size="2">0</variable>
<variable name="speed" size="2">25</variable>
<variable name="rackspeed" size="2">0</variable>
<variable name="weight" size="2">3</variable>
<bitmask name="flags" size="2">
<bit name="rackrail">0</bit>
<bit name="bit_8">1</bit>
<bit name="anytrack">1</bit>
<bit name="cancouple">0</bit>
<bit name="dualhead">0</bit>
<bit name="refittable">0</bit>
<bit name="noannounce">1</bit>
</bitmask>
<variable name="visfxheight" size="1">0</variable>
<variable name="visfxtype" size="1">0</variable>
<variable name="wakefxtype" size="1">0</variable>
<variable name="designed" size="2">1900</variable>
<variable name="obsolete" size="2">1950</variable>
<variable name="startsndtype" size="1">0</variable>
<variable name="numsnd" size="1">0</variable>
<description num="0" language="0">Flatbed Trailer 1</description>
<description num="0" language="1">Flatbed Trailer 1</description>
<description num="0" language="2">Remorque-citerne</description>
<description num="0" language="3">Flach-Anhänger</description>
<description num="0" language="4">Remolque cisterna</description>
<description num="0" language="5">Rimorchio cisterna</description>
<description num="0" language="9">ÿÅÊÿÄ¿ ÿÆ®ÿ·¹ÿÀÏÿ·¯</description>
<description num="0" language="11">ÿªoÿÅøÿ©ìÿ¨®</description>
<cargo num="0" capacity="5">
<cargotype id="5">0</cargotype>
<cargotype id="6">512</cargotype>
<cargotype id="7">1024</cargotype>
</cargo>
<useobject desc="compatible" class="23">FTRUCK1 </useobject>
------------------------------------------------------------------------------------
this is momentary pictures stood with flatbed trailers
png.000 first flatbed trailer pic
png.001 first flatbed trailer pic with stop light, aber is not activated
png.002 tow flatbed trailer pic
........
........
like that then the pictures would be lined up with wood paper and stole
png.000 first flatbed trailer pic
png.001 first flatbed trailer pic with stop light, aber is not activated
png.002 first flatbed trailer pic full with lumber
png.003 first flatbed trailer pic full with paper
png.004 first flatbed trailer pic full with stole
png.005 two flatbed trailer pic
png.006 two flatbed trailer pic with stop light, aber is not activated
png.007 two flatbed trailer pic full with lumber
png.008 two flatbed trailer pic full with paper
png.009 two flatbed trailer pic full with stole
......
......
how xml does the code have to be changed now and at which to place to have pays is changed, and which be paid must is at all registered?
http://www.locomotion-fanpage.net/forum ... eadid=1514
the problem what i have, I want to load those of trailer with and without a load function outer-did. but white at which do not place I that to change must in xml, and which rates to be registered must.
have the pics png for the flatbed trailers with lumber, paper and stole ready
here is the xml code for the flatbed trailers:
<?xml version="1.0" encoding="ISO-8859-1"?>
<object class="0x97" subclass="0x118281" name="FTRAIL1 "><chunk compression="1">
<variable name="class" size="1">1</variable>
<variable name="type" size="1">2</variable>
<unknown name="field_4" size="1">1</unknown>
<variable name="nummods" size="1">0</variable>
<variable name="costind" size="1">8</variable>
<variable name="costfact" size="2">6</variable>
<variable name="reliability" size="1">0</variable>
<variable name="runcostind" size="1">0</variable>
<variable name="runcostfact" size="2">1</variable>
<variable name="colourtype" size="1">8</variable>
<variable name="numcompat" size="1">1</variable>
<structure name="field_24[0]" size="6">
<variable name="length" size="1">12</variable>
<unknown name="field_1" size="1">12</unknown>
<unknown name="field_2" size="1">255</unknown>
<unknown name="field_3" size="1">255</unknown>
<variable name="spriteind" size="1">0</variable>
</structure>
<structure name="field_24[1]" size="6">
<variable name="length" size="1">0</variable>
<variable name="spriteind" size="1">0</variable>
</structure>
<structure name="field_24[2]" size="6">
<variable name="length" size="1">0</variable>
<variable name="spriteind" size="1">0</variable>
</structure>
<structure name="field_24[3]" size="6">
<variable name="length" size="1">0</variable>
<variable name="spriteind" size="1">0</variable>
</structure>
<structure name="sprites[0]" size="30">
<variable name="numdir" size="1">32</variable>
<unknown name="field_1" size="1">4</unknown>
<unknown name="field_2" size="1">1</unknown>
<variable name="vehtype" size="1">1</variable>
<variable name="numunits" size="1">1</variable>
<unknown name="field_5" size="1">1</unknown>
<variable name="bogeypos" size="1">32</variable>
<bitmask name="flags" size="1">
<bit name="hassprites">1</bit>
<bit name="bit_3">1</bit>
<bit name="bit_4">1</bit>
<bit name="reversed">1</bit>
</bitmask>
<variable name="spritenum" size="1">0</variable>
</structure>
<structure name="sprites[1]" size="30">
<variable name="numdir" size="1">0</variable>
<variable name="vehtype" size="1">0</variable>
<variable name="numunits" size="1">0</variable>
<variable name="bogeypos" size="1">0</variable>
<bitmask name="flags" size="1">
<bit name="hassprites">0</bit>
<bit name="reversed">0</bit>
</bitmask>
<variable name="spritenum" size="1">0</variable>
</structure>
<structure name="sprites[2]" size="30">
<variable name="numdir" size="1">0</variable>
<variable name="vehtype" size="1">0</variable>
<variable name="numunits" size="1">0</variable>
<variable name="bogeypos" size="1">0</variable>
<bitmask name="flags" size="1">
<bit name="hassprites">0</bit>
<bit name="reversed">0</bit>
</bitmask>
<variable name="spritenum" size="1">0</variable>
</structure>
<structure name="sprites[3]" size="30">
<variable name="numdir" size="1">0</variable>
<variable name="vehtype" size="1">0</variable>
<variable name="numunits" size="1">0</variable>
<variable name="bogeypos" size="1">0</variable>
<bitmask name="flags" size="1">
<bit name="hassprites">0</bit>
<bit name="reversed">0</bit>
</bitmask>
<variable name="spritenum" size="1">0</variable>
</structure>
<variable name="power" size="2">0</variable>
<variable name="speed" size="2">25</variable>
<variable name="rackspeed" size="2">0</variable>
<variable name="weight" size="2">3</variable>
<bitmask name="flags" size="2">
<bit name="rackrail">0</bit>
<bit name="bit_8">1</bit>
<bit name="anytrack">1</bit>
<bit name="cancouple">0</bit>
<bit name="dualhead">0</bit>
<bit name="refittable">0</bit>
<bit name="noannounce">1</bit>
</bitmask>
<variable name="visfxheight" size="1">0</variable>
<variable name="visfxtype" size="1">0</variable>
<variable name="wakefxtype" size="1">0</variable>
<variable name="designed" size="2">1900</variable>
<variable name="obsolete" size="2">1950</variable>
<variable name="startsndtype" size="1">0</variable>
<variable name="numsnd" size="1">0</variable>
<description num="0" language="0">Flatbed Trailer 1</description>
<description num="0" language="1">Flatbed Trailer 1</description>
<description num="0" language="2">Remorque-citerne</description>
<description num="0" language="3">Flach-Anhänger</description>
<description num="0" language="4">Remolque cisterna</description>
<description num="0" language="5">Rimorchio cisterna</description>
<description num="0" language="9">ÿÅÊÿÄ¿ ÿÆ®ÿ·¹ÿÀÏÿ·¯</description>
<description num="0" language="11">ÿªoÿÅøÿ©ìÿ¨®</description>
<cargo num="0" capacity="5">
<cargotype id="5">0</cargotype>
<cargotype id="6">512</cargotype>
<cargotype id="7">1024</cargotype>
</cargo>
<useobject desc="compatible" class="23">FTRUCK1 </useobject>
------------------------------------------------------------------------------------
this is momentary pictures stood with flatbed trailers
png.000 first flatbed trailer pic
png.001 first flatbed trailer pic with stop light, aber is not activated
png.002 tow flatbed trailer pic
........
........
like that then the pictures would be lined up with wood paper and stole
png.000 first flatbed trailer pic
png.001 first flatbed trailer pic with stop light, aber is not activated
png.002 first flatbed trailer pic full with lumber
png.003 first flatbed trailer pic full with paper
png.004 first flatbed trailer pic full with stole
png.005 two flatbed trailer pic
png.006 two flatbed trailer pic with stop light, aber is not activated
png.007 two flatbed trailer pic full with lumber
png.008 two flatbed trailer pic full with paper
png.009 two flatbed trailer pic full with stole
......
......
how xml does the code have to be changed now and at which to place to have pays is changed, and which be paid must is at all registered?
Last edited by mayday on 23 Jan 2006 21:12, edited 1 time in total.
-
- Engineer
- Posts: 76
- Joined: 15 Mar 2005 14:04
the xml code is one copy from OILTrailer and her goes for my Flatbed Trailers.
- Attachments
-
- FTRAIL1.xml
- (37.02 KiB) Downloaded 183 times
-
- Engineer
- Posts: 76
- Joined: 15 Mar 2005 14:04
If the only changes you made were in the cargo section, then you have made a good start. One problem you may have with the .xml is that the OIL Trailer does not have three sets of .png files. Your trailer has three cargos, and three sets of pictures. Please post all the pictures as a folder. If I have both the pictures and the .XML I should be able to make it work.mayday wrote:the xml code is one copy from OILTrailer and her goes for my Flatbed Trailers.
P.S. I can not do much about this right now because my computer is at home and I am not. I will look it over when I get home around midnight.
P.P.S. I don't really understand the trouble you are having, and I want to help. Would you describe your problem in German or whatever langauge you prefer? (My German is bad, but I should be able to figure it out.)
There are 10 types of people in the world, those who understand binary and those who don't.
if i make the cargo pics in the xml, and creat a new xml with new cargo pics and copy the OILtrailer xml code in my new Flatbed Trailer xml with included the new cargo pics, than have i pictures salad. the trailer crossing than in teach was entitled with full loading pics and not with teach pics. the xml code must rewritten for the new pictures for the new pictures. so that the trailer the cargo pics first indicates, if her full loading is
- Illegal_Alien
- Tycoon
- Posts: 7824
- Joined: 29 Sep 2004 20:07
- Location: Kingdom of Far Far Away
- Contact:
There is a flatbed truck did you look on that one ? (Got Steel / Lumber and Paper ) ?
:: Looking for the Locomotion section? Scroll down on the forum index or click here. :: See all releases in Locomotion section? Clicky here! :: Click here for the best tool ever! :: .datCrawler try it! ::
Following roadmap for releases: Whats a roadmap?
Releases of LocoTrains can be found by checking the posts of: LocoTrains - Goold old AMI Trains member of the first hour.
I have Private Messaging disabled, because of the stupid questions i get in my PM box.
Want to talk to me? Get on the #tycoon and #locomotion channel on OFTC thingy. :: Evolution of men: Loosing more braincells, everytime you post...
Following roadmap for releases: Whats a roadmap?
Releases of LocoTrains can be found by checking the posts of: LocoTrains - Goold old AMI Trains member of the first hour.
I have Private Messaging disabled, because of the stupid questions i get in my PM box.
Want to talk to me? Get on the #tycoon and #locomotion channel on OFTC thingy. :: Evolution of men: Loosing more braincells, everytime you post...
when i make this fladbet trucks xml code in my fladbet trailer xml
<structure name="field_24[0]" size="6">
<variable name="length" size="1">16</variable>
<unknown name="field_2" size="1">255</unknown>
<unknown name="field_3" size="1">255</unknown>
<variable name="spriteind" size="1">0</variable>
<unknown name="field_5" size="1">192</unknown>
</structure>
<structure name="sprites[0]" size="30">
<variable name="numdir" size="1">32</variable>
<unknown name="field_1" size="1">4</unknown>
<unknown name="field_2" size="1">1</unknown>
<variable name="vehtype" size="1">2</variable>
<variable name="numunits" size="1">4</variable>
<unknown name="field_5" size="1">1</unknown>
<variable name="bogeypos" size="1">30</variable>
<bitmask name="flags" size="1">
<bit name="hassprites">1</bit>
<bit name="bit_3">1</bit>
<bit name="bit_4">1</bit>
<bit name="reversed">0</bit>
</bitmask>
that goes not than is by my trailer pictures salad
<structure name="field_24[0]" size="6">
<variable name="length" size="1">16</variable>
<unknown name="field_2" size="1">255</unknown>
<unknown name="field_3" size="1">255</unknown>
<variable name="spriteind" size="1">0</variable>
<unknown name="field_5" size="1">192</unknown>
</structure>
<structure name="sprites[0]" size="30">
<variable name="numdir" size="1">32</variable>
<unknown name="field_1" size="1">4</unknown>
<unknown name="field_2" size="1">1</unknown>
<variable name="vehtype" size="1">2</variable>
<variable name="numunits" size="1">4</variable>
<unknown name="field_5" size="1">1</unknown>
<variable name="bogeypos" size="1">30</variable>
<bitmask name="flags" size="1">
<bit name="hassprites">1</bit>
<bit name="bit_3">1</bit>
<bit name="bit_4">1</bit>
<bit name="reversed">0</bit>
</bitmask>
that goes not than is by my trailer pictures salad
You might find this useful for code http://www.tt-forums.net/viewtopic.php?t=11015
A guy made a trailer for a tram I presume with some editing that this will be suitable.
A guy made a trailer for a tram I presume with some editing that this will be suitable.
that help not really, because the tram wagon has only 64 pics and my trailer has 127 pics without cargo pics including, with cargo pics has my trailers than 350 pics.alistairgrew wrote:You might find this useful for code http://www.tt-forums.net/viewtopic.php?t=11015
A guy made a trailer for a tram I presume with some editing that this will be suitable.
- Attachments
-
- Flatbed Trailer.rar
- her my 3 Flatbed Trailers with no cargo pics, an she goes perfectly
- (142.79 KiB) Downloaded 88 times
Who is online
Users browsing this forum: No registered users and 16 guests