Forum Discussion

🚨 This forum is archived and read-only. To submit a forum post, please visit our new Developer Forum. 🚨
CHADALAK1's avatar
CHADALAK1
Explorer
12 years ago

Cannot see weapon?

i'm having issues being able to see my first person weapon mesh when I put on the rift :/. any ideas what i am missing
?

3 Replies

Replies have been turned off for this discussion
  • Goto UDK Installation folder \Engine\config\BaseEngine.ini

    Down at the very bottom is the Oculus setings, and stereo 3d settings.
    Change bHideGun=True to bHideGun=False.

    That did it for me, however the gun (default UTGame gun) Is crazy long in the rift, and looks like its mounted to your face.
    Below are all the settings related to the Rift in the UDK baseEngine.ini Playwith at your own risk, as im not a UDK expert, and have no idea what might happen.
    I wonder what the HudDepth does.. HMMMM.


    [Engine.Stereo3D]
    bEnabled=False
    EyeDistance=0.062600
    HudDepth=3000
    bOverrideFov=False
    CrosshairOffset=1280
    bVisibilityTestBothViews=True
    bOverrideRecenter=False
    bOverride2D=False
    FrustumOffset=0.000000
    MovieWidth=400
    MovieDepth=100

    [Engine.Oculus]
    bEnableHud=True
    bDisableControllerPitch=True
    bHideGun=True
    bDisableDeathAnims=True
    EyePosInHead=(X=12.600000,Y=0.000000,Z=7.000000)
    bDisableMomentum=True
    bUseDotCrosshair=True
    CrosshairAlpha=64
    CrosshairSize=6
    CrosshairMinDistance=180
    YawMult=1.000000
    AccelGain=0.050000
    MotionPrediction=0.020
    MotionPredictionMode=2
    bDisableWalkBob=False
    bUpdateOnRT=True
    MouseAimLimit=5461
    MouseAimPitchLimit=3641
    MouseAimMode=OMA_Normal
  • The same settings can be found in \ UDKGame\Config\UDKEngine.ini, I'm guessing you should change those settings instead of BaseEngine.ini. Also for the love of god don't turn on death animations, scared the hell out of me.
  • Thank you guys very much for the responses!!

    honestly, it's an easy fix if the gun placement and size is weird ^_^