SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Filterscripts

Reply
 
Thread Tools Display Modes
Old 10/03/2018, 03:52 PM   #1
Flashhiee
High-roller
 
Flashhiee's Avatar
 
Join Date: Mar 2012
Posts: 1,041
Reputation: 253
Default Camera Editor - Cinematic Creator

Hello guys! Today i want to present you a script i made, because i needed a way of filming a shot from the same position every time. As the title of this topic says this is a camera editor wich lets you create cameras that can interpolate in 3 different ways, or that can be static.

TUTORIAL/DEMO VIDEO

Commands:
Quote:
/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.
Notes:
Quote:
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.
ToDo List:
Quote:
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
Instalation:
Quote:
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!
P.S If you have any suggestions, let me know by commenting down there.
Attached Files
File Type: rar cameditor.rar (116.6 KB, 51 views)
__________________
My maps:
Space Station[Module I] - Mansion Interior - Mining Village - Desert Village

I create custom maps of any kind, more details on discord at UnuAlex#6567

Last edited by Flashhiee; 22/08/2018 at 09:38 AM.
Flashhiee is offline   Reply With Quote
Old 10/03/2018, 04:20 PM   #2
Uproar
Gangsta
 
Uproar's Avatar
 
Join Date: Feb 2018
Location: India
Posts: 555
Reputation: 128
Default Re: Camera Editor - Cinematic Creator

Bro you're a legend!
__________________
Uproar is offline   Reply With Quote
Old 11/03/2018, 04:04 AM   #3
BulletRaja
Banned
 
Join Date: Dec 2017
Location: India
Posts: 219
Reputation: 20
Default Re: Camera Editor - Cinematic Creator

That's Awesome
BulletRaja is offline   Reply With Quote
Old 11/03/2018, 06:43 AM   #4
DonaldDuck
Banned
 
Join Date: Jun 2017
Location: Phillipines
Posts: 361
Reputation: 91
Default Re: Camera Editor - Cinematic Creator

Hreat release dude.
DonaldDuck is offline   Reply With Quote
Old 11/03/2018, 06:44 AM   #5
KayJ
Gangsta
 
Join Date: Apr 2014
Posts: 698
Reputation: 61
Default Re: Camera Editor - Cinematic Creator

Works well
__________________
SA:MP Wikipedia Profile

[Filterscript] Position - Save, Load & Delete [Y_INI] [ZCMD]
[Include] InfoText TextDraw
KayJ is offline   Reply With Quote
Old 11/03/2018, 06:45 AM   #6
Freaksken
Gangsta
 
Freaksken's Avatar
 
Join Date: Mar 2009
Location: Belgium
Posts: 611
Reputation: 278
Default Re: Camera Editor - Cinematic Creator

Quote:
Originally Posted by Flashhiee View Post
4.Flymode camera edit compatibility
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.
__________________
Always keep in mind that a lot of people are active on this forum in their spare time.
They are sacrificing time they could easily spend on things they would rather do, to help you instead.


[Include] FCNPC A.I. - [Tutorial] Speedometer - [WIP] Single-player-like co-op mission - [Other] List of all my work
Freaksken is online now   Reply With Quote
Old 11/03/2018, 10:17 AM   #7
Flashhiee
High-roller
 
Flashhiee's Avatar
 
Join Date: Mar 2012
Posts: 1,041
Reputation: 253
Default Re: Camera Editor - Cinematic Creator

Quote:
Originally Posted by Uproar View Post
Bro you're a legend!
Quote:
Originally Posted by BulletRaja View Post
That's Awesome
Quote:
Originally Posted by DonaldDuck View Post
Hreat release dude.
Quote:
Originally Posted by KayJ View Post
Works well
Thans for all the kind words! I apreciate it!

Quote:
Originally Posted by Freaksken View Post
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.
Right, thats why i want to make it more easy to use, to improve the work flow.
__________________
My maps:
Space Station[Module I] - Mansion Interior - Mining Village - Desert Village

I create custom maps of any kind, more details on discord at UnuAlex#6567
Flashhiee is offline   Reply With Quote
Old 11/03/2018, 12:52 PM   #8
SyS
High-roller
 
SyS's Avatar
 
Join Date: Oct 2015
Posts: 1,992
Reputation: 467
Default Re: Camera Editor - Cinematic Creator

Nice
SyS is online now   Reply With Quote
Old 15/03/2018, 06:13 AM   #9
Izaque1998
Big Clucker
 
Izaque1998's Avatar
 
Join Date: Aug 2015
Location: Campos
Posts: 108
Reputation: 6
Default Re: Camera Editor - Cinematic Creator

interessante !
Izaque1998 is offline   Reply With Quote
Old 17/03/2018, 12:12 AM   #10
Nizarh
Big Clucker
 
Nizarh's Avatar
 
Join Date: Nov 2017
Location: Portugal
Posts: 104
Reputation: 20
Default Re: Camera Editor - Cinematic Creator

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 Line at server.cfg
PHP Code:
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 
HTML Code:
[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.

none of your command is working.
Do I need any different include? Like ZCMD or sscanf?
__________________
Meus Mapas / My Maps:
Concerto GreenPark
Estádio Kinnock PT-BR
Kinnock Stadium
Abandoned Airport -- Reformulation

Quem Diria, não tenho tempo para mapas.
Brevemente uma release.
Nizarh is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Text Creator/editor RakiT Server Support 4 30/12/2017 06:23 AM
[Include] Cinematic Camera Mover [Easy File Loaded Data] [HLF]Southclaw Includes 224 04/10/2015 12:57 PM


All times are GMT. The time now is 03:38 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.