SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SHIII Mods Workshop (https://www.subsim.com/radioroom/forumdisplay.php?f=195)
-   -   [TEC] repaint guns (https://www.subsim.com/radioroom/showthread.php?t=227688)

itadriver 09-15-16 12:23 PM

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

https://s16.postimg.org/j341ivvud/SH...19_29_7_61.jpg

VonDos 09-15-16 01:34 PM

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

itadriver 09-15-16 08:21 PM

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).

areo16 09-15-16 11:29 PM

Quote:

Originally Posted by itadriver (Post 2434669)
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.

HanSolo78 09-16-16 12:10 AM

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.

itadriver 09-16-16 10:07 AM

Thanks to all.
I will check

areo16 09-16-16 04:24 PM

Quote:

Originally Posted by BL!TZKR!EG (Post 2434699)
...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.

itadriver 09-17-16 01:51 AM

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?

gap 09-17-16 03:33 AM

Quote:

Originally Posted by itadriver (Post 2434951)
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.

itadriver 09-17-16 05:28 AM

Ok thanks


All times are GMT -5. The time now is 04:26 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.