Giter Club home page Giter Club logo

archery's People

Contributors

floogen avatar zenychan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

archery's Issues

Add enchantments for weapons and ammo

Would like to implement several native enchantments for weapons and ammo.

Framework should also support custom enchantments via API:

  • GetEnchantmentDisplayName(string enchantmentId)
  • GetEnchantmentDescription(string enchantmentId)
  • ActivateEnchantment(IBaseModel model, Vector2 position)

Implement WeaponModel.Knockback

Likely will want to create a target dummy that can be affected by knockback (teleports back after it is finished moving?)

Crossbow takes arrow ammo type when filters are set

To re-summarise:

With a crossbow weapon type with its filter set to an arrow ammo type's ID:

"Filter": [
    "DecidedlyHuman.ObliteratingWeapons.Ammo.BatteryPack"
],

And an arrow ammo type's filter set to the crossbow's ID:

"Filter": [
    "DecidedlyHuman.ObliteratingWeapons.Railgun"
],

The crossbow appears to take the arrow ammo type, and acts as follows: Hold fire > crossbow loads the arrow, and interaction stops > hold fire and release ay any point during charging > arrow fires.

May be worth investigating whether or not it occurs with just the arrow's filter set to the crossbow's ID, or vice-versa.

Repro pack attached: [Archery] Obliterating Weapons.zip

Implement ArmOffset

Would allow for offsetting the front and back arms while drawing the world sprite.

Add various useful API endpoints

General API endpoints:

  • OnWeaponFired(IWeaponModel, Vector2 position)
  • OnAmmoImpact(IAmmoModel, Vector2 position)
  • OnWeaponCharging(IAmmoModel, Vector2 position)
  • OnWeaponCharged(IAmmoModel, Vector2 position)
  • OnAmmoLoaded(IAmmoModel, Vector2 position)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.