1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
  2. Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

UE2 - UT2kX ShakeView

Discussion in 'Programming' started by Wail of Suicide, Apr 18, 2010.

  1. Wail of Suicide

    Wail of Suicide Member

    Joined:
    Apr 11, 2006
    Messages:
    738
    Likes Received:
    0
    Has anyone had any experience by default using any of the following PlayerController functions?:

    ShakeView
    ShakeViewEvent
    SetAmbientShake

    I've been attempting to create a weapon that will cause some shaking in the player's view when used, but I'm not having any luck when it comes to actually getting these effects to occur in game (or perhaps the effect is too subtle, even when using high values)?

    Here's an example of one of the calls I'm using (the values are a little extreme just to try and see if any noticeable effect will take place - doesn't seem so):

    Code:
    PlayerController(Other.Controller).ShakeView(vect(2500,2500,2500), vect(2500,2500,2500), 6, vect(1500,1500,1500), vect(2000,2000,2000), 10);
    I know that there are certain effects that can shake the players view and work online - Specifically I'm thinking of when getting damaged by certain high-damage weapons, players view can sometimes spin wildly. However I think the problem with this approach (which is IIRC achieved using the DamageShake function) is the duration is not independent of the effect's intensity, so any noticeable level of shake is also going to last awhile. Ideally for me the intensity of the shaking is independent of the time/duration.
     
    Last edited: Apr 18, 2010

Share This Page