andrew2007 Posted November 13, 2009 Report Share Posted November 13, 2009 Hey Everyone,I edited the portraits and freeplaybase files in the spec folder, and the infotexts and portraits files in the language folder to add some newly created units ingame. (Also created the unit files in their respective places)I've encountered an issue, and checked over what i've edited and what not - I just can't seem to spot it.Maybe its because I can't spot it, But I'd appreciate someone giving me a hand with this.Below is a screenshot of what is occurring.(I'm probably going to slap myself in the head, because it's bound to be something simple..) Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted November 13, 2009 Report Share Posted November 13, 2009 Can you post your edited files so we can see if there is anything wrong. Quote Link to comment Share on other sites More sharing options...
andrew2007 Posted November 14, 2009 Author Report Share Posted November 14, 2009 Sure,lang/en/portraits.xml : http://andrew2007.pastebin.com/m1efa4071lang/en/infotexts.xml : http://andrew2007.pastebin.com/m426d2153specs/portraits.xml : http://andrew2007.pastebin.com/m3e650965specs/freeplaybase.xml : http://andrew2007.pastebin.com/m291d511b Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted November 14, 2009 Report Share Posted November 14, 2009 I can't see anything wrong. Have you tried adding the new units one by one so you can see if it's one of your new units causing the problem? Quote Link to comment Share on other sites More sharing options...
andrew2007 Posted November 14, 2009 Author Report Share Posted November 14, 2009 I can't see anything wrong. Have you tried adding the new units one by one so you can see if it's one of your new units causing the problem?Hmm, I have, and it doesnt seem to make a difference.I will retake a look at my unit files to check for issues there. Quote Link to comment Share on other sites More sharing options...
andrew2007 Posted November 14, 2009 Author Report Share Posted November 14, 2009 I think i found the problem, but can't decode what it means exactly:mod:Units/Vehicles/Fire Department/370suptil2/unit.xml: errorneous unit definition?LoadVehicle: error loading mmod:Units/Vehicles/Fire Department/380mechanic/unit.xml: errorneous unit definition?LoadVehicle: error loading mmod:Units/Vehicles/Fire Department/390division3/unit.xml: errorneous unit definition?LoadVehicle: error loading mmod:Units/Vehicles/Police/340bombtruck/unit.xml: errorneous unit definition?LoadVehicle: error loading m Quote Link to comment Share on other sites More sharing options...
andrew2007 Posted November 14, 2009 Author Report Share Posted November 14, 2009 I've even removed all the additional units that i've added, and it's still occurring.It's very strange, Could it have anything to do with edited scripts (lasiren/bombrobot)? Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted November 14, 2009 Report Share Posted November 14, 2009 I think there is something wrong with the unit.xml files for your edited vehicles. Quote Link to comment Share on other sites More sharing options...
andrew2007 Posted November 14, 2009 Author Report Share Posted November 14, 2009 Hmm,Well I've copied the unit.xml files from the Battalion Cheif, then editied where neccessary. Quote Link to comment Share on other sites More sharing options...
andrew2007 Posted November 16, 2009 Author Report Share Posted November 16, 2009 Sorry If I'm sounding impatient, but this is really getting on my nerves now.I've pretty much exhausted any method i know of (starting again, one by one) and it's still occuring and throwing those error messages.I'd love some help, as I don't want to give up on the project. Quote Link to comment Share on other sites More sharing options...
andrew2007 Posted November 18, 2009 Author Report Share Posted November 18, 2009 Alright,Would someone be able to talk me through adding a vehicle to be playable from the files you need to edit to creating the unit file.Just want to make sure there isnt something im forgetting or missing... Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted November 18, 2009 Report Share Posted November 18, 2009 Have you looked at Hoppah's tutorial? Quote Link to comment Share on other sites More sharing options...
andrew2007 Posted November 18, 2009 Author Report Share Posted November 18, 2009 Have you looked at Hoppah's tutorial?Yep, That is what i was following, yet still encountering issues. Quote Link to comment Share on other sites More sharing options...
LACityFFengineCo287 Posted November 19, 2009 Report Share Posted November 19, 2009 Pull out your units (models) and see if you can get it to work first. If it works, add them in one at a time, that's all I can reccomend, considering they look fine. Quote Link to comment Share on other sites More sharing options...
andrew2007 Posted November 19, 2009 Author Report Share Posted November 19, 2009 Pull out your units (models) and see if you can get it to work first. If it works, add them in one at a time, that's all I can reccomend, considering they look fine.I'll try that again, see how it goes. Quote Link to comment Share on other sites More sharing options...
LACityFFengineCo287 Posted November 19, 2009 Report Share Posted November 19, 2009 I think you already know to test them 1 at a time too. Then you can find out what's messing it up. Quote Link to comment Share on other sites More sharing options...
andrew2007 Posted November 19, 2009 Author Report Share Posted November 19, 2009 I think you already know to test them 1 at a time too. Then you can find out what's messing it up.Weird thing is, I've done that, and even when i remove them all it still occurs.It's very strange -_-Might work towards a reinstall of EM4 and see how that goes.. Quote Link to comment Share on other sites More sharing options...
LACityFFengineCo287 Posted November 19, 2009 Report Share Posted November 19, 2009 Good luck, I hope it works, otherwise, if I can get some free time, I'll go through the scripts and see what's up... Quote Link to comment Share on other sites More sharing options...
andrew2007 Posted November 19, 2009 Author Report Share Posted November 19, 2009 Thanks.I've reinstalled, and readded all the units from scratch and i am still getting this problem!Just let me know when you've got some time, and i can send you over the relevant files. Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted November 19, 2009 Report Share Posted November 19, 2009 Do you get the problem when you add 1 new unit? Quote Link to comment Share on other sites More sharing options...
andrew2007 Posted November 19, 2009 Author Report Share Posted November 19, 2009 Do you get the problem when you add 1 new unit?Yep Quote Link to comment Share on other sites More sharing options...