[V3.0] Changes to ui_display.xml — Many New Display Entries Added for MOD Effects

ui_display.xml (which defines the stat displays for weapons, equipment, and items) has received a large number of new display entries (on the order of +10KB).

Main Changes

  • Added a <?xml version="1.0" encoding="UTF-8"?> declaration at the top
  • Many new display entries added for MOD effects (in V3.0, MOD stats now show up in the UI):
    • modGunMagazineExtender / modGunDrumMagazineExtender / modGunCrippleEm, and others
    • Many modMelee* entries (TemperedBlade, SerratedBlade, WeightedHead, FiremansAxeMod, and more)
    • modArmorBandolier / modArmorTreasureHunter / modVehicleFuelSaver, and others
  • New display_type values: droneStunMod (stun damage / cooldown), clothingStaminaOnlyBoots, toolCookingPot (cooking time %)
  • New food displays: foodChickenNuggets / foodChickenWings / foodRoadrunnerChickenJerky
  • The display_entry names for clothingCigar were renamed from AttributeLeveldAttributeLevel and BarteringBuyingdBarteringBuying (unifying with the “d” prefix)
  • Removed: statPowerAttack from meleeTorch, and cleanup of old melee-related entries

Impact on MODs

  • If you set or reference existing entries such as AttributeLevel/BarteringBuying, they will fail silently due to the rename to the “d”-prefixed versions.
  • If you added effect displays for your own MOD items, note that vanilla now defines new display_info for the same kinds of modMelee*/modGun*, which may result in duplicate definitions of the same display_type.
  • If you were using remove/replace on a deleted old display_entry, it will now fail silently.

Reference: Example Diff

+       <item_display_info display_type="droneStunMod" display_group="groupDrone">
+           <display_entry name="dEntityDamage" display_type="Decimal1" title_key="statStunDamage"/>
+       </item_display_info>

        <item_display_info display_type="clothingCigar" display_group="groupAttire" >
-           <display_entry name="AttributeLevel" tags="attStrength" .../>
+           <display_entry name="dAttributeLevel" tags="attStrength" .../>

*Based on investigation immediately after applying the experimental version (equivalent to B252).


Related: List of MOD-making articles

コメントする

お名前(ニックネーム)だけで投稿できます。ログイン・メール登録は不要です。お気軽にどうぞ。

※ AIの回答は管理者の確認後に表示されます。内容は不正確な場合があります。