|
Post by SRSMDS on Mar 26, 2015 3:01:13 GMT -6
I got the above errors in my log when attempting to in-game a truck I'm working on.
I can't figure out what I've done wrong, though.
Line 22 is supposedly the source of the end tag error, but it looks fine to me.
Any ideas?
<?xml version="1.0" encoding="utf-8" standalone="no" ?> <modDesc descVersion="21"> <author>Seriousmods</author> <version>0.9</version> <title> <en>Peterbilt 377</en> <de>Peterbilt 377</de> </title> <description> <en>A truck for serious farmers</en> <de>Ein LKW für ernsthafte Landwirte</de> </description> <iconFilename>store_Pete388.dds</iconFilename> <multiplayer supported="true"/>
<specializations> <specialization name="Fenster" className="toggleAnimatedParts" filename="toggleAnimatedParts.lua"/> </specializations>
<vehicleTypes> <specialization name="Fenster" /> </type> </vehicleTypes> <storeItems> <storeItem> <name> <de>Peterbilt 377</de> <en>Peterbilt 377</en> </name> <rotation>0</rotation> <image active="store_Pete388.dds" brand="brand_Peterbilt.dds"/> <price>75000</price> <dailyUpkeep>25</dailyUpkeep> <xmlFilename>Peterbilt_377.xml</xmlFilename> <brand>Peterbilt</brand> <category>trucks</category> <specs> <power>550</power> </specs> </storeItem> </storeItems> </modDesc>
|
|
|
Post by Diesel Boss on Mar 26, 2015 15:00:38 GMT -6
Im obviously no modding expert, but ive seen this many of times. I just copy the <vehicleTypes> lines from a different mod, and change the <specialization name="xxx"/> to what ever I need. It seems to always fix it for me
|
|
|
Post by SRSMDS on Mar 26, 2015 17:45:07 GMT -6
Im obviously no modding expert, but ive seen this many of times. I just copy the <vehicleTypes> lines from a different mod, and change the <specialization name="xxx"/> to what ever I need. It seems to always fix it for me Yeah, I tried that, but I think my problem was the script wasn't a good choice for 15. It worked in 13, but I don't know how good the conversion was that I took it from. I tried a different script, and I got rid of the error. Still not fixed, but no errors.
|
|
svanb
Farm Hand
Posts: 32
|
Post by svanb on Mar 26, 2015 17:57:30 GMT -6
This might be what you need, but I'm no expert.
<?xml version="1.0" encoding="utf-8" standalone="no" ?> <modDesc descVersion="21"> <author>Seriousmods</author> <version>0.9</version> <title></title> <en>Peterbilt 377</en> <de>Peterbilt 377</de> <description> <en>A truck for serious farmers</en> <de>Ein LKW für ernsthafte Landwirte</de> </description> <iconFilename>store_Pete388.dds</iconFilename> <multiplayer supported="true"/>
<specializations> <specialization name="Fenster" className="toggleAnimatedParts" filename="toggleAnimatedParts.lua"/> </specializations>
<vehicleTypes> <specialization name="Fenster" /> </type> </vehicleTypes> <storeItems> <storeItem> <name> <de>Peterbilt 377</de> <en>Peterbilt 377</en> </name> <rotation>0</rotation> <image active="store_Pete388.dds" brand="brand_Peterbilt.dds"/> <price>75000</price> <dailyUpkeep>25</dailyUpkeep> <xmlFilename>Peterbilt_377.xml</xmlFilename> <brand>Peterbilt</brand> <category>trucks</category> <specs> <power>550</power> </specs> </storeItem> </storeItems> </modDesc>
I'm not sure what the "</type>" tag is for either. You might need to either take that out or put in the "<type>" tag before it.
|
|
|
Post by SRSMDS on Mar 26, 2015 19:01:42 GMT -6
This might be what you need, but I'm no expert. <?xml version="1.0" encoding="utf-8" standalone="no" ?> <modDesc descVersion="21"> <author>Seriousmods</author> <version>0.9</version> <title></title> <en>Peterbilt 377</en> <de>Peterbilt 377</de> <description> <en>A truck for serious farmers</en> <de>Ein LKW für ernsthafte Landwirte</de> </description> <iconFilename>store_Pete388.dds</iconFilename> <multiplayer supported="true"/>
<specializations> <specialization name="Fenster" className="toggleAnimatedParts" filename="toggleAnimatedParts.lua"/> </specializations>
<vehicleTypes> <specialization name="Fenster" /> </type> </vehicleTypes> <storeItems> <storeItem> <name> <de>Peterbilt 377</de> <en>Peterbilt 377</en> </name> <rotation>0</rotation> <image active="store_Pete388.dds" brand="brand_Peterbilt.dds"/> <price>75000</price> <dailyUpkeep>25</dailyUpkeep> <xmlFilename>Peterbilt_377.xml</xmlFilename> <brand>Peterbilt</brand> <category>trucks</category> <specs> <power>550</power> </specs> </storeItem> </storeItems> </modDesc> I'm not sure what the "</type>" tag is for either. You might need to either take that out or put in the "<type>" tag before it. I think the type tag is to close up that line of code. But I used the playstandanim lua from a different mod, and the error is gone. I think Fenster might have issues with compatibility.
|
|