How to store shortcut keys for mod tasks? I want to set shortcut key for human_input__cameraNext

I already learn how to make a vehicle camera with FPS and TPS switchable similar to War Thunder in the game,

But I can’t yet save the value of human_input__cameraNext


Although we don’t need a TPS lens in the 200m CQC style minimap. But I think we should enable him in the mod, this is like the infantry version of War Thunder history mode in the player’s dream, the third person flying view allows the player to enjoy the game and the scenery very well.

Currently I can only choose between TPS or FPS, I prefer TPS for my mod, because the game experience is more unique.

But it would be great if developer team can let the players could switch between the two cameras. as what player can do in the CRSED.



entities.blk, and you also need to set the human_input__cameraNext to the keyborad code you want in the editor runtime. I set it to 71 (Y key)

big_action_plane_tps_cam{
  _extends:t="plane_tps_cam"
  shooter_cam__blk:t="%ugm/data/cameras/planecam_tps.blk"
  zfar:r=60000.0
  bindToVehicle:b=no
}

plane{
  _override:b=yes
  camera__lookLimitAngles:p4=-180.0, 180.0, -85.0, 85.0

  "camNames:array"{
    camNames:t="big_action_plane_tps_cam"
    camNames:t="plane_fps_cam"
  }

  "hasTurretCrosshair:b"{
    _tags:t="gameClient"
    value:b=yes
  }
}
3 Likes