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 02-08-09, 02:29 AM   #1
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 242
Uploads: 0
Default

Dont worry about it,

I figured it out , the amount of each tupe of shell can be edited in the basic.cfg file
and the are parts of the menu1024 file that have been disabled were stoping the
shells from showing in the deckgun interface.
Ive managed to get it all working how I like it.
If anybody else is interested in having their AP and Star shells back
post here and ill make it into a JSME compatible mod pack.
By the way Im using GWX gold with OLC gold so any mod pack might only work with
these mods. But its prity simple to just edit the two files with a text editor.

Thanks anyway

Shears
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 02-08-09, 03:01 AM   #2
FIREWALL
Eternal Patrol
 
Join Date: Mar 2006
Location: CATALINA IS. SO . CAL USA
Posts: 10,108
Downloads: 511
Uploads: 0
Default

Thx Stew I see no harm in haveing a choice.

Those that don't want it don't, have to download it.
__________________
RIP FIREWALL

I Play GWX. Silent Hunter Who ???
FIREWALL is offline   Reply With Quote
Old 02-08-09, 08:45 AM   #3
Contact
Stowaway
 
Posts: n/a
Downloads:
Uploads:
Default

  Reply With Quote
Old 02-08-09, 08:23 PM   #4
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 242
Uploads: 0
Default

Quote:
Originally Posted by Contact


Sorry didnt get your message,
it seems you forgot to type anything.

If you have any questions or constructive sugestions I would
be glad to hear them.




Stu
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 02-09-09, 11:17 AM   #5
Laufen zum Ziel
Eternal Patrol
 
Laufen zum Ziel's Avatar
 
Join Date: Jan 2008
Location: Hiding on the bottom
Posts: 1,783
Downloads: 853
Uploads: 457


Default

Well explained for an admitted non-modder. Thanks.

I may not use due to historical correctness but the dark
nights do bother me & the star shell appear interesting
to me.

would appreciate a posting with your correct changes.
__________________
RIP Laufen zum Ziel
Laufen zum Ziel is offline   Reply With Quote
Old 02-09-09, 06:27 PM   #6
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 242
Uploads: 0
Default

ive uploaded my modified Basic.cfg & Menu1024 files to
filefront. If your interested in looking at the changes you
could download these files and compare them to your own.
If anybody does download these files to be used as replacements
for thier existing files keep in mind Im using GWX3.0 gold with OLC gold.
They wont work on GWX3.0 alone.
Allso the Anti Aircraft shell will allso appear with the AP , HE and Star shells
this is only because I enabled them by accident and havnt bothered to change
it back.
You can apply the same changes as listed in the above post to any
version of GWX to enable the different types of ammo.

Link to Files
http://hosted.filefront.com/studickin


stu
__________________
Captain Stu from Down Under , Down Under

Stew U-582 is offline   Reply With Quote
Old 02-08-09, 11:41 AM   #7
NGT
Lieutenant
 
Join Date: Sep 2006
Posts: 259
Downloads: 290
Uploads: 3
menu1024 file. . .

Quote:
Originally Posted by Stew U-582
Dont worry about it,

I figured it out , the amount of each tupe of shell can be edited in the basic.cfg file
and they are parts of the menu1024 file that have been disabled were stoping the
shells from showing in the deckgun interface.
I've managed to get it all working how I like it.
If anybody else is interested in having their AP and Star shells back
post here and ill make it into a JSME compatible mod pack.
Hello Stew,

I hope you enjoy good weather in Australia this time.

Thank you for your offer. As far as concerns me, I don't need a JSGME work, I would like to know just the lines inside menu1024 you tweaked. If is possible to copy paste here just the this piece of text, I will be very happy.


Thank you in advance.
NGT is offline   Reply With Quote
Old 02-08-09, 08:06 PM   #8
Stew U-582
Lieutenant
 
Join Date: Apr 2007
Location: Adelaide Australia
Posts: 266
Downloads: 242
Uploads: 0
Default

Im sorry I cant remember exactly witch lines I edited but ill give you the basic
run down.

I modified two files using the windows "notepad" as the text editor
file 1 : SilentHunterIII/Data/Cfg/Basic.cfg

I used the find function by typing in "AMMO_TYPE" this should take you
to this set of Lines

[AMMO_TYPE0];10.5cm SK C/32
Idx=0
Year=1939
Month=1
;AP=40
;HE=60
;SS=20
AP=0
HE=110
SS=0
Renown=0

After making a copy of the original file I changed the values to this

[AMMO_TYPE0];10.5cm SK C/32
Idx=0
Year=1939
Month=1
;AP=40
;HE=60
;SS=20
AP=110
HE=220
SS=50
Renown=0

There are follwing sections for the different guns and different years
that can bee changed in the same way.

you can set the ammounts to what you like but without changing
the next file you wont get the different ammo types on the deck gun interface
and wont be able to select the Ap or Star shells.
Thats where the next bit comes in.

File 2: SilentHunterIII/Data/Menu/menu_1024_768.ini

this one was a bit more tricky and I dont remember every change in exact detail
but the procedure is quite simple.
Backup your original.
use the find command to find "G38" there is a section about the deck gun
the text below is from the original.

#########################################

[G38 I1]
Name=Page deckgun
Type=1027;Menu page
ItemID=0x38000000
ParentID=0x0
Pos=0,0,0,0
LoadingMode=2
[G38 I2]
Name=;SS_label
Type=1029;Static text
ItemID=0x38000014
ParentID=0x38000000
Pos=901,212,27,20
Color=;0xB4B4B4FE
Font=;14
Text=;674
TextFlags=;0x5
[G38 I3]
Name=;SS_shell
Type=1031;Stat bmp array
ItemID=0x38000004
ParentID=0x38000000
Pos=904,320,21,128
Color=0xFFFFFFFF
Materials=3
Display=2;Linear
Mat 0=;data/menu/gui/Shells/SS_shell.tga
Crop 0=0,0,0.33,1
Mat 1=;data/menu/gui/Shells/SS_shell.tga
Crop 1=0.33,0,0.33,1
Mat 2=;data/menu/gui/Shells/SS_shell.tga
Crop 2=0.66,0,0.33,1
MatFlags=;0x1
TexFmt=;0x5
Drag=;false
BmpState=;1
NeedFocus=;true
SelOne=;true
IdGroup=;0
StatesColors=;0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
;ToolTipText=;2233


################################################## ####

and the text below here is a sample of what I edited.
by removing the ";" from some lines I was able to reinstate the
graphic for the star shells. Be carefull not every instance of ";" is to be
removed. Dont remove the ";" in the line

Type=1029;Static text

ther could be other instances you will have to look carefully. basically you only
want to remove the ones directly after an = sign. The ; simbol has been
placed to invalidate the following command , you want to put it back.

Further down the list are the other guns used in Sh3 you can apply this
technique to further lines , enabling the AP ammo you can allso make changes to
the flak guns enabling Ap + He ammo.

I have Deck guns with Ap , He or Star shells and flak guns with AP 7 He Shells.

[G38 I1]
Name=Page deckgun
Type=1027;Menu page
ItemID=0x38000000
ParentID=0x0
Pos=0,0,0,0
LoadingMode=2
[G38 I2]
Name=SS_label
Type=1029;Static text
ItemID=0x38000014
ParentID=0x38000000
Pos=901,212,27,20
Color=0xB4B4B4FE
Font=14
Text=674
TextFlags=0x5
[G38 I3]
Name=SS_shell
Type=1031;Stat bmp array
ItemID=0x38000004
ParentID=0x38000000
Pos=904,320,21,128
Color=0xFFFFFFFF
Materials=3
Display=2;Linear
Mat 0=data/menu/gui/Shells/SS_shell.tga
Crop 0=0,0,0.33,1
Mat 1=data/menu/gui/Shells/SS_shell.tga
Crop 1=0.33,0,0.33,1
Mat 2=data/menu/gui/Shells/SS_shell.tga
Crop 2=0.66,0,0.33,1
MatFlags=0x1
TexFmt=0x5
Drag=false
BmpState=1
NeedFocus=true
SelOne=true
IdGroup=0
StatesColors=0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF, 0xFFFFFFFF
;ToolTipText=2233


I hope you are able to figure out what ive done.

if you want I could upload complete copies of my Basic.cfg and Menu1024 files.
just post here.

Ive found the Star shells most usefull as Im using OLC and at night time it
gets so dark I cant Identify Flags , even in exterior view. The Star Shells sort
that problem.

As far as captains not having Star Shells fortunatly Ive got a mate at the Lorient
supply deport and he slips me a few shells for a bottle of russian vodka each week.

Im the captain of my boat and ill take anything I can get to help me in completing
my mission. Remember this is total war.

Just one final word,
Make sure you backup your files before eiting. I am not a mod master and im
supprised I was able to work this out , I dont want to be responsible for messing
up anybodys SH3 install as I dont have the experience to help people fix it again if
they do.


Stu
__________________
Captain Stu from Down Under , Down Under

Stew U-582 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 03:06 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.