View Single Post
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