Hello,
I am trying to import a test weapon model.
I am using 3ds2unr, with the instructions from here: http://www.planetunreal.com/wod/tutorials/importing.htm
I have a folder in my main/root UT2003 directory called 'testwep'.
c:\UT2003\testwep
In this folder, I have two directories: 'Models' and 'Classes'.
c:\UT2003\testwep\Classes
c:\UT2003\testwep\Models
In the 'Classes' folder, I have one file, created by 3ds2unr, called 'testwep.uc'.
c:\UT2003\testwep\Classes\testwep.uc
In the 'Models' folder, I have two files, created by 3ds2unr, called 'testwep_a.3d' and 'testwep_d.3d'.
c:\UT2003\testwep\Models\testwep_a.3d
c:\UT2003\testwep\Models\testwep_d.3d
The file, 'testwep.uc', consists of the following:
I have added the following line to the 'UT2003.ini' file:
When I run 'ucc make' from the command line, I get the following error:
Can anyone help me figure out why this isn't working?
I am trying to import a test weapon model.
I am using 3ds2unr, with the instructions from here: http://www.planetunreal.com/wod/tutorials/importing.htm
I have a folder in my main/root UT2003 directory called 'testwep'.
c:\UT2003\testwep
In this folder, I have two directories: 'Models' and 'Classes'.
c:\UT2003\testwep\Classes
c:\UT2003\testwep\Models
In the 'Classes' folder, I have one file, created by 3ds2unr, called 'testwep.uc'.
c:\UT2003\testwep\Classes\testwep.uc
In the 'Models' folder, I have two files, created by 3ds2unr, called 'testwep_a.3d' and 'testwep_d.3d'.
c:\UT2003\testwep\Models\testwep_a.3d
c:\UT2003\testwep\Models\testwep_d.3d
The file, 'testwep.uc', consists of the following:
Code:
//=============================================================================
// testwep.
//=============================================================================
class testwep expands Actor;
#exec MESH IMPORT MESH=testwep ANIVFILE=MODELS\testwep_a.3d DATAFILE=MODELS\testwep_d.3d X=0 Y=0 Z=0
#exec MESH ORIGIN MESH=testwep X=0 Y=0 Z=0
#exec MESH SEQUENCE MESH=testwep SEQ=All STARTFRAME=0 NUMFRAMES=1
#exec MESH SEQUENCE MESH=testwep SEQ=ENFORCER STARTFRAME=0 NUMFRAMES=1
#exec TEXTURE IMPORT NAME=Jtestwep1 FILE=MODELS\testwep1.PCX GROUP=Skins FLAGS=2 // Material #1
#exec MESHMAP NEW MESHMAP=testwep MESH=testwep
#exec MESHMAP SCALE MESHMAP=testwep X=0.1 Y=0.1 Z=0.2
#exec MESHMAP SETTEXTURE MESHMAP=testwep NUM=1 TEXTURE=Jtestwep1
defaultproperties
{
DrawType=DT_Mesh
Mesh=testwep
}
I have added the following line to the 'UT2003.ini' file:
Code:
EditPackages=testwep
When I run 'ucc make' from the command line, I get the following error:
Code:
Analyzing...
Bad class definition 'testwep'/'' /840/840
Can't find file '..\testwep\Classes\testwep.uc' for import
General Protection fault!
History:
Exiting due to error
Can anyone help me figure out why this isn't working?