Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

flak shells

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop
View previous topic :: View next topic  
Author Message
gdogghenrikson



Joined: 21 May 2005
Posts: 899

PostPosted: Thu Sep 01, 2005 8:16 pm    Post subject: flak shells Reply with quote

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
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
iambecomelife



Joined: 11 Apr 2005
Posts: 1047

PostPosted: Thu Sep 01, 2005 8:22 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
gdogghenrikson



Joined: 21 May 2005
Posts: 899

PostPosted: Thu Sep 01, 2005 8:52 pm    Post subject: Reply with quote

It looks like I need a hex editor, where do I get one?
Back to top
View user's profile Send private message Visit poster's website AIM Address Yahoo Messenger
iambecomelife



Joined: 11 Apr 2005
Posts: 1047

PostPosted: Thu Sep 01, 2005 9:13 pm    Post subject: Reply with quote

Google for "hex workshop" or "xvi32".
Back to top
View user's profile Send private message Send e-mail
mg42



Joined: 27 Jul 2005
Posts: 2

PostPosted: Fri Sep 02, 2005 4:59 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
rulle34



Joined: 30 Apr 2005
Posts: 823
Location: Sweden

PostPosted: Fri Sep 02, 2005 1:26 pm    Post subject: Reply with quote

mg42 wrote:
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! Thumbs Up
Back to top
View user's profile Send private message
Rubini



Joined: 13 May 2005
Posts: 1149
Location: São Paulo Brazil

PostPosted: Fri Sep 02, 2005 1:37 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Send e-mail
Hartmann



Joined: 22 Mar 2005
Posts: 394
Location: Barcelona, Spain , Europe

PostPosted: Fri Sep 02, 2005 5:50 pm    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> SH3 Mods Workshop All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group