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 09-01-05, 08:16 PM   #1
gdogghenrikson
Grey Wolf
 
Join Date: May 2005
Location: USA
Posts: 978
Downloads: 5
Uploads: 0
Default flak shells

what do I need to edit to make the flak shells cause more damage.

It seems like when I let the AI take care of planes and I watch the planes fly they seem to take 5-6 hits with no effect. I once counted 8 hits before the plane lost its engines, or is that actaully acurate
__________________
And when you loose control, you'll reap the harvest you have sown.
gdogghenrikson is offline   Reply With Quote
Old 09-01-05, 08:22 PM   #2
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,706
Downloads: 300
Uploads: 0


Default

I think you need to edit data\library\shells.zon. Be warned that the id's of the shells aren't obvious; I had no idea which was which.
iambecomelife is offline   Reply With Quote
Old 09-01-05, 08:52 PM   #3
gdogghenrikson
Grey Wolf
 
Join Date: May 2005
Location: USA
Posts: 978
Downloads: 5
Uploads: 0
Default

It looks like I need a hex editor, where do I get one?
__________________
And when you loose control, you'll reap the harvest you have sown.
gdogghenrikson is offline   Reply With Quote
Old 09-01-05, 09:13 PM   #4
iambecomelife
Silent Hunter
 
Join Date: Apr 2005
Posts: 4,706
Downloads: 300
Uploads: 0


Default

Google for "hex workshop" or "xvi32".
iambecomelife is offline   Reply With Quote
Old 09-02-05, 04:59 AM   #5
mg42
Nub
 
Join Date: Jul 2005
Posts: 2
Downloads: 0
Uploads: 0
Default

with a hex-editor (like hexworks) changing the shell-damage is no problem. there's a similar topic in the forum already, but i've forgotten the topic's name. you can identify the exact id of the shell in the file "guns_sub.sim" (or similar). open it with the hex-editor and look for the gun you want to change the shell-damage. on the right in the editor you should see a lot of text-strings, so you can find the gun without problems. after some parameters there's a passage with a text-string like "shell.....AP....". if you double-klick between 'shell' and 'AP', you'll see some specific hex-values in the left area of the editor (in hexworks). i think it should be a string of 3 hex-numbers. this is the id of the shell-type for that specific gun. now you open the file "shell.zon" in the hex-editor. look there for this specific id. there should be just one entry. if you have found it, look on the area with the text-strings. beyond the id there will be an text-passage like 'minEff' and 'maxEff'. doubleklick in the text area on the second position after 'minEff' or 'maxEff' and you'll see a 32 bit float number (in hexworks you find it under the area with the hex-values) like 0.5, 2 or similar. now you just have to increase this value with another 32 bit float value. in hexworks you can klick on the '+' button. in the popup-window you have to choose '32 bit float' and activate the decimal-button. then add the difference for the value you wish to the existing value and save. that's all. so you can increase the firepower of the gun, but be aware. if you increase the value to much, your flakgun will be a ship-killer too.
mg42 is offline   Reply With Quote
Old 09-02-05, 01:26 PM   #6
rulle34
Grey Wolf
 
Join Date: Apr 2005
Location: Sweden
Posts: 835
Downloads: 8
Uploads: 0
Default

Quote:
Originally Posted by mg42
with a hex-editor (like hexworks) changing the shell-damage is no problem. there's a similar topic in the forum already, but i've forgotten the topic's name. you can identify the exact id of the shell in the file "guns_sub.sim" (or similar). open it with the hex-editor and look for the gun you want to change the shell-damage. on the right in the editor you should see a lot of text-strings, so you can find the gun without problems. after some parameters there's a passage with a text-string like "shell.....AP....". if you double-klick between 'shell' and 'AP', you'll see some specific hex-values in the left area of the editor (in hexworks). i think it should be a string of 3 hex-numbers. this is the id of the shell-type for that specific gun. now you open the file "shell.zon" in the hex-editor. look there for this specific id. there should be just one entry. if you have found it, look on the area with the text-strings. beyond the id there will be an text-passage like 'minEff' and 'maxEff'. doubleklick in the text area on the second position after 'minEff' or 'maxEff' and you'll see a 32 bit float number (in hexworks you find it under the area with the hex-values) like 0.5, 2 or similar. now you just have to increase this value with another 32 bit float value. in hexworks you can klick on the '+' button. in the popup-window you have to choose '32 bit float' and activate the decimal-button. then add the difference for the value you wish to the existing value and save. that's all. so you can increase the firepower of the gun, but be aware. if you increase the value to much, your flakgun will be a ship-killer too.
Interesting indeed, but can you put some images showing what and where these strings and numbers are, cos I couldn't make it to work. Im using ultra edit-32. Sorry for my newbie question but you are the first one here trying to explain this with hex-editing, and this is nice!
__________________
rulle34 is offline   Reply With Quote
Old 09-02-05, 01:37 PM   #7
Rubini
Ocean Warrior
 
Join Date: May 2005
Location: São Paulo Brazil
Posts: 2,728
Downloads: 132
Uploads: 0
Default

If you use RUB or the airpower mod this is normal. For more realistic purposes the effectiveness of the AA guns was reduced. This is a good thing, now when you see a plane it's better to do a crash dive!

But if you want to play with the planes just go to zones.cfg file and decrease the hit points. It's a text file, it's easy to do.


Rubini.
Rubini is offline   Reply With Quote
Old 09-02-05, 05:50 PM   #8
Hartmann
Sea Lord
 
Join Date: Mar 2005
Location: Grid CH 26, Spain ,Barcelona
Posts: 1,857
Downloads: 204
Uploads: 0
Default

when i fly in ils sturmovik it takes sometimes a lot of shells to shot down a bomber or a fighter plane.

i think that the better is do a crash dive unless the plane is too near . in this case the alternative is do a evasive maneuvers and counterfight with the flak.
Hartmann 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 11:11 AM.


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.