| View previous topic :: View next topic |
| Author |
Message |
gdogghenrikson
Joined: 21 May 2005 Posts: 899
|
Posted: Thu Sep 01, 2005 8:16 pm Post subject: 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 |
|
| Back to top |
|
 |
iambecomelife
Joined: 11 Apr 2005 Posts: 1047
|
Posted: Thu Sep 01, 2005 8:22 pm Post subject: |
|
|
| 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 |
|
 |
gdogghenrikson
Joined: 21 May 2005 Posts: 899
|
Posted: Thu Sep 01, 2005 8:52 pm Post subject: |
|
|
| It looks like I need a hex editor, where do I get one? |
|
| Back to top |
|
 |
iambecomelife
Joined: 11 Apr 2005 Posts: 1047
|
Posted: Thu Sep 01, 2005 9:13 pm Post subject: |
|
|
| Google for "hex workshop" or "xvi32". |
|
| Back to top |
|
 |
mg42
Joined: 27 Jul 2005 Posts: 2
|
Posted: Fri Sep 02, 2005 4:59 am Post subject: |
|
|
| 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 |
|
 |
rulle34
Joined: 30 Apr 2005 Posts: 823 Location: Sweden
|
Posted: Fri Sep 02, 2005 1:26 pm Post subject: |
|
|
| 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!  |
|
| Back to top |
|
 |
Rubini
Joined: 13 May 2005 Posts: 1149 Location: São Paulo Brazil
|
Posted: Fri Sep 02, 2005 1:37 pm Post subject: |
|
|
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 |
|
 |
Hartmann
Joined: 22 Mar 2005 Posts: 394 Location: Barcelona, Spain , Europe
|
Posted: Fri Sep 02, 2005 5:50 pm Post subject: |
|
|
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 |
|
 |
|