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 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 04-17-10, 01:04 PM   #1
pontiacpro
Nub
 
Join Date: Mar 2010
Posts: 2
Downloads: 159
Uploads: 0
Remove 20mm ammo bar

How Remove 20mm ammo bar
pontiacpro is offline   Reply With Quote
Old 04-18-10, 02:59 AM   #2
JL2010
Nub
 
Join Date: Mar 2010
Posts: 2
Downloads: 16
Uploads: 0
Default

I don't like this bar too, its showing the remaining ammo in the clip.
I get rid of it in this way:
1. reduce the size of clip to 1 for 20mm single or 2 if it is 20mm twin
2. reduce the reload time to zero
Since there is always empty in the clip the bar disappear automatically, and the reload time is 0 sec therefore support continuous firing as before.

The .sim files of guns are here: ...\data\Objects\Guns

Last edited by JL2010; 04-18-10 at 05:18 PM.
JL2010 is offline   Reply With Quote
Old 04-18-10, 05:38 AM   #3
pontiacpro
Nub
 
Join Date: Mar 2010
Posts: 2
Downloads: 159
Uploads: 0
Default ammo bar

where is the file?
pontiacpro is offline   Reply With Quote
Old 04-18-10, 06:15 AM   #4
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 117
Uploads: 0
Default

Data\Menu\Pages\Page 20mm gun.ini

Edit the last two sections of the file, [G3A I22] and [G3A I23] to read as follows by changing the values marked in green. So -518 to 0, 250 to 768 and -518 to 0, 250 to 768 and 0.5 to 0.

Quote:
[G3A I22]
Name=Loading
Type=1030;Static bmp
ItemID=0x3A00000D
ParentID=0x3A000000
Pos=412,0,40,20
Zone= 412 768 40 20 0 1 0x3A00000C 0 -0.5 0x3A00000D 0 0.5 0 0
Materials=1
Display=2;Linear
Mat 0=data/menu/data/white.tga
Crop 0=0,0,0.0078125,0.0078125
MatFlags=0x1
MatColor=0xFFFFFFFF
TexFmt=0x0

[G3A I23]
Name=LoadingMaximum
Type=1030;Static bmp
ItemID=0x3A00000C
ParentID=0x3A000000
Pos=412,0,200,20
Zone= 412 768 200 20 0 1 0x3A000000 0.5 0 0x3A00000C -0.5 0 0 0
Color=0x808080FE
Materials=1
Display=2;Linear
Mat 0=data/menu/data/white.tga
Crop 0=0,0,0.0078125,0.0078125
MatFlags=0x1
MatColor=0xFFFFFFFF
TexFmt=0x0
This will move the flak gun's loading bar to the very top of the screen, above the player guidance icons. This change is based on The DarkWraith's MultiUI 1.2 mod.

Ideally you'd save a copy of the ini with these changes and load it via JSGME.
__________________

kylania is offline   Reply With Quote
Old 04-18-10, 01:12 PM   #5
TheDarkWraith
Black Magic
 
Join Date: Jun 2007
Posts: 11,962
Downloads: 147
Uploads: 5


Default

Quote:
Originally Posted by kylania View Post
This will move the flak gun's loading bar to the very top of the screen, above the player guidance icons. This change is based on The DarkWraith's MultiUI 1.2 mod.
seemed like a good place for it no? It's out of the way but still in sight for reference.
TheDarkWraith is offline   Reply With Quote
Old 04-18-10, 01:45 PM   #6
kylania
Silent Hunter
 
Join Date: Aug 2006
Posts: 3,528
Downloads: 117
Uploads: 0
Default

Quote:
Originally Posted by TheDarkWraith View Post
seemed like a good place for it no? It's out of the way but still in sight for reference.
Darn near perfect I'd say!
__________________

kylania 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:03 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright © 1995- 2024 Subsim®
"Subsim" is a registered trademark, all rights reserved.