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: 465
Downloads: 228
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,352
Downloads: 78
Uploads: 60


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: 465
Downloads: 228
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: 382
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: 465
Downloads: 228
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: 382
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
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 05:10 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.