SA:MP Single Lua FPV quadcopter for GTA with real flight physics

invilso.

Известный
Автор темы
258
91
Версия SA-MP
  1. Любая
GTA FPV Drone
Real flight physics. Any controller.
A fully scripted FPV quadcopter for GTA San Andreas. Spawn the drone, your character freezes in place, and you fly it first-person with its own flight physic, so full flips and inverted flight work. Runs in both singleplayer and SA-MP.

Fly it from any connected controller: a real RC transmitter (EdgeTX etc.), DualSense, Xbox pad, any generic joystick - selected live from the in-game menu.

Features
  • Custom physics: thrust, gravity, anisotropic drag, motor spool lag, ground/ceiling effect, optional wind & turbulence
  • ACRO / LEVEL / HORIZON flight modes + bidirectional 3D throttle, arm/disarm like a real quad
  • Flight recorder with a VLC-style replay player: speed control, scrubbing, the game's own in-vehicle cameras (V cycle included)
  • Four OSD styles: Classic, Skyline, Recon, Circuit — plus drone HP indicator, signal-loss static effect, flight timer
  • Settings menu: glass window, macOS-style dock, live settings search, first-run wizard with stick calibration and graphical deadzone tuning
  • Drone profiles (whoop / racer / heavy / your own) — mass, thrust, drag, rates all editable live; profiles are shareable as plain text
  • Motor audio with live pitch/volume from throttle and distance

Install
There's an installer for Windows and Linux - it checks all dependencies and tells you exactly what's missing and where to get it.
Copy drone.lua and the drone/ folder into moonloader/, then run uv run drone/bridge/controllerd.py (the controller bridge).
Dependencies: MoonLoader, mimgui, SAMemory, luasocket, bass.dll + bass.lua, uv for the bridge.

Default controls
  • DRONE — spawn/despawn (throttle must be near zero, like a real arm sequence)
  • CFGD — settings menu
  • X — arm/disarm, R — recall, M — cycle flight mode, N — 3D throttle, J — save replay
All keybinds and the cheat phrases themselves are rebindable from the menu.

Code + full README: https://github.com/invilso/gta-fpv-drone
MIT licensed, fully open source.

Developed and flown on Linux+Proton; the Windows installer and bridge are written but not battle-tested - if you try it on Windows, let me know how it goes.
 
  • Нравится
Реакции: Akionka