mirror of
https://github.com/sp-tarkov/modules.git
synced 2025-02-13 09:50:43 -05:00
Todo: * Make the UI notifications for BTR-related stuff appear, e.g. when BTR is about to depart * Prevent player from entering BTR when it is hostile to the player * Implement cover fire trader service * Finish implementation of taxi service * Finetune the turret machine gun shooting (it might need some pauses as it will shoot nonstop if it is aiming at you) Co-authored-by: Nympfonic <arys.steam@gmail.com> Reviewed-on: SPT-AKI/Modules#56 Co-authored-by: Arys <arys@noreply.dev.sp-tarkov.com> Co-committed-by: Arys <arys@noreply.dev.sp-tarkov.com>
49 lines
1.6 KiB
C#
49 lines
1.6 KiB
C#
using System;
|
|
using Aki.Common;
|
|
using Aki.Debugging.BTR.Patches;
|
|
using Aki.Debugging.Patches;
|
|
using BepInEx;
|
|
|
|
namespace Aki.Debugging
|
|
{
|
|
[BepInPlugin("com.spt-aki.debugging", "AKI.Debugging", AkiPluginInfo.PLUGIN_VERSION)]
|
|
public class AkiDebuggingPlugin : BaseUnityPlugin
|
|
{
|
|
public void Awake()
|
|
{
|
|
Logger.LogInfo("Loading: Aki.Debugging");
|
|
|
|
try
|
|
{
|
|
new EndRaidDebug().Enable();
|
|
// new CoordinatesPatch().Enable();
|
|
// new StaticLootDumper().Enable();
|
|
new BTRPathLoadPatch().Enable();
|
|
new BTRActivateTraderDialogPatch().Enable();
|
|
new BTRInteractionPatch().Enable();
|
|
new BTRExtractPassengersPatch().Enable();
|
|
new BTRBotAttachPatch().Enable();
|
|
new BTRBotInitPatch().Enable();
|
|
new BTRReceiveDamageInfoPatch().Enable();
|
|
new BTRTurretCanShootPatch().Enable();
|
|
new BTRTurretDefaultAimingPositionPatch().Enable();
|
|
new BTRIsDoorsClosedPath().Enable();
|
|
new BTRPatch().Enable();
|
|
new BTRTransferItemsPatch().Enable();
|
|
new BTREndRaidItemDeliveryPatch().Enable();
|
|
|
|
// Debug command patches, can be disabled later
|
|
new BTRDebugCommandPatch().Enable();
|
|
new BTRDebugDataPatch().Enable();
|
|
}
|
|
catch (Exception ex)
|
|
{
|
|
Logger.LogError($"{GetType().Name}: {ex}");
|
|
throw;
|
|
}
|
|
|
|
Logger.LogInfo("Completed: Aki.Debugging");
|
|
}
|
|
}
|
|
}
|