Crackshot API #53


  • New
  • Enhancment
Open
Assigned to shampaggon
  • Robotnikrobotnik created this issue Jul 25, 2013

    I was wondering if you can add a few things to the crackshot API

    Im not sure how to explain what im trying to do clearly enough, but so if you dont understand what im trying to suggest just tell me

    I was wondering if you would add a hook in the API which would allow other plugins to fire, reload, aim, and take ammo from crackshot weapons

    The cannons plugin: this is an example im working on where this could be used. The function of the cannons plugin would be vastly expanded using such an API. my idea was that when a cannon was fired, it would use info from a crackshot weapon specified in the plugins config, specifying explosive power, damage, projectile, etc. This would greatly expand the currently limited options of the cannons plugin

    Another example: the ucars plugin allows players to fire arrows from it. If the right crackshot API hooks were available, it could be changed so that a Crackshot weapon was fired, instead a boring arrow being fired

    I hope you see what i'm getting at. basically using the crackshot plugin itself to use as a foundation for other kind's of weapons, which also allows further flexibility to server admins as all they would have to do is modify one of crackshots config files to change how a weapon behaves. Plugin developers wouldn't have to "re-invent the wheel" every time they wanted to make some kind of weapon, and inconsistencies between various weapon plugins would be less. Crackshot is just so flexible.

    Anyways, here are some things which i would really appreciate to see added to the crackshot API
    -A way to use or fire crackshot weapons (not the item, the actual weapon. when i use the term crackshot weapon, im referring to this) and fire them
    -A way to reload crackshot weapons
    -A way to aim a crackshot weapon (not sure if this can be done by a plugin developer himself, i need to experiment more)
    And probably a few others which i forgot

    And maybe sometime in the future
    -A way to temporarily change stats of crackshot weapons

  • Robotnikrobotnik added the tags New Enhancment Jul 25, 2013

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