PDA

View Full Version : [UT2004 scripting][RO] Cambio de texturas



Al-berto
10-17-2008, 04:02 PM
Estoy intentando cambiar las texturas de determinados vehiculos en un mapa para el Red Orchestra usando este código


//================================================== ===========================
// 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.vehic ulos_ex.BA64');


super(ROTreadCraft).UpdatePrecacheMaterials();
}


Pero una vez compilado, tanto con el propio editor, como atraves del wotgreal, sin problemas, cuando lo ejecuto me genera este error
Warning: Missing Function Function ROVehicles.BA64Factory.StaticPrecache
Warning: Missing Function Function ROVehicles.BA64Factory.UpdatePrecacheMaterials
y no se lanza el juego.
He mirado por otros foros, y he hecho la misma pregunta en RedOrchestra.com, pero nadie responde.

Gracias