mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 14:29:25 +00:00
[NAK_CVR_Mods] Change every instance of "NotAKidOnSteam" to "NotAKidoS"
This commit is contained in:
parent
a6c030955e
commit
7f02d6811f
159 changed files with 711 additions and 294 deletions
13
InteractionTest/InteractionTest.csproj
Normal file
13
InteractionTest/InteractionTest.csproj
Normal file
|
@ -0,0 +1,13 @@
|
|||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<ItemGroup>
|
||||
<Reference Include="BTKUILib">
|
||||
<HintPath>..\.ManagedLibs\BTKUILib.dll</HintPath>
|
||||
</Reference>
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<None Remove="Resources\origin-shift-inactive.png" />
|
||||
<None Remove="Resources\origin-shift-forced.png" />
|
||||
<None Remove="Resources\origin-shift-active.png" />
|
||||
</ItemGroup>
|
||||
</Project>
|
36
InteractionTest/Main.cs
Normal file
36
InteractionTest/Main.cs
Normal file
|
@ -0,0 +1,36 @@
|
|||
using MelonLoader;
|
||||
|
||||
namespace NAK.InteractionTest;
|
||||
|
||||
public class InteractionTestMod : MelonMod
|
||||
{
|
||||
internal static MelonLogger.Instance Logger;
|
||||
|
||||
#region Melon Mod Overrides
|
||||
|
||||
public override void OnInitializeMelon()
|
||||
{
|
||||
Logger = LoggerInstance;
|
||||
|
||||
ApplyPatches(typeof(Patches.ControllerRayPatches));
|
||||
}
|
||||
|
||||
#endregion Melon Mod Overrides
|
||||
|
||||
#region Melon Mod Utilities
|
||||
|
||||
private void ApplyPatches(Type type)
|
||||
{
|
||||
try
|
||||
{
|
||||
HarmonyInstance.PatchAll(type);
|
||||
}
|
||||
catch (Exception e)
|
||||
{
|
||||
LoggerInstance.Msg($"Failed while patching {type.Name}!");
|
||||
LoggerInstance.Error(e);
|
||||
}
|
||||
}
|
||||
|
||||
#endregion Melon Mod Utilities
|
||||
}
|
7
InteractionTest/ModSettings.cs
Normal file
7
InteractionTest/ModSettings.cs
Normal file
|
@ -0,0 +1,7 @@
|
|||
using MelonLoader;
|
||||
|
||||
namespace NAK.InteractionTest;
|
||||
|
||||
internal static class ModSettings
|
||||
{
|
||||
}
|
17
InteractionTest/Patches.cs
Normal file
17
InteractionTest/Patches.cs
Normal file
|
@ -0,0 +1,17 @@
|
|||
|
||||
using ABI_RC.Core;
|
||||
using ABI_RC.Core.InteractionSystem;
|
||||
using HarmonyLib;
|
||||
using NAK.InteractionTest.Components;
|
||||
|
||||
namespace NAK.InteractionTest.Patches;
|
||||
|
||||
internal static class ControllerRayPatches
|
||||
{
|
||||
[HarmonyPostfix]
|
||||
[HarmonyPatch(typeof(ControllerRay), nameof(ControllerRay.Start))]
|
||||
private static void Postfix_BetterCharacterController_Start(ref ControllerRay __instance)
|
||||
{
|
||||
InteractionTracker.Setup(__instance.gameObject, __instance.hand == CVRHand.Left);
|
||||
}
|
||||
}
|
32
InteractionTest/Properties/AssemblyInfo.cs
Normal file
32
InteractionTest/Properties/AssemblyInfo.cs
Normal file
|
@ -0,0 +1,32 @@
|
|||
using NAK.InteractionTest.Properties;
|
||||
using MelonLoader;
|
||||
using System.Reflection;
|
||||
|
||||
[assembly: AssemblyVersion(AssemblyInfoParams.Version)]
|
||||
[assembly: AssemblyFileVersion(AssemblyInfoParams.Version)]
|
||||
[assembly: AssemblyInformationalVersion(AssemblyInfoParams.Version)]
|
||||
[assembly: AssemblyTitle(nameof(NAK.InteractionTest))]
|
||||
[assembly: AssemblyCompany(AssemblyInfoParams.Author)]
|
||||
[assembly: AssemblyProduct(nameof(NAK.InteractionTest))]
|
||||
|
||||
[assembly: MelonInfo(
|
||||
typeof(NAK.InteractionTest.InteractionTestMod),
|
||||
nameof(NAK.InteractionTest),
|
||||
AssemblyInfoParams.Version,
|
||||
AssemblyInfoParams.Author,
|
||||
downloadLink: "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/InteractionTest"
|
||||
)]
|
||||
|
||||
[assembly: MelonGame("Alpha Blend Interactive", "ChilloutVR")]
|
||||
[assembly: MelonPlatform(MelonPlatformAttribute.CompatiblePlatforms.WINDOWS_X64)]
|
||||
[assembly: MelonPlatformDomain(MelonPlatformDomainAttribute.CompatibleDomains.MONO)]
|
||||
[assembly: MelonColor(255, 125, 126, 129)]
|
||||
[assembly: MelonAuthorColor(255, 158, 21, 32)]
|
||||
[assembly: HarmonyDontPatchAll]
|
||||
|
||||
namespace NAK.InteractionTest.Properties;
|
||||
internal static class AssemblyInfoParams
|
||||
{
|
||||
public const string Version = "1.0.0";
|
||||
public const string Author = "NotAKidoS";
|
||||
}
|
52
InteractionTest/README.md
Normal file
52
InteractionTest/README.md
Normal file
|
@ -0,0 +1,52 @@
|
|||
# OriginShift
|
||||
|
||||
Experimental mod that allows world origin to be shifted to prevent floating point precision issues.
|
||||
|
||||
## Compromises
|
||||
- Steam Audio data cannot be shifted.
|
||||
- NavMesh data cannot be shifted.
|
||||
- Light Probe data cannot be shifted (until [unity 2022](https://docs.unity3d.com/2022.3/Documentation/Manual/LightProbes-Moving.html)).
|
||||
- Occlusion Culling data cannot be shifted.
|
||||
- When using "Forced" mode, occlusion culling is disabled.
|
||||
- Only 10k trail positions can be shifted per Trail Renderer (artificial limit).
|
||||
- Only 10k particle positions can be shifted per Particle System (artificial limit).
|
||||
- Potentially can fix by changing Particle System to Custom Simulation Space ? (untested)
|
||||
- World Constraints are not shifted.
|
||||
|
||||
## Known Issues
|
||||
- Mod Network is not yet implemented, so Compatibility Mode is required to play with others.
|
||||
- Portable Camera drone mode is not yet offset by the world origin shift.
|
||||
- Chunk threshold past 10 units will break Voice Chat with remote players in some cases (without Compatibility Mode).
|
||||
- This is because the voice server dictates who can hear who based on distance from each other and the world origin shift messes with that.
|
||||
- Teleports past 50k units will not work.
|
||||
- BetterBetterCharacterController prevents teleports past 50k units.
|
||||
- Magica Cloth.
|
||||
|
||||
## Mod Incompatibilities
|
||||
- PlayerRagdollMod will freak out when you ragdoll between chunk boundaries.
|
||||
|
||||
## Provided Components
|
||||
- `OriginShiftController` - World script to configure origin shift.
|
||||
- `OriginShiftEventReceiver` - Event receiver for OriginShift events.
|
||||
- `OriginShiftTransformReceiver` - Shifts the transform of the GameObject it is attached to.
|
||||
- `OriginShiftRigidbodyReceiver` - Shifts the rigidbody of the GameObject it is attached to.
|
||||
- `OriginShiftTrailRendererReceiver` - Shifts the positions of the Trail Renderer of the GameObject it is attached to.
|
||||
- `OriginShiftParticleSystemReceiver` - Shifts the positions of the Particle System of the GameObject it is attached to.
|
||||
|
||||
The provided receiver components are automatically added to Props, Players, and Object Syncs.
|
||||
|
||||
## Provided Shader Globals
|
||||
- `_OriginShiftChunkOffset` - The current amount of chunks offset from the origin.
|
||||
- `_OriginShiftChunkThreshold` - The size of a chunk in world units.
|
||||
- `_OriginShiftChunkPosition` - The chunk offset multiplied by the chunk threshold.
|
||||
|
||||
---
|
||||
|
||||
Here is the block of text where I tell you this mod is not affiliated with or endorsed by ABI.
|
||||
https://documentation.abinteractive.net/official/legal/tos/#7-modding-our-games
|
||||
|
||||
> This mod is an independent creation not affiliated with, supported by, or approved by Alpha Blend Interactive.
|
||||
|
||||
> Use of this mod is done so at the user's own risk and the creator cannot be held responsible for any issues arising from its use.
|
||||
|
||||
> To the best of my knowledge, I have adhered to the Modding Guidelines established by Alpha Blend Interactive.
|
23
InteractionTest/format.json
Normal file
23
InteractionTest/format.json
Normal file
|
@ -0,0 +1,23 @@
|
|||
{
|
||||
"_id": 211,
|
||||
"name": "RelativeSync",
|
||||
"modversion": "1.0.3",
|
||||
"gameversion": "2024r175",
|
||||
"loaderversion": "0.6.1",
|
||||
"modtype": "Mod",
|
||||
"author": "NotAKidoS",
|
||||
"description": "Relative sync for Movement Parent & Chairs. Requires both users to have the mod installed. Synced over Mod Network.\n\nProvides some Experimental settings to also fix local jitter on movement parents.",
|
||||
"searchtags": [
|
||||
"relative",
|
||||
"sync",
|
||||
"movement",
|
||||
"chair"
|
||||
],
|
||||
"requirements": [
|
||||
"None"
|
||||
],
|
||||
"downloadlink": "https://github.com/NotAKidoS/NAK_CVR_Mods/releases/download/r29/RelativeSync.dll",
|
||||
"sourcelink": "https://github.com/NotAKidoS/NAK_CVR_Mods/tree/main/RelativeSync/",
|
||||
"changelog": "- Enabled the Experimental settings to fix **local** jitter on Movement Parents by default\n- Adjusted BBCC No Interpolation fix to account for potential native fix (now respects initial value)",
|
||||
"embedcolor": "#507e64"
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue