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 |

Weapon mod?

 
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
Nuclearwinter54



Joined: 07 Apr 2005
Posts: 75

PostPosted: Mon Apr 11, 2005 11:16 pm    Post subject: Weapon mod? Reply with quote

where can I find the file that changes how much damage my weapons do for my torpedos, flak ,and deck gun.
Back to top
View user's profile Send private message AIM Address
Torgo



Joined: 22 Mar 2005
Posts: 26
Location: Deep 13

PostPosted: Tue Apr 12, 2005 2:43 am    Post subject: Reply with quote

I was wondering that myself. Such as tweaking the power of the 105mm deck gun to levels of the 150mm mount used by surface ships. There has to be a file which contains values for damage, velocity, etc.

I would think if these values could be found we could just copy the needed values from the prototype weapon and transfer them to the sub's weapon. Same model, different attributes.

Hopefully someone knows where this is all located, and it's a text file that doesn't involve hex editing. :8Cool
Back to top
View user's profile Send private message
mtbeer



Joined: 31 Mar 2005
Posts: 14

PostPosted: Tue Apr 12, 2005 3:21 am    Post subject: Reply with quote

It's not so simple. All of the data is burried in binary files which require hex editing and a good bit of know how.

data\library\GUNS_SUB.sim holds the gun records that contain:
reload times
recoil times
shell ID's
...

data\library\shells.zon holds the damage records that contain:
blast min. radius.
blast max. radius.
blast min. damage
blast max, damage
...
You have to look up the shell by it's ID from the GUNS_SUB.sim file. The ID is tricky to find. It's near the start of the gun record and is 4 bytes in length.

Torpedos operate in much the same way with the files: data\library\torpedo.sim and data\library\torpedo.zon.

I was able to create torpedos with low yield nuclear warheads by tracking down the correct torpedo record, then linking it by ID to the damage record.
Back to top
View user's profile Send private message
darkdrone



Joined: 02 Apr 2005
Posts: 192
Location: deep space recon mission

PostPosted: Tue Apr 12, 2005 4:10 am    Post subject: Reply with quote

what excatly is a LOW YIELD NUCLEAR WARHEAD and u'd vaporise ur'self Rotfl
Back to top
View user's profile Send private message
Jotte



Joined: 24 Feb 2005
Posts: 228
Location: Sweden

PostPosted: Tue Apr 12, 2005 6:05 am    Post subject: Reply with quote

What program do I use to edit the .zon and .sim files?
I really need to fix the T2 so it gets it proper ~5000 meters range and not the measly 1800 meters it have now.


Last edited by Jotte on Tue Apr 12, 2005 6:09 am; edited 1 time in total
Back to top
View user's profile Send private message
Torgo



Joined: 22 Mar 2005
Posts: 26
Location: Deep 13

PostPosted: Tue Apr 12, 2005 6:09 am    Post subject: Reply with quote

Wow... blow the ship completely out the water or what lol.

Argh, I knew it was going to be in a hex file! All I want is a 150mm or 200mm deck gun . Sad
Back to top
View user's profile Send private message
rogerbo



Joined: 31 Mar 2005
Posts: 245
Location: Swiss Navy

PostPosted: Tue Apr 12, 2005 6:47 am    Post subject: Reply with quote

If you search in here the mod for torpedoes has been explained comlpetle and the samw way you can mod the shells.
My torps rip everything in 300M range with 1 hit even a BB.
Back to top
View user's profile Send private message
Torgo



Joined: 22 Mar 2005
Posts: 26
Location: Deep 13

PostPosted: Tue Apr 12, 2005 12:11 pm    Post subject: Reply with quote

rogerbo wrote:
If you search in here the mod for torpedoes has been explained comlpetle and the samw way you can mod the shells.
My torps rip everything in 300M range with 1 hit even a BB.


I can't seem to find that thread.
Back to top
View user's profile Send private message
redstorm101



Joined: 22 Mar 2005
Posts: 250
Location: Atlanta,GA

PostPosted: Thu Apr 14, 2005 8:00 am    Post subject: Reply with quote

Jotte wrote:
What program do I use to edit the .zon and .sim files?
I really need to fix the T2 so it gets it proper ~5000 meters range and not the measly 1800 meters it have now.



Hex workshop 4.2
just google it its a free program Thumbs Up
Mtbeer told me about it and I have had alot of fun with it Neutral\
Back to top
View user's profile Send private message
redstorm101



Joined: 22 Mar 2005
Posts: 250
Location: Atlanta,GA

PostPosted: Thu Apr 14, 2005 8:03 am    Post subject: Reply with quote

Torgo wrote:
rogerbo wrote:
If you search in here the mod for torpedoes has been explained comlpetle and the samw way you can mod the shells.
My torps rip everything in 300M range with 1 hit even a BB.


I can't seem to find that thread.


Using Hex Workshop Version 4.2
CREATE A BACKUP OF ALL YOUR SUBMARINE FILES/FOLDERS FIRST BEFORE DOING ANYTHING JUST IN CASE YOU MESS UP!!!
Follow these instructions to the 'T'



1. Open(run) Hex Workshop version 4.2

2. Click on the 'File' Tab in upper lefthand corner.

3. Click on 'Open' and (Go to YOUR SHIII/DATA/SUBMARINE/NSS_Uboat7c folder. NOTE: It doesn't have to be this Sub Type folder but I'm using it for this guide. You could choose to edit the NSS_Uboat2A instead if you wish.

4. Inside the SHIII/DATA/SUBMARINE/NSS_Uboat7c folder, you will see a bunch of different file types. The one you want is called NSS_Uboat7c.SIM - CLICK ON IT. This will open the file up in Hex Workshop version 4.2

5. Now you see a screen showing you the contents of the file. On the left hand side of the screen is the HEX parameters and on the right hand side you have 'gibberish' that the HEX parameters make up. Some of this 'gibberish' is useful though. On the right hand side, scroll down until you see somewhere in all that 'gibberish' something that reads 'max_speed'.

6. Once you have located the 'max_speed' on the right hand side, CLICK the mouse cursor between the 'periods' that come after the 'max_speed . .'
The first period is a spacer, and the second one is the parameter you want to edit.

7. On the bottom left hand side of the HEX Workshop Verion 4.2 screen you will see a box that contains all the different types of bit points. The one you are concerned about is the 'FLOAT' bit point. It should say something like 'bit Float' and have a number next to it. If you are editing the SHIII/DATA/SUBMARINE/NSS_Uboat7c .sim file it will read like this 'bit Float 17.'

8. Click on that number. This just highlighted all the hex parameters that make up that number.

9. At the top of the screen you will see a toolbar. Click on the 'F' button to select it if it isn't already selected. This is the float point editor.

10. IF you want to ADD speed to this sub you are editing, CLICK on the '+' button on the toolbar. This will bring up a 'pop-up' screen that states at the top 'ADD OPERATION'.

11. On the 'pop-up' screen, CLICK ON the 'Decimal' radio button. The Hex radio button is on the right and the decimal one is on the left. Just make sure you click on decimal.

12. On the top drop down menu on the 'pop-up' screen that reads 'Treat Data As' go down to '32 Bit Float' and CLICK on that.

13. Don't do anything in the middle box as it is not needed.

14. Under the' Value' box you will see a number in it that doesn't make sense. Just highlight all of it and press delete to erase that value. Now enter in the value that you want you sub to travel at. BUT, remember that 'bit Float 17.' Remember, that whatever you add will be ontop of that '17'. So for instance. If I want my sub to travel at 40 knots add would just add 23 in the value box. Once you are done adding in your number, CLICK ON 'OK'.

15. Notice now that the 'bit Float 17' has changed. It should be 17+ whatever value you entered. So if you added 23 in the value box you would now see 'bit Float 40.' there.


16. You are now done with editing the surface speed of your sub. If you wish to edit your submerged speed just go down on the right hand side of the HEX Workshop Version 4.2 screen until you see another 'max_speed' in all the 'gibberish'. This is the submerged speed parameters. Just follow the steps above again for editing this one.

17. Once you are done with all your editing go to the top left hand side of the screen to 'FILE' and go down to 'SAVE AS' and click on the SHIII/DATA/SUBMARINE/NSS_Uboat7c .sim file if that was the file you just edited. This will bring up a confirm screen that you just have to click 'YES' on. The file will now be saved with the edits you just made.

18. Go into the SHIII/DATA/SUBMARINE/NSS_Uboat7c.CFG file add change the max speed(s) in that file that the sub can now travel at. Save that file and you are done.

19. Play the sim and use the Sub Type that you just edited as your sub and test to see if it worked. Hope it did and I hope you enjoy your sim.
Back to top
View user's profile Send private message
SubSerpent
Swabbie
Swabbie


Joined: 01 Apr 2005
Posts: 16


PostPosted: Sat Apr 09, 2005 12:01 am Post subject: Reply with quote
..mq................2...........cmihalache.Created/Modified using

Kashmir.....................!.....l.. Jr......@ ,.cmdr_AIHumanSub.........<.....l..

Jr........

(...$...cmdr_AIHumanSub.....cmdr_AIMerchant..............R........%.k....o

bj_Turret..............R......................obj_Turret.)...Debug.....show_rest

r......restr_dist...HC....Train......Barrel..M...Traverse.....min...HC....max...
C....speed....A....anm_train......anm_human..N...Elevation.....min.........max....B....speed...

A....anm_barel......anm_human......Fire......... .....!.".mo......@,.unit_Submarine...............!.".mo................unit_Submarine.

(...unit_Ship.....obj_Hydro."...Debug.....params......GC......SD......mas

s.........gc_height....@....fr_ratio....?....put_on_water..M...Surfaced.....

displacement...>D....draught....@....drag.....LR....>....UD....=N...Sub

merged.....displacement..XD....draught....@....drag.....LR...L>....UD.

...>....Propulsion.C...Propellers.....NSS_Uboat7c_propeller_L.....NSS_

Uboat7c_propeller_R.....max_speed

....A....max_force.........eng_power...HE....eng_rpm....Ce...Rudder

s.:...Objects.....NSS_Uboat7c_rudder_L.....NSS_Uboat7c_rudder_R...

..drag...L=....prop_fact...L=X...Front_diveplane.%...Objects.....NSS_


Uboat7c_plane_F..........drag....<....prop_fact.....W...Rear_diveplane.

%...Objects.....NSS_Uboat7c_plane_B..........drag....<....prop_fact...L

=A...E_propulsion.....max_speed.33

.....eng_power...;D....eng_rpm....CZ...Ranges.%...Surfaced.....

miles.. .E....knots...A&...Submerged.....miles....B....knots...."...Ball

ast.....ManBT_flood_speed...F........#....Lv...mo......,.wpn_SubTor

pedoSys..............Lv...mo........z...v...wpn_SubTorpedoSys.....auto_o

pen......eject_time....?....eject_effect...^S+..a....Tubes.^...!...door.NS

S_Uboat7c_Door02_FRU_anim.%...ext_door.NSS_Uboat7c_Door01_

FRU_anim.....torpedo.....^...!...door.NSS_Uboat7c_Door02_FLU_ani

m.%...ext_door.NSS_Uboat7c_Door01_FLU_anim.....torpedo.....^...!

...door.NSS_Uboat7c_Door02_FRD_anim.%...ext_door.NSS_Uboat7c

_Door01_FRD_anim.....torpedo.....^...!...door.NSS_Uboat7c_Door02

_FLD_anim.%...ext_door.NSS_Uboat7c_Door01_FLD_anim.....torped

o.....Z.......door.NSS_Uboat7c_Door02_B_anim.#...ext_door.NSS_Ub

oat7c_Door01_B_anim.....torpedo.....;...Rooms.....Fore.....Storage....

...........................................................................................................

..............................................load_time....?

r...Aft.X...Storage................................................................................

.....load_time....?....External.s...Fore.X...Storage................................

.....................................................xfer_time.33.r...Aft.X...Storage...

..................................................................................xfer_time.33..
Back to top
View user's profile Send private message
redstorm101



Joined: 22 Mar 2005
Posts: 250
Location: Atlanta,GA

PostPosted: Thu Apr 14, 2005 8:05 am    Post subject: Reply with quote

Apply this to torps and ammo shells.............. Thumbs Up
Back to top
View user's profile Send private message
redstorm101



Joined: 22 Mar 2005
Posts: 250
Location: Atlanta,GA

PostPosted: Thu Apr 14, 2005 8:11 am    Post subject: Reply with quote

PS....SubSerpent... Thank you and Mtbeer for the help guys.. Rock
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