README.md
CamEditor - Camera editor updated for open.mp
Overview
CamEditor is a filterscript that allows you to create smooth camera movements directly in-game. This tool makes it easy to design cinematic sequences, cutscenes, and server intros without needing external editing software.
Features
- Intuitive 3D Navigation: Easily fly around your map using an advanced fly mode
- Point-and-Click Positioning: Set camera positions with simple mouse clicks
- Complete Editing Control: Modify start points, end points, speeds, and rotations at any time
- Real-Time Preview: Instantly preview your camera movements before saving
- Export Functionality: Save camera movements as ready-to-use code snippets
Language Support
The filterscript is available in:
- English
- Portuguese
Installation
- Download the
cameditor.pwnfile - Place it in your server's
filterscriptsfolder - Compile the script using your preferred compiler
- Add
cameditorto your config json
Commands
/cameditor- Activate the camera editor tool/closecameditor- Exit the camera editor at any time
Usage Guide
Creating a Camera Movement
- Type
/cameditorto launch the tool - Use W, A, S, D keys (or your configured movement keys) to navigate in 3D space
- Position your camera at the desired starting point
- Press the Fire key (usually LMB) to set the starting position
- Navigate to where you want the camera movement to end
- Press the Fire key again to set the ending position
- Configure the movement and rotation speeds in the dialog box
- Preview, adjust, and save your camera movement
Editing Options
After setting up a camera movement, you can:
- Preview: Watch your camera movement in real-time
- Modify Start Point: Reposition the starting camera location
- Modify End Point: Reposition the ending camera location
- Adjust Speeds: Fine-tune movement and rotation durations
- Save: Export your movement as ready-to-use code snippets
Output Example
When you save a camera movement, the script generates code like this in your scriptfiles folder:
|----------MyMovement----------|
InterpolateCameraPos(playerid, 575.325988, -1244.656127, 25.845386, 735.324829, -1128.916870, 73.661872, 7777);
InterpolateCameraLookAt(playerid, 571.176696, -1247.412109, 26.278436, 733.528747, -1124.687866, 71.689620, 7777);
Simply copy and paste this code into your gamemode or filterscript for perfect camera movements!
Credits
- Drebin - Original creation and concept
- itsneufox - Updating for open.mp compatibility
- h02 - Base flymode functionality
Feedback and Support
If you encounter any issues or have suggestions for improvement, please create an issue on this GitHub repository or contact me through the open.mp discord.
Note: This tool is designed for server development. Use in production servers should be restricted to administrators only.
Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью