fixing scripts

This commit is contained in:
KingMcDonalds
2025-02-01 18:26:13 -08:00
parent e926cdda0f
commit 1172d4d88b
27 changed files with 708 additions and 95 deletions
@@ -60,6 +60,23 @@ resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
data_file 'VEHICLE_VARIATION_FILE' 'data/EG-Sheriff/carvariations.meta'
data_file 'VEHICLE_LAYOUTS_FILE' 'data/EG-Sheriff/dlctext.meta'
-- 18charger
files {
'data/18charger/vehicles.meta',
'data/18charger/carvariations.meta',
'data/18charger/carcols.meta',
'data/18charger/handling.meta',
'data/18charger/vehiclelayouts.meta',
}
data_file 'HANDLING_FILE' 'data/18charger/handling.meta'
data_file 'VEHICLE_METADATA_FILE' 'data/18charger/vehicles.meta'
data_file 'CARCOLS_FILE' 'data/18charger/carcols.meta'
data_file 'VEHICLE_VARIATION_FILE' 'data/18charger/carvariations.meta'
data_file 'VEHICLE_LAYOUTS_FILE' 'data/18charger/dlctext.meta'
-- valor13rb
files {
'data/valor13rb/vehicles.meta',
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 MiB

@@ -0,0 +1,446 @@
<?xml version="1.0" encoding="UTF-8"?>
<!--Generated with Siren Tool Carcols Exporter-->
<!--https://dwnstr.com/sirentool-->
<CVehicleModelInfoVarGlobal>
<Sirens>
<Item>
<id value="7218"/>
<name>18charger</name>
<timeMultiplier value="1.00000000"/>
<lightFalloffMax value="80.00000000" />
<lightFalloffExponent value="52.00000000" />
<lightInnerConeAngle value="2.30000000" />
<lightOuterConeAngle value="70.00000000" />
<lightOffset value="0.00000000"/>
<textureName>VehicleLight_sirenlight</textureName>
<sequencerBpm value="1080"/>
<leftHeadLight>
<sequencer value="0"/>
</leftHeadLight>
<rightHeadLight>
<sequencer value="0"/>
</rightHeadLight>
<leftTailLight>
<sequencer value="0"/>
</leftTailLight>
<rightTailLight>
<sequencer value="0"/>
</rightTailLight>
<leftHeadLightMultiples value="1"/>
<rightHeadLightMultiples value="1"/>
<leftTailLightMultiples value="1"/>
<rightTailLightMultiples value="1"/>
<useRealLights value="true"/>
<sirens>
<!-- Siren 1 red front -->
<Item>
<rotation>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="3625649868"/>
<multiples value="1"/>
<direction value="false"/>
<syncToBpm value="true"/>
</rotation>
<flashiness>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="3625649868"/>
<multiples value="1"/>
<direction value="true"/>
<syncToBpm value="true"/>
</flashiness>
<corona>
<intensity value="1"/>
<size value="0.500"/>
<pull value="0.02000000"/>
<faceCamera value="false"/>
</corona>
<color value="0xFFFF0000"/>
<intensity value="0.250"/>
<lightGroup value="0"/>
<rotate value="false"/>
<scale value="true"/>
<scaleFactor value="100"/>
<flash value="true"/>
<light value="true"/>
<spotLight value="true"/>
<castShadows value="true"/>
</Item>
<!-- Siren 2 red front -->
<Item>
<rotation>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="56678451"/>
<multiples value="1"/>
<direction value="false"/>
<syncToBpm value="true"/>
</rotation>
<flashiness>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="56678451"/>
<multiples value="1"/>
<direction value="true"/>
<syncToBpm value="true"/>
</flashiness>
<corona>
<intensity value="1"/>
<size value="0.500"/>
<pull value="0.02000000"/>
<faceCamera value="false"/>
</corona>
<color value="0xFFFF0000"/>
<intensity value="0.250"/>
<lightGroup value="0"/>
<rotate value="false"/>
<scale value="true"/>
<scaleFactor value="100"/>
<flash value="true"/>
<light value="true"/>
<spotLight value="true"/>
<castShadows value="true"/>
</Item>
<!-- Siren 3 blue front -->
<Item>
<rotation>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="3627445275"/>
<multiples value="1"/>
<direction value="false"/>
<syncToBpm value="true"/>
</rotation>
<flashiness>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="3627445275"/>
<multiples value="1"/>
<direction value="true"/>
<syncToBpm value="true"/>
</flashiness>
<corona>
<intensity value="1"/>
<size value="0.500"/>
<pull value="0.02000000"/>
<faceCamera value="false"/>
</corona>
<color value="0xFF0000FF"/>
<intensity value="0.250"/>
<lightGroup value="0"/>
<rotate value="false"/>
<scale value="true"/>
<scaleFactor value="100"/>
<flash value="true"/>
<light value="true"/>
<spotLight value="true"/>
<castShadows value="true"/>
</Item>
<!-- Siren 4 blue front -->
<Item>
<rotation>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="113345376"/>
<multiples value="1"/>
<direction value="false"/>
<syncToBpm value="true"/>
</rotation>
<flashiness>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="113345376"/>
<multiples value="1"/>
<direction value="true"/>
<syncToBpm value="true"/>
</flashiness>
<corona>
<intensity value="1"/>
<size value="0.500"/>
<pull value="0.02000000"/>
<faceCamera value="false"/>
</corona>
<color value="0xFF0000FF"/>
<intensity value="0.250"/>
<lightGroup value="0"/>
<rotate value="false"/>
<scale value="true"/>
<scaleFactor value="100"/>
<flash value="true"/>
<light value="true"/>
<spotLight value="true"/>
<castShadows value="true"/>
</Item>
<!-- Siren 5 white front -->
<Item>
<rotation>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="831264966"/>
<multiples value="1"/>
<direction value="false"/>
<syncToBpm value="true"/>
</rotation>
<flashiness>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="831264966"/>
<multiples value="1"/>
<direction value="true"/>
<syncToBpm value="true"/>
</flashiness>
<corona>
<intensity value="1"/>
<size value="0.500"/>
<pull value="0.02000000"/>
<faceCamera value="false"/>
</corona>
<color value="0xFFFFFFFF"/>
<intensity value="0.250"/>
<lightGroup value="0"/>
<rotate value="false"/>
<scale value="true"/>
<scaleFactor value="100"/>
<flash value="true"/>
<light value="true"/>
<spotLight value="true"/>
<castShadows value="true"/>
</Item>
<!-- Siren 6 red back -->
<Item>
<rotation>
<delta value="3.14159265"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="2726952960"/>
<multiples value="1"/>
<direction value="false"/>
<syncToBpm value="true"/>
</rotation>
<flashiness>
<delta value="3.14159265"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="2726952960"/>
<multiples value="1"/>
<direction value="true"/>
<syncToBpm value="true"/>
</flashiness>
<corona>
<intensity value="1"/>
<size value="0.500"/>
<pull value="0.02000000"/>
<faceCamera value="false"/>
</corona>
<color value="0xFFFF0000"/>
<intensity value="0.250"/>
<lightGroup value="0"/>
<rotate value="false"/>
<scale value="true"/>
<scaleFactor value="100"/>
<flash value="true"/>
<light value="true"/>
<spotLight value="true"/>
<castShadows value="true"/>
</Item>
<!-- Siren 7 blue back -->
<Item>
<rotation>
<delta value="3.14159265"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="340787200"/>
<multiples value="1"/>
<direction value="false"/>
<syncToBpm value="true"/>
</rotation>
<flashiness>
<delta value="3.14159265"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="340787200"/>
<multiples value="1"/>
<direction value="true"/>
<syncToBpm value="true"/>
</flashiness>
<corona>
<intensity value="1"/>
<size value="0.500"/>
<pull value="0.02000000"/>
<faceCamera value="false"/>
</corona>
<color value="0xFF0000FF"/>
<intensity value="0.250"/>
<lightGroup value="0"/>
<rotate value="false"/>
<scale value="true"/>
<scaleFactor value="100"/>
<flash value="true"/>
<light value="true"/>
<spotLight value="true"/>
<castShadows value="true"/>
</Item>
<!-- Siren 8 red back -->
<Item>
<rotation>
<delta value="3.14159265"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="83220"/>
<multiples value="1"/>
<direction value="false"/>
<syncToBpm value="true"/>
</rotation>
<flashiness>
<delta value="3.14159265"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="83220"/>
<multiples value="1"/>
<direction value="true"/>
<syncToBpm value="true"/>
</flashiness>
<corona>
<intensity value="1"/>
<size value="0.500"/>
<pull value="0.02000000"/>
<faceCamera value="false"/>
</corona>
<color value="0xFFFF0000"/>
<intensity value="0.250"/>
<lightGroup value="0"/>
<rotate value="false"/>
<scale value="true"/>
<scaleFactor value="100"/>
<flash value="true"/>
<light value="true"/>
<spotLight value="true"/>
<castShadows value="true"/>
</Item>
<!-- Siren 9 blue back -->
<Item>
<rotation>
<delta value="3.14159265"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="10402"/>
<multiples value="1"/>
<direction value="false"/>
<syncToBpm value="true"/>
</rotation>
<flashiness>
<delta value="3.14159265"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="10402"/>
<multiples value="1"/>
<direction value="true"/>
<syncToBpm value="true"/>
</flashiness>
<corona>
<intensity value="1"/>
<size value="0.500"/>
<pull value="0.02000000"/>
<faceCamera value="false"/>
</corona>
<color value="0xFF0000FF"/>
<intensity value="0.250"/>
<lightGroup value="0"/>
<rotate value="false"/>
<scale value="true"/>
<scaleFactor value="100"/>
<flash value="true"/>
<light value="true"/>
<spotLight value="true"/>
<castShadows value="true"/>
</Item>
<!-- Siren 10 red front -->
<Item>
<rotation>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="2726963360"/>
<multiples value="1"/>
<direction value="false"/>
<syncToBpm value="true"/>
</rotation>
<flashiness>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="2726963360"/>
<multiples value="1"/>
<direction value="true"/>
<syncToBpm value="true"/>
</flashiness>
<corona>
<intensity value="1"/>
<size value="0.500"/>
<pull value="0.02000000"/>
<faceCamera value="false"/>
</corona>
<color value="0xFFFF0000"/>
<intensity value="0.250"/>
<lightGroup value="0"/>
<rotate value="false"/>
<scale value="true"/>
<scaleFactor value="100"/>
<flash value="true"/>
<light value="true"/>
<spotLight value="true"/>
<castShadows value="true"/>
</Item>
<!-- Siren 11 blue front -->
<Item>
<rotation>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="340870421"/>
<multiples value="1"/>
<direction value="false"/>
<syncToBpm value="true"/>
</rotation>
<flashiness>
<delta value="0.000000000"/>
<start value="0.00000000"/>
<speed value="1.000"/>
<sequencer value="340870421"/>
<multiples value="1"/>
<direction value="true"/>
<syncToBpm value="true"/>
</flashiness>
<corona>
<intensity value="1"/>
<size value="0.500"/>
<pull value="0.02000000"/>
<faceCamera value="false"/>
</corona>
<color value="0xFF0000FF"/>
<intensity value="0.250"/>
<lightGroup value="0"/>
<rotate value="false"/>
<scale value="true"/>
<scaleFactor value="100"/>
<flash value="true"/>
<light value="true"/>
<spotLight value="true"/>
<castShadows value="true"/>
</Item>
</sirens>
</Item>
</Sirens>
</CVehicleModelInfoVarGlobal>
@@ -0,0 +1,62 @@
<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfoVariation>
<variationData> <!-- Template made by McGinlay -->
<Item>
<modelName>18charger</modelName>
<colors>
<Item>
<indices content="char_array">
0
134
0
64
64
64
64
</indices>
<liveries>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
<Item value="false"/>
</liveries>
</Item>
</colors>
<kits>
<Item>0_default_modkit</Item>
</kits>
<windowsWithExposedEdges/>
<plateProbabilities>
<Probabilities>
<Item>
<Name>Police guv plate</Name>
<Value value="100"/>
</Item>
</Probabilities>
</plateProbabilities>
<lightSettings value="1"/>
<sirenSettings value="7218"/>
</Item>
</variationData>
</CVehicleModelInfoVariation>
@@ -0,0 +1,140 @@
<?xml version="1.0" encoding="UTF-8"?>
<CVehicleModelInfo__InitDataList>
<residentTxd>vehshare</residentTxd>
<residentAnims />
<InitDatas> <!-- Template made by McGinlay -->
<Item>
<modelName>18charger</modelName>
<txdName>18charger</txdName>
<handlingId>BUFFALO2</handlingId>
<gameName>18charger</gameName>
<vehicleMakeName />
<expressionDictName>null</expressionDictName>
<expressionName>null</expressionName>
<animConvRoofDictName>null</animConvRoofDictName>
<animConvRoofName>null</animConvRoofName>
<animConvRoofWindowsAffected />
<ptfxAssetName>null</ptfxAssetName>
<audioNameHash>lg81hcredeye</audioNameHash>
<layout>LAYOUT_STANDARD</layout>
<coverBoundOffsets>SHERIFF_COVER_OFFSET_INFO</coverBoundOffsets>
<explosionInfo>EXPLOSION_INFO_DEFAULT</explosionInfo>
<scenarioLayout />
<cameraName>DEFAULT_FOLLOW_VEHICLE_CAMERA</cameraName>
<aimCameraName>DEFAULT_THIRD_PERSON_VEHICLE_AIM_CAMERA</aimCameraName>
<bonnetCameraName>VEHICLE_BONNET_CAMERA_MID_HIGH</bonnetCameraName>
<povCameraName>DEFAULT_POV_CAMERA</povCameraName>
<FirstPersonDriveByIKOffset x="0.000000" y="-0.060000" z="-0.060000" />
<FirstPersonDriveByUnarmedIKOffset x="0.000000" y="0.-050000" z="-0.020000" />
<FirstPersonProjectileDriveByIKOffset x="0.000000" y="-0.075000" z="-0.045000" />
<FirstPersonProjectileDriveByPassengerIKOffset x="0.000000" y="-0.075000" z="-0.045000" />
<FirstPersonProjectileDriveByRearLeftIKOffset x="0.000000" y="0.020000" z="0.030000" />
<FirstPersonProjectileDriveByRearRightIKOffset x="0.000000" y="0.020000" z="0.030000" />
<FirstPersonDriveByLeftPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
<FirstPersonDriveByRightPassengerIKOffset x="0.000000" y="-0.060000" z="-0.060000" />
<FirstPersonDriveByRightRearPassengerIKOffset x="0.000000" y="0.000000" z="0.000000" />
<FirstPersonDriveByLeftPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
<FirstPersonDriveByRightPassengerUnarmedIKOffset x="0.000000" y="0.000000" z="0.000000" />
<FirstPersonMobilePhoneOffset x="0.155000" y="0.270000" z="0.508000" />
<FirstPersonPassengerMobilePhoneOffset x="0.136000" y="0.223000" z="0.405000" />
<FirstPersonMobilePhoneSeatIKOffset>
<Item>
<Offset x="0.136000" y="0.156000" z="0.425000" />
<SeatIndex value="2" />
</Item>
<Item>
<Offset x="0.136000" y="0.156000" z="0.425000" />
<SeatIndex value="3" />
</Item>
</FirstPersonMobilePhoneSeatIKOffset>
<PovCameraOffset x="0.000000" y="-0.145000" z="0.645000" />
<PovCameraVerticalAdjustmentForRollCage value="0.000000" />
<PovPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
<PovRearPassengerCameraOffset x="0.000000" y="0.000000" z="0.000000" />
<vfxInfoName>VFXVEHICLEINFO_CAR_GENERIC</vfxInfoName>
<shouldUseCinematicViewMode value="true" />
<shouldCameraTransitionOnClimbUpDown value="false" />
<shouldCameraIgnoreExiting value="false" />
<AllowPretendOccupants value="true" />
<AllowJoyriding value="false" />
<AllowSundayDriving value="false" />
<AllowBodyColorMapping value="true" />
<wheelScale value="0.237100" />
<wheelScaleRear value="0.237100" />
<dirtLevelMin value="0.000000" />
<dirtLevelMax value="0.850000" />
<envEffScaleMin value="0.000000" />
<envEffScaleMax value="1.000000" />
<envEffScaleMin2 value="0.000000" />
<envEffScaleMax2 value="1.000000" />
<damageMapScale value="0.600000" />
<damageOffsetScale value="1.000000" />
<diffuseTint value="0x00000000" />
<steerWheelMult value="1.000000" />
<HDTextureDist value="5.000000" />
<lodDistances content="float_array">
500.000000
500.000000
500.000000
500.000000
500.000000
500.000000
</lodDistances>
<minSeatHeight value="0.839" />
<identicalModelSpawnDistance value="20" />
<maxNumOfSameColor value="10" />
<defaultBodyHealth value="1000.000000" />
<pretendOccupantsScale value="1.000000" />
<visibleSpawnDistScale value="1.000000" />
<trackerPathWidth value="2.000000" />
<weaponForceMult value="1.000000" />
<frequency value="100" />
<swankness>SWANKNESS_1</swankness>
<maxNum value="2" />
<flags>FLAG_HAS_LIVERY FLAG_EXTRAS_REQUIRE FLAG_EXTRAS_STRONG FLAG_LAW_ENFORCEMENT FLAG_EMERGENCY_SERVICE FLAG_NO_RESPRAY FLAG_DONT_SPAWN_IN_CARGEN FLAG_REPORT_CRIME_IF_STANDING_ON FLAG_HAS_INTERIOR_EXTRAS </flags>
<type>VEHICLE_TYPE_CAR</type>
<plateType>VPT_FRONT_AND_BACK_PLATES</plateType>
<dashboardType>VDT_GENTAXI</dashboardType>
<vehicleClass>VC_EMERGENCY</vehicleClass>
<wheelType>VWT_MUSCLE</wheelType>
<trailers />
<additionalTrailers />
<drivers>
<Item>
<driverName>S_M_Y_Sheriff_01</driverName>
<npcName />
</Item>
</drivers>
<extraIncludes />
<doorsWithCollisionWhenClosed />
<driveableDoors />
<bumpersNeedToCollideWithMap value="false" />
<needsRopeTexture value="false" />
<requiredExtras />
<rewards>
<Item>REWARD_WEAPON_PUMPSHOTGUN</Item>
<Item>REWARD_AMMO_PUMPSHOTGUN_ENTER_VEHICLE</Item>
<Item>REWARD_STAT_WEAPON</Item>
</rewards>
<cinematicPartCamera>
<Item>WHEEL_FRONT_RIGHT_CAMERA</Item>
<Item>WHEEL_FRONT_LEFT_CAMERA</Item>
<Item>WHEEL_REAR_RIGHT_CAMERA</Item>
<Item>WHEEL_REAR_LEFT_CAMERA</Item>
</cinematicPartCamera>
<NmBraceOverrideSet />
<buoyancySphereOffset x="0.000000" y="0.000000" z="0.000000" />
<buoyancySphereSizeScale value="1.000000" />
<pOverrideRagdollThreshold type="NULL" />
<firstPersonDrivebyData>
<Item>STD_POLICE_FRONT_LEFT</Item>
<Item>STD_POLICE_FRONT_RIGHT</Item>
<Item>STD_POLICE_REAR_LEFT</Item>
<Item>STD_POLICE_REAR_RIGHT</Item>
</firstPersonDrivebyData>
</Item>
</InitDatas>
<txdRelationships>
</txdRelationships>
</CVehicleModelInfo__InitDataList>
-21
View File
@@ -1,21 +0,0 @@
MIT License
Copyright (c) 2019 Luke Kabat
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
Binary file not shown.
Binary file not shown.
-39
View File
@@ -1,39 +0,0 @@
# Enhanced Camera
## Overview of the menu
This menu recreates vehicle camera from scratch and introduces a number of customizable parameters for user to tune. On top of that there is a drone camera with a few modes to simulate drone flight.
Main features of this menu:
- **Lead camera** - main camera, rotates around car dependant on angular velocity of the vehicle
- **Chase camera** - focuses on closest vehicle and points towards it
- **Drone camera** - simulates drone physics, allows choice between different modes (race, zero-G, spectator, homing)
- **Customizable parameters** - FOV, XYZ position offsets, interpolation values and more
- **Saving/loading** - save and load camera parameters or choose from default presets
## Installation
Go to [releases](https://github.com/Shrimpey/EnhancedCamera/releases) and download latest zipped release. Unzip and place ``enhancedcamera`` folder inside your server's ``resources`` folder, then edit your server.cfg to include line ``start enhancedcamera``.
## Parameters overview
It's best to just experiment with parameters to see how they affect camera handling (for lead/chase camera you can start by spawning a preset from submenu).
#### Lead and chase camera parameters:
- **Lock position offset** - determines whether camera changes position compared to vehicle (or just rotates)
- **Linear position offset** - experimental feature, camera changes position along the line drawn behind vehicle instead of doing circular motion around the car
- **Lock rotation to camera plane** - changes the way that camera rotates around car (mostly visible on uneven ground)
- **Modifier** - this modifier * angular velocity = target rotation. Higher values make camera move further from lock. (-1,1)
- **Yaw interpolation** - lower values - smoother movement along yaw axis (0,1)
- **Roll interpolation** - lower values - smoother movement along roll axis (0,1)
- **Pitch interpolation** - lower values - smoother movement along pitch axis (0,1)
- **Camera offset** - offsets chase camera target towards its velocity vector. (0,5)
- **Position interpolation** - lower values - smoother movement, higher delay. (0,1)
- **FOV** - changes field of view, may affect performance with higher values (20,120)
- **X/Y/Z Offset** - static position offset in XYZ direction
- **Max angle to lock** - for chase camera only, max angle from velocity vector to keep the lock on, if angle exceeds this limit, camera switches back to normal. (25,360)
## Examples
## Credits
- [Tom Grobbe](https://github.com/TomGrobbe) - [MenuAPI](https://github.com/TomGrobbe/MenuAPI) used for GUI, code snippets from [vMenu](https://github.com/TomGrobbe/vMenu) used for saving/loading camera parameters
- [QuadrupleTurbo](https://github.com/QuadrupleTurbo) - providing new ideas for features, massive help with playtesting
- [No Name Drift](https://nonamedrift.com/) and [Velocity](http://www.velocitydrift.com/) servers - playtesting and feedback
-11
View File
@@ -1,11 +0,0 @@
resource_manifest_version '77731fab-63ca-442c-a67b-abc70f28dfa5'
files {
'MenuAPI.dll',
'config.ini'
}
client_script {
'enhancedcamera.net.dll',
'Newtonsoft.Json.dll'
}
-6
View File
@@ -1,6 +0,0 @@
#The Control to toggle the Menu (default is 344=F11) list at https://wiki.fivem.net/wiki/Controls
toggleMenu=56
#Should chase camera be enabled for users to select? (1 - yes, 0 - no)
chaseCameraEnabled=1
#Should drone camera be enabled for users to select? (1 - yes, 0 - no)
droneCameraEnabled=1
Binary file not shown.
+12 -1
View File
@@ -400,7 +400,12 @@ SIREN_ASSIGNMENTS = {
['lapd2'] = { 1, 2, 3, 4, 25, 26 },
['lasd12'] = { 1, 2, 3, 4, 25, 26 },
['LASDCVPI2'] = { 1, 2, 3, 4, 25, 26 },
['lasdchrg14'] = { 1, 2, 3, 4, 25, 26 },
['lasd14chrg'] = { 1, 2, 3, 4, 25, 26 },
['18charger'] = { 1, 2, 3, 4, 25, 26 },
['lasd11'] = { 1, 2, 3, 4, 25, 26 },
['lasd13'] = { 1, 2, 3, 4, 25, 26 },
['lasd14'] = { 1, 2, 3, 4, 25, 26 },
['22tahoe'] = { 27, 16, 17, 2, 3, 4, 29, 18, 42, 31 },
['03k9'] = { 27, 16, 17, 2, 3, 4, 29, 18, 42, 31 },
['GESUVRB'] = { 27, 16, 17, 2, 3, 4, 29, 18, 42, 31 },
@@ -485,7 +490,13 @@ SIREN_ASSIGNMENTS = {
['f150batt'] = { 45, 48, 13, 50, 47, 46 },
['firerescuetrailer'] = { 45, 48, 13, 50, 47, 46 },
['foam1'] = { 45, 48, 13, 50, 47, 46 },
['10charg'] = { 27, 16, 17, 26, 23, 34, 29, 18, 42, 31 },
['10charg'] = { 27, 16, 17, 26, 23, 34, 29, 18, 42, 31 },
['376'] = { 27, 16, 17, 26, 23, 34, 29, 18, 42, 31 },
['640'] = { 27, 16, 17, 26, 23, 34, 29, 18, 42, 31 },
['128'] = { 27, 16, 17, 26, 23, 34, 29, 18, 42, 31 },
['704'] = { 27, 16, 17, 26, 23, 34, 29, 18, 42, 31 },
['615'] = { 27, 16, 17, 26, 23, 34, 29, 18, 42, 31 },
['751'] = { 27, 16, 17, 26, 23, 34, 29, 18, 42, 31 },
['10chargslick'] = { 27, 16, 17, 26, 23, 34, 29, 18, 42, 31 },
['11cvpi'] = { 27, 16, 17, 26, 23, 34, 29, 18, 42, 31 },
['11cvpislick'] = { 27, 16, 17, 26, 23, 34, 29, 18, 42, 31 },
+1 -1
View File
@@ -17,7 +17,7 @@ Config.TimecycleTransitionDuration = 5.0 -- How long the transition back to no t
Config.CameraShake = true -- If we should shake the camera on beeing stunned
Config.CameraShakeName = "FAMILY5_DRUG_TRIP_SHAKE"
Config.CameraShakeIntensity = 0.25
Config.CameraShakeIntensity = 0.50
Config.DisableNPCWrithe = true -- Disabled writhe for NPC when getting stunned. This will also make it so npc's won't do go into writhe even after they are done beeing stunned. (This ONLY effects stunned peds)
Config.NPCDropWeapon = true -- Makes NPC's drop their weapon when they get stunned
+4 -2
View File
@@ -684,7 +684,9 @@
"Jtrailer",
"23lightpro",
"23lightproslick",
"ccso1",
"ccso1",
"18charger",
"ccso4",
"c314charger",
"c318tahoe",
"376",
@@ -692,6 +694,7 @@
"128",
"704",
"615",
"751",
"EG-Sheriff",
"sasp18charger",
"gt24non",
@@ -825,7 +828,6 @@
" ",
" ",
" ",
" ",
" ",
],
"peds": [
+1 -1
View File
@@ -515,7 +515,7 @@ add_ace builtin.everyone "vMenu.MiscSettings.DeathNotifs" allow
add_ace group.staff "vMenu.MiscSettings.NightVision" allow
add_ace group.staff "vMenu.MiscSettings.ThermalVision" allow
add_ace builtin.everyone "vMenu.MiscSettings.LocationBlips" allow
#add_ace builtin.everyone "vMenu.MiscSettings.OverheadNames" allow
add_ace builtin.everyone "vMenu.MiscSettings.OverheadNames" allow
add_ace group.staff "vMenu.MiscSettings.PlayerBlips" allow
add_ace builtin.everyone "vMenu.MiscSettings.TeleportLocations" allow
add_ace group.admin "vMenu.MiscSettings.TeleportSaveLocation" allow # Only allowed for moderators by default
+1 -1
View File
@@ -368,7 +368,7 @@ ensure e350vanb
ensure ccso4
ensure tiller
ensure e450ambo
ensure tillertrailer
ensure 751
ensure
ensure
ensure