View Full Version : [MOD question] Homing Logic
dharthoorn
12-02-13, 03:04 AM
A couple of questions actually ;)
-> Where can I find the file(s) that govern the acoustic homing logic of the Mk27?
-> Also, where in the the (sim?) file does it specify that it indeed uses a homing system to begin with.
Thanks for any help :salute:
Torpedoes_US.sim has all your depth, speed, range, parameters and it lists the MK27 as Acoustic Torpedo. If you are using silent 3ditor it should be the first one listed. how you change the parameters for homing, I'm not sure yet.
Torpedoes_US.zon has the damage capabilities. Don't be fooled, in the .sim file it has impulse, if you bump that up it will cause the ship to be tossed about more but doesn't increase damage (which can be fun in its on right). If you are using silent 3ditor the torpedoes are listed in the same order as on the .sim file (this will save you a little headache finding the right torp as they are only identified with that very long alphanumeric identifier in the .zon file)
dharthoorn
12-02-13, 09:26 AM
Indeed I am using the S3 editor and have already found the sim and zon files.
The thing is, I wanted to make the regular mk14 a homing torp just for kicks, then I found there is nowhere to tag it as such... at least not that I can see.
ETR3(SS)
12-02-13, 10:06 AM
1. The homing logic is hard coded much to the dismay of many of us. As I'm sure you could see, it only snakes left to right with no change in depth possible from it's preset depth.
2. To make the Mk 14 a homing torpedo open up your Torpedoes_US.sim and go to index number 6. Right click it and go down to Append New Child Chunk> Properties>SH4>SHSim>amun_AcousticTorpedo
This will add a new chunk to the base entry of index 6. Copy over the details from the other chunk, amun_Torpedo, into your newly created chunk. Now delete amun_Torpedo. Now go back the the base index of 6 and change the name to amun_AcousticTorpedo.
So your file structure at the end should look like:
6:amun_AcousticTorpedo
7:amun_AcousticTorpedo
so if the homing is hard coded, then I take it aiming of guns at ships/aircraft is probably too?
I did what you want backward from ETR3's suggestion. I just made my MK27's have the speed, range, power of a MK16. It really truly is a deadly weapon. Just never, ever fire it with your props turning, it will be a bad day for you, although, I have used that to my advantage when fighting a cunning destroyer at close range. He stopped his engines, torpedo went astray, so I turned mine on just long enough to turn the torpedo right back at him.
dharthoorn
12-02-13, 12:03 PM
I can't seem to be able to either rename the chunk or copy/paste properties only. Am I missing sth?
All I could do was to copy the entire mk27 data into index 6 and then change the tyte tag to mk14 and manually redo all properties data to match the original mk14 config.
vBulletin® v3.8.11, Copyright ©2000-2025, vBulletin Solutions Inc.