1. Welcome to the Brawl website! Feel free to look around our forums. Join our growing community by typing /register in-game!

Weapons

Discussion in 'Ideas' started by PvP_xjawz, Oct 25, 2013.

Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...
  1. PvP_xjawz

    PvP_xjawz Member

    Joined:
    Sep 17, 2013
    Messages:
    30
    Ratings:
    +0
    //The Name of the Gun
    gunName=&1PeaceKeeper

    //The Item ID of the GUN
    gunType=83

    //The Item ID of the ammo that the gun uses
    ammoType=318

    //The amount of ammo your gun needs
    ammoAmtNeeded=1

    //The delay (in ticks) before you can shoot again
    bulletDelayTime=3

    //The reloading sound mechanism (NORMAL, PUMP, BOLT, INDIVIDUAL_BULLET)
    reloadType=NORMAL

    //The amount of bullets your gun fires per burst
    roundsPerBurst=1

    //The amount of bullet your gun fires in a group
    bulletsPerClick=1

    //The damage PER BULLET (20 damage = 10 hearts)
    gunDamage=7.5

    //The amount of health subtracted from the player when hit (ignores armor)
    armorPenetration=0

    //The max distance the bullet will travel
    maxDistance=35

    //The speed of the bullet
    bulletSpeed=2

    //The accuracy of the bullet (the lower, the better)
    accuracy=0.1

    //The accuracy of the bullet when aimed in (The lower, the better)
    accuracy_aimed=0.035

    //The accuracy of the bullet while crouched (the lower, the better)
    accuracy_crouched=0.5

    //The amount of blocks a gun will push you back
    recoil=0

    //The amount of blocks a player hit by your gun will be blown back
    knockback=0

    //Whether or not your gun can aim
    canAimLeft=true
    canAimRight=false

    //Whether or not you gun can headshot
    canHeadshot=true

    //Whether or not your gun can aim with the left or right mouse
    canShootLeft=false
    canShootRight=true

    //The radius in which an explosion will reach
    explodeRadius=0

    //The amount of damage an explosion will do
    explosionDamage=0

    //The radius of fire that is created by a gun
    fireRadius=0

    //The message displayed when you are out of ammo
    outOfAmmoMessage=Out Of Ammo!

    //The message displayed when you do not have permission to fire a gun
    permissionMessage=&cYou do not have permission to fire this gun!

    //Whether or not you need to have permissions to fire a gun
    needsPermission=false

    //The type of bullet fired (SNOWBALL, EGG, ARROW)
    bulletType=SNOWBALL

    //The sound(s) ALL played (at the same time) when a gun is fired (seperated by commas. NO SPACES)
    gunSound=ghast_fireball,zombie_metal

    //Whether or not a bullet has a smoke trail
    hasSmokeTrail=false

    //The volume of the gun (between 0 and 2)
    gunVolume=1.5

    //Clip information
    hasClip=true
    maxClipSize=40
    reloadGunOnDrop=true
    reloadTime=60

    //Whether or not the guns sound is local to the client or global
    localGunSound=false
     
  2. PigOiler

    PigOiler Well-Known Member

    Joined:
    Oct 19, 2013
    Messages:
    569
    Ratings:
    +138
  3. Signatured

    Signatured War 2.0 Developer

    Joined:
    Sep 13, 2013
    Messages:
    3,819
    Ratings:
    +1,402
    This is how he configured the weapon in thePvPGunsPlus plugin. He just copied and pasted his configuration of te weapon. Hope this cleared things up.
     
  4. teawithchoco

    teawithchoco Well-Known Member

    Joined:
    Aug 19, 2013
    Messages:
    6,758
    Ratings:
    +844
    Yeah that makes sense, is it like a coding ?
     
  5. Sir_Blockalots

    Sir_Blockalots Well-Known Member

    Joined:
    Aug 19, 2013
    Messages:
    1,901
    Ratings:
    +437
    The coding doesn't tell us what we want to know about the gun. Please write a description onto the thread.
     
    • Like Like x 1
    #5 Sir_Blockalots, Oct 25, 2013
    Last edited: Oct 25, 2013
  6. Signatured

    Signatured War 2.0 Developer

    Joined:
    Sep 13, 2013
    Messages:
    3,819
    Ratings:
    +1,402
    Kind of. With the PvPGunsPlus plugin, you have to configure each gun in this format. That is what makes them work.
    Agreed, we need more of a description of the gun on the thread, rather than just the configuration you copied and pasted. This will give us a better visual if the gun, and what we like/dislike about it.
     
  7. Javed

    Javed Well-Known Member

    Joined:
    Aug 6, 2013
    Messages:
    1,867
    Ratings:
    +370
    Does this mean 7.5 hearts...? Because that is too much. And where's the rate of fire?
    And the accuracy gets LOWER when you crouch?
    There's a lot of things wrong with this code.
     
  8. Signatured

    Signatured War 2.0 Developer

    Joined:
    Sep 13, 2013
    Messages:
    3,819
    Ratings:
    +1,402
    I didn't even catch on to those mistakes. Good eye. Just adjust the the aim, and adjust the damage. That will make the gun a little more realistic.
     
  9. Javed

    Javed Well-Known Member

    Joined:
    Aug 6, 2013
    Messages:
    1,867
    Ratings:
    +370
    I didn't find a rate of fire either, which would probably be bad
     
  10. PvP_xjawz

    PvP_xjawz Member

    Joined:
    Sep 17, 2013
    Messages:
    30
    Ratings:
    +0
    Thx for taking your time to watch.
    Im going to do the changes youre asking for, so pls post what you want that i change
    How do you mean dude?
    20 damage is = 10 harts
     
  11. Javed

    Javed Well-Known Member

    Joined:
    Aug 6, 2013
    Messages:
    1,867
    Ratings:
    +370
    A 7.5 damage rating is impossible. 7.5 hearts is 15 damage. Then, there is not rate of fire, which needs to be changed. And finally I think you should switch the accuracy values for crouching and not crouching. Crouching should not lessen accuracy.
     
  12. PvP_xjawz

    PvP_xjawz Member

    Joined:
    Sep 17, 2013
    Messages:
    30
    Ratings:
    +0
    Im also working on MG4 (secondary wepaon) it´s a automatic mini assualt rifle. Soon gonna upload stats
    20 damage = 10 harts, so 7.5 damage are not so much. And im going to change the stats on accurity
     
  13. Daudzoe

    Daudzoe Well-Known Member

    Joined:
    Aug 5, 2013
    Messages:
    1,873
    Ratings:
    +656
    7 damage = 3.5 hearts
    But I don't see how 7.5 damage is even possible.
     
  14. bolt4thewin

    bolt4thewin Active Member

    Joined:
    Sep 8, 2013
    Messages:
    216
    Ratings:
    +42
    Well I think that the peacekeeper would be an interesting gun but some of these stats need a bit of tweaking.
     
  15. booflame

    booflame Well-Known Member

    Joined:
    Aug 5, 2013
    Messages:
    2,502
    Ratings:
    +557
    Thank you for taking the time to fill out this data for you suggestion. :smile:
    Next time just add on to your original post.
     
    #15 booflame, Oct 25, 2013
    Last edited by a moderator: Jun 13, 2015
  16. PvP_xjawz

    PvP_xjawz Member

    Joined:
    Sep 17, 2013
    Messages:
    30
    Ratings:
    +0
    Yea im new on forum but thx
    Im new but thx for the point
     
    #16 PvP_xjawz, Oct 25, 2013
    Last edited by a moderator: Jun 13, 2015
  17. Javed

    Javed Well-Known Member

    Joined:
    Aug 6, 2013
    Messages:
    1,867
    Ratings:
    +370
    Yeah that's what I'm saying. I think he means 7.5 hearts which is 15 damage.
     
  18. teawithchoco

    teawithchoco Well-Known Member

    Joined:
    Aug 19, 2013
    Messages:
    6,758
    Ratings:
    +844
    For a guy like me who doesn't know much at coding it would be good to create a proper thread with explanations about the plugin
     
  19. Niek__

    Niek__ Well-Known Member

    Joined:
    Aug 5, 2013
    Messages:
    2,050
    Ratings:
    +204
    I think this is the format for the peacekeeper
     
  20. Javed

    Javed Well-Known Member

    Joined:
    Aug 6, 2013
    Messages:
    1,867
    Ratings:
    +370
    There was an old thread about this gun where all that was supplied was the most vague of descriptions. However it would be great if more was posted here than just the config, albeit an errored config.
     
Loading...
Similar Threads Forum Date
Idea Special weapons in war 2? MC-War Feb 25, 2019
Idea Can we add new melee weapons? MC-War Jul 2, 2018
Buy melee weapons Ideas Jun 14, 2018
Bug Missing My Old Rank and Weapons! MC-War Oct 29, 2017
Re-coding Weapons Ideas May 15, 2017
Thread Status:
Please be aware that this thread is more than 30 days old. Do not post unless the topic can still be discussed. Read more...