GameCharacter clones a MSC human (bodymesh + skeleton, no scripts, physics or animation), puts it into its bind pose, aligns and scales it, and drives the bones every frame from the joint points of the existing MSCO figure (hip, knee, ankle, shoulder, elbow, hand, head pitch, torso lean) by rotating each limb from its rest direction. Limb bones are picked geometrically, so bone naming conventions do not matter. Variant per player id; console 'model classic|game' switches, the MSCO figure is the automatic fallback. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
152 lines
6.4 KiB
XML
152 lines
6.4 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<Project ToolsVersion="15.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
|
|
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
|
|
<PropertyGroup>
|
|
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration>
|
|
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
|
|
<ProjectGuid>{CE3FFBAB-946E-9569-CCAA-9CFA2D5C11F3}</ProjectGuid>
|
|
<OutputType>Library</OutputType>
|
|
<AppDesignerFolder>Properties</AppDesignerFolder>
|
|
<RootNamespace>MSCO</RootNamespace>
|
|
<AssemblyName>MSCO</AssemblyName>
|
|
<TargetFrameworkVersion>v3.5</TargetFrameworkVersion>
|
|
<FileAlignment>512</FileAlignment>
|
|
<TargetFrameworkProfile>Unity Full v3.5</TargetFrameworkProfile>
|
|
<LangVersion>13</LangVersion>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
|
|
<DebugSymbols>true</DebugSymbols>
|
|
<DebugType>full</DebugType>
|
|
<Optimize>false</Optimize>
|
|
<OutputPath>bin\Debug\</OutputPath>
|
|
<DefineConstants>DEBUG;TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
|
|
<DebugType>none</DebugType>
|
|
<Optimize>true</Optimize>
|
|
<OutputPath>bin\Release\</OutputPath>
|
|
<DefineConstants>TRACE</DefineConstants>
|
|
<ErrorReport>prompt</ErrorReport>
|
|
<WarningLevel>4</WarningLevel>
|
|
</PropertyGroup>
|
|
<ItemGroup>
|
|
<Reference Include="System" />
|
|
<Reference Include="System.Core" />
|
|
<Reference Include="System.Xml.Linq" />
|
|
<Reference Include="System.Data.DataSetExtensions" />
|
|
<Reference Include="System.Data" />
|
|
<Reference Include="System.Xml" />
|
|
<Reference Include="UnityEngine">
|
|
<HintPath>F:\SteamLibrary\steamapps\common\My Summer Car\mysummercar_Data\Managed\UnityEngine.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="MSCLoader">
|
|
<HintPath>F:\SteamLibrary\steamapps\common\My Summer Car\mysummercar_Data\Managed\MSCLoader.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="Newtonsoft.Json">
|
|
<HintPath>F:\SteamLibrary\steamapps\common\My Summer Car\mysummercar_Data\Managed\Newtonsoft.Json.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="Assembly-CSharp-firstpass">
|
|
<HintPath>F:\SteamLibrary\steamapps\common\My Summer Car\mysummercar_Data\Managed\Assembly-CSharp-firstpass.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="Assembly-CSharp">
|
|
<HintPath>F:\SteamLibrary\steamapps\common\My Summer Car\mysummercar_Data\Managed\Assembly-CSharp.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="cInput">
|
|
<HintPath>F:\SteamLibrary\steamapps\common\My Summer Car\mysummercar_Data\Managed\cInput.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="PlayMaker">
|
|
<HintPath>F:\SteamLibrary\steamapps\common\My Summer Car\mysummercar_Data\Managed\PlayMaker.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
<Reference Include="0Harmony">
|
|
<HintPath>F:\SteamLibrary\steamapps\common\My Summer Car\mysummercar_Data\Managed\0Harmony.dll</HintPath>
|
|
<Private>False</Private>
|
|
</Reference>
|
|
</ItemGroup>
|
|
<ItemGroup>
|
|
<Compile Include="MoneySync.cs" />
|
|
<Compile Include="WheelSpin.cs" />
|
|
<Compile Include="DamageSync.cs" />
|
|
<Compile Include="WorldVarSync.cs" />
|
|
<Compile Include="TrafficSync.cs" />
|
|
<Compile Include="HingeSync.cs" />
|
|
<Compile Include="ControlSync.cs" />
|
|
<Compile Include="Toasts.cs" />
|
|
<Compile Include="PlayerNeeds.cs" />
|
|
<Compile Include="Favorites.cs" />
|
|
<Compile Include="MpCommand.cs" />
|
|
<Compile Include="Commands.cs" />
|
|
<Compile Include="MscoLog.cs" />
|
|
<Compile Include="ItemSpawner.cs" />
|
|
<Compile Include="Cheats.cs" />
|
|
<Compile Include="InputLock.cs" />
|
|
<Compile Include="Overlays.cs" />
|
|
<Compile Include="SafetyPatches.cs" />
|
|
<Compile Include="SceneCache.cs" />
|
|
<Compile Include="UiTheme.cs" />
|
|
<Compile Include="VehicleStateSync.cs" />
|
|
<Compile Include="Branding.cs" />
|
|
<Compile Include="DiscordPresence.cs" />
|
|
<Compile Include="DoorSync.cs" />
|
|
<Compile Include="FsmSync.cs" />
|
|
<Compile Include="JoinLinks.cs" />
|
|
<Compile Include="LobbyUI.cs" />
|
|
<Compile Include="MenuHelper.cs" />
|
|
<Compile Include="MenuInputBlocker.cs" />
|
|
<Compile Include="MSCO.cs" />
|
|
<Compile Include="MultiplayerManager.cs" />
|
|
<Compile Include="NetSession.cs" />
|
|
<Compile Include="ObjectSync.cs" />
|
|
<Compile Include="Passenger.cs" />
|
|
<Compile Include="GameCharacter.cs" />
|
|
<Compile Include="SaveSync.cs" />
|
|
<Compile Include="ServerBrowser.cs" />
|
|
<Compile Include="SteamLobby.cs" />
|
|
<Compile Include="VehicleFx.cs" />
|
|
<Compile Include="WinHttp.cs" />
|
|
<Compile Include="WorldSync.cs" />
|
|
<EmbeddedResource Include="logo.png">
|
|
<LogicalName>MSCO.logo.png</LogicalName>
|
|
</EmbeddedResource>
|
|
<Compile Include="Properties\AssemblyInfo.cs" />
|
|
<Compile Include="RemotePlayer.cs" />
|
|
</ItemGroup>
|
|
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
|
|
<PropertyGroup>
|
|
<MSCMODSFOLDER>C:\Users\nico\Documents\MySummerCar\Mods</MSCMODSFOLDER>
|
|
<MWCMODSFOLDER>NONE</MWCMODSFOLDER>
|
|
<ABFOLDER>NONE</ABFOLDER>
|
|
<PostBuildEvent>
|
|
echo .
|
|
echo "== Running post build actions for configuration $(ConfigurationName)! ==="
|
|
|
|
IF "$(ConfigurationName)" == "Release" (
|
|
IF NOT "$(MSCMODSFOLDER)" == "NONE" (
|
|
copy "$(TargetPath)" "$(MSCMODSFOLDER)" /y
|
|
echo "Copied dll into MSC mods folder!"
|
|
)
|
|
IF NOT "$(MWCMODSFOLDER)" == "NONE" (
|
|
copy "$(TargetPath)" "$(MWCMODSFOLDER)" /y
|
|
echo "Copied dll into MWC mods folder!"
|
|
)
|
|
)
|
|
|
|
if "$(ConfigurationName)" == "Debug" (
|
|
copy "$(TargetPath)" "C:\Users\nico\Documents\MySummerCar\Mods" /y
|
|
copy "$(TargetDir)$(TargetName).pdb" "C:\Users\nico\Documents\MySummerCar\Mods" /y
|
|
cd "C:\Users\nico\Documents\MySummerCar\Mods"
|
|
call "C:\Users\nico\Documents\MySummerCar\Mods\debug.bat"
|
|
) ELSE (
|
|
copy "$(TargetPath)" "C:\Users\nico\Documents\MySummerCar\Mods\Mods" /y
|
|
)
|
|
</PostBuildEvent>
|
|
</PropertyGroup>
|
|
</Project> |