Help Importing ??MESHMAP?? (Call me Erdrik::::DarkMagic

  • Two Factor Authentication is now available on BeyondUnreal Forums. To configure it, visit your Profile and look for the "Two Step Verification" option on the left side. We can send codes via email (may be slower) or you can set up any TOTP Authenticator app on your phone (Authy, Google Authenticator, etc) to deliver codes. It is highly recommended that you configure this to keep your account safe.

Call me Erdrik

Arch Mage
Nov 24, 1999
334
0
0
44
Spring Hill, FL, USA
www.geocities.com
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?
 

Magus

New Member
Oct 7, 2001
69
0
0
Visit site
How about trying it this way:

//=============================================
// 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=0 Z=0

#exec MESHMAP NEW MESHMAP=AngelWings MESH=AngelWings
#exec MESHMAP SCALE MESHMAP=AngelWings X=0 Y=0 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 SETTEXTURE MESHMAP=AngelWings NUM=0 TEXTURE=wingstest.Effects.AngelicWings
 

Call me Erdrik

Arch Mage
Nov 24, 1999
334
0
0
44
Spring Hill, FL, USA
www.geocities.com
welp

that got rid of the first error but I still get this one :p

C:\UNREALTOURNAMENT\wingstest\Class\AngelWings.uc<17> : ExecWarning, Missing meshmap, texture, or num <MESHMAP=AngelicWings NUM=0 TEXTURE=wingstest.Effects.AngelicWings>

Sheesh I go to the WOD forums and Magus answers :D lol
I could have just asked in the team forums huh Magus ;) ?

Ah Well......