Add nITG's various path shape & other modifiers - V2 (#1435)
* Implemented nITG's Square modifiers Modifiers added: Square SquareOffset SquarePeriod SquareZ SquareZOffset SquareZPeriod * Implemented nITG's BumpyX Modifiers Also fixes up some tiny bits pertaining to the square modifiers. Modifiers Added: BumpyX BumpyXPeriod BumpyXOffset * Implemented nITG's TornadoZ Modifiers Modifiers Added: TornadoZ TornadoZPeriod TornadoZOffset Another commit is needed to update fallback's metrics * Update fallback's metrics to accommodate TornadoX * Implemented nITG's Parabola Modifiers Modifiers Added: ParabolaX ParabolaY ParabolaZ * Implemented nITG's Sawtooth Modifiers Modifiers Added: Sawtooth SawtoothPeriod SawtoothZ SawtoothZPeriod * Implemented nITG's Zigzag Modifiers Modifiers Added: Zigzag ZigzagPeriod ZigzagOffset ZigzagZ ZigzagZPeriod ZigzagZOffset * Implemented nITG's ModTimer modifiers Modifiers Added: ModTimer (Lua method name is ModTimerSetting (takes enums. Ex: 'ModTimerType_Song'). Can be activated with mod strings 'modtimer(song/beat/game/default)' ) ModTimerOffset ModTimerMult * Remove Log use from ArrowEffects::GetTime() * Accidentally removed a CPY(m_BatteryLives) * Implemented nITG's DrunkZ modifiers Modifiers added: drunkz drunkzspeed drunkzoffset drunkzperiod Another commit is needed to update fallback's metrics * Update fallback's metrics to accommodate DrunkZ * Implemented nITG's BeatY & BeatZ Modifers Modifiers Added: beaty beatyoffset beatyperiod beatymult beatz beatzoffset beatzperiod beatzmult Another commit is needed to update fallback's metrics * Updated fallback's metrics to accommodate ... the new Beat modifiers. * Implemented nITG's Digital Modifiers Modifers Added: digital digitalsteps digitalperiod digitaloffset digitalz digitalzsteps digitalzperiod digitalzoffset * Removed duplicate zbuffer check. * Updated Luadocs with the new modifiers * Removed accidental duplicate Mini from Luadocs * Split up long modifier lines. Hopefully, this makes it a bit easier to read. * Remove accidental commit to root of repo. * Split up long modifier lines Hopefully, this makes it easier to read. * Redid Square functions to not use FastSin This implementation is based off of 5.2's square_wave function from ModValue. * Redid zigzag functions to not use FastSin This implementation is based off of 5.2's triangle_wave function from ModValue. * Moved square & zigzag calculation to RageMath. New RageMath functions: RageSquare RageTriangle * Made Square & Digital have the same period... as Zigzag and Sawtooth. * Deduplicate tornado calculations. * Fixed typo in UpdateTornado, and moved UpdateTornado logic to ArrowEffects::Init because it doesn't depend on anything that changes every frame. Tornado metrics are also loaded in ArrowEffects::Init. * Deduplicated Beat mod update logic. The logic is now placed into a function called UpdateBeat. The m_fBeatFactor members are now a 1D array, similar to m_MaxTornado and m_MinTornado.
This commit is contained in:
@@ -210,16 +210,33 @@ TipsyArrowMagnitude=0.4
|
||||
TipsyOffsetTimerFrequency=1.2
|
||||
TipsyOffsetColumnFrequency=2
|
||||
TipsyOffsetArrowMagnitude=0.4
|
||||
TornadoPositionScaleToLow=-1
|
||||
TornadoPositionScaleToHigh=1
|
||||
TornadoOffsetFrequency=6
|
||||
TornadoOffsetScaleFromLow=-1
|
||||
TornadoOffsetScaleFromHigh=1
|
||||
TornadoXPositionScaleToLow=-1
|
||||
TornadoXPositionScaleToHigh=1
|
||||
TornadoXOffsetFrequency=6
|
||||
TornadoXOffsetScaleFromLow=-1
|
||||
TornadoXOffsetScaleFromHigh=1
|
||||
TornadoYPositionScaleToLow=-1
|
||||
TornadoYPositionScaleToHigh=1
|
||||
TornadoYOffsetFrequency=6
|
||||
TornadoYOffsetScaleFromLow=-1
|
||||
TornadoYOffsetScaleFromHigh=1
|
||||
TornadoZPositionScaleToLow=-1
|
||||
TornadoZPositionScaleToHigh=1
|
||||
TornadoZOffsetFrequency=6
|
||||
TornadoZOffsetScaleFromLow=-1
|
||||
TornadoZOffsetScaleFromHigh=1
|
||||
DrunkColumnFrequency=0.2
|
||||
DrunkOffsetFrequency=10
|
||||
DrunkArrowMagnitude=0.5
|
||||
DrunkZColumnFrequency=0.2
|
||||
DrunkZOffsetFrequency=10
|
||||
DrunkZArrowMagnitude=0.5
|
||||
BeatOffsetHeight=15
|
||||
BeatPIHeight=2
|
||||
BeatYOffsetHeight=15
|
||||
BeatYPIHeight=2
|
||||
BeatZOffsetHeight=15
|
||||
BeatZPIHeight=2
|
||||
MiniPercentBase=0.5
|
||||
MiniPercentGate=1
|
||||
TinyPercentBase=0.5
|
||||
|
||||
Reference in New Issue
Block a user