LineAttack Offsets
Posted: Fri Nov 03, 2017 1:18 pm
Pull Request
Adds two parameters: offsetforward and offsetside.
Adds two flags: LAF_ABSOFFSET and LAF_ABSPOSITION.
Included is a test mod. Boot it up and you'll notice you have a pistol that sways, and there's a plasma ball where you stand.
Making turrets fire from the correct barrels versus the center has always been a tremendous pain. Not to mention hack arounds involve spawning actors just to make the pullet position work properly, which this is designed to get rid of, so this cuts down on overhead.
Adds two parameters: offsetforward and offsetside.
Adds two flags: LAF_ABSOFFSET and LAF_ABSPOSITION.
Included is a test mod. Boot it up and you'll notice you have a pistol that sways, and there's a plasma ball where you stand.
- Fire: Shoots the pistol with an offset based around the sway.
- Altfire: Shoots the pistol from the ball.
- Reload: Moves the ball to where you're standing.
Making turrets fire from the correct barrels versus the center has always been a tremendous pain. Not to mention hack arounds involve spawning actors just to make the pullet position work properly, which this is designed to get rid of, so this cuts down on overhead.