/newcam - This command is used to create a new camera. /camint - This will let you change the interpolation state of your camera. /editcam - This will display the edit UI, wich you can use to change camera\'s position. /editlook - This will display the edit UI, wich you can use to change the position where your camera is looking. /ieditcam - This will display the edit UI, wich you can use to change interpolated camera\'s position. /ieditlook - This will display the edit UI, wich you can use to change the interpolated position where your camera is gonna look. /camtime - This edits the camera position interpolation time. /looktime - This edits the camera look at interpolation time. /playcam - This will play the camera animation. /stopcam - This will get you out of camera mode. /exportcam - This will export the code lines you need to implement a camera animation in your script. |
1.All the cameras will be saved in the scriptfiles in a database called camdb.db. 2.All the exported cameras will output in scriptfiles in a file called cameraexports.txt. 3.You can create up to 100 cameras, you can enlarge this limit by editing \'MAX_CAMS\' from within the script. 4.If you manage to fill the database, you have to delete the camdb file if you want to create more cameras. |
1.Camera select command, so you don\'t have to type the id at every single command. 2.Sequence creator, that lets you select multiple cameras and play them in order.(For movie creators) 3.Improved visuals(gizmos) 4.Flymode camera edit compatibility |
1.Download the cameditor.rar 2.Unzip the archive. 3.Copy and paste the two folders into your gamemode folder. 4.Open server.cfg with notepad, and add \'cameraeditor\' to your filterscripts. Also add \'streamer\' and \'sscanf\' to the plugins line. If you dont have the line, create it under the filterscripts. 5.Run the server and thats it! |
Having played around a lot with camera angles myself, I can see the appeal of this FS. However, knowing from experience, the above mentioned feature is a real must for productivity. Say you want to have a really precise shot, right now you\'d have to constantly enter and exit the edit mode, because you can\'t see what exact point the camera is looking at.
Judging from the video, the rest seems great though. |
echo Executing Server Config...
lanmode 0
rcon_password lol123
maxplayers 50
port 7777
hostname Tests
gamemode0 grandlarc 1
filterscripts flymode cameraeditor
announce 0
chatlogging 0
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 0
logtimeformat [%H:%M:%S]
language English
[00:01:18] [00:01:18] Server Plugins [00:01:18] -------------- [00:01:18] Loaded 0 plugins. [00:01:18] [00:01:18] Filterscripts [00:01:18] --------------- [00:01:18] Loading filterscript \'flymode.amx\'... [00:01:18] Loading filterscript \'cameraeditor.amx\'... [00:01:18] Loaded 2 filterscripts. [00:01:18] Loaded 3 vehicles from: vehicles/trains.txt [00:01:18] Loaded 3 vehicles from: vehicles/pilots.txt [00:01:18] Loaded 15 vehicles from: vehicles/lv_law.txt [00:01:18] Loaded 39 vehicles from: vehicles/lv_airport.txt [00:01:18] Loaded 255 vehicles from: vehicles/lv_gen.txt [00:01:18] Loaded 38 vehicles from: vehicles/sf_law.txt [00:01:18] Loaded 35 vehicles from: vehicles/sf_airport.txt [00:01:18] Loaded 353 vehicles from: vehicles/sf_gen.txt [00:01:18] Loaded 24 vehicles from: vehicles/ls_law.txt [00:01:18] Loaded 37 vehicles from: vehicles/ls_airport.txt [00:01:18] Loaded 98 vehicles from: vehicles/ls_gen_inner.txt [00:01:18] Loaded 389 vehicles from: vehicles/ls_gen_outer.txt [00:01:18] Loaded 71 vehicles from: vehicles/whetstone.txt [00:01:18] Loaded 168 vehicles from: vehicles/bone.txt [00:01:18] Loaded 61 vehicles from: vehicles/flint.txt [00:01:18] Loaded 96 vehicles from: vehicles/tierra.txt [00:01:18] Loaded 96 vehicles from: vehicles/red_county.txt [00:01:18] Total vehicles from files: 1781 [00:01:18] --------------------------------------- [00:01:18] Running Grand Larceny - by the SA-MP team [00:01:18] --------------------------------------- [00:01:18] Number of vehicle models: 173 [00:01:51] [connection] 127.0.0.1:58345 requests connection cookie. [00:01:52] [connection] incoming connection: 127.0.0.1:58345 id: 0 [00:01:52] [join] Nizarh has joined the server (0:127.0.0.1) [00:05:24] RCON (In-Game): Player #0 (Nizarh) has logged in.
#include <a_samp>
#include <YSI\y_iterate>
#include <YSI\y_commands>
#include <YSI\y_master>
#include <streamer>
#include <sscanf2>
#pragma dynamic 500000
CMD:newcam (playerid, params[])
#include <a_samp>
#include <YSI\y_iterate>
#include <YSI\y_commands>
#include <YSI\y_master>
#include <streamer>
#include <sscanf2>
#include <zcmd> //Add this
Hi, I\'m facing some trouble.
So I instaled how you said, extract the .pwn and .amx into FilterScript Folder and add "cameraeditor" at FilterScript none of your command is working. Do I need any different include? Like ZCMD or sscanf? |
@Flashhie, Salut! good job mate.
But after i\'ve checked into the pwn file, i saw the includes list which is: PHP Code:
for example" PHP Code:
So the includes list should be like that: PHP Code:
|
One more thing.. How to delete camera?
There are a few bugs, the GIZMOS appear during interpolation /playcam |
I will add a command to remove gizmos in a update
How the bug occured? Show me some evidence |
Yeah, i will fix that for the next updated so that you can\'t use /camint while in camera mode.
Thanks for the feedback! I apreciate it! |
You have to use the sscanf plugin, and also streamer plugin. I forgot to add them to the tutorial.
EDIT: Installation guide and download link updated! I used y_commands for this script, it does the same as zcmd but a little faster. |
Ow... how didn\'t i notice it..... sorry for bothering you... I\'m just useless in everything in my life
|