0
Downloads today
677
Downloads total
0
Comments
description
Vehicle Upgrade Framework
This mod arose as a tool to allow me and other modders to create vehicle equipment that changes stuff beyond flight height.
Just include this XML in your mod and do the following:
- all vehicles that you want to be upgradeable by equipment must extend "vufb_vehicle"
- all equipment on them that changes what they do must extend "vufb_equip"
Then you can use the tags inside vehicle equipment:
- <statChange id="{stat_id}" value="{delta}" /> to change the stat by delta (supports "speed", "speedY", "max_weight", "flight_height", "health", "fuel"
- <fuelChange id="{item_id}" fuel="{amount}" /> to override default fuel recipe with this (can be multiple recipes by adding multiple tags
- <fuelChange type="{recipe_type}" /> adds all recipes of type as fuel
- <electric /> to change the fuel type to "Power" (hides all other fuel the vehicle might have had and only displays the "Charge from batteries" option
- <clearFuel /> drops all fuel on equip / unequip
- <storeFuel /> stores fuel as durability on unequip and uses durabililty as fuel on equip
- <repaitChange id="{item.id}" value="{repair_value}" /> changes default repair for the new one (can be multiple elements to do multiple repairs)
For example
-
For example of usage, download latest version of Zeppelin mod.
Credits
-
27 Jul 01:25Version 1.1.0
[Feature] Support for electric engine
[Feature] Fuel storage on equip / unequip as durability
[Bugfix] An equip / unequip on non-player vehicle no longer produces a red wall of text
Files
14.10 2018
Empfehlungsrate
-/-
noch nicht genug Stimmen
Do you think this mod should be featured?
Mod abonnieren
0 Comments for Vehicle Upgrade Framework