![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
01-05-13, 07:53 AM
|
#2461 |
|
A-ganger
![]() Join Date: Jan 2011
Posts: 72
Downloads: 289
Uploads: 0
|
Thank you trevally for your quick response. The problem is if i activate only fx mod starshells doesn't appears only after i activate irai mod. I made your modifications and still appears because irai activate them again.
I find this path in irai mod. irai/data/scripts/ai/ship-weapons.aix # Ship weapons: # strategy ShipFire(Ship) { precond { Ship:ContactPresenceIs(PRESENCE_SENSORS, 0) or (Ship:ContactPresenceIs(PRESENCE_LOOSING, 0) and Ship:GetContactLostTime() <= 360.0) } strategies { DC, Cannons, CannonsAtSubmerged, #CheckStarshellEnable, ShipFireStarShells, ShipFireStarShellsDistance } } strategy DC(Ship) { precond { Ship:ContactIs(SUBMARINE) or (Ship:ContactIs(UNITUNKNOWN) and Ship:GetContactDepth() <= -4.0) #SUBISSUBMERGEDDEPTH } strategies { DCRacks, HHogs, DCThrower } } strategy DCRacks(Ship) { precond { Ship:CanFireDCRacks() and Ship:GetContactDepth() <= -4.0 and Ship:GetCurrentSpeed() >= 2 #SUBISSUBMERGEDDEPTH } action { Ship:FireDCRacks(); } } strategy HHogs(Ship) { precond { Ship:CanFireHHogs() } action { Ship:FireHHogs(); } } strategy DCThrower(Ship) { precond { Ship:CanFireDCThrowers() } action { Ship:FireDCThrowers(); } } strategy Cannons(Ship) { precond { Ship:CanFireCannons() } action { Ship:FireCannons(); } } strategy CannonsAtSubmerged(Ship) { precond { (Ship:ContactPresenceIs(PRESENCE_LOOKOUT, 0) or Ship:ContactPresenceIs(PRESENCE_SONAR, 0)) and (Ship:ContactIs(SUBMARINE) or Ship:ContactIs(UNITUNKNOWN)) and Ship:GetContactDepth() <= 0.0 and Ship:GetContactDepth() >= -20.0 and Ship:GetContactRelDist() <= 8000 } action { Ship:FireCannons(); } } #strategy CheckStarshellEnable(Ship) #{ # precond # { # (Ship:ContactPresenceIs(PRESENCE_SENSORS, 0) or Ship:ContactPresenceIs(PRESENCE_LOOSING, 0)) and Ship:GetContactRelDist() <= 10000 # } # action # { # Ship:EnableStarshells(); # } #} strategy ShipFireStarShells(Ship) { precond { Ship:CanFireStarShells() and Ship:GetContactRelDist() <= 10000 } action { Ship:FireStarShells(); } } strategy ShipFireStarShellsDistance(Ship) { precond { Ship:GetContactRelDist() <= 10000 } action { Ship:FireStarShells(); #Ship:ShipWaitAction(10) Ship:TimeEventHappen(5); } } |
|
|
01-05-13, 08:22 AM
|
#2462 |
|
Navy Seal
![]() |
If you look at a Hogisland - it will not fire a starshell
If you test a LL - it will This is because the one has a launcher - the other does not. You do not need to try and remove the script that TDW added to give the game working starshells. -Just remove the launchers from the ships that are causing the issue for you. You should make this change and save the file outside of TDWs FX mod. Then you can use your edited file to make a mod that you install last. This way the changes that you make will not be undone by other mods or jsgme |
|
|
01-05-13, 09:02 AM
|
#2463 |
|
A-ganger
![]() Join Date: Jan 2011
Posts: 72
Downloads: 289
Uploads: 0
|
success
![]() I made this modifications. Ship weapons: # strategy ShipFire(Ship) { precond { Ship:ContactPresenceIs(PRESENCE_SENSORS, 0) or (Ship:ContactPresenceIs(PRESENCE_LOOSING, 0) and Ship:GetContactLostTime() <= 360.0) } strategies { DC, Cannons, CannonsAtSubmerged, #CheckStarshellEnable, ShipFireStarShells, ShipFireStarShellsDistance I deleted the "ShipFireStarShells" and "ShipFireStarShellsDistance" in IRAI mod. I hope it will help those who have ATI cards.
|
|
|
01-05-13, 09:08 AM
|
#2464 |
|
A-ganger
![]() Join Date: Jan 2011
Posts: 72
Downloads: 289
Uploads: 0
|
Those flares are ok and add realism but they are not compatible with the ati cards. I have an powerful hd 7950. I have over 100 fps in game and that lag destroy the immersion of the game.
|
|
|
01-06-13, 07:36 AM
|
#2465 | |
|
XO
![]() Join Date: Jul 2009
Location: Croatia
Posts: 420
Downloads: 52
Uploads: 0
|
Quote:
The mod soup I posted is almost identical to Sober's, with few visual and audio mods removed / added. I also use different wave mod. Specs are: i5 2500k @ 4.5 GTX 580 Lightning (v 310.70 beta) Xonar Essence STX (UNi Xonar v1.53) 2x4 GB @ 1600 SSD (OS) HDD (SHV) EDIT: I just realized that I am not using TDW's .exe patch. Installing now. Last edited by TH0R; 01-06-13 at 09:23 AM. |
|
|
|
01-07-13, 06:56 AM
|
#2466 |
|
Watch
![]() Join Date: Jan 2012
Posts: 22
Downloads: 122
Uploads: 0
|
Hi trevally, i´m trying to download the mission fix WA but the 4sync page won´t let me download it, it just cant connect when i click in the download button... So do you have any alternative so i can get it?
Thanks in advance! P.S. Your work is outstanding man!! |
|
|
01-07-13, 08:53 AM
|
#2467 | |
|
Navy Seal
![]() |
Quote:
OHII MissionFix WA |
|
|
|
01-07-13, 09:22 AM
|
#2468 |
|
Watch
![]() Join Date: Jan 2012
Posts: 22
Downloads: 122
Uploads: 0
|
Wow, that was fast! Thanks, is working perfectly now
|
|
|
01-08-13, 06:43 AM
|
#2469 |
|
Navy Seal
![]() |
^^ And what's the difference gain, please?
|
|
|
01-08-13, 10:21 AM
|
#2470 |
|
Grey Wolf
![]() Join Date: Feb 2005
Location: southlyon michigan
Posts: 900
Downloads: 797
Uploads: 35
|
I Love open horizons 2 any chance that there will be an open horizons 3
just curious thats all. Lt Commander Lare |
|
|
01-08-13, 10:47 AM
|
#2471 |
|
Navy Seal
![]() Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
|
|
|
|
01-08-13, 08:11 PM
|
#2472 |
|
Grey Wolf
![]() Join Date: Feb 2005
Location: southlyon michigan
Posts: 900
Downloads: 797
Uploads: 35
|
Ok cool cant wait to try it looking forward to it.
LT Commander Lare |
|
|
01-08-13, 10:33 PM
|
#2473 |
|
Bilge Rat
![]() Join Date: Nov 2010
Posts: 1
Downloads: 168
Uploads: 0
|
hello I was wondering, does this mod work on a digitle copy of SH5?
|
|
|
01-09-13, 01:10 AM
|
#2474 |
|
Navy Seal
![]() |
|
|
|
01-09-13, 04:48 PM
|
#2475 |
|
Swabbie
![]() Join Date: May 2007
Posts: 11
Downloads: 13
Uploads: 0
|
I just got a prompt that I've been awarded a new boat. How do I check what model is that?
|
|
|
![]() |
| Tags |
| awesome, campaign, graf zeppelin, harbour, new bases, new ships, ohii |
| Thread Tools | |
| Display Modes | |
|
|
