FDNY2352 Posted January 31, 2012 Report Share Posted January 31, 2012 When i play freeplay i find that two of my units are now not ingame.I looked at the logfile and found this in it.?ScanVehicles: mod:Units/Vehicles/Fire Department/270 Battalion 8/unit.xml not found or error in file?ScanVehicles: mod:Units/Vehicles/Fire Department/280 Engine 8/unit.xml not found or error in fileCould anyone tell me how i could fix it? Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted January 31, 2012 Report Share Posted January 31, 2012 Try reinstalling the mod.If you already have, post those unit.xml files so we can have a look for any problems.What mod are you playing? Have you edited the files? Quote Link to comment Share on other sites More sharing options...
FDNY2352 Posted January 31, 2012 Author Report Share Posted January 31, 2012 Im playing my own custom mod which i am trying to add units too.<unit id="ENGINE8"> <campaign> <missions value="1 2 3 4 13 15 9 8 5 17 12 14 7 19 10 6 18 16 11 20 21 24 25 26 27 28 29 30 31 32 33 34 35"> <prototype name="mod:Prototypes/Vehicles/FDNY/Engine8.e4p" /> <price value="2000" /> <speed value="90" /> <space value="6" /> <loadspace value="0" /> <personnel> <unit id="FIREFIGHTER_8"> <defaultcount value="4" /> <unit id="T-SHIRT" /> <defaultcount value="2" /> </personnel> <equipment> <unit id="FIRE EXTINGUISHER" /> <unit id="FIRE HOSE" /> <unit id="CHAIN SAW" /> <unit id="AXE" /> </equipment> </missions> </campaign> <freeplay> <missions value="22"> <prototype name="mod:Prototypes/Vehicles/FDNY/Engine8.e4p" /> <price value="2000" /> <speed value="90" /> <space value="6" /> <loadspace value="0" /> <personnel> <unit id="FIREFIGHTER_8"> <defaultcount value="4" /> <unit id="T-SHIRT" /> <defaultcount value="2" /> </personnel> <equipment> <unit id="FIRE EXTINGUISHER" /> <unit id="FIRE HOSE" /> <unit id="CHAIN SAW" /> <unit id="AXE" /> </equipment> </missions> </freeplay> </unit> Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted January 31, 2012 Report Share Posted January 31, 2012 Try changing the personnel bit in both sections to this<personnel><unit id="FIREFIGHTER_8"><defaultcount value="4" /></unit><unit id="T-SHIRT" /><defaultcount value="2" /></unit></personnel>I have added </unit> after each unit id. Quote Link to comment Share on other sites More sharing options...
FDNY2352 Posted January 31, 2012 Author Report Share Posted January 31, 2012 I dont understand what you mean? Quote Link to comment Share on other sites More sharing options...
randomperson139 Posted January 31, 2012 Report Share Posted January 31, 2012 In your unit.xml file, add </unit> underneath <defaultcount value="2" /> each time.Upload the files (attach them to your post) and I will edit them for you if you want. Quote Link to comment Share on other sites More sharing options...
FDNY2352 Posted January 31, 2012 Author Report Share Posted January 31, 2012 Oh sorry i think the site was playing up because it said change the font and stuff. I know what you mean. Thanks for that. I shall see if it works:)You wouldn't happen to know what this means would you??no door found for animation with door-type 2?no door found for animation with door-type 2?no door found for animation with door-type 3?no door found for animation with door-type 3?no door found for animation with door-type 2?no door found for animation with door-type 3?no door found for animation with door-type 3?no door found for animation with door-type 3?no door found for animation with door-type 3?no door found for animation with door-type 2?no door found for animation with door-type 3?no door found for animation with door-type 3?no door found for animation with door-type 3?no door found for animation with door-type 3?no door found for animation with door-type 3?no door found for animation with door-type 3?no door found for animation with door-type 2?no door found for animation with door-type 2 Quote Link to comment Share on other sites More sharing options...