Announcement

Collapse
No announcement yet.

Creating Item__Modifiers that are visible in game

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Creating Item__Modifiers that are visible in game

    I made a video tutorial on how to create your own hand held item modifiers which will magically appear attached to your base hand item in game. The tutorial video can be found at:

    https://youtu.be/xsaN2htmVAM

    The reference xml can be found in the Salvaged bats modlet on my github repo at:

    https://github.com/7D2D/A17Mods

    If you have any questions, feel free to ask here or on Guppy's Discord Server.

    I look forward to seeing what you all can come up with!

    #2
    https://discord.gg/8yGBq9e

    Comment


      #3
      To add on to that:


      How an item display is made
      <item_display_info>
      ATTRIBUTES
      display_type="str"
      unique identifier
      display_group="str"
      display_infos of the same display_group can be compared to eachother

      CHILDREN
      <display_entry>
      ATTRIBUTES
      name="str"
      Checked against EnumPassiveEffects.
      If valid, automatically localized and gets value from item stats.
      If if not, assigned as Custom display stat and needs extra tag in item or passive_effects to get value
      method 1 <display_value name="dRecoil" value="0" />
      method 2 ONLY IN trigger="onSelf{Primary|Secondary}ActionEnd" action="ModifyCVar"
      name="str" will match against cvar="str
      "
      For blocks, the following names are handled automatically:
      ExplosionResistance,FertileLevel,LightOpacity,Mass ,MaxDamage,RequiredPower,StabilityGlue,StabilitySu pport
      [title_key="str"]
      localized label
      [display_type="enum"]
      Can be Integer, Decimal, Bool, Percent. Default here is Integer.
      Decimal is 2 decimal places.
      [show_inverted="bool"]
      Works differently depending on display type:
      Decimal:1-value, Percent:100%-value, Bool:??, Integer:?? Code is kind of messed up here.
      [negative_preferred="bool"]
      Normally, higher is indicated better. If this is set to false, lower is indicated better.
      [tags="str,str.."]
      Relates to name(stats) that apply differently in different situations e.g.
      movement speed in different stances,
      damage resistance against different types
      primary or secondary damage.
      Defaults to "primary"

      I am also writing a python util to append and sync localization.txt with those found in mods.
      Last edited by SandyBeaches; 11-29-2018, 04:10 AM.

      Comment


        #4
        Come join the discord.

        Comment

        Working...
        X