Source Filmmaker

Source Filmmaker

Directional Scale Controls (Stretching)
307 条留言
Skulltronprime 10 月 28 日 下午 9:07 
Uhh...how'd I use this?
yuuri 10 月 23 日 下午 5:33 
Does this work with IK rigs? I tried to attach an IK script to a rig that had some parts scaled with this but for some reason the limb just distorts and the IK for it is messed up.
Scientist Vovik 10 月 20 日 上午 10:53 
Не работает. дизлайк. хyйня. переделывай
6o6PoBa9l cTpy9I JIe4eHue rPu60M  [作者] 10 月 14 日 下午 8:38 
@Caidenz

I guess it heavilly depends on the model rig weights. You can make a screen recording and link the problematic model, I will check.
Caidenz 10 月 13 日 下午 8:39 
Everything is working perfectly! but with most of my models, when the Directional Scale Controls are applied, the eyes/pupils distort when moving them up/down or left/right. is there a solution to this?
Iateurcookies 10 月 6 日 上午 7:02 
oh nwm i tried to modify the count1 script and not the umfc one.
Iateurcookies 10 月 5 日 下午 1:10 
where do i run "mwrite(i_patch_skip_read_parent_override, patch_skip_read)"?
Modilla 8 月 23 日 上午 12:19 
a
KenDoStudios 8 月 20 日 下午 12:52 
directional patch is not found! help!
LineX240 6 月 16 日 上午 4:03 
thats a feature SFM should have by default, thx mate
OceFist 5 月 30 日 下午 6:08 
Ah nevermind, i just noticed the diccussions up there and all you had to do was select rotation only lol
6o6PoBa9l cTpy9I JIe4eHue rPu60M  [作者] 5 月 30 日 上午 10:05 
@OceFist

Use the last DAG manipulation mode (yellow circle). There's a bug in the SFM: traditional 3D controls are also getting rescaled which also affects how they manipulate the values per interaction.
OceFist 5 月 30 日 上午 7:16 
Why doesnt this work with rotation? when i tried to rotate, model just disappear.
Anyway to fix it?
6o6PoBa9l cTpy9I JIe4eHue rPu60M  [作者] 4 月 28 日 上午 2:30 
by changing the texture, other way it's mapped to the UV coordinates
Boiling diarrhea 4 月 25 日 上午 6:22 
is it possible to remove the texture stretch and make it loop?
brunoski 2 月 7 日 上午 7:18 
idk python but how do i autoexecute it without knowing python?
Oximator 2 月 2 日 上午 3:36 
это самый лучший скрипт в SFM, который я видел!:dealerrizz:
Dangerdude066 1 月 27 日 上午 9:22 
6o6PoBa9l cTpy9I JIe4eHue rPu60M  [作者] 1 月 26 日 下午 9:46 
@DangerDude066

So, without altering the script in any way, I attached an unrigged bone to other model's unrigged bone, then applied the rig to the second model and everything worked just fine. Can you make a proof of concept video where you reproduce your problem from start to end?
Dangerdude066 1 月 26 日 下午 6:10 
animating this is gonna suck lol, please get back to me when you do :P
6o6PoBa9l cTpy9I JIe4eHue rPu60M  [作者] 1 月 26 日 下午 6:08 
@DangerDude066

sad! I will try to find a solution later
Dangerdude066 1 月 26 日 下午 5:58 
just tryed that, nope :/
6o6PoBa9l cTpy9I JIe4eHue rPu60M  [作者] 1 月 26 日 下午 5:53 
@DangerDude066

You may try to do it before applying the rig on a real bone
Dangerdude066 1 月 26 日 下午 5:52 
my non-scaled model is a rigged model, im pretty sure thats whats not working
6o6PoBa9l cTpy9I JIe4eHue rPu60M  [作者] 1 月 26 日 下午 5:44 
@DangerDude066

Try also adding the scale controls for the bone you're locking to and changing the overall scale a little (for 0.01).
Dangerdude066 1 月 26 日 下午 5:20 
that didnt work
i commented 325 and 371, repatched, and readded the scale stuff to the model
Dangerdude066 1 月 26 日 下午 4:47 
@LLIoKoJIad

thank you very much
6o6PoBa9l cTpy9I JIe4eHue rPu60M  [作者] 1 月 26 日 下午 4:44 
@DangerDude066

Scale is inherited from lock parent by default. You can disable that by commenting lines 325 & 371 of the patch script.
Dangerdude066 1 月 26 日 下午 4:12 
i should specify its on a pelvis bone, i lock the scaled pelvis bone to a unscaled pelvis bone
Dangerdude066 1 月 26 日 下午 4:06 
so when i lock a scaled model to a unscaled model the scale model unscales and doesnt scale anymore until unlocked
Emily Sharkess 🦈 2024 年 12 月 30 日 下午 7:58 
I can make eyeball stretch, make it like awooga
TurnTwister 2024 年 12 月 4 日 下午 12:57 
i couldnt get that to work, but using the _simple version i got what i wanted, which was finer control, which i think in hindsight i could have also achieved by significantly lowering my mouse sensitivity
6o6PoBa9l cTpy9I JIe4eHue rPu60M  [作者] 2024 年 12 月 4 日 上午 12:47 
@TurnTwister

Haven't tried that, you may give it a shot. In code, replace expression "v*8" with "lerp(value,lo,hi)". Also replace attribute name "v" with "value" on line 52 and 54.
TurnTwister 2024 年 12 月 4 日 上午 12:13 
if its the same exact problem, then i know that if you reduce the length of the active clip, biped simple fingers' performance issue disappears. that could fix it if working on posters/still shots
6o6PoBa9l cTpy9I JIe4eHue rPu60M  [作者] 2024 年 12 月 3 日 下午 11:12 
@TurnTwister

The cause of that is described in the "Known Issues". "Remap slider range" requires a slider to have a certain expression attached (which is long enough). The longer expression is, the less FPS you get when operating with parent dags. Even in stock SFM you can clearly feel that when you pose fingers with rig_biped_simple attached (it's the same problem).

You still can do it by changing expression in the code, but then posing resized dags makes SFM hardly usable even on high performance systems.
TurnTwister 2024 年 12 月 3 日 下午 8:10 
is it possible to remap the ranges of the created sliders in order to have finer control of the scaling?
JageunC3ci1a 2024 年 12 月 2 日 下午 7:59 
It seems to crash on existing sessions I had before November 29, clean sessions are ok from what I tested out. It just crashed and continues to crash on existing files for no reason even after trying all the solutions I can get. It crashes when I press anything on the screen after applying the script it's not any certain model, map, or session. I don't want you to worry so much and just want to see any solutions that could help me solve the issue.
6o6PoBa9l cTpy9I JIe4eHue rPu60M  [作者] 2024 年 12 月 1 日 下午 11:22 
@JageunC3ci1a

Is it crashing with certain model? On certain map? Or even in a clean session?
JageunC3ci1a 2024 年 12 月 1 日 下午 8:53 
It shows as none which I am assuming is the latest update, and it seems to still crash SFM upon execution. I will just keep using SFM without it for now and keep trying to find solutions to my issue (It was working completely fine and suddenly just stopped). Thank you for the help though I really appreciate it!
6o6PoBa9l cTpy9I JIe4eHue rPu60M  [作者] 2024 年 11 月 30 日 下午 10:30 
@JageunC3ci1a

Check beta tab in the Steam settings for the SFM. Crashes usually indicate that you have incompatible version of SFM (not the latest).

I'll upload the improved version that already has inbound compatibility check someday, lack of time to finish some features for now.
JageunC3ci1a 2024 年 11 月 30 日 下午 9:00 
I'm unsure if the developers are still here to help, but I keep getting hard crashes when I execute the script and press anything on SFM. I saw the discussion post about it and uninstalled and reinstalled it multiple times, but it doesn't seem to fix it. If anyone has a way to fix it it would be greatly appreciated.
Sigull0709 2024 年 11 月 19 日 下午 7:25 
whats the command for the auto execution?
Jwan 2024 年 11 月 18 日 下午 6:05 
Could you please make a light_environment control script?
This is a script that controls the color and intensity of the light.
Fatal AR 2024 年 11 月 15 日 上午 9:24 
This is straight up one of the best things ever made for SFM.
You can use it for scenebuild, bodyhacking, posing and animating.
Toni Scampers 2024 年 11 月 7 日 下午 12:58 
This is a really amazing mod, it's nearly a must have to even make stuff in sfm
Doc_ock_rokc 2024 年 9 月 11 日 下午 5:12 
Hey! Great job figuring this out . I was attempting this at one point but lost all my progress when my old hdd exploded... its good to see sfm scripting is alive and well.
catnipped drugged cat 2024 年 7 月 13 日 下午 5:34 
hey man i know this is a dumb question but can you make a mod to add animation via import sequence i hope you know what i mean plz make this happen it would save so meany hours
Dr.M 2024 年 6 月 10 日 下午 5:01 
OK, I'VE JUST FOUND OUT HOW TO DO THIS:

Right click on your model.

Scroll down to where the individual bones are located.

Right click on the bone you want to edit.

From there, there will be a menu with the DAG utilities option.

Click that, and THAT'S where you find the directional scales controls.

hope this helps!
Victor the Dragon 2024 年 1 月 14 日 下午 2:32 
i try this too and nothing change...
👾 🅼 🅰❎👾 2023 年 12 月 25 日 上午 9:40 
Try using DAG utilities menu on specific bone and then add directional scale controls :robodance: You're welcome :x3: