Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

Merchant Variety Pack (WIP) - Screens Inside
Goto page Previous  1, 2, 3 ... 12, 13, 14, 15, 16  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
bart



Joined: 22 Nov 2002
Posts: 393
Location: UK

PostPosted: Sat Jun 25, 2005 5:16 am    Post subject: Reply with quote

CRULL wrote:
Move along.....no mods to see here......move along.


Rotfl

You should be a moderator Thumbs Up
Back to top
View user's profile Send private message
R48



Joined: 22 Nov 2002
Posts: 222

PostPosted: Sat Jun 25, 2005 10:41 am    Post subject: Reply with quote

Quote:
Move along.....no mods to see here......move along.


Rotfl The Mod Squad!
Back to top
View user's profile Send private message
tommyk



Joined: 22 Apr 2005
Posts: 313

PostPosted: Sat Jun 25, 2005 10:44 am    Post subject: Reply with quote

CRULL wrote:
Move along.....no mods to see here......move along.


haha, reminds me of: "this is not the mod you are looking for, move along" Smile
Back to top
View user's profile Send private message
CRULL



Joined: 10 Jan 2002
Posts: 228
Location: RI - USA

PostPosted: Sat Jun 25, 2005 11:02 am    Post subject: Reply with quote

bart wrote:
CRULL wrote:
Move along.....no mods to see here......move along.


Rotfl

You should be a moderator Thumbs Up


:hmm:...... LOL

Boy, they see one filthy named ship and they never leave!
Back to top
View user's profile Send private message
BladeHeart



Joined: 20 Mar 2005
Posts: 447

PostPosted: Sat Jun 25, 2005 1:04 pm    Post subject: Reply with quote

If this can run with RUB & SH3 Comm, ditto Smile

Particularly impressive, regardless. Thumbs Up


Last edited by BladeHeart on Sun Jun 26, 2005 10:04 am; edited 1 time in total
Back to top
View user's profile Send private message
iambecomelife



Joined: 11 Apr 2005
Posts: 1047

PostPosted: Sat Jun 25, 2005 10:35 pm    Post subject: Reply with quote

Just a warning to everyone. The mod is best used with installations of SH3 that have the paths

C:\Program Files\Ubisoft\SilentHunterIII

OR

C:\SilentHunterIII.

This is because the batch file that produces semi-random changes in the ships' skins is extremely sensitive to the location of the program. It is possible but more difficult to tailor the file to your particular installation. Many lines in the batch file must be changed - in most cases, 15 different rotations of 15 skins for each ship class. If you have installed the game to any other location you will either have to manually modify all the paths this way OR rename the skin tga's yourself. Look at the existing skins in the data\sea\[unit] folders to find out how they should be named - NKLS_T01.tga, for instance. If you use this latter method you willl not see variations in paint schemes on each patrol and will never see some skins unless you encounter a very large convoy or a large number of lone merchants. Of course, you could manually rename the skins yourself to simulate the batch file's rotation process but I doubt many people will enjoy doing it. It's a problem with the game engine and there's no feasible way around it. I thought it would be good to let you know now; many of you are probably reinstalling anyway because of the recent patch and latest "Real U-Boat" version, etc.
Back to top
View user's profile Send private message Send e-mail
CCIP



Joined: 17 Apr 2005
Posts: 3224
Location: Ottawa, Canada [Grid BA7311]

PostPosted: Sat Jun 25, 2005 10:37 pm    Post subject: Reply with quote

Does that mean it's done? :huh:
Back to top
View user's profile Send private message
baronfrost



Joined: 22 Feb 2004
Posts: 20
Location: Periscope depth

PostPosted: Sat Jun 25, 2005 11:23 pm    Post subject: Reply with quote

Is it done ? Razz
Back to top
View user's profile Send private message
CRULL



Joined: 10 Jan 2002
Posts: 228
Location: RI - USA

PostPosted: Sun Jun 26, 2005 12:10 am    Post subject: Reply with quote

iambecomelife wrote:
Just a warning to everyone. The mod is best used with installations of SH3 that have the paths

C:\Program Files\Ubisoft\SilentHunterIII

OR

C:\SilentHunterIII.



Hi, iambecomelife

I'm curious how did you incorporate two different install paths in the same batch file?


"OK, move along......false alarm.....no mod to see here......move along"
Back to top
View user's profile Send private message
Seacondor



Joined: 19 Jun 2005
Posts: 20

PostPosted: Sun Jun 26, 2005 2:07 am    Post subject: Reply with quote

Great work . I'm going to be using some of your skin patterns in my new CFS3 merchant ships for MAW. Hope you don't mind?
Back to top
View user's profile Send private message
Malakovski



Joined: 25 Mar 2005
Posts: 27
Location: SC, US

PostPosted: Sun Jun 26, 2005 7:30 am    Post subject: Reply with quote

Just a note in case there are future revisions:

Regarding the paths, I believe you could define an environment setting, e.g. %shiiipath%, once, and then all your batch files could refer to %shiipath%\data\etc instead of c:\program files\etc.

I have not fussed with batch files at that level for a long time, but I think it is possible.
Back to top
View user's profile Send private message
CRULL



Joined: 10 Jan 2002
Posts: 228
Location: RI - USA

PostPosted: Sun Jun 26, 2005 11:08 am    Post subject: Reply with quote

Malakovski wrote:
Just a note in case there are future revisions:

Regarding the paths, I believe you could define an environment setting, e.g. %shiiipath%, once, and then all your batch files could refer to %shiipath%\data\etc instead of c:\program files\etc.

I have not fussed with batch files at that level for a long time, but I think it is possible.


An environment setting will work when looking for files to be run, but not when files have to be copied to an exact location.

That's why if you try running a program from a command prompt. It can't find it most of the time. Unless you assign the path as an environment setting. Then it should find it no matter what path your presently in. I suppose in this case reading the path for the files to be copied could be set, but that still doesn't take care of where the files are being copied to.

I also think that it would be possible to use this no matter what path your using, but probably not with a simple batch file. Right now it is easy enough for anyone who can use "notepad" to edit the file. You just open it up and change the "copy from" and "copy to" paths to where you have SH3 installed.

Then save it. It might take a little bit of time because there are a lot of entries, but the "find next" feature will help a lot to find the paths to change to the correct path.
Back to top
View user's profile Send private message
iambecomelife



Joined: 11 Apr 2005
Posts: 1047

PostPosted: Sun Jun 26, 2005 11:23 am    Post subject: Reply with quote

CRULL wrote:
iambecomelife wrote:
Just a warning to everyone. The mod is best used with installations of SH3 that have the paths

C:\Program Files\Ubisoft\SilentHunterIII

OR

C:\SilentHunterIII.



Hi, iambecomelife

I'm curious how did you incorporate two different install paths in the same batch file?


"OK, move along......false alarm.....no mod to see here......move along"


It's not the same batch file; I actually have two different batch files in the RAR archive. One is for the C:\SilenthunterIII path and the other is for the C:\Program Files...etc path, since I believe that these are the two most common directories people install the game to. That reminds me-you'll also need to get WINRAR to extract the files, not winzip.
Back to top
View user's profile Send private message Send e-mail
iambecomelife



Joined: 11 Apr 2005
Posts: 1047

PostPosted: Sun Jun 26, 2005 11:28 am    Post subject: Reply with quote

One more thing, CRULL - I'd like to know how to alter the batch file to select from a particular number of random integers, since I might introduce a new version with even more skins in the future. For instance, to select from among 15 skins the command in the batch file is:

set /a num=%random%/2182+1

How does the number 2182 relate to the number 15? It seems a bit unusual and complicated.
Back to top
View user's profile Send private message Send e-mail
CRULL



Joined: 10 Jan 2002
Posts: 228
Location: RI - USA

PostPosted: Sun Jun 26, 2005 12:25 pm    Post subject: Reply with quote

iambecomelife wrote:
One more thing, CRULL - I'd like to know how to alter the batch file to select from a particular number of random integers, since I might introduce a new version with even more skins in the future. For instance, to select from among 15 skins the command in the batch file is:

set /a num=%random%/2182+1

How does the number 2182 relate to the number 15? It seems a bit unusual and complicated.


%RANDOM% is a random number generator built into the OS. Which is an actual random number generator. It will generate a random number from 0-32767

I seems to round off to whole numbers. The 1 is added I believe so you never have a 0. Because if you divided lets say 50/2182 without adding 1 you would get 0.

I just did the math and I might have made a mistake. It seems like it will pick a number from 1 to 16 instead of 15 very rarely though.

So you need to change the number in the batch files from 2182 to 2325. Which is 32767/2325 = 14.09333 + 1 and you get a maximum of 15.


Last edited by CRULL on Sun Jun 26, 2005 12:30 pm; edited 2 times in total
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Goto page Previous  1, 2, 3 ... 12, 13, 14, 15, 16  Next
Page 13 of 16

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group