Tyler-J Posted June 1, 2022 (edited) This is for The Newer Doom Mod enthusiast's! after spending hours reading zdoom wiki and deciphering wild weasel gunlabs... I decided to throw together a pk3 that has everything you need to make a modern style weapon with reloading and ammo pooling. absolute time saver right here trust me.. I plan on making a weapon spriting tutorial video in the near future. but for those who don't have anything to go by code wise this template is for you. crappy colt 1911 sprite made by me. sounds from call of duty 2 . code written with the help of wild weasel and zdoom wiki. Pistol.rar AK47.rar ProjectileWeapons.zip LAUNCHER.rar Edited June 19, 2022 by Tyler-J 3 Quote Share this post Link to post
Fraston Posted June 2, 2022 When I load up the pk3, it says that there is no READY3 from template gun. If hit shoot, the weapon reloads and then disappears and can't be switched off of. 0 Quote Share this post Link to post
Tyler-J Posted June 2, 2022 (edited) thanks for trying out the template Edited June 2, 2022 by Tyler-J 1 Quote Share this post Link to post
Tyler-J Posted June 2, 2022 1 hour ago, Fraston said: When I load up the pk3, it says that there is no READY3 from template gun. If hit shoot, the weapon reloads and then disappears and can't be switched off of. yeah that state is supposed to be ready2 , I fixed with a text editor earlier but for some reason it didn't save. it's fixed now 1 Quote Share this post Link to post
URROVA Posted June 2, 2022 so, i revised your code for seeing what was wrong . . . there is some important issues with your code, some pointless states, a lot of empty TNTA0 frames that did nothing, etc just for explaining, the 0 duration frames in decorate are used for executing various actions in one game frame, not to exist alone i modified the code to solve the problem, also made the code more readable: Modern Shootist Weapon Template.zip also i seen that you put an action to play a dry shot sound (the action that plays the "weapons/empty" sound). i added one from freesound (licensed with CC-0) 2 Quote Share this post Link to post
Tyler-J Posted June 3, 2022 22 hours ago, URROVA said: so, i revised your code for seeing what was wrong . . . there is some important issues with your code, some pointless states, a lot of empty TNTA0 frames that did nothing, etc just for explaining, the 0 duration frames in decorate are used for executing various actions in one game frame, not to exist alone i modified the code to solve the problem, also made the code more readable: Modern Shootist Weapon Template.zip also i seen that you put an action to play a dry shot sound (the action that plays the "weapons/empty" sound). i added one from freesound (licensed with CC-0) Yeah I just realized how much usesless code was left. it was originally for my pistol that had several ready states and tnt frames that were used to slow down time between frames until you made me realize after all this time lol.. thank you very much. I was gonna fix it up today but had a huge migraine. i"m still a newbie trying to help other newbie's 2 Quote Share this post Link to post
Tyler-J Posted June 4, 2022 (edited) On 6/2/2022 at 6:33 PM, URROVA said: I actually needed those TNT1A frames to make null sounds work and get shells to spawn, sorry bro for this confusion. I re added them and re uploaded the pk3 Edited June 4, 2022 by Tyler-J 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.