-
Notifications
You must be signed in to change notification settings - Fork 13
Adds various controls for customising the Sonic Beam weapon effect. #548
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: develop
Are you sure you want to change the base?
Conversation
This comment is automaticly generated by Nightly.link and allows non-registered users to get download the artifacts for this pull request. This link is also updated when the pull request is pushed to. |
22b2d20
to
a6a5ebc
Compare
b000bdc
to
3eb9620
Compare
I tried out all different keys and while they all seemed to have some sort of effect, I wasn't clear on the exact effect or purpose of all of the different keys. The keys that I was at least clear about worked fully as intended; these being I expected that One thing that's still missing from this is a key to customize the duration for which the beam is actually fired, since this still appears to be hardcoded. |
58dc156
to
1b504cc
Compare
eb03022
to
8ed42ec
Compare
7a2cd0e
to
5e9bf4a
Compare
65abfa3
to
5be9542
Compare
a307ea7
to
735e008
Compare
f40cd5a
to
ce12b49
Compare
c3e7349
to
0a8e674
Compare
ff8fc5d
to
29067a6
Compare
ff0d5d0
to
9ef6826
Compare
acea927
to
afcc4b3
Compare
Closes #540, Closes #547
This pull request adds various controls for customising the Sonic Beam weapon effect. It also implements a possible fix for the common "WaveClass" crashes see on older hardware (see issue #540).
Special thanks to @askhati and @MortonPL for assistance with the math calculations, and @tomsons26 with the drawing code.
SonicBeamColor=<r,g,b>
Color of the sonic beam, in 24-bit RGB. This color entry is used to enable the new drawing system, so you may need to experiment with the options below to get the desired drawing effect.
SonicBeamIsClear=<boolean>
Is the sonic beam clear (no color)? Defaults to
false
.SonicBeamAlpha=<float>
The alpha blending of the sonic beam. Defaults to
0.5
.SonicBeamSineDuration=<float>
The duration of one wave effect pattern cycle. Defaults to
0.125
.SonicBeamSineAmplitude=<float>
The amplitude of the sonic beam pattern effect. Defaults to
12.0
.SonicBeamOffset=<float>
The amount to offset the pixel data under the sonic beam. Defaults to
0.49
.SonicBeamStartPinLeft=<x,y,z>
Defaults to-30.0, -100.0, 0.0
SonicBeamStartPinRight=<x,y,z>
Defaults to-30.0, 100.0, 0.0
SonicBeamEndPinLeft=<x,y,z>
Defaults to30.0, -100.0, 0.0
SonicBeamEndPinRight=<x,y,z>
Defaults to30.0, 100.0, 0.0
Start and end pins for the shape of the sonic beam.
SonicBeamSurfacePattern=<string>
The pattern for the sonic beam effect. Available options are;
circle
,ellipse
,rhombus
, andsquare
. Defaults tocircle
.SonicBeamSinePattern=<string>
The sine wave pattern for the sonic beam effect. Available options are;
circle
,square
,sawtooth
, andtriangle
. Defaults tocircle
.Example screenshot;
