Pravus Posted May 21, 2014 Posted May 21, 2014 Hey guys this is my first working mod I created for Project Zomboid! I'm barely proficient as a scripter but, through study and a lot of trial and error, I managed to create something I'm pretty proud of. Rifle Mod adds a custom .30-30 Hunting Rifle to vanilla Project Zomboid, as well as .30-30 bullets which can be boxed and unboxed as necessary. I tried my best to create a balanced weapon that felt natural to the game in its current development state and I feel pretty good about the end result. The Hunting Rifle and its ammunition can be found in most places you would normally be able to find shotguns and/or shotgun shells (sometimes both firearms can spawn at the same location if you're really lucky). The Hunting Rifle's power is just barely above that of the stock pistol but has slightly longer effective range. .30-30 rounds generally drop in increments of "6," which is exactly the size of one magazine. 24 .30-30 bullets can be converted into a Box of .30-30 rounds and vice versa. All custom sounds from Stormy's additions to the client and you can learn more about them at his thread here: http://theindiestone.com/forums/index.php/topic/3238-adding-more-guns/ Special thanks to RoboMat, Stormy, and NCrawler! Your collective tutorials and released mods are what I studied to learn the basics of LUA and create this mod. You guys rock! Download Rifle Mod v1.1a:http://www.mediafire.com/download/v8w3bxfbioayp1g/riflemod.rar *Updated Distribution tables to account for map expansion in Build 27* Armeretta and GunJamann 2
toupz Posted May 21, 2014 Posted May 21, 2014 OMG this is so awesome thank you so much, i've been wanting just a rifle for so long i hope this works in version 26 going to try it now
Pravus Posted May 21, 2014 Author Posted May 21, 2014 i hope this works in version 26 Of course! I completely forgot to mention that in my post. This mod was built and tested in Build 26 so if you have any issues let me know I'll do my best to try to sort them out. Thanks for the praise!
Kidlonewolf Posted May 21, 2014 Posted May 21, 2014 Good job and welcome to the forums! You should add some tags to this topic and make "build 26" one of them.
Pravus Posted May 21, 2014 Author Posted May 21, 2014 Tag added! Thanks for the welcome, Kidlonewolf!
toupz Posted May 24, 2014 Posted May 24, 2014 Alright so i tried your mod and had only one issue...the hunting rifle doesn't seem to shoot far enough for being a hunting rifle.. i think it should shoot further away probably really far since it's a hunting rifle but otherwise nice work
Pravus Posted May 29, 2014 Author Posted May 29, 2014 Alright so i tried your mod and had only one issue...the hunting rifle doesn't seem to shoot far enough for being a hunting rifle.. i think it should shoot further away probably really far since it's a hunting rifle but otherwise nice work The range is set to be 50% farther than that of the pistol and, if I remember correctly, the shotgun has an even shorter effective range than either of them in the base code. I didn't want to go too crazy on the range for the rifle or I was afraid it would begin to outclass the other guns. One of my primary goals while creating this mod was to try to keep it balanced with the vanilla PZ weapons and experience. I'll take your feedback into consideration, however, and look at the effective ranges again when I put out the mod's next update. Thanks for checking out my mod and the kind praise!
Pravus Posted May 29, 2014 Author Posted May 29, 2014 *Updated to v1.1* - Added all new, made-from-scratch art.- Changed reloading method to more closely match common real-life .30-30 rifles- Tweaked balance settings a bit.
GothicGhost Posted June 22, 2014 Posted June 22, 2014 Can this mod work online?If so where do place mods for servers? Thanks for any help.
Pravus Posted June 22, 2014 Author Posted June 22, 2014 Can this mod work online?If so where do place mods for servers? Thanks for any help. Well, I don't have any experience applying mods to PZ servers directly but its my understanding that all you should need to do to make it work is install the mod on your server then place the following:Mods = riflemodin your Zomboid/Server/*.ini file. After that, I believe as long as your players have copies of the mod installed on their clients as well it should work. Of course, that's just my understanding of the instructions given in the Multiplayer Help forum so I can't really give any guarantees. Good luck and let me know if you get it working!
GothicGhost Posted June 23, 2014 Posted June 23, 2014 Thank very much I will try it now and see if I can get the files in the right place lol. Cheers.
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