Hey All
Although following tutorials, I hope well, I also found myself here...
Still relatively new / not up-to-speed, so, expected I imagine.
Anywho, The Shotgun setup isn't as straight forward as the rifle example via documentation (I probably missed something). Following the same steps as when creating the rifle and being sure to apply the correct animation ID (3) to the shotgun I'm able to equip & fire it. Though without animations and when running out of ammo the weapon becomes locked and no longer able to dry fire, cycle weapons, or do really anything really but move character around after this.
To fix, I copied demo Nolan into working scene. Then copied his shotguns item 'Shootable Weapons' script settings as closely as I could. Noticing my 'Shootable Weapons' script was different for 2 settings - ''
use complete event' and '
reload event'. After matching these settings with demo Nolan's shotty mine now works as expected. BTW there are SEVERAL other settings that are different via demo shotty & tutorial setups. I also figured out how to make random noises and learned of a handful of other settings while deconstructing the demo's shotgun...So worth the time for sure.
I'm only wondering what else I may be overlooking during this learning curve :/
Q - In a nutshell, Why do I need to alter those settings for the shotgun but not the rifle? (or maybe I do, I haven't compared rifle settings yet...)
Q - How would I know I need to alter them?
> I've simply copied what you guys have done within the demo, but don't really know why or what I've done...
> The rifle's settings are unchanged in these areas (defaults via item creation), Considering the settings changed to match my created shotgun with Nolans demo shotgun, I assume the shotty not working out of the box is due to animations & timing events that must be accounted for in which the rifle doesn't need adjusted. So we're accounting for that with the 'use complete event' & 'reload event' settings? <--- basically, IDK what I'm doing. I just buy stuff and pray it works... Also this seems like a really silly question I feel like I've answered myself on already, but well...'ey 2020
There are SO many settings it becomes quickly confusing and hard to manage - I assume in time this will be overwhelmingly simple....just not there yet.
Anyway, sorry for the book.