PDA

View Full Version : New TGA implant


Madox58
03-08-07, 05:07 PM
I've imported a complete TGA block for skin use from another dat.
changed ID's on this block and added it in the 1001 data type block.
Pack3d won't open it now.
What did i miss?:hmm:

cobalt
03-08-07, 05:21 PM
usual pack3d does that when you put it in the wrong place in the hex, triple check you placed it right behind another texture

Madox58
03-08-07, 05:29 PM
It's behind one of the existing textures.
I'm rechecking and rechecking.
It's going to be something stupid on my part, no doubt!
:damn:

cobalt
03-08-07, 05:36 PM
find its location and do a search for it via your hex editing program. If you're positive you're right then there must be something wrong with the node you're trying to add.

I could send you a working node via email if you wish.

ps; i'd know none of this if it wasnt for DivingDucks hex editing wisdom

Madox58
03-08-07, 05:49 PM
It's the whole block from weapons_crew.dat
I want to import the whole section TGA and all for use with some crew i'm placeing.
It's the type 2, 3, & 8 chunks

Oh, and Yea, DD is the one I've learned ALOT from.
And Ref's material is my main guide book.

Madox58
03-08-07, 06:23 PM
Here's a question:
ID= 2A 39 CC 9C 7B 94 80 FD
What are the following that are right after?
FF F5 F5 F5 00 E5 E5 E5

I've noticed the same pattern after the ID in other TGA files also
but they are not Parent ID's

Madox58
03-08-07, 07:33 PM
Ok, After looking at several dats I see that some TGAs
are located in different areas of the dat depending on
the object that uses them.
I'll try moveing accordingly and see what happens.

ref
03-08-07, 08:07 PM
Here's a question:
ID= 2A 39 CC 9C 7B 94 80 FD
What are the following that are right after?
FF F5 F5 F5 00 E5 E5 E5

I've noticed the same pattern after the ID in other TGA files also
but they are not Parent ID's

Material properties

All byte values:
Alpha level
Ambient R
Ambient G
Ambient B
2 sided ??
Specular R
Specular G
Specular B
Specular level ??
Glossiness ??
Self Illumination ??
Contrast ??
Reflection ??
Relative Reflection ??
Unknown (dword)
TGA size (dword)
Unknown (possibly float)
Unknown (4 bytes)
Then cames the tga name

Most of the values are from anvart, the ?? are not certain.

DD send me some info on that also, but I'm reinstalling my machine right now so I can't access my mails :cry:

Ref

Madox58
03-08-07, 08:18 PM
Ah, thanks Ref.
Then I need not worry about those on this import.

After moveing the TGA chunks in the dat, everything works fine now.

DivingDuck
03-09-07, 03:30 AM
Hi Privateer,
Ah, thanks Ref.
Then I need not worry about those on this import.

After moveing the TGA chunks in the dat, everything works fine now.
Just see you´ve solved your problem. Sent you a few lines 5 min ago. My first action this day, even before logging in to the forum. Skip them.

Regards,
DD

Madox58
03-09-07, 09:30 AM
Thanks DD,
I'll keep that handy.
Not sure why the first implant didn't take but after I moved and attached it to the
Front section of the ship instead of the Full model,
it works fine.

Looking at the node you sent me, yours and mine were the same except I
didn't include the specular mask section.
I don't think I'd need it for them.