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 09-15-16, 12:23 PM   #1
itadriver
Commander
 
Join Date: Aug 2007
Location: Italia Venezia
Posts: 464
Downloads: 221
Uploads: 0
Default repaint guns

I have repainted the ship with no problem, but I'm not able to repaint the guns in the guns.dat. I use GIMP. Is there anybody who can explain how to do?
Thanks

This is the new Littorio's hull

itadriver is offline   Reply With Quote
Old 09-15-16, 01:34 PM   #2
VonDos
Admiral
 
Join Date: Mar 2007
Location: Italy
Posts: 2,217
Downloads: 75
Uploads: 49


Default

Hi mate!
Aren't gun's *.tga included into dat? (As embedded images)
__________________

Those, others and WIP ships are avaiable in my SHIPYARD here:
http://www.subsim.com/radioroom/showthread.php?t=136508
VonDos is offline   Reply With Quote
Old 09-15-16, 08:21 PM   #3
itadriver
Commander
 
Join Date: Aug 2007
Location: Italia Venezia
Posts: 464
Downloads: 221
Uploads: 0
Default

Yes. I have exported the material's embedded image, but after modified and re imported, in game it has no change. With the ship hull, the same procedure works.

(Il problema é che, pur avendo modificato colore e tonalità, nel gioco non cambia niente
Il motivo credo che sia il canale alfa ma non sono sicuro).
itadriver is offline   Reply With Quote
Old 09-15-16, 11:29 PM   #4
areo16
Sonar Guy
 
Join Date: Oct 2013
Posts: 377
Downloads: 64
Uploads: 0
Default

Quote:
Originally Posted by itadriver View Post
Yes. I have exported the material's embedded image, but after modified and re imported, in game it has no change. With the ship hull, the same procedure works.

(Il problema é che, pur avendo modificato colore e tonalità, nel gioco non cambia niente
Il motivo credo che sia il canale alfa ma non sono sicuro).
Be sure that no texture of same name exists in data/Textures. These textures will override textures in .dat files.
areo16 is offline   Reply With Quote
Old 09-16-16, 12:10 AM   #5
HanSolo78
Sea Lord
 
Join Date: Apr 2005
Location: Austria
Posts: 1,842
Downloads: 100
Uploads: 3


Default

Another hint.... if there are numerous guns files the littorio guns could also come from another gun dat file. Often mods are added and the guns exist more than twice in the guns library files.
__________________
HanSolo78 is offline   Reply With Quote
Old 09-16-16, 10:07 AM   #6
itadriver
Commander
 
Join Date: Aug 2007
Location: Italia Venezia
Posts: 464
Downloads: 221
Uploads: 0
Default

Thanks to all.
I will check
itadriver is offline   Reply With Quote
Old 09-16-16, 04:24 PM   #7
areo16
Sonar Guy
 
Join Date: Oct 2013
Posts: 377
Downloads: 64
Uploads: 0
Default

Quote:
Originally Posted by BL!TZKR!EG View Post
...which is a waste of memory.

Could we maybe push the limits a little more by fixing this?
Well, only ids will overwrite ids. Not name of model. the model id or parent id will overwrite same id. So there is no point in having two models in different dat files that have same id.

As far as I understand it.

As far as pushing limits, if its overwriting other ids then it is rewriting in the same address space? I'm not sure.
areo16 is offline   Reply With Quote
Old 09-17-16, 01:51 AM   #8
itadriver
Commander
 
Join Date: Aug 2007
Location: Italia Venezia
Posts: 464
Downloads: 221
Uploads: 0
Default

Thanks again.
An other question about ID:
For me is simplier to write an example:

In ship#1 I have:
In Dat file a node with ID "123abc" and in Sim file the related node with ID "456abc";

In ship#2 I have:
In Dat file a node with ID "789abc" and in Sim file the related node with ID "456abc" (the same ID on ship1).

Is this considered a conflict or not? The fact that the two ID in sim file are referred to different .dat ID, is relevant?
itadriver is offline   Reply With Quote
Old 09-17-16, 03:33 AM   #9
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,214
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by itadriver View Post
Thanks again.
An other question about ID:
For me is simplier to write an example:

In ship#1 I have:
In Dat file a node with ID "123abc" and in Sim file the related node with ID "456abc";

In ship#2 I have:
In Dat file a node with ID "789abc" and in Sim file the related node with ID "456abc" (the same ID on ship1).

Is this considered a conflict or not? The fact that the two ID in sim file are referred to different .dat ID, is relevant?
As a rule of thumbs never use the same Id more than once, no matter what kind of file the duplicated Id is located in.
__________________
_____________________
|May the Force be with you!|
...\/
gap is offline   Reply With Quote
Old 09-17-16, 05:28 AM   #10
itadriver
Commander
 
Join Date: Aug 2007
Location: Italia Venezia
Posts: 464
Downloads: 221
Uploads: 0
Default

Ok thanks
itadriver is offline   Reply With Quote
Reply


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 04:00 PM.


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