[Standalone] cust_cameraCreation

This script should be used more as a tool than actual script. It provides basic camera movement like go from point A to point B in some amount of time. I am using this script to help me develop some missions that otherwise would be a pain in the butt to create cameras each time.

Controls

- W,S - move along x,y
- A,D - rotate camera
- Z,X - move along z
- Left/Right Arrow - change direction of camera rotation
- TAB - Open *Direct Editor* - let's you change cam effects
- HOME - Open Time-Line in *Direct Editor*

rest is in the top-right side of monitor

Plans

- Add task queue (go to B, then rotate withing same operation)
- Add Better Camera Effects
- Add Ability to follow given peds/vehicles/objects
- Add Freecam in creator

This script has been created in some hours, its not advanced for now, but I hope it will get to a point that it will be very useful later on.

Download

Code is accessible Yes
Subscription-based No
Lines (approximately) ~600
Requirements none
Support Yes
14 Likes

Dude that’s dope

1 Like

Thanks for your opinion! I’m working on next update so I’ll be trying my best to make it more functional.

Update 1.0

-Added Camera Effects(access to them with TAB in editor)
-Added Automatic change of camera effect within generated code(variable *lasteffect*)
-Added auto-destruction of camera at the end of execution

Not much but there will be more, I just need to figure out how to manage all of settings without using NativeUI(I really don’t want to use any kind of external menu :confused: )

Update 1.1 somewhat big

-Added auto-removal of unnecessary lines
-Added few warnings *exp element in html*
-Added TimeLine within *Direct Editor* accessible with HOME
-Added preview of camera positions in TimeLine
-Added ability to remove chosen sequences in *Direct Editor*
-Improved Controls
-Changed way in which you close editor

Next Plans

-Add ability to follow given peds/vehicles/objects
-Add ability to set given coords on timeline to current camera
-Add ability to change data in sequences
-Remove dependency of having player ped as a guide for camera
-Fix issue with camera shaking upon ped's contact with ground
-Further develop this creator

Some Screenshots:


Into:

From 87 into 69 Lines On top of improved optimization
string in question at the bottom of post.

Not beatiful but gets the job done.

String for 2 screenshots at the top

local name,scen = troc("{ccm:0.0000000000,0.0000000000,213.0000000000,-1524.0083007813,875.7923583984,182.8150939941,1,1000,1;cmp:0.0000000000,0.0000000000,154.0000000000,-1518.5615234375,867.4055175781,182.8150939941,1,1000,1;cmp:0.0000000000,0.0000000000,79.9999923706,-1523.8217773438,856.6198730469,182.8150939941,1,1000,1;cmp:0.0000000000,0.0000000000,79.9999923706,-1537.6098632813,859.0509033203,182.8150939941,1,1000,1;cmp:0.0000000000,0.0000000000,79.9999923706,-1550.4130859375,861.3082885742,182.8150939941,1,1000,1;cmp:0.0000000000,0.0000000000,138.9999847412,-1550.4130859375,861.3082885742,182.8150939941,1,1000,1;cmp:0.0000000000,0.0000000000,138.9999847412,-1550.4130859375,861.3082885742,182.8150939941,1,1000,1;cmp:0.0000000000,0.0000000000,253.0000000000,-1537.0249023438,857.2152709961,182.8150939941,1,1000,1}")
execute(name,scen,true,false)

Update 1.0a

-Fixed values in camera Rotation(based on overriding local x,y,z)
-Fixed change in camera Rotation X & Y
-Fixed X rotation of camera(-90 - 90, why?)
-Improved rotation movement in generated code.
-Improved readability of source code

god job!

1 Like