SUBSIM Radio Room Forums

SUBSIM Radio Room Forums (https://www.subsim.com/radioroom/index.php)
-   SH4 ATO Mods (https://www.subsim.com/radioroom/forumdisplay.php?f=234)
-   -   SH4 Basic cfg (https://www.subsim.com/radioroom/showthread.php?t=147560)

Herr Minger 01-29-09 01:58 PM

SH4 Basic cfg
 
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


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:
Quote:

[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:
Quote:

........
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:
Quote:

........
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


All times are GMT -5. The time now is 03:32 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 1995- 2025 Subsim®
"Subsim" is a registered trademark, all rights reserved.