Source Filmmaker
Invisible Models and Faded Maps when Transferring from Gmod into SFM?
I've been doing this trick that someone mentioned where I go into my addons folder in my garrysmod directory, drag a desired file for a map or model into gmad.exe, then copy the materials, models, lua, etc into a separate gmod items folder in my Source Filmmaker directory. However, I noticed that some models sometimes came up as invisible when I loaded them up onto the animation editor, and that maps that were originally from Gmod had faulty lighting and didn't have any contrasts or shadows. Is there any particular reason these issues are popping? Thanks.
< >
กำลังแสดง 1-15 จาก 16 ความเห็น
If a model is invisible, try to reboot Source FilmMaker, make a new session (without loading a map), open the model browser, select the model, close the model browser (without spawning the model into the session, only previewing it), then immediately look at the console (by clicking "Windows" > "Console" at the top of Source FilmMaker). Please copy and paste the last 10-15 or so lines here.

As for the maps, when you load them, do you get an error about missing "HDR" or something?
@Zappy Yes, I do believe the error said something about an HDR.
In that case, the map does not have high dynamic range ("HDR") lighting compiled into it, which Source FilmMaker pretty much "requires" to look right. You can get around it by right-clicking the viewport, disabling lighting, right-clicking the viewport, and re-enabling lighting, but you'll still be pretty limited in many lighting-related regards, I think.
โพสต์ดั้งเดิมโดย Engee Ackbar64:
copy the materials, models, lua, etc
As an aside, don't bother copying Lua - it's a scripting language that SFM doesn't support.
(I guess it won't do any harm, but there's still no point in keeping it in your SFM folder).
As a late update on my situation, I've sort of gotten the maps to work, but if I try to check out an invisible model, I noticed that the model doesn't have a wireframe but still has a collision model. Additionally, the console says something like:
Failed to load models/!
Binding uncached material "potterywheelpanelwireframe", artificially incrementing refcount

Any indication what that could mean when trying to load up an invisible model?
Zappy 30 มี.ค. 2017 @ 10: 25am 
Try copying and pasting the 5 or so lines before and (if applicable) after those two lines you just posted.
After I open up the invisible model or when I try to load it?
Zappy 30 มี.ค. 2017 @ 11: 11am 
Refer to comment #1 of this thread to find out when.
โพสต์ดั้งเดิมโดย Zappy:
If a model is invisible, try to reboot Source FilmMaker, make a new session (without loading a map), open the model browser, select the model, close the model browser (without spawning the model into the session, only previewing it), then immediately look at the console -
This is what I had on my console so far:
Initializing python...
Registering sfm import module into python
1> Running script...
Unknown command "mp_waitingforplayers_time"
NET_GetBindAddresses found 10.0.161: 'Intel(R) Dual Band Wireless-AC 7265'
Opened Steam Socket client(0): listen socket handle ( 1 )
Opened Steam Socket server(1): listen socket handle( 65538)
Network: IP 01.0.0.0.161, mode MP, dedicated No
Port client = 27005
Port server = 27015
Port hltv = 27020
Stopping All Sounds...
Steamworks Stats: Received CLIENT session id: 1432401866525
CreateEvent: event 'show_class_layout' not registered.
CreateEvent: 'show_class_layout' not registered.
Not playing a local game.
Binding uncached material "potterywheelpanelwireframe", artificially incrementing refcount
MDLCache: Failed load of .VVD data for corrin.mdl

Dunno what this long string of code is supposed to indicate though.
Zappy 30 มี.ค. 2017 @ 11: 34pm 
โพสต์ดั้งเดิมโดย Engee Ackbar64:
- MDLCache: Failed load of .VVD data for corrin.mdl -
This is the very line you're looking for. This line means the model files have to be located at/as
-/SourceFilmmaker/game/[folder]/models/corrin.mdl (and .vvd and .dx90.vtx)

So in short, the MDL file shown in that error is the path the model should be located at, starting at
-/SourceFilmmaker/game/[folder]/models/

(Most commonly, people get errors from having it in -/models/models/- instead of just -/models/-.)
แก้ไขล่าสุดโดย Zappy; 30 มี.ค. 2017 @ 11: 36pm
@Zappy So, should I move the .mdl file directly into the models folder? And does that same process also apply to certain models that don't appear on the actual model menu in SFM? (Just another thought that popped up in my head)
Zappy 31 มี.ค. 2017 @ 10: 56am 
โพสต์ดั้งเดิมโดย Engee Ackbar64:
- So, should I move the .mdl file directly into the models folder? -
No. But in this specific case, you should move the .mdl and .vvd and .dx90.vtx files directly into the first "models" folder. (The .vvd and .dx90.vtx files are both just as important as the .mdl file, and they all have to be at the correct place.)

โพสต์ดั้งเดิมโดย Engee Ackbar64:
- And does that same process also apply to certain models that don't appear on the actual model menu in SFM? -
If they give an "MDLCache: Failed load of .VVD data for [path].mdl" error in the console, then make sure the .mdl, .vvd and .dx90.vtx files are located at
-/SourceFilmmaker/game/[folder]/models/[path].mdl (and .vvd and .dx90.vtx)
I tried my best to explain this in my previous post, but of course, without examples, it can be confusing. So... Here are some examples of .VVD errors, and where the files would go:

MDLCache: Failed load of .VVD data for spaceship.mdl
This error means the model files should be located as -/game/[folder]/models/spaceship.mdl
MDLCache: Failed load of .VVD data for player/hwm/scout.mdl
This means the model should be at -/game/[folder]/models/player/hwm/scout.mdl
MDLCache: Failed load of .VVD data for models/ratchet.mdl
This means the model should be at -/game/[folder]/models/models/ratchet.mdl
Any occurence of an .mdl file here should be accompanied by a .vvd and .dx90.vtx file at least.

I hope these examples explain the meaning of the error to you well enough.

Models often have .phy, .dx80.vtx and .sw.vtx files too. These are mostly unneeded by Source FilmMaker, but can be with the .mdl file if you want.



...Or if the models don't give an error in the console despite not showing in the model browser, but they do have a wireframe if you enable that option, and they do show up normally in the map itself when spawned, they just use some material parameters the model browser doesn't like a lot. Don't worry too much about that.
แก้ไขล่าสุดโดย Zappy; 31 มี.ค. 2017 @ 10: 56am
@Zappy That's my problem, please help me

Failed to load models/f_anm.mdl!
Failed to load models/!
Binding uncached material "potterywheelpanelwireframe", artificially incrementing refcount
MDLCache: Failed load of .VVD data for players/trish_una.mdl
Failed to load models/!
Failed to load models/m_anm.mdl!
MDLCache: Failed load of .VVD data for models/mush/mush_pm.mdl
@Zappy I studied everything carefully, tried different variations of your solution, but it didn't help(((
โพสต์ดั้งเดิมโดย Осенний БОБА:
- MDLCache: Failed load of .VVD data for players/trish_una.mdl -
MDLCache: Failed load of .VVD data for models/mush/mush_pm.mdl
These lines say that these models' MDL, DX90.VTX, and VVD files must be located at...
-/SourceFilmmaker/game/[folder]/models/players/trish_una.[extension]
-/SourceFilmmaker/game/[folder]/models/models/mush/mush_pm.[extension]

(With "[folder]" being any active search path.)
แก้ไขล่าสุดโดย Zappy; 19 ก.ย. @ 7: 35am
< >
กำลังแสดง 1-15 จาก 16 ความเห็น
ต่อหน้า: 1530 50

วันที่โพสต์: 29 มี.ค. 2017 @ 12: 46pm
โพสต์: 16