Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stuyk/altv-os-freecam
A Freecam for alt:V that hides the player, has mouse controls, and is slightly cinematic.
https://github.com/stuyk/altv-os-freecam
altv fivem ragemp
Last synced: 18 days ago
JSON representation
A Freecam for alt:V that hides the player, has mouse controls, and is slightly cinematic.
- Host: GitHub
- URL: https://github.com/stuyk/altv-os-freecam
- Owner: Stuyk
- License: gpl-3.0
- Created: 2020-09-02T20:33:46.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2024-05-29T17:07:14.000Z (7 months ago)
- Last Synced: 2024-07-30T16:53:24.487Z (5 months ago)
- Topics: altv, fivem, ragemp
- Language: JavaScript
- Homepage: https://stuyk.com/
- Size: 31.3 KB
- Stars: 7
- Watchers: 2
- Forks: 3
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# Open Source - Freecam
[❤️ Become a Sponsor of my Open Source Work](https://github.com/sponsors/Stuyk/)
[⌨️ Learn how to script for alt:V](https://altv.stuyk.com/)
[💡 Need a Roleplay Script? Try Athena!](https://gtavathena.com/)
⭐ This repository if you found it useful!
---
![](https://thumbs.gfycat.com/TightGorgeousCaimanlizard-size_restricted.gif)
# Description
This repository provides an easy to use freecam that can be controlled with your mouse, controller, or anything else.
Use bananas if you want I don't care. 🍌- Acceleration for Speed
- Speed Controls
- Mouse Movement
- Restore Position on Toggle
- No Data Stream In Issues
- Moves Player to Camera Position
- Makes Player Invisible to Others# Quick Install
```sh
# Install alt:V Installer
npm install -g altv-pkg
``````sh
# Install with alt:V Installer
altv-pkg i stuyk/altv-os-freecam
```# Installing Dependencies / Installation
**I cannot stress this enough. Ensure you have NodeJS 13+ or you will have problems.**
- [NodeJS 13+](https://nodejs.org/en/download/current/)
- An Existing or New Gamemode
- General Scripting KnowledgeClone this repository or use the quick install instructions.
Add this resource to your `server.cfg`.
## Toggling the Freecam
Simply create a command, keybind, etc. that toggles this event server-side.
That's all.**Server-Side**
```js
alt.emit('freecam:Toggle', player);
```# Controls
| Control | Description |
| ---------------------------------- | --------------- |
| `WASD` or `Left Stick` | Movement |
| `Mouse` or `Right Stick` | Camera Movement |
| `]` or `DPad Up` | Toggle HUD |
| `Mouse Wheel Down` or `DPad Right` | Increase Speed |
| `Mouse Wheel Up` or `DPad Left` | Decrease Speed |
| `Q` or `Right Bumper` | Decrease Height |
| `E` or `Left Bumper` | Increase Height |