I'm making a map,but I need to change the texture of some vehicles.
I have this code
And this error in RedOrchesta.log
Warning: Missing Function Function ROVehicles.BA64Factory.StaticPrecache
Warning: Missing Function Function ROVehicles.BA64Factory.UpdatePrecacheMaterials
T.I.A.
I have this code
PHP:
//=============================================================================
// Chory_BA64Factory.
//=============================================================================
class Chory_BA64Factory extends BA64Factory;
#exec OBJ LOAD FILE=..\Textures\ChoryText.utx
static function StaticPrecache(LevelInfo L)
{
super(ROTreadCraft).StaticPrecache(L);
L.AddPrecacheMaterial(Material'ChoryText.vehiculos_ex.BA64');
}
simulated function UpdatePrecacheMaterials()
{
Level.AddPrecacheMaterial(Material'ChoryText.vehiculos_ex.BA64');
super(ROTreadCraft).UpdatePrecacheMaterials();
}
Warning: Missing Function Function ROVehicles.BA64Factory.StaticPrecache
Warning: Missing Function Function ROVehicles.BA64Factory.UpdatePrecacheMaterials
T.I.A.
Last edited: