View Full Version : flak shells
gdogghenrikson
09-01-05, 08:16 PM
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
iambecomelife
09-01-05, 08:22 PM
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.
gdogghenrikson
09-01-05, 08:52 PM
It looks like I need a hex editor, where do I get one?
iambecomelife
09-01-05, 09:13 PM
Google for "hex workshop" or "xvi32".
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.
rulle34
09-02-05, 01:26 PM
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! :up:
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.
Hartmann
09-02-05, 05:50 PM
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.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.