[REL] Drone Camera Plugin

Discussion in 'Other' started by Gerald Jacobson, Nov 5, 2014.

  1. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    Download the last version of the Drone Camera Plugin

    Description
    Here a plugin allowing you to use several controller to control freelly the camera around the track - you need to be in the FreeLook mode (by default the throttle & break of your wheel and an Xbox 360 controller)

    The goal is to allow people to enhance broadcast, track presentation, etc...

    Installation
    - Copy rF2DroneCameraPlugin.dll (32bit) under <rF2Core>/Bin32/Plugins
    - Copy rF2DroneCameraPlugin_x64.dll (64bit) under <rF2Core>/Bin64/Plugins
    - Copy the rF2DroneCameraPlugin.ini directory in the <rF2Data>/UserData/<profile>
    ... This means for the player profile, the main ini file will be at "<rF2Data>/UserData/player/rF2DroneCameraPlugin.ini"

    Configuration
    The ini file is created for a G27 / XBOX 360 controllers. If you have different(s) controller(s), please update the ini to replace controller name(s) by yours.

    Additionnally i recomend you to update your Controller.JSON and put those values:
    Code:
        "Freelook Keyboard Pitch Accel":10,
        "Freelook Keyboard Pitch Accel#":"Freelook pitch acceleration when using keyboard.",
        "Freelook Keyboard Pitch Decel":10,
        "Freelook Keyboard Pitch Decel#":"Freelook pitch deceleration when using keyboard.",
        "Freelook Keyboard Pitch Speed":1,
        "Freelook Keyboard Pitch Speed#":"Freelook pitch speed when using keyboard.",
        "Freelook Keyboard Yaw Accel":10,
        "Freelook Keyboard Yaw Accel#":"Freelook Yaw acceleration when using keyboard.",
        "Freelook Keyboard Yaw Decel":10,
        "Freelook Keyboard Yaw Decel#":"Freelook Yaw deceleration when using keyboard.",
        "Freelook Keyboard Yaw Speed":1,
        "Freelook Keyboard Yaw Speed#":"Freelook yaw speed when using keyboard.",
    
    Usage
    - By default, it use the throttle & break to up and down the camera and a gamepad for all other command. (the XBOX A button is used to toggle the drone commands)


    Here a quick example


    Note: If you use it,like it and want/can, you can Donate to support.
    Thank you
     
    Last edited by a moderator: Nov 6, 2014
  2. GauchoRS

    GauchoRS Registered

    Joined:
    Nov 23, 2011
    Messages:
    471
    Likes Received:
    9
    You are surprising me, innovating and enhancing all aspects of simracing!
    Thank you sooo much !
     
  3. alpha-bravo

    alpha-bravo Registered

    Joined:
    Dec 22, 2012
    Messages:
    1,374
    Likes Received:
    31
    Know I have a reason to reactivate the xbox controller :) thanks Gerald !
     
  4. Maug

    Maug Registered

    Joined:
    Mar 16, 2012
    Messages:
    290
    Likes Received:
    4
    Looks cool i will try that. Does it work in replays?
     
  5. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    Vcr replay function does not load any plugins. In instant replay it should work.
     
  6. Maug

    Maug Registered

    Joined:
    Mar 16, 2012
    Messages:
    290
    Likes Received:
    4
    Ok thanks.
     
  7. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    And me i want to thank the community and ISI as ideas generally does not come from me :)
     
  8. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    v1.1 Available

    - Add a log file (DebugMode=1) who will log information needed to debug and you will also find your controller names.
    - Now the camera can be managed in fullscreen monitor
    - each command can now be mapped to a button or an axis

    Note: Don't forget to update DeadZone and Speed.Factor if it is not enough smoothy.

     
    Last edited by a moderator: Nov 6, 2014
  9. Mulero

    Mulero Registered

    Joined:
    Jan 16, 2012
    Messages:
    351
    Likes Received:
    153
    Thank you very much for another excellent plugin Gerald. One question, how I can reverse the axis? I tried inverting the values of Axis.Range, but I just got a CTD.
     
  10. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    for example, if you want to invert PitchUp & PitchDown, put Axis.Range=Positive in "PitchDown" and Axis.Range=Negative in "PitchUp"
     
  11. Mulero

    Mulero Registered

    Joined:
    Jan 16, 2012
    Messages:
    351
    Likes Received:
    153
    Thanks for the fast reply Gerald. That's what I had tried, but to finish loading the circuit the game closes.
     
  12. WiZPER

    WiZPER Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,517
    Likes Received:
    186
    Just watched your demo video quickly, is it correct that the audio will only be taken from where you started near the pits ?
     
  13. Mulero

    Mulero Registered

    Joined:
    Jan 16, 2012
    Messages:
    351
    Likes Received:
    153
    Sorry, I tried again and now it seems to work fine. It's weird, I've tried several times and I have ensured that either were successful, but I was always getting CTD.

    Thanks for the help Gerald and sorry for wasting your time .... :p
     
  14. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    I have asked ISI if they will be able to fix this. (sound stay computed compared to camera default position and not the current position)
     
  15. tjc

    tjc Registered

    Joined:
    Jun 4, 2012
    Messages:
    5,884
    Likes Received:
    405
    Awesome stuff Gerald. Many thanks for your work with this and rf2 in general.

    :cool:
     
  16. jerrymcc

    jerrymcc Registered

    Joined:
    Oct 5, 2010
    Messages:
    160
    Likes Received:
    35
    Gerald, what do you do for a living? You've really gotten the hang of making these plugins, and squeezing the most out of rF2.

    Thanks for all your effort.
     
  17. Gerald Jacobson

    Gerald Jacobson Registered

    Joined:
    Jan 26, 2013
    Messages:
    827
    Likes Received:
    18
    v1.2 Available
    - add smoothy effect when stoping to move the camera
    - Add an accelerator mapped to RB (button 6)
    - Add a decelerator mapped to LB (button 5)

    I'm a developer/architect who does not develop enough in my work :)
     
  18. WiZPER

    WiZPER Registered

    Joined:
    Oct 5, 2010
    Messages:
    1,517
    Likes Received:
    186
    That was what I expected, but good you have requested a fix from ISI :)
     
  19. Corti

    Corti Registered

    Joined:
    Sep 29, 2014
    Messages:
    1,363
    Likes Received:
    2,530
    Gerald Great work, thank you for sharing all these addons.
     
  20. hamiltonfan2205

    hamiltonfan2205 Registered

    Joined:
    Feb 2, 2013
    Messages:
    506
    Likes Received:
    5
    For some reason it will not work, i followed the instructions
     

Share This Page