Quote:
Originally Posted by iambecomelife
Did you assign a different hex ID to the new weapons after cloning?
|
You mean remapping? I did, but that's not the problem. All torpedoes have got a certain hex value that determines its type, for example 18=Mk27TorpUS. If I'm right this value (18) is somewhere converted into the string "Mk27TorpUS", which is addressed in the Ammunition.upc file
Quote:
[Ammunition 13]
ID=Mk27Torpedo
NameDisplayable= Mark 27 Cutie Torpedo
Type= AmmoTorpedo
Subtype=Mk27TorpUS
AmmunitionIntervalOptionCurrent= NULL, NULL, 0
AmmunitionIntervalOptions1= 1944-01-01, 1946-12-31, 500
Volume= 1
PackSize=1
Info=Mk27TorpInfo
Notes=Mk27TorpNotes
|
From testing I've concluded that just leaving this number (18 in this case) doesn't work, as the original torpedo is loaded instead of the edited.
It's not hard to change this hex value into an unused number, but as long as I can't find the file which determines in what string to convert this hex value, I cannot clone torpedoes.
If anyone knows how to add a different torpedo type please post or PM, it'd help a lot.