| View previous topic :: View next topic |
| Author |
Message |
bart
Joined: 22 Nov 2002 Posts: 393 Location: UK
|
Posted: Sat Jun 25, 2005 5:16 am Post subject: |
|
|
| CRULL wrote: | | Move along.....no mods to see here......move along. |
You should be a moderator  |
|
| Back to top |
|
 |
R48
Joined: 22 Nov 2002 Posts: 222
|
Posted: Sat Jun 25, 2005 10:41 am Post subject: |
|
|
| Quote: | | Move along.....no mods to see here......move along. |
The Mod Squad! |
|
| Back to top |
|
 |
tommyk
Joined: 22 Apr 2005 Posts: 313
|
Posted: Sat Jun 25, 2005 10:44 am Post subject: |
|
|
| 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"  |
|
| Back to top |
|
 |
CRULL
Joined: 10 Jan 2002 Posts: 228 Location: RI - USA
|
Posted: Sat Jun 25, 2005 11:02 am Post subject: |
|
|
| bart wrote: | | CRULL wrote: | | Move along.....no mods to see here......move along. |
You should be a moderator  |
:hmm:...... LOL
Boy, they see one filthy named ship and they never leave! |
|
| Back to top |
|
 |
BladeHeart
Joined: 20 Mar 2005 Posts: 447
|
Posted: Sat Jun 25, 2005 1:04 pm Post subject: |
|
|
If this can run with RUB & SH3 Comm, ditto
Particularly impressive, regardless. 
Last edited by BladeHeart on Sun Jun 26, 2005 10:04 am; edited 1 time in total |
|
| Back to top |
|
 |
iambecomelife
Joined: 11 Apr 2005 Posts: 1047
|
Posted: Sat Jun 25, 2005 10:35 pm Post subject: |
|
|
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 |
|
 |
CCIP
Joined: 17 Apr 2005 Posts: 3224 Location: Ottawa, Canada [Grid BA7311]
|
Posted: Sat Jun 25, 2005 10:37 pm Post subject: |
|
|
| Does that mean it's done? :huh: |
|
| Back to top |
|
 |
baronfrost
Joined: 22 Feb 2004 Posts: 20 Location: Periscope depth
|
Posted: Sat Jun 25, 2005 11:23 pm Post subject: |
|
|
Is it done ?  |
|
| Back to top |
|
 |
CRULL
Joined: 10 Jan 2002 Posts: 228 Location: RI - USA
|
Posted: Sun Jun 26, 2005 12:10 am Post subject: |
|
|
| 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 |
|
 |
Seacondor
Joined: 19 Jun 2005 Posts: 20
|
Posted: Sun Jun 26, 2005 2:07 am Post subject: |
|
|
| 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 |
|
 |
Malakovski
Joined: 25 Mar 2005 Posts: 27 Location: SC, US
|
Posted: Sun Jun 26, 2005 7:30 am Post subject: |
|
|
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 |
|
 |
CRULL
Joined: 10 Jan 2002 Posts: 228 Location: RI - USA
|
Posted: Sun Jun 26, 2005 11:08 am Post subject: |
|
|
| 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 |
|
 |
iambecomelife
Joined: 11 Apr 2005 Posts: 1047
|
Posted: Sun Jun 26, 2005 11:23 am Post subject: |
|
|
| 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 |
|
 |
iambecomelife
Joined: 11 Apr 2005 Posts: 1047
|
Posted: Sun Jun 26, 2005 11:28 am Post subject: |
|
|
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 |
|
 |
CRULL
Joined: 10 Jan 2002 Posts: 228 Location: RI - USA
|
Posted: Sun Jun 26, 2005 12:25 pm Post subject: |
|
|
| 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 |
|
 |
|