| View previous topic :: View next topic |
| Author |
Message |
iambecomelife
Joined: 11 Apr 2005 Posts: 1047
|
Posted: Sun May 01, 2005 3:52 pm Post subject: Problem w/ Paint Schemes In-Game |
|
|
| I'm currently working on a mod that replaces the default textures for cargo ships with skins based on actual shipping companies of the time period. I'm testing it using a variety of custom missions created with the mission editor. Earlier, someone posted that you can control which ships receive which paint schemes by making sure that the ship's name ended in the number of the scheme you wanted - T3 Tanker #02 for NOTMS_T02.tga, etc. However, I have tested this and the skins seem to be assigned randomly. Hence vessels with American skins pften show up under the British flag, British ships under American, etc. Is there any way to resolve this issue, or is this something that cannot be changed? |
|
| Back to top |
|
 |
Gizzmoe
Joined: 22 Mar 2005 Posts: 3011 Location: Düsseldorf, Germany
|
Posted: Mon May 02, 2005 3:32 am Post subject: |
|
|
You´ll get more help with this in the Mod forum, so I´ve moved the topic over there.
Gizzmoe |
|
| Back to top |
|
 |
sergbuto
Joined: 14 Sep 2002 Posts: 2530 Location: Sweden
|
Posted: Mon May 02, 2005 6:33 am Post subject: |
|
|
It works for me in single missions. Have not tested that in a campaign yet.
However, for some ships, there is a mismatch between the specified numbers with the name of the ship in the mission file and TGA textures numbering.
In particular, for T3 tanker, when I use the format of the ship name as BR T3 Tanker#X (i.e. without space between the end of the name and the number #X=1,2,3), the relation between the numbers and textures is the following
#1 _T03
#2 _T01
#3 _T02
If I use format BR T3 Tanker #X (i.e. with a space), the relation becomes
#1 _T02
#2 _T03
#3 _T01
Weird. It looks like the format of the ship-name line is important.
It also looks like the number of used skins is limited to three.
For a few ships I tested before, the option with "no spacing" worked quite okay in terms of matching numbers. http://www.subsim.com/phpBB/viewtopic.php?t=33341&highlight=
It is easy to check wether the texture assignment is at random or not. I set up a mission with three ships of the same class, say, T3 tankers and specify the same skin number in the ship-name line for all three tankers. When the mission is loaded they all have the same skin and it never changes, no matter how many times I load the mission. |
|
| Back to top |
|
 |
iambecomelife
Joined: 11 Apr 2005 Posts: 1047
|
Posted: Mon May 02, 2005 12:18 pm Post subject: |
|
|
This is kind of disappointing. I can't really see the advantage of making the paint scheme allcoation system have a kind of order, but one that is so counterintuitive. I, too noticed this - my Swedish-skinned tanker always appeared flying the British flag, etc. Strange that games much older than SH3 have perfectly understandable ways of identifying which vehicle gets a certain texture.
As if that wasn't enough it's amazing how often ships' textures repeat themselves on the models. It's to the point where I'll need to leave out several companies because their markings simply look ridiculous in game. Oh well; at least you can have quite a few textures for each unit. So far I've successfully created a convoy of ships - all of the same class - representing more than ten companies. |
|
| Back to top |
|
 |
sergbuto
Joined: 14 Sep 2002 Posts: 2530 Location: Sweden
|
Posted: Mon May 02, 2005 12:37 pm Post subject: |
|
|
| You can easily work out the order of texture numbering by setting up the mission I've described above. You only need to do it once for the ship. It requires some work but it is not big since not so many ships in SH3 have multiple skins to start with and for some of them numbers do match. |
|
| Back to top |
|
 |
iambecomelife
Joined: 11 Apr 2005 Posts: 1047
|
Posted: Mon May 02, 2005 2:46 pm Post subject: |
|
|
| Oh; I thought you were saying that this sequence was only valid for the first three units. Ithink I'll load up my testbed mission and try to mark down the stations of the various companies' ships. |
|
| Back to top |
|
 |
|