mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 01:50:45 -05:00
Disable BTR patches.Make raidmode local for scavs and pmcs
This commit is contained in:
parent
7cda91e0a8
commit
bfff4108f4
@ -59,22 +59,22 @@ namespace SPT.Custom
|
||||
new RagfairFeePatch().Enable();
|
||||
new ScavQuestPatch().Enable();
|
||||
new FixBrokenSpawnOnSandboxPatch().Enable();
|
||||
new BTRControllerInitPatch().Enable();
|
||||
new BTRPathLoadPatch().Enable();
|
||||
new BTRActivateTraderDialogPatch().Enable();
|
||||
new BTRInteractionPatch().Enable();
|
||||
new BTRExtractPassengersPatch().Enable();
|
||||
new BTRBotAttachPatch().Enable();
|
||||
new BTRReceiveDamageInfoPatch().Enable();
|
||||
new BTRTurretCanShootPatch().Enable();
|
||||
new BTRTurretDefaultAimingPositionPatch().Enable();
|
||||
new BTRIsDoorsClosedPath().Enable();
|
||||
new BTRPatch().Enable();
|
||||
new BTRTransferItemsPatch().Enable();
|
||||
new BTREndRaidItemDeliveryPatch().Enable();
|
||||
new BTRDestroyAtRaidEndPatch().Enable();
|
||||
new BTRVehicleMovementSpeedPatch().Enable();
|
||||
new BTRPathConfigMapPrefixPatch().Enable();
|
||||
//new BTRControllerInitPatch().Enable();
|
||||
//new BTRPathLoadPatch().Enable();
|
||||
//new BTRActivateTraderDialogPatch().Enable();
|
||||
//new BTRInteractionPatch().Enable();
|
||||
//new BTRExtractPassengersPatch().Enable();
|
||||
//new BTRBotAttachPatch().Enable();
|
||||
//new BTRReceiveDamageInfoPatch().Enable();
|
||||
//new BTRTurretCanShootPatch().Enable();
|
||||
//new BTRTurretDefaultAimingPositionPatch().Enable();
|
||||
//new BTRIsDoorsClosedPath().Enable();
|
||||
//new BTRPatch().Enable();
|
||||
//new BTRTransferItemsPatch().Enable();
|
||||
//new BTREndRaidItemDeliveryPatch().Enable();
|
||||
//new BTRDestroyAtRaidEndPatch().Enable();
|
||||
//new BTRVehicleMovementSpeedPatch().Enable();
|
||||
//new BTRPathConfigMapPrefixPatch().Enable();
|
||||
new ScavItemCheckmarkPatch().Enable();
|
||||
new ResetTraderServicesPatch().Enable();
|
||||
new CultistAmuletRemovalPatch().Enable();
|
||||
|
@ -117,6 +117,7 @@ namespace SPT.SinglePlayer.Patches.ScavMode
|
||||
|
||||
// Get fields from MainMenuController.cs
|
||||
var raidSettings = Traverse.Create(menuController).Field("raidSettings_0").GetValue<RaidSettings>();
|
||||
raidSettings.RaidMode = ERaidMode.Local;
|
||||
|
||||
// Find the private field of type `MatchmakerPlayerControllerClass`
|
||||
var matchmakerPlayersController = menuController.GetType()
|
||||
@ -143,6 +144,8 @@ namespace SPT.SinglePlayer.Patches.ScavMode
|
||||
raidSettings.WavesSettings.IsBosses = true;
|
||||
}
|
||||
|
||||
raidSettings.RaidMode = ERaidMode.Local;
|
||||
|
||||
// Set offline raid values
|
||||
_isLocalField.SetValue(menuController, raidSettings.Local);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user