There a lot of changes here and not finished yet, just want to push current progress.
This adds custom weapons support from #51, supports name, index, classname and attributes.
No support for custom model and viewmodels, those are a mess to work with and i'm not sure if there enough demands for it.
Default config won't have any starter custom weapons, but server owners can add themselves in config, with Army of One as an example on how to add custom weapons in config.
Also updated commands where player don't respawn, but instead regenerated on weapon/class change. sm_rndweapon also supports having weapon name as instead of def index in args, eg sm_rndweapon @me 1 Righteous Bison would be the same as sm_rndweapon @me 1 442
There a lot of changes here and not finished yet, just want to push current progress.
This adds custom weapons support from #51, supports name, index, classname and attributes. No support for custom model and viewmodels, those are a mess to work with and i'm not sure if there enough demands for it.
Default config won't have any starter custom weapons, but server owners can add themselves in config, with Army of One as an example on how to add custom weapons in config.
Also updated commands where player don't respawn, but instead regenerated on weapon/class change.
sm_rndweapon
also supports having weapon name as instead of def index in args, egsm_rndweapon @me 1 Righteous Bison
would be the same assm_rndweapon @me 1 442