添加飞机反转鼠标配置选项
This commit is contained in:
parent
621c9eafe1
commit
f80ea1b05d
3 changed files with 8 additions and 0 deletions
|
@ -1,5 +1,6 @@
|
||||||
package com.atsuishio.superbwarfare.mixins;
|
package com.atsuishio.superbwarfare.mixins;
|
||||||
|
|
||||||
|
import com.atsuishio.superbwarfare.config.client.VehicleControlConfig;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.Ah6Entity;
|
import com.atsuishio.superbwarfare.entity.vehicle.Ah6Entity;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.ICannonEntity;
|
import com.atsuishio.superbwarfare.entity.vehicle.ICannonEntity;
|
||||||
import com.atsuishio.superbwarfare.entity.vehicle.Lav150Entity;
|
import com.atsuishio.superbwarfare.entity.vehicle.Lav150Entity;
|
||||||
|
@ -44,6 +45,9 @@ public class MouseHandlerMixin {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (player.getVehicle() instanceof Ah6Entity ah6Entity && !ah6Entity.onGround() && ah6Entity.getFirstPassenger() == player) {
|
if (player.getVehicle() instanceof Ah6Entity ah6Entity && !ah6Entity.onGround() && ah6Entity.getFirstPassenger() == player) {
|
||||||
|
if (VehicleControlConfig.INVERT_AIRCRAFT_CONTROL.get()) {
|
||||||
|
// TODO 开启反转时,反转玩家垂直视角
|
||||||
|
}
|
||||||
return 0.3;
|
return 0.3;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -476,6 +476,8 @@
|
||||||
"config.superbwarfare.client.display.camera_rotate.des": "Slightly shaky view when holding a firearm in your hand",
|
"config.superbwarfare.client.display.camera_rotate.des": "Slightly shaky view when holding a firearm in your hand",
|
||||||
"config.superbwarfare.client.display.armor_plate_hud": "Armor Plate HUD",
|
"config.superbwarfare.client.display.armor_plate_hud": "Armor Plate HUD",
|
||||||
"config.superbwarfare.client.display.armor_plate_hud.des": "Display the durability of the bulletproof insert currently equipped on the chest armor in the lower left corner when turned on",
|
"config.superbwarfare.client.display.armor_plate_hud.des": "Display the durability of the bulletproof insert currently equipped on the chest armor in the lower left corner when turned on",
|
||||||
|
"config.superbwarfare.client.display.invert_aircraft_control": "Invert Aircraft Control",
|
||||||
|
"config.superbwarfare.client.display.invert_aircraft_control.des": "Set TRUE to invert aircraft control",
|
||||||
|
|
||||||
"config.superbwarfare.common.gameplay": "Gameplay Config",
|
"config.superbwarfare.common.gameplay": "Gameplay Config",
|
||||||
"config.superbwarfare.common.gameplay.respawn_reload": "Respawn Reload",
|
"config.superbwarfare.common.gameplay.respawn_reload": "Respawn Reload",
|
||||||
|
|
|
@ -476,6 +476,8 @@
|
||||||
"config.superbwarfare.client.display.camera_rotate.des": "手持枪械时,视角会出现轻微的摇晃",
|
"config.superbwarfare.client.display.camera_rotate.des": "手持枪械时,视角会出现轻微的摇晃",
|
||||||
"config.superbwarfare.client.display.armor_plate_hud": "防弹插板信息",
|
"config.superbwarfare.client.display.armor_plate_hud": "防弹插板信息",
|
||||||
"config.superbwarfare.client.display.armor_plate_hud.des": "开启时,在屏幕左下角显示当前胸甲装备的防弹插板的耐久",
|
"config.superbwarfare.client.display.armor_plate_hud.des": "开启时,在屏幕左下角显示当前胸甲装备的防弹插板的耐久",
|
||||||
|
"config.superbwarfare.client.display.invert_aircraft_control": "飞行器鼠标反转",
|
||||||
|
"config.superbwarfare.client.display.invert_aircraft_control.des": "开启飞行器鼠标反转",
|
||||||
|
|
||||||
"config.superbwarfare.common.gameplay": "游戏内容配置",
|
"config.superbwarfare.common.gameplay": "游戏内容配置",
|
||||||
"config.superbwarfare.common.gameplay.respawn_reload": "重生换弹",
|
"config.superbwarfare.common.gameplay.respawn_reload": "重生换弹",
|
||||||
|
|
Loading…
Add table
Reference in a new issue