Stilgar
Junior Member

Posts: 105
Registered: 07-06 |
Would it be possible to add a few more parameters to the generic weapon functions without breaking the way they work now? There are a few expansions that I'd find useful:
For A_FireCustomBullets and A_CustomPlayerMelee:
- Type of "puff" to make
- Whether or not it can hit things that have the Heretic "ghost" flag.
For A_FirePlayerMissile:
- Horizontal deviance (how much the shot might be inaccurate to the left or right)
- Vertical deviance (how much the shot might be inaccurate up or down)
I'd also like a pointer similar to A_RandomJump, but instead of a random roll, it jumps if there's a shootable object within the player's melee range. That way it would be possible to make weapons that attack differently when used in melee, similar to some Hexen weapons.
|