M-S_totor
jeudi 13 février 2003 Ã 00:53
merçi les DD ca bouge, des cartes vont arriver.....
pour les sub qui ont une dotation differentes en armement ou les DD de nouveaux sonars,radars etc........
voici l'expication de mon de vue :wink:selon la date du scenario, ton sub ou le DD ont subit des refontes,bénficient d'armes nouvelles,
c'est géré par sim.exe. voilà pour vos jolis yeux attentifs. c'est du batch ou script comme vous voulez...., la prise en compte est effectué lorsque sim.exe lit le scenario ,compare et execute ces conditions #if between date et date alors sub possede tel armement fat, pas fat, nombre de torp en stock, shnorshel ,vitesse etc.............. :wink:
UN SUB que tout le monde connais bien, tu peux jouer entre 39 et 46
fichier NSSUBAOT9c40.udf
#if between(19390101,date,19431201)
[WEAPON5]
Type = TURRET
Node = AA7
System = Gun37mm
ElevRange = -10,90
TravRange1 = -180,-0,0
CountAmmo = TRUE
AmmoStore = 5
Preload Cell = 1
#endif
;; new-boy 3.7cm M42 after late 43
#if between(19431202,date,194601011)
[WEAPON5]
Type = TURRET
Node = AA7
System = GunGE_37mmM42
ElevRange = -10,90
TravRange1 = -180,-0,0
CountAmmo = TRUE
AmmoStore = 5
#endif
;...................... Torpedos .....................
[WEAPON6]
Type = TORPEDO
Node = TT1
System = Torpedo
RotRange = 0,0,0
TravRange1 = 0,0,0
AmmoStore = 1
PreloadCell = 1
[WEAPON7]
Type = TORPEDO
Node = TT2
System = Torpedo
RotRange = 0,0,0
TravRange1 = 0,0,0
AmmoStore = 1
#if between(19390101,date,19430101) ; load whatever till 1943jan
PreloadCell = 1
#endif
#if between(19430102,date,19430501) ; load non-fat till 1943may
PreloadCell = 2
#endif
#if between(19430502,date,19430901) ; back to FAT till 1943sep
PreloadCell = 1
#endif
#if between(19430502,date,19440401) ; non FAT till 1944apr
PreloadCell = 2
#endif
#if between(19440402,date,19450101) ; eto/FAT till 1944may
PreloadCell = 2
#endif
#if between(19450102,date,19460101) ; eto/FAT till 1946
PreloadCell = 1
#endif
[WEAPON8]
Type = TORPEDO
Node = TT3
System = Torpedo
RotRange = 0,0,0
TravRange1 = 0,0,0
AmmoStore = 1
#if between(19390101,date,19400401) ; load ato till 1940apr
PreloadCell = 1
#endif
#if between(19400402,date,19400615) ; load eto till 1940jun
PreloadCell = 2
#endif
#if between(19400616,date,19430101) ; continue eto till 1943jan
PreloadCell = 1
#endif
#if between(19430102,date,19450101) ; continue eto/whatever till 1945jan
PreloadCell = 2
#endif
#if between(19450102,date,19460101) ; eto/fat till 1946
PreloadCell = 1
#endif