I've created a new vehicle texture and I've gone through all of the correct steps to make the various extended subclasses (Cannon, CannonPawn, etc). All of these files were put into a Classes folder in a custom package folder (FallBlauCustom). I imported the new texture 'Stug3_ext_dunkelGD' into it's own .utx package using the editor and then placed the .utx package into the Texture directory for RO. The custom Vehicle Package name (FallBlauCustom) has been added to the EditPackages list in the Red Orchestra.ini
Now, when I go to compile the Package, everything looks like it's going to work and then an error pops up at the last moment that says:
"Cannot find Material 'SHK_vehicles_tex.Vehicle_ext.Stug3_ext_dunkelGD'"
What gives? The texture package was created correctly and placed into the texture folder. Why can't the texture be found? Or is Material different than texture? Can someone help out?
class SHK_Stug3Destroyer_DunkelGD extends Stug3Destroyer;
static function StaticPrecache(LevelInfo L)
{
super(ROTreadCraft).StaticPrecache(L);
L.AddPrecacheMaterial(Material'SHK_vehicles_tex.Vehicle_ext.Stug3_ext_dunkelGD');
L.AddPrecacheMaterial(Material'axis_vehicles_tex.Treads.Stug3_treads');
L.AddPrecacheMaterial(Material'axis_vehicles_tex.int_vehicles.Stug3_int');
L.AddPrecacheMaterial(Material'axis_vehicles_tex.int_vehicles.stug3_int_s');
}
simulated function UpdatePrecacheMaterials()
{
Level.AddPrecacheMaterial(Material'SHK_vehicles_tex.Vehicle_ext.Stug3_ext_dunkelGD');
Level.AddPrecacheMaterial(Material'axis_vehicles_tex.Treads.Stug3_treads');
Level.AddPrecacheMaterial(Material'axis_vehicles_tex.int_vehicles.Stug3_int');
Level.AddPrecacheMaterial(Material'axis_vehicles_tex.int_vehicles.stug3_int_s');
Super(ROTreadCraft).UpdatePrecacheMaterials();
}
defaultproperties
{
PassengerWeapons(0)=(WeaponPawnClass=Class'FallBlauCustom.SHK_Stug3CannonPawn_DunkelGD')
DestroyedVehicleMesh=StaticMesh'axis_vehicles_stc.Stug3.Stug3_Camo_Destroyed'
Skins(0)=Texture'SHK_vehicles_tex.Vehicle_ext.Stug3_ext_dunkelGD'
}
Now, when I go to compile the Package, everything looks like it's going to work and then an error pops up at the last moment that says:
"Cannot find Material 'SHK_vehicles_tex.Vehicle_ext.Stug3_ext_dunkelGD'"
What gives? The texture package was created correctly and placed into the texture folder. Why can't the texture be found? Or is Material different than texture? Can someone help out?
class SHK_Stug3Destroyer_DunkelGD extends Stug3Destroyer;
static function StaticPrecache(LevelInfo L)
{
super(ROTreadCraft).StaticPrecache(L);
L.AddPrecacheMaterial(Material'SHK_vehicles_tex.Vehicle_ext.Stug3_ext_dunkelGD');
L.AddPrecacheMaterial(Material'axis_vehicles_tex.Treads.Stug3_treads');
L.AddPrecacheMaterial(Material'axis_vehicles_tex.int_vehicles.Stug3_int');
L.AddPrecacheMaterial(Material'axis_vehicles_tex.int_vehicles.stug3_int_s');
}
simulated function UpdatePrecacheMaterials()
{
Level.AddPrecacheMaterial(Material'SHK_vehicles_tex.Vehicle_ext.Stug3_ext_dunkelGD');
Level.AddPrecacheMaterial(Material'axis_vehicles_tex.Treads.Stug3_treads');
Level.AddPrecacheMaterial(Material'axis_vehicles_tex.int_vehicles.Stug3_int');
Level.AddPrecacheMaterial(Material'axis_vehicles_tex.int_vehicles.stug3_int_s');
Super(ROTreadCraft).UpdatePrecacheMaterials();
}
defaultproperties
{
PassengerWeapons(0)=(WeaponPawnClass=Class'FallBlauCustom.SHK_Stug3CannonPawn_DunkelGD')
DestroyedVehicleMesh=StaticMesh'axis_vehicles_stc.Stug3.Stug3_Camo_Destroyed'
Skins(0)=Texture'SHK_vehicles_tex.Vehicle_ext.Stug3_ext_dunkelGD'
}
Last edited: