Hey guys, I'm having problems with my mod. I thought it would be cool to try and port the scout's scattergun from TF2 to my mod, and it did work surprisingly well, except for one problem, this:
[IMG]http://mangster.freeshell.org/stest0000.jpg[/IMG]
it says this in the console:
[code]Error: Material "models/weapons/v_scattergun/v_scattergun" : proxy "weapon_invis" not found!
Error: Material "models/weapons/v_scattergun/v_scattergun" : proxy "ModelGlowColor" not found!
Error: Material "models/weapons/v_scattergun/v_scattergun" : proxy "CommunityWeapon" not found![/code]
The model/materials I am using is a direct port from tf2 using GFCScape. I just reskined the shotgun.
Its because its trying to use a different shader, one that vanilla OB engine doesnt support, but was implemented into TF.
[QUOTE=Mangmasta;19717409]Hey guys, I'm having problems with my mod. I thought it would be cool to try and port the scout's scattergun from TF2 to my mod, and it did work surprisingly well, except for one problem, this:
[IMG]http://mangster.freeshell.org/stest0000.jpg[/IMG]
it says this in the console:
[code]Error: Material "models/weapons/v_scattergun/v_scattergun" : proxy "weapon_invis" not found!
Error: Material "models/weapons/v_scattergun/v_scattergun" : proxy "ModelGlowColor" not found!
Error: Material "models/weapons/v_scattergun/v_scattergun" : proxy "CommunityWeapon" not found![/code]
The model/materials I am using is a direct port from tf2 using GFCScape. I just reskined the shotgun.[/QUOTE]
Remove this from your vmt:
[code] "Proxies"
{
"weapon_invis"
{
}
"ModelGlowColor"
{
"resultVar" "$glowcolor"
}
"Equals"
{
"srcVar1" "$glowcolor"
"resultVar" "$selfillumtint"
}
"Equals"
{
"srcVar1" "$glowcolor"
"resultVar" "$color2"
}
"CommunityWeapon"
{
"resultVar" "$commweapon"
}
"Multiply"
{
"srcVar1" "$commweapon"
"srcVar2" "$commadd_phongexponent"
"resultVar" "$tempvar"
}
"Add"
{
"srcVar1" "$tempvar"
"srcVar2" "$basephongexponent"
"resultVar" "$phongexponent"
}
"Multiply"
{
"srcVar1" "$commweapon"
"srcVar2" "$commadd_phongboost"
"resultVar" "$tempvar"
}
"Add"
{
"srcVar1" "$tempvar"
"srcVar2" "$basephongboost"
"resultVar" "$phongboost"
}
}[/code]
Thank you for the suggestion but it didn't work...
That's ok though, I decided to scrap the project because I found [url=http://www.facepunch.com/showthread.php?t=755095]this[/url]!
Thanks again.
Sorry, you need to Log In to post a reply to this thread.