WeaponMechanicsPlus
All WikisDownloadDonate
  • Home
  • Attachment
  • Modifiers
    • Damage Modifier
    • Shoot Modifier
    • Projectile Modifier
    • Reload Modifier
    • Scope Modifier
    • Explosion Modifier
  • Armor Modifiers
  • Firemode
  • Placeholders
  • Other
Powered by GitBook
On this page
  • Base_Damage
  • Base_Explosion_Damage
  • Fire_Ticks
  • Armor_Damage
  • Add_Damage_Modifier
  • Add_Mechanics
  • Add_Kill_Mechanics
  • Backstab
  • Critical_Hit
  • Head
  • Body
  • Arms
  • Legs
  • Feet
Edit on GitHub
  1. Modifiers

Damage Modifier

Modifies the damage config of a weapon

  Damage_Modifier:
    Base_Damage: <DoubleModifier>
    Base_Explosion_Damage: <DoubleModifier>
    Fire_Ticks: <IntModifier>
    Armor_Damage: <IntModifier>
    Damage_Dropoff:  
      - <distance> <damage>
    Add_Damage_Modifier: <DamageModifier>  # or use Replace_Damage_Modifier
    Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Add_Kill_Mechanics: <Mechanics>  # or use Replace_Kill_Mechanics
    Backstab:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Critical_Hit:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Head:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Body:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Arms:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Legs:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics
    Feet:
      Add_Mechanics: <Mechanics>  # or use Replace_Mechanics

Base_Damage

Base_Explosion_Damage

Fire_Ticks

Armor_Damage

Add_Damage_Modifier

This will add an additional damage modifier to the existing modifier(s). To replace all current modifiers, change the config key to Replace_Damage_Modifier.

Armor Piercing Rounds Example
  Damage_Modifier:
    Replace_Damage_Modifier:
      Min: 20%   
      Max: 300% 
      Per_Armor_Point: 0% # Makes armor make 0% difference in damage

      # Modifiers for where the bullet hits the body
      Head: +50%

      # Add your other options here!

Add_Mechanics

Modifies the current mechanics applied whenever an entity is damaged by a weapon. In practice, this can be used to bleeding rounds, freezing rounds, levitating rounds, etc.

Bleeding Rounds Example
  Damage_Modifier:
    # This adds a "bootlegged" bleeding effect by damaging the entity every
    # few seconds. You can add particles effects using the Particle{} mechanic
    Add_Mechanics:
     - "Damage{damage=1, repeatAmount=3, repeatInterval=40, delayBeforePlay=20} @Target{}"

Add_Kill_Mechanics

Modifies the current mechanics applied whenever an entity is killed by a weapon.

Backstab

  • Add_Mechanics -> adds to the current backstab mechanics

  • Replace_Mechanics -> replaces the current backstab mechanics

Critical_Hit

  • Add_Mechanics -> adds to the current critical hit mechanics

  • Replace_Mechanics -> replaces the current critical hit mechanics

Head

  • Add_Mechanics -> adds to the current head shot mechanics

  • Replace_Mechanics -> replaces the current head shot mechanics

Body

  • Add_Mechanics -> adds to the current body shot mechanics

  • Replace_Mechanics -> replaces the current body shot mechanics

Arms

  • Add_Mechanics -> adds to the current arm shot mechanics

  • Replace_Mechanics -> replaces the current arm shot mechanics

Legs

  • Add_Mechanics -> adds to the current leg shot mechanics

  • Replace_Mechanics -> replaces the current leg shot mechanics

Feet

  • Add_Mechanics -> adds to the current foot shot mechanics

  • Replace_Mechanics -> replaces the current foot shot mechanics

PreviousModifiersNextShoot Modifier

Last updated 1 year ago

Modifies the of the weapon, the damage before any damage modifiers are added.

Modifies the of the weapon, the damage of the explosion before any exposure is taken into account.

Modifies the of the weapon, the number of ticks that the victim should be on fire. Remember that the time is measured in ticks, and 20 ticks is 1 second.

Modifies the of the weapon, or the durability damage dealt to the piece of armor that is hit by the bullet. If you are making armor piercing bullets, you can use this damage to increase the damage specifically dealt to the armor.

This adds a WeaponMechanics' . This can be used to multiply the damage based on conditions, like the armor worn, entity type hit, entity speed/movement, etc. In practice, this can be used to make armor piercing rounds:

This will add additional to the current mechanics. To replace all current mechanics, change the config key to Replace_Mechanics.

This add additional to the current mechanics. To replace all current mechanics, change the config key to Replace_Kill_Mechanics.

Mechanics
Mechanics
#base_damage
#base_explosion_damage
#fire_ticks
#armor_damage
Damage Modifiers