• If you have a mod, tool or prefab, please use the Resources section. Click Mods at the top of the forums.

UVM - [ Ultimate Vehicle Mod ] - Foundation Base Beta Release

First mod I downloaded its very nice. More variety not to mention you can repair them all. Hope when A19 it will still work or may be updated )))

 
Hey @DUST2DEATH, long time no see, I hope you are doing well! I was wondering if this mod is still being worked on, it would be awesome to have this in Alpha 19! :o
Dust is not about at present ....real Life and all :(

... hopefully he will be back in the not to distant future to update for A19 and for Phase 2 of the mod.

regards

Ragsy.

 
2021-02-21T15:38:13 62.539 WRN XML patch for "loot.xml" from mod "Ultimate Vehicles" did not apply: <insertAfter xpath="/lootcontainers/lootgroup[@name='schematicsToolsRare']/item[@name='gunToolNailgunSchematic']" 
2021-02-21T15:38:13 62.539 WRN XML patch for "loot.xml" from mod "Ultimate Vehicles" did not apply: <insertAfter xpath="/lootcontainers/lootgroup[@name='rareTools']/item[@name='gunToolNailgun']" 
2021-02-21T15:38:13 62.540 WRN XML patch for "loot.xml" from mod "Ultimate Vehicles" did not apply: <insertAfter xpath="/lootcontainers/lootgroup[@name='tools']/item[@name='gunToolNailgun']" 
2021-02-21T15:38:13 62.540 WRN XML patch for "loot.xml" from mod "Ultimate Vehicles" did not apply: <insertAfter xpath="/lootcontainers/lootgroup[@name='workingStiffs']/item[@name='gunToolNailgun']" 
2021-02-21T15:38:13 62.540 WRN XML patch for "loot.xml" from mod "Ultimate Vehicles" did not apply: <insertBefore xpath="/lootcontainers/lootgroup[@name='schematicsVehiclesRare']/item[@name='vehicleMotorcycleChassisSchematic']" 
2021-02-21T15:38:13 62.898 ERR XML loader: Loading and parsing 'loot.xml' failed
2021-02-21T15:38:13 62.898 EXC lootgroup 'groupArmorT3_Light' does not exist or has not been defined before being reference by lootcontainer/lootgroup id='UVMmilitary'
Exception: lootgroup 'groupArmorT3_Light' does not exist or has not been defined before being reference by lootcontainer/lootgroup id='UVMmilitary'
  at LootFromXml.parseItemList (System.String _containerId, System.Xml.XmlNodeList _childNodes, System.Collections.Generic.List`1[T] _itemList, System.Int32 minQualityBase, System.Int32 maxQualityBase) [0x000fa] in <43dd4f2a606f47209225e029bd7cc366>:0 
  at LootFromXml+<LoadLootContainers>d__1.MoveNext () [0x0052d] in <43dd4f2a606f47209225e029bd7cc366>:0 
  at ThreadManager+<CoroutineWrapperWithExceptionCallback>d__40.MoveNext () [0x00044] in <43dd4f2a606f47209225e029bd7cc366>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
Logger:masterLogException(Exception)
Logger:Exception(Exception)
Log:Exception(Exception)
<>c__DisplayClass50_0:<loadSingleXml>b__2(Exception)
<CoroutineWrapperWithExceptionCallback>d__40:MoveNext()
UnityEngine.SetupCoroutine:InvokeMoveNext(IEnumerator, IntPtr)

 
Icekiss69, AFAIK this mod hasn't been updated for A19, hence all the errors. For one thing, the name of the nailgun (and most if not all tools, weapons, and related schematics) changed from A18 to A19. That's a lot of what the mod's choking on in the errors you gave above.

 
Wow, there are enough kinds of vehicles in your mod, and the use of these vehicles is really good. However, I find that your vehicle model has too many edges and corners. If you continue to make vehicles, I can provide you with models. I have some military vehicles, such as missile launching vehicles, many tanks. In fact, I have tried to change the model for the carrier myself, but when I put it on the ground, the scarlet letter will pop up, but when I hold it in my hand, I can preview how it will look on the ground.
 

 
I took the liberty of making a few amendments to the loot.xml file to update the item names an groups to match the change from A18 to A19.

The two primary issues were:

- Name of items had been changed. @Icekiss69 Thank you for the log error posting as it helped a lot.
- Names of groups had been changed from A18 to A19.

In the first instance, all of the gunToolNailgun and derivates were updated to match the A19 formatting of meleeToolRepairT3Nailgun (4 locations). A simple blanket update for Notepad++

and

Reference to 'groupArmorT3_Light' changed to 'groupArmorScaledTPlus' (1 location)
The Plus version was selected to reflect the T3 status of the original which may be the best match.

Reference to 'groupWeaponsScaled' changed to 'groupWeaponsAllScaledTPlus' (1 location)
Again, the Plus version was simply selected to comply with the above.

However, the gunToolNailgun update required a little more, as not only had the name changed for 3 of the 4 items, but the groups had also been reshuffled or renamed to match the more efficient naming types for Tier groupings.

Once name changes and group placements had been amended the Mod could launch without any warnings. As one of the changes related to rare loot, I levelled up to allow me to find rare loot and opened a Working Stiff box to make sure the updates had been applied regardless of not receiving any errors. Here is an image of a UVM tool which infers all is OK.

20210510180327_1.jpg

The code shows that @DUST2DEATH has some future ideas planned and may well just be waiting for A20. I hope I haven't stepped on anyone's toes with the little update above but it stings to see such treasures fall by the wayside.

Here is the updated loot.xml file. Unfortunately, I can no longer add it directly to the forum and placed it on Github instead. This one can replace the original one in the Config folder.

https://github.com/arramus/UVM-loot.xml-Update-2021May10

And the code is as follows if you prefer to manually edit.

<UVM_Configs>

<!-- Adds the old heli and blimp storage sizes for use with new ids incase they do use them again in future no conflicts hopefully Plus two additional options-->

<!--Heli Size-->
<insertAfter xpath="/lootcontainers/lootcontainer[@id='124']">
<lootcontainer id="581" count="0" size="9,8" sound_open="UseActions/open_shopping_basket" open_time="0" sound_close="UseActions/close_shopping_basket" loot_quality_template="qualBaseTemplate">
</lootcontainer>
</insertAfter>

<!--Blimp Size -->
<insertAfter xpath="/lootcontainers/lootcontainer[@id='581']">
<lootcontainer id="582" count="0" size="10,9" sound_open="UseActions/open_shopping_basket" open_time="0" sound_close="UseActions/close_shopping_basket" loot_quality_template="qualBaseTemplate">
</lootcontainer>
</insertAfter>

<!--New Truck -->
<insertAfter xpath="/lootcontainers/lootcontainer[@id='582']">
<lootcontainer id="583" count="0" size="9,6" sound_open="UseActions/open_shopping_basket" open_time="0" sound_close="UseActions/close_shopping_basket" loot_quality_template="qualBaseTemplate">
</lootcontainer>
</insertAfter>

<!-- Upgrade MilitaryTruck -->
<insertAfter xpath="/lootcontainers/lootcontainer[@id='583']">
<lootcontainer id="584" count="0" size="9,9" sound_open="UseActions/open_shopping_basket" open_time="0" sound_close="UseActions/close_shopping_basket" loot_quality_template="qualBaseTemplate">
</lootcontainer>
</insertAfter>

<!-- Add new UVM Military and medical groups -->

<insertBefore xpath="/lootcontainers/lootcontainer[@id='1']" >
<lootgroup name="UVMMedical" count="1">
<item group="rareMedicine" count="1" prob=".4" />
<item group="medicine" count="1" prob=".3" />
<item group="cannedfood" count="1" prob=".1" />
</lootgroup>

<lootgroup name="UVMmilitary" count="1,3">
<item group="groupAmmoRegular" count="3,5" prob="0.2" />
<item group="groupAmmoAdvanced" count="2,4" prob="0.2"/>
<item group="groupArmorScaledTPlus" prob="0.2"/>
<item group="groupModAllScaled" prob="0.2"/>
<item group="groupWeaponsAllScaledTPlus" prob="0.2"/>
</lootgroup>
</insertBefore>

<!-- Add new UVM Military Loot container -->
<insertAfter xpath="/lootcontainers/lootcontainer[@id='584']">
<lootcontainer id="590" count="1,3" size="9,9" sound_open="UseActions/open_shopping_basket" open_time="4" sound_close="UseActions/close_shopping_basket" loot_quality_template="qualBaseTemplate">
<item group="UVMmilitary" prob=".4" />
<item group="automotive+tools+junk" prob=".3" />
<item group="cannedfood" prob="0.1"/>
<item name="resourceRepairKit" count="2,3" prob="0.1"/>
</lootcontainer>
</insertAfter>
<!-- Add new UVM Ambulance Loot container -->
<insertAfter xpath="/lootcontainers/lootcontainer[@id='590']">
<lootcontainer id="591" count="1,3" size="9,9" sound_open="UseActions/open_shopping_basket" open_time="2" sound_close="UseActions/close_shopping_basket" loot_quality_template="qualBaseTemplate">
<item group="UVMMedical" prob=".5" />
<item group="automotive+tools+junk" />
<item name="medicalFirstAidKitSchematic" prob=".005"/>
</lootcontainer>
</insertAfter>
<!-- Add new UVM Armoured Truck Loot container -->
<insertAfter xpath="/lootcontainers/lootcontainer[@id='591']">
<lootcontainer id="592" count="1,2" size="9,9" sound_open="UseActions/open_shopping_basket" open_time="4" sound_close="UseActions/close_shopping_basket" loot_quality_template="qualBaseTemplate">
<item name="oldCash" count="50,700" prob=".45"/>
<item name="casinoCoin" count="10,3000" prob=".25"/>
<item group="rareOres" prob=".1" />
<item group="automotive+tools+junk" prob="0.2" />
</lootcontainer>
</insertAfter>
<!-- Add new UVM Tanker Truck Loot container -->
<insertAfter xpath="/lootcontainers/lootcontainer[@id='592']">
<lootcontainer id="593" count="1,2" size="9,9" sound_open="UseActions/open_shopping_basket" open_time="4" sound_close="UseActions/close_shopping_basket" loot_quality_template="qualBaseTemplate">
<item name="ammoGasCan" count="100,6000" prob=".5" />
<item group="automotive+tools+junk" />
</lootcontainer>
</insertAfter>

<!-- Add schematics and items for UVM additions -->
<insertAfter xpath="/lootcontainers/lootgroup[@name='schematicsToolsRare']/item[@group='schematicsToolsT2']">
<item name="UVM_ImpactwrenchSchematic"/>
</insertAfter>

<insertAfter xpath="/lootcontainers/lootgroup[@name='groupRareToolsTiered']/item[@group='groupToolsT3']">
<item name="UVM_Impactwrench" loot_prob_template="probTemplate1.0" />
</insertAfter>

<insertAfter xpath="/lootcontainers/lootgroup[@name='groupQuestToolsT3']/item[@name='meleeToolSalvageT3ImpactDriver']">
<item name="UVM_Impactwrench" loot_prob_template="probTemplate0.5" />
</insertAfter>

<insertAfter xpath="/lootcontainers/lootgroup[@name='workingStiffsBox']/item[@group='workingStiffsSub']">
<item name="UVM_Impactwrench" loot_prob_template="probTemplate1.0" />
</insertAfter>

<insertBefore xpath="/lootcontainers/lootgroup[@name='schematicsVehiclesRare']/item[@group='schematicsVehiclesT2']">
<item name="UVM_vehicleAccessoriesSchematic" />
</insertBefore>

<insertBefore xpath="/lootcontainers/lootgroup[@name='4x4Parts']/item[@name='vehicle4x4TruckChassis']">
<item name="UVM_vehicleAccessories" />
</insertBefore>

</UVM_Configs>




Feel free to offer better alternatives or update any errors you find because my xml coding is simply from what I have learned in this forum by modelling on those more capable.

One more small point, if you're running UMV and Bdubyah's vehicles at the same time, they both share the truck sound file and a warning will appear. It looks like the localisation may need tinkering with at some point as well. ;)

 
It would be nice if this mod or the Vehicle Madness mod would include a mining vehicle that can drill through mountains collecting all mined resources, just like that old custom vehicles mod from A16

 
@arramus Very good work. I can use it with no problems again, or at least I havent encountered them yet.

View attachment 20917


Dust is absent at the moment due to real life stuff so until he returns again there will be no updates to the unity side for linear colourspace  ,  he purchased the assets so i we do not have a copies of them to update for the mod.

Glad to see that Arramus kindly updated the loot stuff to make it usable again . 

Ragsy !!

 
Back
Top