Accuracy on function resource.AddFile()

Hi guys,

I have a question about function “resource.AddFile()”.
Putting a .vmt file into argument adds the .vtf automatically.

My question is :
If the .vtf file is not in the same folder as the .vmt file, will the .vtf file still be added automatically or not ?

I don’t think so, you would have to resource.AddFile it separately.

Someone correct me if im wrong

It will not, but you should keep your VMTs and VTFs together for consistency.

So I’ll add the .vtf separately.
Thanks for your answers guys.