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

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 04-17-13, 03:29 PM   #11
Vanilla
Lieutenant
 
Join Date: Nov 2006
Location: St. Petersburg, Russia
Posts: 264
Downloads: 73
Uploads: 0
Default More bugs to squish

@TDW,

There are some other bugs that are still there: the crew scripting is very buggy. The most obvious would be non-working crash_dive command. It is never called. Rubini used Rescue_survivors script to work around the problem but it would be nice if the script worked as supposed. To illustrate here is an excerpt from \data\Submarine\NSS_Uboat7a\crew_commands.txt:
Code:
// Crash_dive currently not getting triggered
// Added Rescue_Survivors command and MCCD modifications by Rubini

  Crash_dive 1 1 4 ( CR_CHIEF = crashd_CHIEF, CR_VALVE = crashd_VALVE, CR_HELM = crashd_HELM, CR_SO_01 = crashd_SO )
[.....]
  Rescue_Survivors 1 1 4 ( CR_CHIEF = ccrashd_CHIEF, CR_VALVE = ccrashd_VALVE, CR_HELM = ccrashd_HELM, CR_SO_01 = ccrashd_SO )
[.....]
As you can see the Crash_dive command should cause some crew members to follow crashd script (which lies in crash_dive.aix file) but this Crash_dive command is never triggered. Rubini reworked the menues so that Rescue_Survivors command is given instead of Crash_dive so the crashd script could be called.

I would love to add to that the annoying bug of animation orientation. I am not sure if you can remember that but there are two numbers in animation scripts that suppose to give initial and final orientation of the crew member's animation but they don't work.

It would be also awesome if some methods to get current time, date, and weather as well as some kind of timer and a random number were available in crew scripts as they are in ship AI scripts, currently all these things like battlestations, watches changes or changing to bad-weather outfit are next to impossible to mod-in since crew scripts have no knowledge of what's going on outside or inside the boat. There are many other problems with crew scripting like bad pathfinding, no knowledge of other members proximity, hard-coded turning animation (that uses only 90 degree slow turns), etc. etc. since the crew modelling was just half or 1/3 done when the games was released, but those methods I mentioned are of prime importance.
Vanilla is offline   Reply With Quote
 


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 10:49 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.