forked from CWX/CWX-mods
updated to work with 3.0.0 and client 18106
This commit is contained in:
parent
f3f3c2cc9f
commit
210f5a5c2b
Binary file not shown.
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "BUSHWHACKER",
|
"name": "BUSHWHACKER",
|
||||||
"author": "CWX",
|
"author": "CWX",
|
||||||
"version": "1.0.0",
|
"version": "1.1.0",
|
||||||
"license": "NCSA",
|
"license": "NCSA",
|
||||||
"main": "package.js",
|
"main": "package.js",
|
||||||
"akiVersion": "2.3.1"
|
"akiVersion": "3.0.0"
|
||||||
}
|
}
|
||||||
|
|
@ -1,8 +1,9 @@
|
|||||||
<Project Sdk="Microsoft.NET.Sdk">
|
<Project Sdk="Microsoft.NET.Sdk">
|
||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net472</TargetFramework>
|
<TargetFramework>net472</TargetFramework>
|
||||||
<AssemblyName>CWX-BushWhacker</AssemblyName>
|
<AssemblyName>CWX-BushWhacker</AssemblyName>
|
||||||
|
<Version>1.1.0</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "DESHARPENER",
|
"name": "DESHARPENER",
|
||||||
"author": "CWX",
|
"author": "CWX",
|
||||||
"version": "1.2.1",
|
"version": "1.3.0",
|
||||||
"license": "NCSA",
|
"license": "NCSA",
|
||||||
"main": "package.js",
|
"main": "package.js",
|
||||||
"akiVersion": "2.3.1"
|
"akiVersion": "3.0.0"
|
||||||
}
|
}
|
||||||
|
|
@ -18,7 +18,7 @@ namespace DeSharpener
|
|||||||
"Set the sharpness value for your game to run at, " +
|
"Set the sharpness value for your game to run at, " +
|
||||||
"this will not change when using painkillers"
|
"this will not change when using painkillers"
|
||||||
);
|
);
|
||||||
new DeSharpener().Enable();
|
new SharpenPatch().Enable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -6,11 +6,11 @@ using System.Linq;
|
|||||||
|
|
||||||
namespace DeSharpener
|
namespace DeSharpener
|
||||||
{
|
{
|
||||||
public class DeSharpener : ModulePatch
|
public class SharpenPatch : ModulePatch
|
||||||
{
|
{
|
||||||
private static Type _targetType;
|
private static Type _targetType;
|
||||||
|
|
||||||
public DeSharpener()
|
public SharpenPatch()
|
||||||
{
|
{
|
||||||
_targetType = PatchConstants.EftTypes.Single(IsTargetType);
|
_targetType = PatchConstants.EftTypes.Single(IsTargetType);
|
||||||
}
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "MASTERKEY",
|
"name": "MASTERKEY",
|
||||||
"author": "CWX",
|
"author": "CWX",
|
||||||
"version": "1.1.2",
|
"version": "1.2.0",
|
||||||
"license": "NCSA",
|
"license": "NCSA",
|
||||||
"main": "package.js",
|
"main": "package.js",
|
||||||
"akiVersion": "2.3.1"
|
"akiVersion": "3.0.0"
|
||||||
}
|
}
|
||||||
|
|
@ -4,7 +4,7 @@
|
|||||||
<TargetFramework>net472</TargetFramework>
|
<TargetFramework>net472</TargetFramework>
|
||||||
<RootNamespace>CWX_MasterKey</RootNamespace>
|
<RootNamespace>CWX_MasterKey</RootNamespace>
|
||||||
<AssemblyName>CWX-MasterKey</AssemblyName>
|
<AssemblyName>CWX-MasterKey</AssemblyName>
|
||||||
<Version>1.1.0</Version>
|
<Version>1.2.0</Version>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
<ItemGroup>
|
<ItemGroup>
|
||||||
|
@ -4,7 +4,7 @@ using EFT;
|
|||||||
|
|
||||||
namespace CWX_MasterKey
|
namespace CWX_MasterKey
|
||||||
{
|
{
|
||||||
public class Patch : ModulePatch
|
public class GameWorldPatch : ModulePatch
|
||||||
{
|
{
|
||||||
protected override MethodBase GetTargetMethod()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
||||||
|
@ -8,7 +8,7 @@ namespace CWX_MasterKey
|
|||||||
{
|
{
|
||||||
private void Awake()
|
private void Awake()
|
||||||
{
|
{
|
||||||
new Patch().Enable();
|
new GameWorldPatch().Enable();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2,10 +2,7 @@
|
|||||||
|
|
||||||
<PropertyGroup>
|
<PropertyGroup>
|
||||||
<TargetFramework>net472</TargetFramework>
|
<TargetFramework>net472</TargetFramework>
|
||||||
<SignAssembly>False</SignAssembly>
|
<Version>2.3.0</Version>
|
||||||
<AssemblyOriginatorKeyFile>Key.snk</AssemblyOriginatorKeyFile>
|
|
||||||
<DelaySign>false</DelaySign>
|
|
||||||
<Version>3.0.0</Version>
|
|
||||||
<AssemblyName>CWX-WeatherPatcher</AssemblyName>
|
<AssemblyName>CWX-WeatherPatcher</AssemblyName>
|
||||||
</PropertyGroup>
|
</PropertyGroup>
|
||||||
|
|
||||||
|
Binary file not shown.
Binary file not shown.
@ -1,9 +1,9 @@
|
|||||||
{
|
{
|
||||||
"name": "WEATHERPATCHER",
|
"name": "WEATHERPATCHER",
|
||||||
"author": "CWX",
|
"author": "CWX",
|
||||||
"version": "2.2.3",
|
"version": "2.3.0",
|
||||||
"license": "NCSA",
|
"license": "NCSA",
|
||||||
"main": "package.js",
|
"main": "package.js",
|
||||||
"akiVersion": "2.3.1"
|
"akiVersion": "3.0.0"
|
||||||
}
|
}
|
||||||
|
|
@ -3,7 +3,7 @@ using System.Reflection;
|
|||||||
|
|
||||||
namespace CWX_WeatherPatcher
|
namespace CWX_WeatherPatcher
|
||||||
{
|
{
|
||||||
class CWX_WeatherPatch2 : ModulePatch // MAKES CHANGES TO CUSTOMGLOBALFOG
|
class CustomGlobalFogPatch : ModulePatch // MAKES CHANGES TO CUSTOMGLOBALFOG
|
||||||
{
|
{
|
||||||
protected override MethodBase GetTargetMethod()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
@ -3,15 +3,15 @@ using System.Reflection;
|
|||||||
|
|
||||||
namespace CWX_WeatherPatcher
|
namespace CWX_WeatherPatcher
|
||||||
{
|
{
|
||||||
class CWX_WeatherPatch1 : ModulePatch // MAKES CHANGES TO GClass1694 SMETHOD_0
|
class GClassPatch : ModulePatch // MAKES CHANGES TO GClass1694 SMETHOD_0
|
||||||
{
|
{
|
||||||
protected override MethodBase GetTargetMethod()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
||||||
return typeof(GClass1691).GetMethod("smethod_0", BindingFlags.NonPublic | BindingFlags.Static);
|
return typeof(GClass1697).GetMethod("smethod_0", BindingFlags.NonPublic | BindingFlags.Static);
|
||||||
}
|
}
|
||||||
|
|
||||||
[PatchPostfix]
|
[PatchPostfix]
|
||||||
private static void PatchPostfix(ref GClass1691 __result)
|
private static void PatchPostfix(ref GClass1697 __result)
|
||||||
{
|
{
|
||||||
__result.Cloudness = -1;
|
__result.Cloudness = -1;
|
||||||
__result.WindDirection = 8;
|
__result.WindDirection = 8;
|
@ -5,7 +5,7 @@ using EFT;
|
|||||||
|
|
||||||
namespace CWX_WeatherPatch
|
namespace CWX_WeatherPatch
|
||||||
{
|
{
|
||||||
public class CWX_WeatherPatch5 : ModulePatch
|
public class GameWorldPatch : ModulePatch
|
||||||
{
|
{
|
||||||
protected override MethodBase GetTargetMethod()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
@ -3,7 +3,7 @@ using System.Reflection;
|
|||||||
|
|
||||||
namespace CWX_WeatherPatcher
|
namespace CWX_WeatherPatcher
|
||||||
{
|
{
|
||||||
class CWX_WeatherPatch3 : ModulePatch // MAKES CHANGES TO LEVELSETTINGS
|
class LevelSettingsPatch : ModulePatch // MAKES CHANGES TO LEVELSETTINGS
|
||||||
{
|
{
|
||||||
protected override MethodBase GetTargetMethod()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
@ -11,11 +11,11 @@ namespace CWX_WeatherPatcher
|
|||||||
{
|
{
|
||||||
Logger.LogMessage("Loading: CWX-WeatherPatcher - V3.0.0");
|
Logger.LogMessage("Loading: CWX-WeatherPatcher - V3.0.0");
|
||||||
|
|
||||||
new CWX_WeatherPatch1().Enable();
|
new GClassPatch().Enable();
|
||||||
new CWX_WeatherPatch2().Enable();
|
new CustomGlobalFogPatch().Enable();
|
||||||
new CWX_WeatherPatch3().Enable();
|
new LevelSettingsPatch().Enable();
|
||||||
new CWX_WeatherPatch4().Enable();
|
new TOD_ScatteringPatch().Enable();
|
||||||
new CWX_WeatherPatch5().Enable();
|
new GameWorldPatch().Enable();
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void Fix()
|
public static void Fix()
|
||||||
|
@ -3,7 +3,7 @@ using System.Reflection;
|
|||||||
|
|
||||||
namespace CWX_WeatherPatcher
|
namespace CWX_WeatherPatcher
|
||||||
{
|
{
|
||||||
class CWX_WeatherPatch4 : ModulePatch // MAKES CHANGES TO TOD_SCATTERING FOG
|
class TOD_ScatteringPatch : ModulePatch // MAKES CHANGES TO TOD_SCATTERING FOG
|
||||||
{
|
{
|
||||||
protected override MethodBase GetTargetMethod()
|
protected override MethodBase GetTargetMethod()
|
||||||
{
|
{
|
Loading…
x
Reference in New Issue
Block a user