'Real' Shake
Posted: 08-07-2006 03:34
i've implemented the realshake i suggested earlier
(this is written for 2.4e)
What
the real-shake is a mix of two effects (see below for short description). shots won't get the overcharge effect by shake, so the ball flies just where you're aiming at. (reducing the shotspeed might be a good idea though...)
Install/Use
if you want to test it put files of http://pickitup.ath.cx/stuff/RealShake.zip into db/sytem,
start a dodge deathball botmatch and make sure in game options "move view when hit" is enabled. (it's all the way down)
next just get a bot to hit you while carrying the ball
Configuration
i didn't really fine-tune realshake's configuration but you can view/change the settings with "get/set db_dodgeplayer variable value" - or edit them in the offside.ini (probably in ut/system, ut or map will need a restart then)
variables (values): description [default]
- bHitEight (true/false): disables/enables "eight"-effect (view is moved in a tilt over eight like shape) [true]
- Freq (number > 0): number of "eights" per second [2]
- Amp (number): size of the "eight" [32000]
- bHitSwing (true/false): disables/enables "swing"-effect (turns the view into a random direction) [true]
- Damp (number < 0): damping of the "swing" (swing = e^(damp*x)*Rotator) [-0.9]
smaller numbers reduce the swing-effect faster
- Swingamp (number): strength of the "swing" [65536]
examples: (server admins will need to log in and put an admin in front of each line)
those changes might just get applied after a respawn or map restart.
ps: ye, i know that the files in RealShake.zip are called DB_Offside.*

What
the real-shake is a mix of two effects (see below for short description). shots won't get the overcharge effect by shake, so the ball flies just where you're aiming at. (reducing the shotspeed might be a good idea though...)
Install/Use
if you want to test it put files of http://pickitup.ath.cx/stuff/RealShake.zip into db/sytem,
start a dodge deathball botmatch and make sure in game options "move view when hit" is enabled. (it's all the way down)
next just get a bot to hit you while carrying the ball

Configuration
i didn't really fine-tune realshake's configuration but you can view/change the settings with "get/set db_dodgeplayer variable value" - or edit them in the offside.ini (probably in ut/system, ut or map will need a restart then)
variables (values): description [default]
- bHitEight (true/false): disables/enables "eight"-effect (view is moved in a tilt over eight like shape) [true]
- Freq (number > 0): number of "eights" per second [2]
- Amp (number): size of the "eight" [32000]
- bHitSwing (true/false): disables/enables "swing"-effect (turns the view into a random direction) [true]
- Damp (number < 0): damping of the "swing" (swing = e^(damp*x)*Rotator) [-0.9]
smaller numbers reduce the swing-effect faster
- Swingamp (number): strength of the "swing" [65536]
examples: (server admins will need to log in and put an admin in front of each line)
Code: Select all
>get db_dodgeplayer Freq
2.0
>set db_dodgeplayer Damp -0.1
>set db_dodgeplayer bHitSwing false
ps: ye, i know that the files in RealShake.zip are called DB_Offside.*
