SUGGESTION: Adding attributes to weapons through config. #167


  • Enhancment
  • Replied
Open
Assigned to shampaggon
  • _ForgeUser8234678 created this issue Apr 8, 2014

    What?
    While testing other plugins alongside CracksShot I tried adding attributes to weapons to see if they worked well together. They did.

    So?
    Introducing an optional node in weapon configuration files so weapons can be created with built-in attributes such as knock-back resistance, max health and speed ( http://minecraft.gamepedia.com/Attribute ) would serve useful in the creation of weapons (and items such as medicine, drugs, armor), further increasing the customization this plugin is known for.

    Ok?
    If considered, the node could look something like the following:

    Attributes:
    Enable: <true/false>
    Attributes: TYPE-NAME-STRENGTH, <...>

    In which:

    • Type: MaxHealth, MovementSpeed, or KnockbackResistance
    • Name: Is a custom (but mostly irrelevant field for normal users) string used to identify the attribute.
    • Strength: The magnitude of the attribute.

    Health is +/- and measure in half hearts, speed is +/- and measured in decimals/percentages, and knockback resistance is measured from 0-1.

    Examples!

    -+- A pistol which increases the holder's movement speed by 10%.
    http://gyazo.com/5ed7e786282899acaacceece6f34ca9c.png

    -+- A Fatman, it's heaviness causes the user to move at half his or her normal speed.
    http://gyazo.com/35d7fa8b3ce6b060754ae1d9631a9adc.png

  • _ForgeUser8234678 added the tags New Enhancment Apr 8, 2014
  • Shampaggon posted a comment Apr 11, 2014

    You cannot currently achieve this using the Bukkit API, only through NMS classes, the use of which would render the plugin version-specific.

    Features including attributes, instantaneous firework explosions, particle-effects, modified entities and so forth will likely not be included in CrackShot for as long as NMS classes are required to realize them.


    Edited Apr 11, 2014
  • Shampaggon removed a tag New Apr 11, 2014
  • Shampaggon added a tag Replied Apr 11, 2014
  • Shampaggon posted a comment Apr 11, 2014

    You cannot currently achieve this using the Bukkit API, only through NMS classes, the use of which would render the plugin version-specific.

    Features including attributes, instantaneous firework explosions, particle-effects, modified entities and so forth will likely not be included in CrackShot for as long as NMS classes are required to realize them.

    Of course, you are free to implement such additions via an external plugin.

  • _ForgeUser8234678 posted a comment Apr 12, 2014

    @Shampaggon: Go

    Well that's a darn shame, but understandable.

    Thanks for the quick reply!


To post a comment, please login or register a new account.