Any one know what the model files are

For those of us who are curious and like to poke around in the game's data files and scripts as well as glitching. Caters to anything from unit/building stats to level data to telling how to glitch and stories of game errors.
Ormu
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 840
Joined: Fri Dec 26, 2008 4:59 pm
Location: Finland

Re: Any one know what the model files are

Post by Ormu » Sun Mar 28, 2010 12:54 pm

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?
Image
Matthew Lever wrote:Take out Ormus as soon as you see them.
UA community Discord channel: https://discord.gg/7H4dFQH
Not all Ormus are mine. When in doubt, please ask...

GoldStar611
BlackSect Creator
BlackSect Creator
Posts: 860
Joined: Sun Dec 02, 2007 1:16 am
Location: USA
Contact:

Re: Any one know what the model files are

Post by GoldStar611 » Sun Mar 28, 2010 10:25 pm

You should copy the SET.BAS file. This contains the actual vehicle model and texture.
Image
Image

Ormu
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 840
Joined: Fri Dec 26, 2008 4:59 pm
Location: Finland

Re: Any one know what the model files are

Post by Ormu » Sat Apr 03, 2010 10:09 am

GoldStar611 wrote:You should copy the SET.BAS file. This contains the actual vehicle model and texture.
Thanks, I'll try this out.

Btw, what is the function of visproto.lst file? It seems to contain some information about models but is it required at all?
Image
Matthew Lever wrote:Take out Ormus as soon as you see them.
UA community Discord channel: https://discord.gg/7H4dFQH
Not all Ormus are mine. When in doubt, please ask...

GoldStar611
BlackSect Creator
BlackSect Creator
Posts: 860
Joined: Sun Dec 02, 2007 1:16 am
Location: USA
Contact:

Re: Any one know what the model files are

Post by GoldStar611 » Sat Apr 03, 2010 10:42 pm

Oh yes, you may actually have to copy the whole SET folder. I totally forgot about that
Image
Image

Ormu
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 840
Joined: Fri Dec 26, 2008 4:59 pm
Location: Finland

Re: Any one know what the model files are

Post by Ormu » Sun Apr 04, 2010 9:18 am

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)... :|
Image
Matthew Lever wrote:Take out Ormus as soon as you see them.
UA community Discord channel: https://discord.gg/7H4dFQH
Not all Ormus are mine. When in doubt, please ask...

garry's waffle
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 286
Joined: Sat Nov 21, 2009 3:18 pm

Re: Any one know what the model files are

Post by garry's waffle » Thu Jul 15, 2010 10:42 pm

GoldStar611, Please teach me How to change the actual model size

Still I can't understand these BAS files decently.

GoldStar611
BlackSect Creator
BlackSect Creator
Posts: 860
Joined: Sun Dec 02, 2007 1:16 am
Location: USA
Contact:

Re: Any one know what the model files are

Post by GoldStar611 » Sat Jul 17, 2010 12:20 am

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
Image
Image

garry's waffle
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 286
Joined: Sat Nov 21, 2009 3:18 pm

Re: Any one know what the model files are

Post by garry's waffle » Sat Jul 17, 2010 10:35 pm

Thanks very much. It would be help me a lot :D

Ormu
Turantul 1 (Veteran)
Turantul 1 (Veteran)
Posts: 840
Joined: Fri Dec 26, 2008 4:59 pm
Location: Finland

Re: Any one know what the model files are

Post by Ormu » Thu Jan 06, 2011 9:01 pm

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):

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
Are these "complete" models which contain both wireframes and textures or what?
Image
Matthew Lever wrote:Take out Ormus as soon as you see them.
UA community Discord channel: https://discord.gg/7H4dFQH
Not all Ormus are mine. When in doubt, please ask...

GoldStar611
BlackSect Creator
BlackSect Creator
Posts: 860
Joined: Sun Dec 02, 2007 1:16 am
Location: USA
Contact:

Re: Any one know what the model files are

Post by GoldStar611 » Fri Jan 07, 2011 6:08 pm

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.
Image
Image

Post Reply