Einheit-101 Posted January 27, 2014 Share Posted January 27, 2014 Hello Community. I want to change the "Shotgun" into a gun like the standard "Rifle", i make a WW2 Server and the other team uses the Rifle already. So i decided to change some properties of the Shotgun. I changed the following: setWeaponProperty("shotgun", "std", "maximum_clip_ammo",8) setWeaponProperty("shotgun", "std", "weapon_range", 80) setWeaponProperty("shotgun", "std", "accuracy", 0.9) but i have 2 problems: - The gun "pumps" after every shot, but it should fire all 8 Bullets without pumping - The gun fires more than 1 bullet Is there a way to disable the pumping animation and change the number of Bullets the shotgun fires? Another little question: What does the following flag do? 0x080000 - expands Thanks in advance. Link to comment
Moderators IIYAMA Posted January 28, 2014 Moderators Share Posted January 28, 2014 This one can: 0x000400 - fires every frame within loop (ie paint spray) Except it also brings some problems with it. - You have to limit the shooting rate manually. > "onClientWeaponFire" > toggleControl > timer/getTickCount()+onClientRender- Add reload animation. Because the default reload animation is not the same as m4/ak47/mp5 etc. Good luck! Link to comment
Einheit-101 Posted January 29, 2014 Author Share Posted January 29, 2014 Thank you a lot. i will try this very soon. I changed a lot of properties already and i had to change some reload animations/ fire rates , too. So my only problem was the pumping. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now