Source Filmmaker
Source Filmmaker > Общие обсуждения > Подробности темы
A way to make body parts invisible
Say you have a model made up of multiple smds. and you can see them when you right-click and look under bodygroups. is it possible to hide just one smd, or would the model have to be recompiled?

possibly with override materials?

EDIT: I found it. right-click, add override material. then right-click and open model in element viewer. go down to materials. expand it. find the part you want to hide* right-click and go to add attribute. select float. then type in $alpha

*if the part you want isn't listed just right-click materials and go to add element. then name it whatever name the piece is (has to be the exact name. and the location of the vtf file in the materials folder for that part.
Последний раз отредактировано raptornx01; 24 авг. 2013 в 10:55
< >
Показано 114 из 14 комментариев
thank you for the tips, amigo
Последний раз отредактировано EmperorFaiz.png; 25 авг. 2013 в 2:45
Thanks! You are awesome!
what is that abomination flying on my screen as i watch this video, but nice animation :|

Изначально опубликовано raptornx01:
Ok I did a video showing how this is done.
I duno if this would help but in the console you can type in ' toolload vmt '
brings up some material settings... also toolunload vmt when you wanna close it (or else it stays open in the background)
Последний раз отредактировано Sarsour; 6 сен. 2013 в 4:27
That.... did nothing. it says the material editor is loaded, but i see no extra options anywhere, and no window popped up. unless i'm missing something.

EDIT: ok, it's in the game engine window. select a vmt. annnnndd it crashed the program :/

EDIT 2: it seems like it COULD be useful, but it actually does edit the vmts. which is fine if the change you want to do you want to be permanent. but the preview windows and thing are pretty much useless. and you can't actually see what you are doing to the model.

and it still only works if the texture actually HAS a vmt.

Plus it's buggy as hell. I did like I do with the particle editor and went to tools and selected sfm, then the texture that I had been looking at the vmt for unloaded itself to be replaced with the purple and black checker we are so familiar with. and on top of that, for an odd change of pace, the program couldn't be shut down. it would give me the pop up asking if i wanted to save. I'd click don't save, and..... nothing. and nothing I did could close it. I actually had to ctrl alt delete it to get it to close.

That being said, good find. I'll keep this i mind just in case. But I think the override materials would be more useful.
Последний раз отредактировано raptornx01; 6 сен. 2013 в 3:16
to unload it/ close it , press f11 to go back to the ingame mode and bring up the console and type in toolunload vmt ....but yes it is very buggy, would be a nice feature if they could fix it for atleast the release version of sfm.
Изначально опубликовано raptornx01:
Ok I did a video showing how this is done.
I am trying to get only one wing of the dove but it is set to be a whole body any idee how i can get only one wing
thats because the body is all one piece, one texture. you'd have to redo the model and make the wings separate.
Add Override Materials. Go to Element Veiwer > Game model > Materials.
There's a list of text in green that'll dorp down with names and such.
Right click on one of the items. I suggest finding the one you want to change first, and add attribute Vector 3. And then type $alpha.
You can change the number from 0-1
1 Being solid, and 0 being invisable. 0.9 will not look good if you're making something transparent.
The lighting will detect the model, and create a shadow on the floor, but atleast you wont see the texture.
Последний раз отредактировано Kyrah Child From Fire; 9 авг. 2016 в 10:35
Изначально опубликовано SFM - Hexicon Gamezel:
add attribute Vector 3. And then type $alpha.
$Alpha is a float value, not an array of 3 floats (known as a "Vector3").
You could just shrink the wing, too.
WOW, this $alpha float method works amazingly on Deus Specs.
Here's the result
Sorry for necro this post
< >
Показано 114 из 14 комментариев
На страницу: 15 30 50

Source Filmmaker > Общие обсуждения > Подробности темы
Дата создания: 24 авг. 2013 в 8:48
Сообщений: 14