What other driveby animations should be created? (5 max)
- What other driveby animations should be created? (5 max)
- Driver
- Unarmed
- Handgun (w/ Two-Handed Grip)
- Handgun (First Person ADS)
- Rifle / Shotgun
- Support large vehicles (Mule, Flatbed, etc)
- Support other vehicles
- Support more seat layouts
- Improve current animations
- Improve default animations (Shooting from inside)
Not compatible with all vehicles but should currently work with almost all add-on vehicles
This resource contains no vehicles, other add-on vehicle resources are required to test and use this resource.
INTRODUCTION
After almost a year of research and development, Enhanced Driveby Animations are finally ready for enjoyment. No longer are the days of smashing and shooting out your own window. Now you can climb out of your window and expose yourself to danger like a real man
This was created using the built in driveby animation clipset system. Included are 18 animation clipsets for 20 vehicle layouts and a script which provides custom 1st and 3rd person driveby cameras. These 20 layouts should be compatible with most vehicles, especially common vehicles like sedans, coupes, sports, suvs, trucks, etc.
A few months of research and another 6 months of development and testing. It was very tedious work, especially because I am not an animator, but the default animations were always a huge pet peeve of mine, and I knew I had to get this out for general use. I am looking forward to seeing content using these animations.
FEATURES
Wide variety of custom layouts for most common vehicle types along with a custom driveby camera system with many configurable options.
Animations (18 Clipsets)
14 Clips per Clipset = 252 Clips total
9 Animations (4 sweeps, 5 transitions) per Clipset = 162 Animations
Sweeps: Low, Med, High, Blocked (Reload)
Vehicle Layouts (20 Layouts)
LAYOUT_DELTA_STD
LAYOUT_DELTA_LOW
LAYOUT_DELTA_SPORT
LAYOUT_DELTA_SUPER
LAYOUT_DELTA_PICKUP
LAYOUT_DELTA_RANGER
LAYOUT_DELTA_VAN
LAYOUT_DELTA_VAN_LOW
LAYOUT_DELTA_SUV
LAYOUT_DELTA_SUV_HIGH
LAYOUT_DELTA_SUV_LOW
LAYOUT_DELTA_SUV_HIGH_LOWREAR
LAYOUT_DELTA_4X4 (Mesa, Crusade, Dubsta)
LAYOUT_DELTA_4X4_DUBSTA (Dubsta Lifted Truck)
LAYOUT_DELTA_SANDKING
LAYOUT_DELTA_STRETCH (Limo & Addon Cars)
LAYOUT_DELTA_TOURBUS (Tourist Bus & Addon Cars)
LAYOUT_DELTA_STD_RHD (Right-Hand Drive)
LAYOUT_DELTA_LOW_RHD
LAYOUT_DELTA_SUV_RHD
Driveby Script (Abbreviated Features)
- Custom 1st & 3rd Person Driveby Cameras for both Default & Custom Animations
- Camera Options: FOVs, shake, transition type, and more.
- “Adjust Seat”: using arrow keys while holding Shift will move FP cam slightly to fix ped clipping.
- Config: Require aiming, restrict driver, disable at high speed, and more.
- Adjustable recoil shake with optional speed multiplier
- No more smashing windows, windows roll down automatically when aiming and custom animations disable smashing entirely
- Client Event - “Driveby:Update” - updates players ped and vehicle seat
Full Script Config
aimingRequired=true, -- Players will not be able to shoot unless they are aiming
restrictDriver=false, -- Driver can not aim or shoot weapons while driving (Note: Driver does not have a custom clipset yet.)
disableAtSpeed=26.9, -- Max speed (m/s) limit to disable driveby aiming (Default: ~60 MPH)
cameraMode=2, -- 0: Custom Camera Disabled 1: Only used for vehicles on list 2: Default for all vehicles
camTransition=0, -- 0: Smooth 1: Instant
dCamFov=65.0, -- Third Person Camera Feild of View
fpCamFov=65.0, -- First Person Camera Feild of View
useCamAlways=true, -- Custom camera will be available to use even when not aiming
autoActivate=true, -- Automatically activate custom camera when player enters a vehicle
fpOnly=false, -- Restrict the driveby camera to first-person (Note: This will override allowVehCam)
allowVehCam=true, -- Allow player to switch to the regular vehicle camera
shakeCamForRecoil=true, -- Shake camera for weapon recoil
upRecoilForSpeed=true, -- Change recoil depending on vehicle speed
camShakeScale=0.75, -- 0.0 - 1.0 max amount to shake camera
Screenshots
First Person Comparison
Custom Camera Screenshots
Camera for Custom Animations (Full 360)
Camera for Default Animations (Bonus - Experimental)
Vehicle Variety Examples
INSTALLATION
Not compatible with all vehicles but should currently work with almost all add-on vehicles
Install Resources and Enable Animations
- Add resource files EDA_BASE & _EDA_01 to server and add to server.cfg file, start these before/above ALL add-on vehicle resources.
Determining Correct Layout
Since add-on vehicles are all made different, you may need to try a few different layouts before you find the correct one that work.
Layout Conversions
LAYOUT_STANDARD → LAYOUT_DELTA_STD
LAYOUT_LOW → LAYOUT_DELTA_LOW
LAYOUT_STD_HIGHWINDOW → LAYOUT_DELTA_SUV
LAYOUT_VAN → LAYOUT_DELTA_VAN
LAYOUT_BISON → LAYOUT_DELTA_PICKUP
LAYOUT_RANGER → LAYOUT_DELTA_RANGER
Layout Examples
STD - Emperor
LOW - Buffalo, Gauntlet, Charger (Addon)
SPORT - M1 (Addon)
SUPER - Coquette
PICKUP - Bison
RANGER - Rancherxl
VAN - Rumpo
SUV - Minivan, F150 (Addon)
SUV_LOW - Tahoe (Addon)
SUV_HIGH - Cavalcade
SUV_HIGH_LOWREAR - Baller
Layout examples should help but for very small windows there may still be some minor clipping.
Enable Custom Cameras
- Navigate to EDA_BASE and open the config.lua file
- If cameraMode is set to 1, then only vehicles in the list will have the custom camera.
- If cameraMode is set to 2, then all vehicles will have custom camera and you can use to list to disable it for certain vehicles and to set which vehicles have custom animations.
- Add vehicle to list if needed, use 0 to disable, 1 if the vehicle has a default animation and 2 for custom animation.
- Edit EDA_BASE config to your preferences.
Optional: Enable additional weapons
You can add weapons by Weapon Group or by individual Weapon Name.
- Navigate to _EDA_01 → data → vehiclelayouts.meta
- Once you open the meta, you should see this section at the top:
Meta Section to edit
<Item type="CDrivebyWeaponGroup">
<Name>DRIVEBY_DELTA_ONE_HANDED</Name>
<WeaponGroupNames>
<Item>GROUP_PISTOL</Item>
</WeaponGroupNames>
<WeaponTypeNames>
<Item>WEAPON_STUNGUN</Item>
<Item>WEAPON_SAWNOFFSHOTGUN</Item>
<Item>WEAPON_MICROSMG</Item>
<Item>WEAPON_MACHINEPISTOL</Item>
<Item>WEAPON_MINISMG</Item>
<Item>WEAPON_COMPACTRIFLE</Item>
<Item>WEAPON_DBSHOTGUN</Item>
<Item>WEAPON_AUTOSHOTGUN</Item>
</WeaponTypeNames>
</Item>
- Either add a weapon group or add the name of the weapon to the list
TROUBLESHOOTING
General
- Have you followed the installation steps?
- Did you add and start the resources above the add-on vehicle resource?
Animation
- Are you using an add-on vehicle?
- Did you change the add-on vehicle’s layout to one of the layouts provided?
- Are you in a passenger seat?
Script/Camera
- Did you add the vehicle into the vehList inside EDA_BASE config.lua?
KNOWN ISSUES
Script
- Only checks seat when you first enter, so if you swap seats, trigger “Driveby:Update” client event to update vehicle seat (Changing camera view will update seat also)
Camera
- No First Person ADS (Could possibly be made in the future)
- Some clipping with experimental driveby camera (Can usually fix with “Adjusting Seat” feature)
- Script cameras cause aiming sync issues between players when enabled
Animation
- No First Person ADS (Could possibly be made in the future)
- Fingers do not always grip weapon fully (Can be fixed in future update)
- Minor clipping during transtions through small windows
- Switching from Sweep to Blocked while reloading can jerk when aiming at certain angles
- AI have been observed T-posing for unknown reasons and inconsistently
- AI sometimes skip intro and outro transitions and can cause jumps when aiming at multiple targets
New Announcement
EDA 2.0 Teaser (Delta Advanced Driveby System)
Features
- Default / Vanilla & Addon vehicle compatibility
- Rifle, Shotgun, and MGs available (configurable)
- Native First-Person & First-Person Aim Down Sights
- Driver can perform but loses steering controls during (configurable)
- Default Weapon Aiming and Custom Aiming Styles Compatible
- And more…
Previous Update
EDA Update 1.1
EDA Update 1.1
Thanks to Bungle for RHD layout help and Bakisito for helping test.
Additional Layouts:
- LAYOUT_DELTA_4X4 (Mesa, Crusade, Dubsta)
- LAYOUT_DELTA_4X4_DUBSTA (Dubsta Lifted Truck)
- LAYOUT_DELTA_SANDKING
- LAYOUT_DELTA_STRETCH (Limo & some addon cars)
- LAYOUT_DELTA_TOURBUS (Tourist Bus & some addon cars)
Right Hand Drive Layouts:
- LAYOUT_DELTA_STD_RHD
- LAYOUT_DELTA_LOW_RHD
- LAYOUT_DELTA_SUV_RHD
The plans for EDA v2 have not been on track because the native I need does not sync properly.
I have made a post here so hopefully it can be resolved soon.
OTHER
Feel free to post any content or media that involves these animations or camera system in this thread, would love to see it!
Rifle Animation Example (Not Included)
How It Started (Bonus Meme)
Config, Clipset, and Layouts files are open source.
Code is accessible | No |
Subscription-based | No |
Lines (approximately) | 315 |
Requirements | N/A |
Support | Yes |