SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SHIII Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 03-08-07, 05:07 PM   #1
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default New TGA implant

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:
  Reply With Quote
Old 03-08-07, 05:21 PM   #2
cobalt
Commander
 
Join Date: May 2006
Posts: 440
Downloads: 21
Uploads: 0
Default

usual pack3d does that when you put it in the wrong place in the hex, triple check you placed it right behind another texture
cobalt is offline   Reply With Quote
Old 03-08-07, 05:29 PM   #3
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

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!
  Reply With Quote
Old 03-08-07, 05:36 PM   #4
cobalt
Commander
 
Join Date: May 2006
Posts: 440
Downloads: 21
Uploads: 0
Default

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
cobalt is offline   Reply With Quote
Old 03-08-07, 05:49 PM   #5
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

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.
  Reply With Quote
Old 03-08-07, 06:23 PM   #6
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

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
  Reply With Quote
Old 03-08-07, 07:33 PM   #7
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

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.
  Reply With Quote
Old 03-08-07, 08:07 PM   #8
ref
Grey Wolf
 
Join Date: Nov 2005
Location: Mar del Plata, Argentina
Posts: 871
Downloads: 0
Uploads: 0
Default

Quote:
Originally Posted by privateer
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

Ref
__________________
ref is offline   Reply With Quote
Old 03-08-07, 08:18 PM   #9
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

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.

Last edited by Madox58; 03-09-07 at 12:43 AM.
  Reply With Quote
Old 03-09-07, 03:30 AM   #10
DivingDuck
Grey Wolf
 
Join Date: Jul 2006
Location: Germany
Posts: 902
Downloads: 10
Uploads: 1
Default

Hi Privateer,
Quote:
Originally Posted by 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
DivingDuck is offline   Reply With Quote
Old 03-09-07, 09:30 AM   #11
Madox58
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

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.

Last edited by Madox58; 03-09-07 at 10:02 AM.
  Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 06:14 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.