Source Filmmaker

Source Filmmaker

Camera View Target script
47 条留言
The Somewhat Fantastic Mr. Fox 2024 年 6 月 2 日 下午 1:55 
Subscribing to the addon breaks a lot of things, but the dropbox download works flawless!
Thanks!
Fullcaber 2022 年 6 月 18 日 上午 7:30 
can u make a script that resets the axis to normal directions sometimes when i rotate the camera view it makes the axis all wonkey side ways
Lily_D 2021 年 5 月 10 日 下午 2:28 
this script still works?
OMG Theres A Bear In My Oatmeal!  [作者] 2019 年 11 月 10 日 上午 11:10 
yea that link is dead, just use the dropbox download link above in the the description.
TechnicalGlitch 2019 年 11 月 10 日 上午 10:59 
when i open the download under the YT video
OMG Theres A Bear In My Oatmeal!  [作者] 2019 年 11 月 9 日 下午 12:30 
where did you get that error?
TechnicalGlitch 2019 年 11 月 9 日 上午 9:57 
404 - File or directory not found.
OMG Theres A Bear In My Oatmeal!  [作者] 2019 年 11 月 8 日 下午 3:20 
just place the file here "SourceFilmmaker\game\workshop\scripts\sfm\animset\" the video below the download link also shows how to use it.
TechnicalGlitch 2019 年 11 月 8 日 上午 6:23 
i download something but i don't know how set up this
OMG Theres A Bear In My Oatmeal!  [作者] 2019 年 11 月 7 日 下午 3:05 
did you try the other script in the description?
TechnicalGlitch 2019 年 11 月 7 日 上午 7:34 
this didn't work, help plz?
Candle 2019 年 10 月 13 日 上午 8:33 
Very useful script! And thank you to Kumquat for pointing out it can be rigged to a light or to a head.
Kumquat [Velbud] 2017 年 10 月 20 日 下午 7:13 
One thing to note though, the orientation is based on the origin point which you assign to your model, so you cannot use a single node to get this working well. You would need multiple nodes. This script can only do one node at a time, which is still good enough for me and for most animators. This is just some fun bits that I have learned from playing with it. It could be included in the description for it.
Kumquat [Velbud] 2017 年 10 月 20 日 下午 7:08 
Never mind about the translation. It actually works if I temporarily lock the transform bone to the orientation of the bone I wish for (in this case, the head, and the translation works). In short, your script should be called the Universal Node System! :D
Kumquat [Velbud] 2017 年 10 月 20 日 下午 6:52 
This script works for lights, too! Tested and confirmed! :)
For models, the XYZ translation works in a weird way (it rotates the head on the rootTransform axis if I tell it to follow the node). This script can be used for more than just cameras, though. It's definitely a good helper for locking on lights to assist with a semiomnilight look. Good work. Ill see if I can modify it to work for models.
Kumquat [Velbud] 2017 年 10 月 18 日 下午 6:22 
Interesting. Time to work my attempt at it! :D
OMG Theres A Bear In My Oatmeal!  [作者] 2017 年 10 月 18 日 下午 5:09 
thanks for telling me. i added a link to the copy i have. and yes you can add this node control to models too, you would need to tweak the code though.
Kumquat [Velbud] 2017 年 10 月 18 日 下午 3:55 
Nice script dude. Just a warning though. The link your provided to the guy who made a "better" script, the downlink is Error 404, thus it is pretty much gone. Still a good tutorial to explain how it behaves in a little more detail. I'm curious if I can add this node control to models though...
EpicLPer 2017 年 7 月 15 日 下午 3:56 
But I can't move the whole camera without the script acting up it seems which sucks :(
Vividge 2017 年 1 月 29 日 下午 3:01 
I love this item, it's great and helps me with animation. Thanks a lot!!
fat birb 2016 年 10 月 17 日 下午 7:03 
Alright, thanks! I think I'm done for now.
OMG Theres A Bear In My Oatmeal!  [作者] 2016 年 10 月 17 日 下午 5:09 
@The Dogetor, in the sfm script editor or though applying the script you can use help() on objects like this help(sfmUtils) or in your case help(vs.Quaternion)
fat birb 2016 年 10 月 17 日 下午 4:09 
Okay, how do I use help()? Also, what are the arguments vs.Quaternion?
OMG Theres A Bear In My Oatmeal!  [作者] 2016 年 10 月 16 日 下午 2:33 
@The Dogetor, basically practice and experimenting. also using the python "help()" function helps me alot to find out what methods are available in sfm objects. i dont mind the questions so ask if you need help with any code.
fat birb 2016 年 10 月 16 日 下午 1:47 
Where did you learn how to do this so I can stop pestering you with questions?
fat birb 2016 年 10 月 16 日 下午 1:43 
Ah dammit, I should have read the console instead of assuming. Thanks for helping!
OMG Theres A Bear In My Oatmeal!  [作者] 2016 年 10 月 15 日 下午 5:57 
@The Dogetor,right. did you make sure to change the "frame number" text to a frame number to want to test?
fat birb 2016 年 10 月 14 日 下午 12:16 
I select the camera in the animation set tree, then right click and go to rig-->script name, right? It doesn't appear to work, unfortunately.
OMG Theres A Bear In My Oatmeal!  [作者] 2016 年 10 月 13 日 上午 8:05 
@The Dogetor,you would do someting like this:

transformdag = sfmUtils.FindFirstDag( [ 'transform' ], True )# grab the transform dag

time=vs.DmeTime_t( ((1/sfmApp.GetFramesPerSecond())*frame number)+5)#used to add the key at the right frame

transformdag.FindTransformControl().GetPositionChannel().GetLog().SetKey(time,vs.Vector(50,60,7))#to change the postion

transformdag.FindTransformControl().GetOrientationChannel().GetLog().SetKey(time,vs.Quaternion(-0.4877864122, -0.1150019318, -0.188069284 ,0.84467))#to change the Orientation

basically you are going though the element viewer via script to change the cameras values.you would apply it like a rig for a model.
fat birb 2016 年 10 月 11 日 下午 8:24 
ok, well how would you go about doing so?
OMG Theres A Bear In My Oatmeal!  [作者] 2016 年 10 月 11 日 下午 7:42 
@The Dogetor, well sort of, sometimes it works sometimes it doesnt.
fat birb 2016 年 10 月 11 日 下午 7:03 
Sorry for being unrelated to the workshop item but do you know how to move a camera's position/rotation through a script?
MrXBX 2016 年 10 月 1 日 下午 9:11 
By the way, this can also be used with lights. This is one of my favorite workshop items because of how useful it is. Thank you!
miku 2016 年 8 月 6 日 上午 4:45 
VERY NICE!:steamhappy:
Starch 2016 年 6 月 14 日 上午 7:11 
ah, ok. This ones at least in the simplicity of the workshop. Nice job dude
OMG Theres A Bear In My Oatmeal!  [作者] 2016 年 6 月 14 日 上午 6:15 
@WellWhaddayaKnow, his script is better, i only made this one because someone asked for a script like this and i didnt really look to see if someone already made it.
Starch 2016 年 6 月 14 日 上午 2:46 
>try this other script that was made a few years back by MulleDK19. its a better version of this script.
Is his script better or your script better? and if his is why did you bother make yours? im so confused....
Fluid 2016 年 6 月 13 日 上午 8:25 
@ToxicRunawayFox I hope you realize that this was made as a shortcut .
WingedDash 2016 年 6 月 9 日 下午 10:17 
i know how to do the same thing without this i just drag the camra onto the screen and move it and if i want the model to move i just put the trancform into it though you need the camra selected ok yea though good mod for beginners. (sorry for my spelling :P)
MaxFM 2016 年 6 月 9 日 下午 1:59 
Cool this is awesome
Doctor_GLaDOS 2016 年 6 月 9 日 上午 9:46 
Nice one !
Surdavow 2016 年 6 月 9 日 上午 12:19 
Seems handy, thanks.
Bayside 2016 年 6 月 8 日 下午 6:36 
Dude this is fucking sick! Nice job!!
Andelerius 2016 年 6 月 8 日 下午 2:01 
Man, this script is magnificent, Amazing job!!!
Paintbrush Poltergeist 2016 年 6 月 8 日 下午 12:32 
Nice job!
RatchetMario [Thelombax51] 2016 年 6 月 7 日 下午 11:12 
Man, I didn't know these already existed! Its just like other 3D programs camera does it.
GottoGure 2016 年 6 月 7 日 下午 5:26 
wow this script is no more doing locking camera to the model also we can edit camera angle with this thank you for script if i broke something about this script i'll let you know :D