mcflame1 Posted June 7, 2020 Report Share Posted June 7, 2020 Hey Everyone I have put the heavy tow truck from the NYC mod into a private edit of another mod. I am having a major issue with it. Everytime I try to select it in game, it immediately crashes to desktop. No error message pops up. I don't think anything shows up in the log file for the game either. Can someone help me. My log file is attached. logfile.txt Quote Link to comment Share on other sites More sharing options...
squamishfire Posted June 9, 2020 Report Share Posted June 9, 2020 This was brought up in Discord just recently. The talk was that you would have to do some heavy scripting to get it to work. I did find something waaaay at the top of the file ?ScanVehicles: mod:Units/Vehicles/TEC/090towtruck/unit.xml not found or error in file Loading vehicle mod:Units/Vehicles/TEC/095Tow 1/... Loading vehicle mod:Units/Vehicles/TEC/096Tow 2/... Loading vehicle mod:Units/Vehicles/TEC/097Tow 3/... Loading vehicle mod:Units/Vehicles/TEC/100crane/... ?ScanVehicles: mod:Units/Vehicles/TEC/125dolphin/unit.xml not found or error in file What did you name the truck? Quote Link to comment Share on other sites More sharing options...
mcflame1 Posted June 9, 2020 Author Report Share Posted June 9, 2020 I haven't renamed it. But in the units folder, it is 097Tow 3. I don't have 090towtruck or the 125dolphin in the game. Quote Link to comment Share on other sites More sharing options...
squamishfire Posted June 10, 2020 Report Share Posted June 10, 2020 Okay so you see here mod:Units/Vehicles/TEC/090towtruck/unit.xml not found or error in file that leads me to believe there is an error within the file... can you upload your unit.xml file for that unit? Quote Link to comment Share on other sites More sharing options...
mcflame1 Posted June 10, 2020 Author Report Share Posted June 10, 2020 I don't use that unit. The vehicle with the issue is Tow 3. Tow 1 and Tow 2 work fine. Quote Link to comment Share on other sites More sharing options...
squamishfire Posted June 11, 2020 Report Share Posted June 11, 2020 Oh sorry my bad. I still feel like as if you haven't completed something that your supposed to. Just to confirm you completed all the steps in adding a new vehicle to a mod? Quote Link to comment Share on other sites More sharing options...
mcflame1 Posted June 12, 2020 Author Report Share Posted June 12, 2020 Yes. I have done the same thing I did for the other units I added to that mod. I added in another Mary unit, added a Battalion 3, another EMS Supervisor and two more tow units. Quote Link to comment Share on other sites More sharing options...
squamishfire Posted June 15, 2020 Report Share Posted June 15, 2020 So I had a look through the script files of the NY Mod.... I also played it a bit as well... the Heavy tow also acts as the crane. That MAY have something to do with it... Like i said from the beginning this was brought up in discord and the talk was that you would have to do some heavy scripting to get it to work. I wish you well on your endeavours to getting this to work. Quote Link to comment Share on other sites More sharing options...
Squad 65 Posted June 15, 2020 Report Share Posted June 15, 2020 We figured it out thanks all. Quote Link to comment Share on other sites More sharing options...
squamishfire Posted June 15, 2020 Report Share Posted June 15, 2020 What was the issue? Quote Link to comment Share on other sites More sharing options...
itchboy Posted June 16, 2020 Report Share Posted June 16, 2020 My guess is that they added the missing crane parts for the truck, or changed the vehicleType to ASF instead of FGR. Everyone thought it was a units.xml problem because we all assumed that every piece of the vehicle had been imported into OP's private project. Quote Link to comment Share on other sites More sharing options...
Squad 65 Posted June 16, 2020 Report Share Posted June 16, 2020 I fixed it the easy way of copying the original model and prototype folders and then putting them into the mod along with the unit photos Quote Link to comment Share on other sites More sharing options...