• Please make sure you are familiar with the forum rules. You can find them here: https://forums.tripwireinteractive.com/index.php?threads/forum-rules.2334636/

Code Coding Error with my Code

Speirs

Grizzled Veteran
Apr 22, 2006
286
22
I have been trying to change the skins on the German helmet. I am getting a compile error.


Error:
Code:
 Error: C:\Program Files\Steam\SteamApps\common\red orchestra\speirsstuff-v2\Classes\ROFINHelmet.uc(8) : Error, Can't find Material 'FinSkin.SummerTunic.fin_headgear'

My Subclass:
Code:
//-----------------------------------------------------------
//
//-----------------------------------------------------------
class ROFINHelmet extends ROGermanHelmet;

static function StaticPrecache(LevelInfo L)
{
L.AddPrecacheMaterial(Material'FinSkin.SummerTunic.fin_headgear');
}

Any ideas why it is saying it can't find my texture that I have?