Skip to content

Commit

Permalink
Merge pull request #4 from Rbn3D/v3-integration
Browse files Browse the repository at this point in the history
V3 Integration
  • Loading branch information
Rbn3D authored May 4, 2019
2 parents 6a2d797 + 9fff215 commit 8c541b0
Show file tree
Hide file tree
Showing 4 changed files with 362 additions and 41 deletions.
14 changes: 14 additions & 0 deletions CustomCameraVPlus.ini
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,10 @@ lookRightAngle = 90.0
# Set to 1 to enable, 0 to disable
InertiaAffectsPitch = 0

SmartHeading = 1
SmartHeadingIntensity = 1.0


[1stPersonView]
fov = 75.0

Expand All @@ -43,6 +47,16 @@ InertiaEffects = 1
# Set to 1 to enable, 0 to disable
GetInputFromGearsAsi = 1

# Which camera will be used by default?
# Possible values (number):
# 0 => First Person Camera
# 1 => Third Person Camera "Smooth" (Legacy)
# 2 => Thrid Person Camera "Racing" (New)
#
# You can also switch camera while playing by pressing "V" (or other key mapped to switch cameras)
# Any values below 0 or above 2 will be clamped to the nearest valid number
DefaultCamera = 2


[input]

Expand Down
6 changes: 3 additions & 3 deletions CustomCameraVPlus.vcxproj
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Release|x64'" Label="Configuration">
<ConfigurationType>DynamicLibrary</ConfigurationType>
<UseDebugLibraries>false</UseDebugLibraries>
<PlatformToolset>v141</PlatformToolset>
<PlatformToolset>v142</PlatformToolset>
<WholeProgramOptimization>true</WholeProgramOptimization>
<CharacterSet>MultiByte</CharacterSet>
</PropertyGroup>
Expand Down Expand Up @@ -72,10 +72,10 @@
<EnableCOMDATFolding>true</EnableCOMDATFolding>
<OptimizeReferences>true</OptimizeReferences>
<AdditionalOptions>..\..\lib\ScriptHookV.lib %(AdditionalOptions)</AdditionalOptions>
<AdditionalDependencies>E:\Trabajo\Dev\ScriptHookV_SDK_1.0.617.1a\inc\gainput\build\lib\Debug\gainput-d.lib;xinput.lib;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.16299.0\um\x64\WS2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
<AdditionalDependencies>D:\Trabajo\Dev\ScriptHookV_SDK_1.0.617.1a\inc\gainput\build\lib\Debug\gainput-d.lib;xinput.lib;C:\Program Files (x86)\Windows Kits\10\Lib\10.0.17763.0\um\x64\WS2_32.lib;%(AdditionalDependencies)</AdditionalDependencies>
</Link>
<PostBuildEvent>
<Command>copy "$(TargetPath)" "E:\SteamLibrary\steamapps\common\Grand Theft Auto V\$(ProjectName).asi"</Command>
<Command>copy "$(TargetPath)" "D:\SteamLibrary\steamapps\common\Grand Theft Auto V\$(ProjectName).asi"</Command>
</PostBuildEvent>
</ItemDefinitionGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
Expand Down
9 changes: 8 additions & 1 deletion changelog.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@

1.6.0

* New third person camera! Racing oriented, so now you can switch between 3 cameras: 1st person, 3rd person smooth (legacy), and 3rd person racing (new)
* Ability to select the default camera via settings .ini file (Default camera now is 3rd person racing, but you can set it back to 3rd person smooth or 1st person)
* Other minor enhancements

1.5.0

* More natural and "elastic" cam behaviour in 3rd person. Reworked algorithm.
Expand Down Expand Up @@ -32,7 +39,7 @@
* Added a sensibility setting for both gamepad/mouse (via INI file).
* Fixed an error where camera wasn't taking towed vehicle/trailer distance into account (this happened only in v1.0).

1.0:
1.0

* Reworked 3rd person camera algorithm (completely rewritten)
* 3rd person camera rotation doesn't get affected by suspension bounciness
Expand Down
Loading

0 comments on commit 8c541b0

Please sign in to comment.