SUBSIM Radio Room Forums


SUBSIM: The Web's #1 BBS for all submarine and 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 03-22-2010, 01:00 AM   #1
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default [REL] Damage assessment v1.1

(Technical bit: Added a new "state" for a ship: Damage assessment, placed between "alert" state and "damage control" state. Reworked trigger thresholds for a quicker effect and proper functioning as a whole with the new state. Changes made to "Ship-crewstate.aix" in "..\Ubisoft\Silent Hunter 5\data\Scripts\AI\".)


Changes AI behaviour with regards to keeping speed and sensor effectiveness; enemies will slow down after taking some damage and be less aware of their surroundings.

The threshold depends on % of HP, so ships with higher total HP will need more hits before they slow down. The speed reduction is a percentage as well, so the higher their top speed, the faster they will continue.

In practice this works out to needing 1 hit on a freighter and 2 or more on a big warship to trigger the effect. Merchants, with their low top speed, should slow to a crawl, estimate 3-5 knots.

There's a further reduction in speed as the damage climbs, and eventually the crew will abandon ship, bringing her to a stop. Those are stock behaviours though, just a little tweaked.

!Enabling during patrol is not advised, it has not been tested outside single mission. Preferably enable in port, or at least make absolututely sure there are no ships in a 30KM radius!

Extract into JSGME "MODS" folder and enable.

Intended to work together with "Better and Realistic Flotation", but works perfectly fine as a standalone.

BARF thread: http://www.subsim.com/radioroom/showthread.php?t=164953


DOWNLOAD (5KB)


SPOILER
Here are the numbers:
Slow to 50% speed at 25% damage
Slow to 20% speed at 65% damage
Abandon ship at 85% damage

All sensor effectiveness reduced to 70% while in "damage assessment" state to simulate sending some crewmembers to investigate, captain focusing on getting the damage under control, shock from being hit, etc.

-.-. .... .- -. --. . .-.. --- --.

v1.1
- minor bugfix to avoid possible CTD under apparently very rare circumstances
__________________

Contritium praecedit superbia.

Last edited by Arclight; 03-30-2010 at 04:23 AM.
Arclight is offline   Reply With Quote
Old 03-22-2010, 01:44 AM   #2
gutted
The Old Man
 
Join Date: Apr 2005
Location: New Orleans, LA.
Posts: 1,345
Downloads: 457
Uploads: 10
Default

hmmm. sounds promising. Maybe now those damaged merchants will fall out of the convoys more often.

will enable it and test it out next time im in port.
__________________

Solution Solver 2.3.2 - Visual Targeting Tools & Aids
gutted is offline   Reply With Quote
Old 03-22-2010, 02:00 AM   #3
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Unless you hit the convoy leader, then the whole group slows to a crawl.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 03-22-2010, 02:01 AM   #4
thruster
Electrician's Mate
 
Join Date: Nov 2008
Posts: 139
Downloads: 0
Uploads: 0
Default

brilliant! thank you. this game is clearly getting better and better.
thruster is offline   Reply With Quote
Old 03-22-2010, 04:55 AM   #5
sergei
Sea Lord
 
Join Date: May 2008
Location: London UK
Posts: 1,788
Downloads: 405
Uploads: 29
Default

Outstanding
__________________

A variety of mods for SH4 and 5

'It is pleasant, when the sea is high and the winds are dashing the waves about, to watch from the shores the struggles of another'

'You just keep thinking Butch. That's what you're good at'



sergei is offline   Reply With Quote
Old 03-22-2010, 05:44 AM   #6
Dowly
It's an alpaca, ok?
 
Dowly's Avatar
 
Join Date: Apr 2005
Location: Finland
Posts: 24,561
Downloads: 32
Uploads: 0


Default

Excellent mod, mate! Loved how the ships lost their visual sensors in stock when damaged enough, now add slower speed to that and vóila!
Dowly is offline   Reply With Quote
Old 03-22-2010, 06:11 AM   #7
coronas
Ace of the Deep
 
Join Date: May 2005
Location: Asturias, España
Posts: 1,168
Downloads: 39
Uploads: 0
Default

Quote:
Abandon ship at 85% damage
...And a trigger for survivors, lifeboats, distress and rescue flares?

BTW, you are doing an excellent work!!

__________________
coronas is offline   Reply With Quote
Old 03-22-2010, 06:26 AM   #8
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

Thank you.


Survivors and such are possible, though I still don't know how. Learning as I go, bit by bit. Still doing a lot of exploring, just rumaging through the files, see what I run in to.

I was working on rebalancing the warships, took a break, got distracted and ended up with an altered script for AI.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 03-22-2010, 06:30 AM   #9
The General
The Old Man
 
Join Date: Aug 2006
Location: Mountain Ash, Wales, U.K.
Posts: 1,548
Downloads: 178
Uploads: 3
Default

I haven't seen any lifeboats yet in the stock game , so I'll give this a try. Thanks very much.
__________________
***THE GENERAL***
The General is offline   Reply With Quote
Old 03-22-2010, 12:30 PM   #10
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 238
Uploads: 2


Default

Nice. I've been wondering when someone was going to get into the ship AI scripts. Looks like lots of cool stuff will be possible.
Heretic is offline   Reply With Quote
Old 03-22-2010, 12:32 PM   #11
Heretic
Commodore
 
Join Date: Mar 2005
Location: Nebraska
Posts: 617
Downloads: 238
Uploads: 2


Default

Quote:
Originally Posted by Arclight View Post
I was working on rebalancing the warships, took a break, got distracted and ended up with an altered script for AI.
I know how that goes. I was just looking into adding hats to my crew and one thing led to another.
Heretic is offline   Reply With Quote
Old 03-24-2010, 05:17 PM   #12
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Paradise, CA
Posts: 1,533
Downloads: 519
Uploads: 23


Default NPC Voices Stop Working

It appears I have found some type of scripting dependancy or this MOD must be installed before starting a Carreer.
I added the Damage Assessment MOD while in port after I exited the game.
JSGME did not report any conflicts. I am currently using the following MODS:
RemoveUbiLogoandIntro
Accurate German Flags

A Fistful of Emblems v1.5
Better Torpedo Graphics

Torpedo Splash
Free Cam Tweak 1.0
Capthelms SH5 Audio Mod

MightyFine Less Annoying Footsteps 1.0
Conning Tower Compass Fix

Captains_Picture
Enhanced Ship Recon Manual V1.01

No Moral Cooldowns
NewUI_0_3_0_ByTheDarkWraith
TheBeasts_SH5_Commands_OrdersBar
MightyFine Crew Mod 1.1.1 Stock Faces
My crew voices stopped working when executing commands. Some Commands that worked fine before resulted in CTD, other commands didnt work at all.
I exited SH5, removed this MOD and everything works fine.
I even tried loading this MOD first and started a NEW Career and same problem persisted. That indicates some type of scripting dependancy from another MOD. Most likely the NewUI by TheDarkWraith.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
Old 03-24-2010, 05:36 PM   #13
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

It just adds a block of code to an existing script. All the previous states are still valid, though it's possible the new state is not recognized by other scripts.

I don't see how any script that deals with the interface is dependant on the "crew state" of an AI ship though.

Try it on a stock game, see if it works.



Anyone else experiencing issues? Or not? Would like some feedback either way, see if it this is an isolated case or widespread.

If anyone is still using it in case of massive fail, of course.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Old 03-24-2010, 06:13 PM   #14
TheBeast
The Old Man
 
Join Date: Jan 2010
Location: Paradise, CA
Posts: 1,533
Downloads: 519
Uploads: 23


Default

Quote:
Originally Posted by Arclight View Post
I don't see how any script that deals with the interface is dependant on the "crew state" of an AI ship though.
The NewUI is trying to make Crew Command availability dependant on Crew Damage State. So if a Key crew member is injured or dead those commands relating to that position are delayed or are not executed at all. Not sure how it relates to the AI other then pulling info from it.
I have no idea as to why sounds stopped working and some commands were causing CTD.
__________________
Fear me! I am, TheBeastBelow

SHIV-MediaFire | SHV-MediaFire
TheBeast is offline   Reply With Quote
Old 03-24-2010, 06:50 PM   #15
Arclight
Navy Seal
 
Join Date: Jun 2008
Location: Land of windmills, tulips, wooden shoes and cheese. Lots of cheese.
Posts: 8,467
Downloads: 53
Uploads: 10
Default

No, me neither. But if someone else's mod alters AI behaviour as well, it's no surprise issues are going to crop up.

I can't "debug" this in any sense, so apart from issuing a warning for a possible incompatibility with DarkWraith's UI mod and CaptHelm's sound mod, there's nothing I can do.
__________________

Contritium praecedit superbia.
Arclight is offline   Reply With Quote
Reply

Tags
barf-da , damage assessment

Thread Tools
Display Modes

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 02:29 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright © 1995- 2020 Subsim