problem with xml
Moderator: Locomotion Moderators
- norfolksouthern16
- Engineer
- Posts: 120
- Joined: 08 Mar 2020 00:27
problem with xml
im trying to make a sound file, I think everything is right, but I keep getting this error
- Attachments
-
- Capturee.PNG (14.83 KiB) Viewed 3796 times
Nathan K5HL Hornsound - viewtopic.php?t=89919
Nathan K5LA Hornsoound - viewtopic.php?t=89925
Nathan P5 Hornsound viewtopic.php?t=91318
Leslie RS3L Hornsound - viewtopic.php?t=89940
Nathan K5LA Hornsoound - viewtopic.php?t=89925
Nathan P5 Hornsound viewtopic.php?t=91318
Leslie RS3L Hornsound - viewtopic.php?t=89940
- Walter1940
- Tycoon
- Posts: 988
- Joined: 19 Mar 2007 01:30
- Location: Munich, Germany
- Contact:
Re: problem with xml
You have a basic mistake in the XML. A sound has no cargo [0]. Could it be that you have changed the XML of a vehicle?
http://www.walter1940.de
Vehicles for Locomotion
Tutorials in english
- From MSTS to Locomotion ---> http://www.walter1940.de/tutorial/msts2loco/
- Wally ---> http://www.walter1940.de/tutorial/wally/
- xml-modding ---> http://www.walter1940.de/tutorial/xml-modding/
Vehicles for Locomotion
Tutorials in english
- From MSTS to Locomotion ---> http://www.walter1940.de/tutorial/msts2loco/
- Wally ---> http://www.walter1940.de/tutorial/wally/
- xml-modding ---> http://www.walter1940.de/tutorial/xml-modding/
- norfolksouthern16
- Engineer
- Posts: 120
- Joined: 08 Mar 2020 00:27
Re: problem with xml
the error that I keep getting is from a new xml file that I made last night. I never changed the .xml file of anything.
Nathan K5HL Hornsound - viewtopic.php?t=89919
Nathan K5LA Hornsoound - viewtopic.php?t=89925
Nathan P5 Hornsound viewtopic.php?t=91318
Leslie RS3L Hornsound - viewtopic.php?t=89940
Nathan K5LA Hornsoound - viewtopic.php?t=89925
Nathan P5 Hornsound viewtopic.php?t=91318
Leslie RS3L Hornsound - viewtopic.php?t=89940
- Walter1940
- Tycoon
- Posts: 988
- Joined: 19 Mar 2007 01:30
- Location: Munich, Germany
- Contact:
Re: problem with xml
But it's simple. Take any existing sound and disassemble it into XML and Wave file. You can delete the wave file.
In the XML you change the name of the Wave file at the top of which it should access. Name at Glei. So XML and Wave. Usually a lot has to be coordinated with the values. If you are lucky, everything fits the first time. Then pull the XML over the LocoTool again and you have a snd___.dat file.
But don't be disappointed if it doesn't work the first time. I often need 1 - 2 hours to find the right values.
In the XML you change the name of the Wave file at the top of which it should access. Name at Glei. So XML and Wave. Usually a lot has to be coordinated with the values. If you are lucky, everything fits the first time. Then pull the XML over the LocoTool again and you have a snd___.dat file.
But don't be disappointed if it doesn't work the first time. I often need 1 - 2 hours to find the right values.
http://www.walter1940.de
Vehicles for Locomotion
Tutorials in english
- From MSTS to Locomotion ---> http://www.walter1940.de/tutorial/msts2loco/
- Wally ---> http://www.walter1940.de/tutorial/wally/
- xml-modding ---> http://www.walter1940.de/tutorial/xml-modding/
Vehicles for Locomotion
Tutorials in english
- From MSTS to Locomotion ---> http://www.walter1940.de/tutorial/msts2loco/
- Wally ---> http://www.walter1940.de/tutorial/wally/
- xml-modding ---> http://www.walter1940.de/tutorial/xml-modding/
- norfolksouthern16
- Engineer
- Posts: 120
- Joined: 08 Mar 2020 00:27
Re: problem with xml
ok it worked and the sound plays correctly
Nathan K5HL Hornsound - viewtopic.php?t=89919
Nathan K5LA Hornsoound - viewtopic.php?t=89925
Nathan P5 Hornsound viewtopic.php?t=91318
Leslie RS3L Hornsound - viewtopic.php?t=89940
Nathan K5LA Hornsoound - viewtopic.php?t=89925
Nathan P5 Hornsound viewtopic.php?t=91318
Leslie RS3L Hornsound - viewtopic.php?t=89940
Who is online
Users browsing this forum: No registered users and 6 guests