Xplorer4x4 Posted April 20, 2009 Report Share Posted April 20, 2009 Heres the unit.xml file from the dive rescue ambualnce picture I posted a day or two ago. For now I have just placed it on the map as an object, but it has no units stored in it, nor can anyone enter the unit. The XML resides in Emergency 4 Deluxe\Mods\Evansville Mod\Units\Vehicles\Fire Department\153diverescue6<unit id="DIVE_RESCUE_6"> <campaign> <missions value="1 2 3 4 5 6 7 8 9 10 24 25"> <prototype name="mod:Prototypes/Vehicles/02 Ev Fire Department/dive_rescue_6.e4p" /> <price value="600" /> <speed value="120" /> <space value="4" /> <loadspace value="0" /> <personnel> <unit id="FF_DIVER" /> <defaultcount value="2" /> </unit> <unit id="FF_EMT"> <defaultcount value="2" /> </unit> <unit id="FF_EMT_SCBA" /> </personnel> <equipment> <unit id="FIRE EXTINGUISHER" /> </equipment> </missions> </campaign> <freeplay> <missions value="1 2 3 4 5 6 7 8 9 10 22"> <prototype name="mod:Prototypes/Vehicles/02 Ev Fire Department/dive_rescue_6.e4p" /> <price value="600" /> <speed value="120" /> <space value="4" /> <loadspace value="0" /> <personnel> <unit id="FF_DIVER" /> <defaultcount value="2" /> </unit> <unit id="FF_EMT"> <defaultcount value="2" /> </unit> <unit id="FF_EMT_SCBA" /> </personnel> <equipment> <unit id="FIRE EXTINGUISHER" /> </equipment> </missions> </freeplay> </unit> Quote Link to comment Share on other sites More sharing options...
2Bells Gaming Posted April 20, 2009 Report Share Posted April 20, 2009 could the problem be with the Code: <prototype name="mod:Prototypes/Vehicles/02 Ev Fire Department/dive_rescue_6.e4p" />You stated: "The XML resides in Emergency 4 Deluxe\Mods\Evansville Mod\Units\Vehicles\Fire Department\153diverescue6"could the problem be there? They don't look like they match to me. Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted April 20, 2009 Author Report Share Posted April 20, 2009 No thats correct. Look at other unit XML files, the problem, although I havent confirmed it, looks like the units id in the XML is <unit id="DIVE_RESCUE_6"> but the folder was 153diverescue6 when it should be 153diverescue6.Sorry for wasting your time but thanks for trying. Quote Link to comment Share on other sites More sharing options...
2Bells Gaming Posted April 20, 2009 Report Share Posted April 20, 2009 No thats correct. Look at other unit XML files, the problem, although I havent confirmed it, looks like the units id in the XML is <unit id="DIVE_RESCUE_6"> but the folder was 153diverescue6 when it should be 153diverescue6.Sorry for wasting your time but thanks for trying. Hey, anytime. I don't know a heck of a lot, but, I can try Quote Link to comment Share on other sites More sharing options...
Hoppah Posted April 22, 2009 Report Share Posted April 22, 2009 <unit id="DIVE_RESCUE_6"> <campaign> <missions value="1 2 3 4 5 6 7 8 9 10 24 25"> <prototype name="mod:Prototypes/Vehicles/02 Ev Fire Department/dive_rescue_6.e4p" /> <price value="600" /> <speed value="120" /> <space value="4" /> <loadspace value="0" /> <personnel> <unit id="FF_DIVER"> <defaultcount value="2" /> </unit> <unit id="FF_EMT"> <defaultcount value="2" /> </unit> <unit id="FF_EMT_SCBA" /> </personnel> <equipment> <unit id="FIRE EXTINGUISHER" /> </equipment> </missions> </campaign> <freeplay> <missions value="1 2 3 4 5 6 7 8 9 10 22"> <prototype name="mod:Prototypes/Vehicles/02 Ev Fire Department/dive_rescue_6.e4p" /> <price value="600" /> <speed value="120" /> <space value="4" /> <loadspace value="0" /> <personnel> <unit id="FF_DIVER"> <defaultcount value="2" /> </unit> <unit id="FF_EMT"> <defaultcount value="2" /> </unit> <unit id="FF_EMT_SCBA" /> </personnel> <equipment> <unit id="FIRE EXTINGUISHER" /> </equipment> </missions> </freeplay> </unit>Changed <unit id="FF_DIVER" /> to <unit id="FF_DIVER">. Without that "/" symbol.That slash closes the <unit id> code. That explaines why FF_EMT_SCBA has a slash and FF_EMT and FF_DIVER don't.The <unit id> codes of FF_EMT and FF_DIVER get opened to set the <defaultcount value>. Therefore the code of FF_EMT and FF_DIVER get closed by </unit>. Quote Link to comment Share on other sites More sharing options...
Xplorer4x4 Posted April 22, 2009 Author Report Share Posted April 22, 2009 Ahh didnt think of it like that. Thanks hoopah! Quote Link to comment Share on other sites More sharing options...
2Bells Gaming Posted April 22, 2009 Report Share Posted April 22, 2009 Wow.... that guy is a friggin' Mod God... tehe Quote Link to comment Share on other sites More sharing options...
rodneymillerpca Posted August 17, 2011 Report Share Posted August 17, 2011 Wow.... that guy is a friggin' Mod God... teheAgreed! Very talented! Quote Link to comment Share on other sites More sharing options...
Hoppah Posted August 26, 2011 Report Share Posted August 26, 2011 You make me blush like a tomato Quote Link to comment Share on other sites More sharing options...
rodneymillerpca Posted August 26, 2011 Report Share Posted August 26, 2011 You make me blush like a tomatoWe bow to you great one. rofl Quote Link to comment Share on other sites More sharing options...