Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
82 additions
and
0 deletions.
There are no files selected for viewing
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Camera Unchained | ||
|
||
[Battletech Mod][ModTek] Suppress forced camera movements. Simple focus on relevant events without blocking players ability to control camera. | ||
|
||
## Details | ||
Even with all camera settings disabled the game still takes away control of camera on certain events: | ||
- Sensor lock | ||
- Powering up | ||
- Standing up | ||
- Death | ||
- Melee | ||
|
||
This mod prevents that and will (by default, configurable) replace these forced camera movements with a simple focus on the relevant position (without disabling control or randomly changing rotation). | ||
Some less intrusive camera events are whitelisted (by default, configurable), such as the initial objective focus, artillery cams and the mission ending ride. | ||
|
||
### Full list of events that are supressed | ||
You can play around with these and add some to the whitelist in settings if you like: | ||
- "BattleTech.ActiveProbeSequence.FireWave" | ||
- "BattleTech.ActorMovementSequence.OnBlipAcquired" | ||
- "BattleTech.ActorMovementSequence.OnPlayerVisChanged" | ||
- "BattleTech.ActorMovementSequence.ShowCamera" | ||
- "BattleTech.ArtilleryObjectiveSequence.SetState" | ||
- "BattleTech.ArtillerySequence.SetState" | ||
- "BattleTech.AttackStackSequence.OnActorDestroyed" | ||
- "BattleTech.AttackStackSequence.OnAttackBegin" | ||
- "BattleTech.AttackStackSequence.OnChildSequenceAdded" | ||
- "BattleTech.MechDFASequence.BuildMeleeDirectorSequence" | ||
- "BattleTech.MechDFASequence.BuildWeaponDirectorSequence" | ||
- "BattleTech.MechDFASequence.OnAdded" | ||
- "BattleTech.MechDisplacementSequence.ShowCamera" | ||
- "BattleTech.MechJumpSequence.ShowCamera" | ||
- "BattleTech.MechMeleeSequence.BuildMeleeDirectorSequence" | ||
- "BattleTech.MechMeleeSequence.BuildWeaponDirectorSequence" | ||
- "BattleTech.MechMeleeSequence.FireWeaponsFinal" | ||
- "BattleTech.MechMeleeSequence.OnAdded" | ||
- "BattleTech.MechMortarSequence.SetState" | ||
- "BattleTech.MechStandSequence.OnAdded" | ||
- "BattleTech.MechStartupSequence.OnAdded" | ||
- "BattleTech.MissionEndSequence.ShowCamera" | ||
- "BattleTech.MultiSequence.FocusCamera" | ||
- "BattleTech.SensorLockSequence.OnAdded" | ||
- "BattleTech.ShowActorInfoSequence.OnChildSequenceAdded" | ||
- "BattleTech.ShowActorInfoSequence.SetState" | ||
- "BattleTech.StrafeSequence.SetState" | ||
|
||
## Thanks | ||
* pardeike | ||
* HBS |
6 changes: 6 additions & 0 deletions
6
CameraUnchained/StreamingAssets/data/constants/CombatGameConstants.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"CameraConstants": { | ||
"MinAngle": 5.0, | ||
"MaxAngle": 85.0 | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"Name": "CameraUnchained", | ||
"Enabled": true, | ||
|
||
"Version": "1.9.1-001R", | ||
"Description": "Suppress forced camera movements. Simple focus on relevant events without blocking players ability to control camera.", | ||
"Author": "Mad", | ||
|
||
"DLL": "CameraUnchained.dll", | ||
|
||
"Settings": { | ||
"EventWhitelist": [ | ||
"BattleTech.ArtilleryObjectiveSequence.SetState", | ||
"BattleTech.ArtillerySequence.SetState", | ||
"BattleTech.MechMortarSequence.SetState", | ||
"BattleTech.MissionEndSequence.ShowCamera", | ||
"BattleTech.MultiSequence.FocusCamera", | ||
"BattleTech.StrafeSequence.SetState" | ||
], | ||
"FocusOnStandingUp": true, | ||
"FocusOnPoweringUp": true, | ||
"FocusOnMovement": true, | ||
"FocusOnSensorLock": true, | ||
"FocusOnMeleeTarget": true, | ||
"FocusOnRangedTarget": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
{"Enabled":true} |