I'd like to know how to code 5 different fire modes / alt-fires into 1 gun, as explained below:
The MPXX Multipurpose Heavy Assault Rifle
Fire Modes: Semi, Full Auto, Super Auto, Healing Darts, and Healing Grenade.
I know how to code Semi, Auto, and Super fire modes into a weapon, but I want to add Healing Darts and a Healing Grenade Launcher to it as well, but don't know how.
Primary Fire will shoot the according to the current fire mode selected, while Secondary Fire will switch between the various fire modes. I want to use the M4204's body as a base (due to the integrated grenade launcher and it's coding) but since it's an Insta-Hit weapon (Its bullets connect with target/crosshair) instead of a projectile weapon, I don't know if it's possible within my ability to do (I don't have fancy animation and weapon making software or coding knowledge). I've made a custom M4 (the M4204XFT) that shoots bullets and has a flamethrower (Which can be an alternative to the healing grenade launcher) just coded to heal instead, then I'd probably have to extend the class from "KFShotgunFire" for it to shoot projectiles, but from trial and error, this method doesn't work with all weapons.
So can anybody help me out? I'd greatly appreciate it!
The MPXX Multipurpose Heavy Assault Rifle
Fire Modes: Semi, Full Auto, Super Auto, Healing Darts, and Healing Grenade.
I know how to code Semi, Auto, and Super fire modes into a weapon, but I want to add Healing Darts and a Healing Grenade Launcher to it as well, but don't know how.
Primary Fire will shoot the according to the current fire mode selected, while Secondary Fire will switch between the various fire modes. I want to use the M4204's body as a base (due to the integrated grenade launcher and it's coding) but since it's an Insta-Hit weapon (Its bullets connect with target/crosshair) instead of a projectile weapon, I don't know if it's possible within my ability to do (I don't have fancy animation and weapon making software or coding knowledge). I've made a custom M4 (the M4204XFT) that shoots bullets and has a flamethrower (Which can be an alternative to the healing grenade launcher) just coded to heal instead, then I'd probably have to extend the class from "KFShotgunFire" for it to shoot projectiles, but from trial and error, this method doesn't work with all weapons.
So can anybody help me out? I'd greatly appreciate it!