Any one know what the model files are
Re: Any one know what the model files are
Hey, if I want to port MD units (Crusher, Ostwind, Thor's hammer) to the original game, what files should I copy? I know that at least icon files (Finder.ilb, H_Finder.ilb), wireframes and script data but are there texture files for these units or something I should also copy?

Not all Ormus are mine. When in doubt, please ask...Matthew Lever wrote:Take out Ormus as soon as you see them.
-
- BlackSect Creator
- Posts: 890
- Joined: Sun Dec 02, 2007 1:16 am
- Location: USA
- Contact:
Re: Any one know what the model files are
You should copy the SET.BAS file. This contains the actual vehicle model and texture.

Re: Any one know what the model files are
Thanks, I'll try this out.GoldStar611 wrote:You should copy the SET.BAS file. This contains the actual vehicle model and texture.
Btw, what is the function of visproto.lst file? It seems to contain some information about models but is it required at all?

Not all Ormus are mine. When in doubt, please ask...Matthew Lever wrote:Take out Ormus as soon as you see them.
-
- BlackSect Creator
- Posts: 890
- Joined: Sun Dec 02, 2007 1:16 am
- Location: USA
- Contact:
Re: Any one know what the model files are
Oh yes, you may actually have to copy the whole SET folder. I totally forgot about that

Re: Any one know what the model files are
I copied sets (1-6, 46) skeleton files, scripts, icon files and sounds and it seems to work somehow but the units are almost silent and they don't have icons (icons are blank)... 


Not all Ormus are mine. When in doubt, please ask...Matthew Lever wrote:Take out Ormus as soon as you see them.
-
- Turantul 1 (Veteran)
- Posts: 286
- Joined: Sat Nov 21, 2009 3:18 pm
Re: Any one know what the model files are
GoldStar611, Please teach me How to change the actual model size
Still I can't understand these BAS files decently.
Still I can't understand these BAS files decently.
-
- BlackSect Creator
- Posts: 890
- Joined: Sun Dec 02, 2007 1:16 am
- Location: USA
- Contact:
Re: Any one know what the model files are
The bas file contains SKL files which are the models for the units. To change the unit size you need to understand the SKL format. To understand the format of the SKL file it would be wise to read up on EA IFF 85 format created by Electronic Arts back in 1985, this is the type of SKL files.
The SKL file is made of two, sometimes three, sections (SEN2 POL2 POO2). Of the three sections, two are known by me. The POO2 section contains a list of points encoded as IEEE754 floating point units (the verticies of the wireframes). The POL2 section contains a list of edges, or lines that connect from point to point. The SEN2 section is currently not understood but looks like the POO2 section with verticies as well.
Read this thread for a description of SKL files
viewtopic.php?f=23&t=464&start=0
Also see this post (inside same thread) for a visual description of what the SKL file contains
viewtopic.php?f=23&t=464&start=10#p4917
The SKL file is made of two, sometimes three, sections (SEN2 POL2 POO2). Of the three sections, two are known by me. The POO2 section contains a list of points encoded as IEEE754 floating point units (the verticies of the wireframes). The POL2 section contains a list of edges, or lines that connect from point to point. The SEN2 section is currently not understood but looks like the POO2 section with verticies as well.
Read this thread for a description of SKL files
viewtopic.php?f=23&t=464&start=0
Also see this post (inside same thread) for a visual description of what the SKL file contains
viewtopic.php?f=23&t=464&start=10#p4917

-
- Turantul 1 (Veteran)
- Posts: 286
- Joined: Sat Nov 21, 2009 3:18 pm
Re: Any one know what the model files are
Thanks very much. It would be help me a lot 

Re: Any one know what the model files are
Ok, SKL files contain the unit wireframes and VBMP files are for textures but what are these "base" files found in many scripts? (These examples are from visproto.lst and SET.sdf of set 2):
Are these "complete" models which contain both wireframes and textures or what?
Code: Select all
VP_BRGR1.base ; 00 QUADER source: MODELING/_MYKONIER/MYKO1
Code: Select all
StzMUSE.base skeleton/STzMUSE.sklt 0 1 0 0 ;13

Not all Ormus are mine. When in doubt, please ask...Matthew Lever wrote:Take out Ormus as soon as you see them.
-
- BlackSect Creator
- Posts: 890
- Joined: Sun Dec 02, 2007 1:16 am
- Location: USA
- Contact:
Re: Any one know what the model files are
Sorry I never responded about your set.sdf/visproto.lst question. I completely overlooked it.
To my knowledge, the SDF and LST files are not needed or read by urban assault. I beleive they are there to help us disassemble the BAS file.
Now the visproto.lst file contains information regarding vehicles, while set.sdf contains information regarding buildings.
I would have to read over my notes again, I remember finding X,Y coordinate pairs inside the BAS file -- this may be the same information in the SDF/LST files but I never made that connection. That was my first guess, that all the numbers represent X,Y points on the texture. Maybe you can ask a more questions and I can try to explain better
--EDIT--
I read your post again and I believe you have some confusion. SKL contains wireframes for heads up display only! The BASE files are wireframes for full vehicles/buildings. And you are correct about VBMP files.
To my knowledge, the SDF and LST files are not needed or read by urban assault. I beleive they are there to help us disassemble the BAS file.
Now the visproto.lst file contains information regarding vehicles, while set.sdf contains information regarding buildings.
I would have to read over my notes again, I remember finding X,Y coordinate pairs inside the BAS file -- this may be the same information in the SDF/LST files but I never made that connection. That was my first guess, that all the numbers represent X,Y points on the texture. Maybe you can ask a more questions and I can try to explain better
--EDIT--
I read your post again and I believe you have some confusion. SKL contains wireframes for heads up display only! The BASE files are wireframes for full vehicles/buildings. And you are correct about VBMP files.
