Alex03 Posted September 25, 2011 Report Share Posted September 25, 2011 Hey I having a big problem adding personel to my truck. But I always get this erroe?ScanVehicles: mod:Units/Vehicles/Fire Department/TSFWAR/unit.xml not found or error in filemy xml file looks like this<unit id="TSF Wardorf"><campaign> <missions value="6 18 16 11 20"> <prototype name="mod:Prototypes/Vehicles/FF/tsfwardorf.e4p" /> <sendmode value = "1" /> <price value="0" /> <speed value="90" /> <space value="6" /> <loadspace value="0" /> <personnel /> <equipment /> </missions></campaign><freeplay> <missions value="6 18 16 11 20 22"> <prototype name="mod:Prototypes/Vehicles/FF/tsfwardorf.e4p" /> <sendmode value = "1" /> <price value="0" /> <speed value="110" /> <space value="6" /> <loadspace value="0" /> <personel> <unit id="Staffelfuhrer Wardorf"> <defaultcount value="1" /> </unit> <unit id="Feuerwehrmann Wardorf" /> </personnel> <equipment /> </missions></freeplay> </unit>Can anny one please help me?? Quote Link to comment Share on other sites More sharing options...
RedHawk504 Posted September 25, 2011 Report Share Posted September 25, 2011 HeyI having a big problem adding personel to my truck. But I always get this erroe?ScanVehicles: mod:Units/Vehicles/Fire Department/TSFWAR/unit.xml not found or error in filemy xml file looks like this<unit id="TSF Wardorf"><campaign> <missions value="6 18 16 11 20"> <prototype name="mod:Prototypes/Vehicles/FF/tsfwardorf.e4p" /> <sendmode value = "1" /> <price value="0" /> <speed value="90" /> <space value="6" /> <loadspace value="0" /> <personnel /> <equipment /> </missions></campaign><freeplay> <missions value="6 18 16 11 20 22"> <prototype name="mod:Prototypes/Vehicles/FF/tsfwardorf.e4p" /> <sendmode value = "1" /> <price value="0" /> <speed value="110" /> <space value="6" /> <loadspace value="0" /> <personel> <unit id="Staffelfuhrer Wardorf"> <defaultcount value="1" /> </unit> <unit id="Feuerwehrmann Wardorf" /> </personnel> <equipment /> </missions></freeplay></unit>Can anny one please help me??I see the error, you have used : mod:Units/Vehicles/Fire Department/TSFWAR/unit.xmlBut you must do before every unit map 020 or 030 probably this is youre first time you add a new unit? if so you need to put at the begin of TSFWAR 010 so it becomes like this mod:Units/Vehicles/Fire Department/010TSFWAR/unit.xmlBut every time you create a new unit you must up it with 10 so the next unit becomes like /020unitname/unit.xml But if you start by a new ambulance unit it becomes like this /060unitname/unit.xml.This is also the same for the police you look at the last unit name maybe like 060 and then is the next one 070 get it?Anymore questions or problem can be asked =) Quote Link to comment Share on other sites More sharing options...
Alex03 Posted September 25, 2011 Author Report Share Posted September 25, 2011 that may be soo, but the truck shows upp before i add the personel. then it disapears? Quote Link to comment Share on other sites More sharing options...
RedHawk504 Posted September 25, 2011 Report Share Posted September 25, 2011 that may be soo, but the truck shows upp before i add the personel. then it disapears?You mean ingame? if so you must click in the editor on edit and select at the left side of the edit bar Custom and hit ok. then it stays above the ground Quote Link to comment Share on other sites More sharing options...
Alex03 Posted September 25, 2011 Author Report Share Posted September 25, 2011 Tried your solution didnt work, the problem is as followning1. when I remove the persone id`s the truck shows in the ingame menu. <personel> <unit id="Staffelfuhrer Wardorf"> <defaultcount value="1" /> </unit> <unit id="Feuerwehrmann Wardorf" /> </personnel>2. When I add them back again the truck disapears. <personel> <unit id="Staffelfuhrer Wardorf"> <defaultcount value="1" /> </unit> <unit id="Feuerwehrmann Wardorf" /> </personnel> Quote Link to comment Share on other sites More sharing options...
RedHawk504 Posted September 26, 2011 Report Share Posted September 26, 2011 Tried your solution didnt work, the problem is as followning1. when I remove the persone id`s the truck shows in the ingame menu.<personel> <unit id="Staffelfuhrer Wardorf"> <defaultcount value="1" /> </unit> <unit id="Feuerwehrmann Wardorf" /> </personnel>2. When I add them back again the truck disapears. <personel> <unit id="Staffelfuhrer Wardorf"> <defaultcount value="1" /> </unit> <unit id="Feuerwehrmann Wardorf" /> </personnel>But you know you must follow that too when you create new person units? Quote Link to comment Share on other sites More sharing options...
Alex03 Posted September 26, 2011 Author Report Share Posted September 26, 2011 But you know you must follow that too when you create new person units? What do you mean? Quote Link to comment Share on other sites More sharing options...
RedHawk504 Posted September 26, 2011 Report Share Posted September 26, 2011 What do you mean?first question did you also created new personell units? if so did you named the folders like 010unitname ? Quote Link to comment Share on other sites More sharing options...
Alex03 Posted September 26, 2011 Author Report Share Posted September 26, 2011 yup Quote Link to comment Share on other sites More sharing options...
RedHawk504 Posted September 27, 2011 Report Share Posted September 27, 2011 I see the errorWith help from Cops we disarmed it lolBut the error is that the unit file cannot be .xml Quote Link to comment Share on other sites More sharing options...
Alex03 Posted September 27, 2011 Author Report Share Posted September 27, 2011 what??? it shows as unit.xml on my computer? Quote Link to comment Share on other sites More sharing options...