SUBSIM Radio Room Forums



SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997

Go Back   SUBSIM Radio Room Forums > Silent Hunter 3 - 4 - 5 > SH5 Mods Workshop
Forget password? Reset here

Reply
 
Thread Tools Display Modes
Old 01-05-13, 07:53 AM   #2461
mishuleu155
A-ganger
 
Join Date: Jan 2011
Posts: 72
Downloads: 289
Uploads: 0
Default

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);
}
}
mishuleu155 is offline   Reply With Quote
Old 01-05-13, 08:22 AM   #2462
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

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
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 01-05-13, 09:02 AM   #2463
mishuleu155
A-ganger
 
Join Date: Jan 2011
Posts: 72
Downloads: 289
Uploads: 0
Default

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.
mishuleu155 is offline   Reply With Quote
Old 01-05-13, 09:08 AM   #2464
mishuleu155
A-ganger
 
Join Date: Jan 2011
Posts: 72
Downloads: 289
Uploads: 0
Default

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.

mishuleu155 is offline   Reply With Quote
Old 01-06-13, 07:36 AM   #2465
TH0R
XO
 
Join Date: Jul 2009
Location: Croatia
Posts: 420
Downloads: 52
Uploads: 0
Default

Quote:
Originally Posted by Silent Steel View Post
Good Lord, that's some mods list you've got there
I'll have a look at it tomorrow

Until then - your specs please
Sorry, I was away for two days.

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.
__________________
My IL2 stuff: LEVEL BOMBING MANUAL v2.0 | 'MUSTANG'

Last edited by TH0R; 01-06-13 at 09:23 AM.
TH0R is offline   Reply With Quote
Old 01-07-13, 06:56 AM   #2466
alphasephirot
Watch
 
Join Date: Jan 2012
Posts: 22
Downloads: 122
Uploads: 0
Default

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!!
alphasephirot is offline   Reply With Quote
Old 01-07-13, 08:53 AM   #2467
Trevally.
Navy Seal
 
Join Date: Apr 2007
Location: AN1536 (Orkney)
Posts: 5,448
Downloads: 166
Uploads: 28


Default

Quote:
Originally Posted by alphasephirot View Post
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!!


OHII MissionFix WA
__________________
Trevally Mods for SH5
Trevally. is offline   Reply With Quote
Old 01-07-13, 09:22 AM   #2468
alphasephirot
Watch
 
Join Date: Jan 2012
Posts: 22
Downloads: 122
Uploads: 0
Default

Wow, that was fast! Thanks, is working perfectly now
alphasephirot is offline   Reply With Quote
Old 01-08-13, 06:43 AM   #2469
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

^^ And what's the difference gain, please?
Fifi is offline   Reply With Quote
Old 01-08-13, 10:21 AM   #2470
Lt commander lare
Grey Wolf
 
Join Date: Feb 2005
Location: southlyon michigan
Posts: 900
Downloads: 797
Uploads: 35
SHO

I Love open horizons 2 any chance that there will be an open horizons 3
just curious thats all.


Lt Commander Lare
Lt commander lare is offline   Reply With Quote
Old 01-08-13, 10:47 AM   #2471
gap
Navy Seal
 
Join Date: Jan 2011
Location: CJ8937
Posts: 8,160
Downloads: 793
Uploads: 10
Default

Quote:
Originally Posted by Lt commander lare View Post
I Love open horizons 2 any chance that there will be an open horizons 3
Yes, but there are unconfirmed reports that, in order to avoid large numerals, il will released under the name of "Wide Open Horizons"
gap is offline   Reply With Quote
Old 01-08-13, 08:11 PM   #2472
Lt commander lare
Grey Wolf
 
Join Date: Feb 2005
Location: southlyon michigan
Posts: 900
Downloads: 797
Uploads: 35
SHO

Ok cool cant wait to try it looking forward to it.


LT Commander Lare
Lt commander lare is offline   Reply With Quote
Old 01-08-13, 10:33 PM   #2473
Brad LaRue
Bilge Rat
 
Join Date: Nov 2010
Posts: 1
Downloads: 168
Uploads: 0
Default will the mod

hello I was wondering, does this mod work on a digitle copy of SH5?
Brad LaRue is offline   Reply With Quote
Old 01-09-13, 01:10 AM   #2474
Fifi
Navy Seal
 
Fifi's Avatar
 
Join Date: Dec 2012
Location: France
Posts: 6,254
Downloads: 510
Uploads: 0


Default

Quote:
Originally Posted by Brad LaRue View Post
hello I was wondering, does this mod work on a digitle copy of SH5?
Yes, it's working on my digital UPlay download
Fifi is offline   Reply With Quote
Old 01-09-13, 04:48 PM   #2475
Rythin
Swabbie
 
Join Date: May 2007
Posts: 11
Downloads: 13
Uploads: 0
Default

I just got a prompt that I've been awarded a new boat. How do I check what model is that?
Rythin is offline   Reply With Quote
Reply

Tags
awesome, campaign, graf zeppelin, harbour, new bases, new ships, ohii


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -5. The time now is 11:45 PM.


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