FAForever Forums
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Login
    The current pre-release of the client ("pioneer" in the version) is only compatible to itself. So you can only play with other testers. Please be aware!

    ShakeCamera

    Scheduled Pinned Locked Moved Modding & Tools
    3 Posts 2 Posters 94 Views 1 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      F19
      last edited by

      Hi!
      How off ShakeCamera? For all weapons set 0. For init effects and entity visial effect cannot.

      1. Option may save my eys if set 0?
        {
        title = "<LOC OPTIONS_CAMERA_SHAKE>Shake intensity",
        key = 'camera_shake_intensity',
        type = 'slider',
        set = function(key, value, startup)
        ConExecute("cam_ShakeMult " .. tostring(0.01 * value))
        end,
        default = 100,
        custom = {
        min = 0,
        max = 100,
        inc = 5,
        },
        },

      2. How revrinte C++ <==> Lua funcion
        --- Shake the camera. This is a method of entities rather than a global function because it takes
        --- the position of the entity as the epicenter where it shakes more.
        ---@param radius number distance from epicenter at which shaking falls off to min
        ---@param max number size of shaking in world units, when looking at epicenter
        ---@param min number size of shaking in world units, when at radius distance or farther
        ---@param duration number in seconds
        function Entity:ShakeCamera(radius, max, min, duration)
        end

      1 Reply Last reply Reply Quote 0
      • SaverS Offline
        Saver
        last edited by

        You can already turn it off in the game options, so why change it in the units?

        image.png

        auch mal fünf gerade sein lassen

        F 1 Reply Last reply Reply Quote 2
        • F Offline
          F19 @Saver
          last edited by

          @Saver Thank you! It enough.

          1 Reply Last reply Reply Quote 1

          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

          With your input, this post could be even better 💗

          Register Login
          • First post
            Last post