PDA

View Full Version : SH4 Basic cfg


Herr Minger
01-29-09, 01:58 PM
Is there a way to edit the basic config of SH4 as can be done in SH3 so as to use acoustic torpedoes in a campaign before they we really used? I am asking because I have tried the same method that works in SH3 and it doesn't appear to work:cry:. I am using TMO,OM,RSRDC,UBM Mission pack and Spaxs speech.

ReallyDedPoet
01-29-09, 02:16 PM
Check this one out from Mush Martin, may be something in there for you:

Text Based Modding (http://www.subsim.com/radioroom/showthread.php?t=128463&highlight=text+based+modding)


RDP

DarkFish
01-29-09, 02:38 PM
everything's done in the .upc files nowadays ;)
If you open the Data\UPCDataGE\UPCUnitsData\Ammunition.upc file, you will find something like the following in it:
[Ammunition 20]
ID=T3Lut2Torpedo ;Torpedo type
NameDisplayable=T3Lut2Torpedo-Name
Info=T3Lut2Torpedo-Info
Notes=T3Lut2Torpedo-Notes
Type= AmmoTorpedo
Subtype=T_III_LUT_II
AmmunitionIntervalOptionCurrent= NULL, NULL, 0
AmmunitionIntervalOptions1= 1944-02-01, 1944-03-01, 240 ;Date this renown cost starts
AmmunitionIntervalOptions2= 1944-03-01, 1944-04-01, 230 ;Date this renown cost ends
AmmunitionIntervalOptions3= 1944-04-01, 1944-05-01, 220 ;Renown cost anytime between those two dates
.......... ;many many more of these AmmunitionIntervalOptions
AmmunitionIntervalOptions15= 1945-04-01, 1945-09-01, 100
Volume= 1
PackSize=1 If you want the T3Lut2Torpedo to appear in let's say 1940, all you have to do is change the starting date of the first AmmunitionIntervalOption into the desired value.
So:
........
Subtype=T_III_LUT_II
AmmunitionIntervalOptionCurrent= NULL, NULL, 0
AmmunitionIntervalOptions1= 1944-02-01, 1944-03-01, 240 ;February 1st, 1944
AmmunitionIntervalOptions2= 1944-03-01, 1944-04-01, 230
........becomes:........
Subtype=T_III_LUT_II
AmmunitionIntervalOptionCurrent= NULL, NULL, 0
AmmunitionIntervalOptions1= 1940-01-01, 1944-03-01, 240 ;January 1st, 1940
AmmunitionIntervalOptions2= 1944-03-01, 1944-04-01, 230
........ hope this helps :up:

Herr Minger
01-29-09, 04:09 PM
Thank you Darkfish, that seems to have done the trick:DL I now have a selection of torpedoes in 1940. Its just so unfair:D