Ok I am a spell coder for the DarkMagic MOD.
I have been trying to import a new wings model for my 'AngelicWings' spell. I have a 8 bit .pcx, and have already converted the .3ds file to the .3d files....
My problem is in compiling the class..
This is what I have in the class:
//=============================================================================
// AngelWings.
//=============================================================================
class AngelWings expands Effects;
#exec MESH IMPORT MESH=AngelWings ANIVFILE=c:\UnrealTournament\wingstest\Models\AngelicWings_a.3d DATAFILE=c:\UnrealTournament\wingstest\Models\AngelicWings_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=AngelWings X=0 Y=00 Z=0
#exec OBJ LOAD FILE=c:\UnrealTournament\Textures\wingstest.utx PACKAGE=winstest.Effects
#exec MESH SEQUENCE MESH=AngelWings SEQ=All STARTFRAME=0 NUMFRAMES=41
#exec MESH SEQUENCE MESH=AngelWings SEQ=flying STARTFRAME=0 NUMFRAMES=41
#exec MESHMAP NEW MESHMAP=AngelWings MESH=AngelWings
#exec MESHMAP SCALE MESHMAP=AngelWings X=0 Y=0 Z=0
#exec MESHMAP SETTEXTURE MESHMAP=AngelWings NUM=1 TEXTURE=wingstest.Effects.AngelicWings
simulated function timer()
{
Playsound(Effectsound1);
}
simulated function PostBeginPlay()
{
loopanim('flying',0.3,0.3);
settimer(1.0,True);
}
defaultproperties
{
DrawType=DT_Mesh
Style=STY_Translucent
Mesh=LodMesh'wingstest.AngelWings'
DrawScale=1.200000
ScaleGlow=2.000000
bUnlit=True
}
everytime I compile it I get this warning:
C:\UNREALTOURNAMENT\wingstest\Class\AngelWings.uc<15> : ExecWarning, Missing meshmap
C:\UNREALTOURNAMENT\wingstest\Class\AngelWings.uc<17> : ExecWarning, Missing meshmap, texture, or num <MESHMAP=AngelicWings NUM=1 TEXTURE=wingstest.Effects.AngelicWings>
And when I go into UED I get the model but the texture isn't there and any texture I apply doesn't show....
Does anyone know what Im doing wrong?
I have been trying to import a new wings model for my 'AngelicWings' spell. I have a 8 bit .pcx, and have already converted the .3ds file to the .3d files....
My problem is in compiling the class..
This is what I have in the class:
//=============================================================================
// AngelWings.
//=============================================================================
class AngelWings expands Effects;
#exec MESH IMPORT MESH=AngelWings ANIVFILE=c:\UnrealTournament\wingstest\Models\AngelicWings_a.3d DATAFILE=c:\UnrealTournament\wingstest\Models\AngelicWings_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=AngelWings X=0 Y=00 Z=0
#exec OBJ LOAD FILE=c:\UnrealTournament\Textures\wingstest.utx PACKAGE=winstest.Effects
#exec MESH SEQUENCE MESH=AngelWings SEQ=All STARTFRAME=0 NUMFRAMES=41
#exec MESH SEQUENCE MESH=AngelWings SEQ=flying STARTFRAME=0 NUMFRAMES=41
#exec MESHMAP NEW MESHMAP=AngelWings MESH=AngelWings
#exec MESHMAP SCALE MESHMAP=AngelWings X=0 Y=0 Z=0
#exec MESHMAP SETTEXTURE MESHMAP=AngelWings NUM=1 TEXTURE=wingstest.Effects.AngelicWings
simulated function timer()
{
Playsound(Effectsound1);
}
simulated function PostBeginPlay()
{
loopanim('flying',0.3,0.3);
settimer(1.0,True);
}
defaultproperties
{
DrawType=DT_Mesh
Style=STY_Translucent
Mesh=LodMesh'wingstest.AngelWings'
DrawScale=1.200000
ScaleGlow=2.000000
bUnlit=True
}
everytime I compile it I get this warning:
C:\UNREALTOURNAMENT\wingstest\Class\AngelWings.uc<15> : ExecWarning, Missing meshmap
C:\UNREALTOURNAMENT\wingstest\Class\AngelWings.uc<17> : ExecWarning, Missing meshmap, texture, or num <MESHMAP=AngelicWings NUM=1 TEXTURE=wingstest.Effects.AngelicWings>
And when I go into UED I get the model but the texture isn't there and any texture I apply doesn't show....
Does anyone know what Im doing wrong?