Page 5 of 7

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Thu Nov 20, 2014 12:08 pm
by Tosyk
Attached files could be helpful.

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Thu Nov 20, 2014 1:16 pm
by shakotay2
thx. They possibly could if :)
- you had an lta file that was derived from an original ABC v6 file.

The problem is how to calculate the positions.
The ABC v6 format specs says:
the vertex positions are "relative to object's origin".

I was thinking to add the parents pos as an offset to the child's pos.
(I don't see any matrices in the ABC files which would make things easier.)

ModelEdit shows identical Translations for parent and child bones:
sanjuro_abs_rel.jpg
There's bounding boxes (Min/Max) for each node in the ABC file.
I'll try to calculate a median and use it as an pos offset.

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Thu Nov 20, 2014 1:33 pm
by Tosyk
shakotay2 wrote:thx. They surely would if :)
- you had an lta file that was derived from an original ABC v6 file.
I need to get back home to find out what makes *.lta files.

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Thu Nov 20, 2014 1:48 pm
by shakotay2
I looked at some noone lives forever ltas which seems to be the old format that won't help with ABC format, I guess.

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Thu Nov 20, 2014 5:05 pm
by zZaRDoZz
shakotay2 wrote:thx. They possibly could if :)
- you had an lta file that was derived from an original ABC v6...
I don't know of anything like an lta for an abc v6 model, Sanity akins artifact does have some abcV6 models that were later turned into abcV12 models for mm9- they are both compiled however.

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Thu Nov 20, 2014 6:20 pm
by shakotay2
did some translations:
puzzleMe.jpg
(Looks like an improvement but sadly is far from being correct.)

This is the skeletal hierarchy:

Code: Select all

#  0 sanjuro # NumChildren: 1
                1 pelvis # NumChildren: 4
                        2 right_legu_1 # NumChildren: 1
                                3 right_legu_2 # NumChildren: 1
                                        4 right_legl_1 # NumChildren: 1
                                                 5 right_legl_foot # NumChildren: 0

                        6 pelvis_1 # NumChildren: 0
                        7 left_legu_1 # NumChildren: 1
                                8 left_legu_2 # NumChildren: 1
                                        9 left_legl_1 # NumChildren: 1
                                                10 left_legl_foot # NumChildren: 0

                        11 torso # NumChildren: 5
                                12 left_armu_shoulder1 # NumChildren: 0
                                13 left_armu_shoulder # NumChildren: 1
                                        14 left_armu # NumChildren: 1
                                                15 left_arml # NumChildren: 1
                                                        16 left_arml_hand # NumChildren: 0
                                17 head_neck # NumChildren: 1
                                        18 head # NumChildren: 1
                                                19 head_helmet # NumChildren: 1
                                                        20 head_2 # NumChildren: 0
                                21 right_armu_shoulder1 # NumChildren: 0
                                22 right_armu_shoulder # NumChildren: 1
                                        23 right_armu # NumChildren: 1
                                                24 right_arml # NumChildren: 1
                                                        25 right_arml_hand # NumChildren: 1
                                                                26 GUN_HAND # NumChildren: 0
and this the parent ID array which I created manually as a quick hack:
parIDs[27]= {0,0,1,2,3,4,1,1,7,8,9,1,11,11,13,14,15,11,17,18,19,11,11,22,23,24,25}

(first 0 normally being -1 but it's unused here)

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Thu Nov 20, 2014 8:33 pm
by zZaRDoZz
just pm'd shakotay2.

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Sat Nov 29, 2014 4:56 pm
by zZaRDoZz
Let's see if I can get the old dat format up.


No broadband, no upload.
I'll try again later.

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Wed Dec 10, 2014 3:56 am
by zZaRDoZz
Okay, hopefully I've got all my ducks in a row this time. Let's see...

meh, had to use filefactory.

http://www.filefactory.com/file/1g7kg4v ... Hv1MAPS.7z

that should contain the ed. files for KPCs Bad Streets, shogo's Avernus, and their corresponding dat files.

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Wed Dec 10, 2014 2:50 pm
by shakotay2
here's a point cloud of a map:
07_Avernus1.JPG

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Thu Dec 11, 2014 4:12 am
by zZaRDoZz
I'm aware of abc models having to be shelved, that's understandable. As useless as the following info probably is, please understand I' only posting it for documentation purposes.

From VGames:
If you open up a model with a hex editor, search for a node u want to get rid of, change the 3rd character after the last letter or number of the name of the node to 01 that will null that node. Go into modeledit and select all null nodes button in the model section in top menu. Then select remove node and it will remove them but it will stick that piece of the model to the next node. We need to figure out how to stop that and get rid of the model piece altogether.

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Fri Feb 06, 2015 10:57 am
by knifelemon
can you give me any script or plugin?

i have 3ds max 7 , 2011 | 2012 , maya 7 , 2012

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Mon Feb 16, 2015 4:35 am
by zZaRDoZz
knifelemon wrote:can you give me any script or plugin?

i have 3ds max 7 , 2011 | 2012 , maya 7 , 2012

Sorry knifemelon, bur the only version of 3dsMax that worked with abc version 6 was 3dsmax 2.0 and you had to have windows nt for the plugins to work. the ltb files you're dealing with are a different format for all its worth.

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Tue Feb 17, 2015 12:24 pm
by knifelemon
zZaRDoZz wrote:
knifelemon wrote:can you give me any script or plugin?

i have 3ds max 7 , 2011 | 2012 , maya 7 , 2012

Sorry knifemelon, bur the only version of 3dsMax that worked with abc version 6 was 3dsmax 2.0 and you had to have windows nt for the plugins to work. the ltb files you're dealing with are a different format for all its worth.
OMG :(

Thank you for letting us know.

Re: LithTech Models (.abc, .ltb, .dat)

Posted: Sun Mar 20, 2016 1:18 pm
by onelove1210
Hello
Could you mind updating new .ltb plugins, all files of Sudden Attack Korea can't be imported, they had been updated to ver 2.0
sample files:
PSY.LTB
ak47.ltb