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 > SH4 Mods Workshop > SH4 Mission Designers' Forum
Forget password? Reset here

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 02-04-25, 10:09 AM   #5
propbeanie
CTD - it's not just a job
 
propbeanie's Avatar
 
Join Date: May 2016
Location: One hour from Music City USA!
Posts: 10,245
Downloads: 466
Uploads: 4


Default

KaleunMarco and I have been bouncing ideas around, wondering WHY the triggers are so squirrely...

It looks like your mission is all set-up, ready to go, so you go to test it, and NOTHING HAPPENS from your triggers. I do remember reading about this issue somewhere before, and "time" is at the root of all evil in the Silent Hunter games. Not only does it count from "zero" instead of an actual date, but it counts in seconds / minutes / hours depending upon which aspect of the game you are modding.

With this little kernel of memory irritating me, I decided to experiment with the Mission date, as listed in the mis file header, the CfgDate= line of the involved "target" of spawning from a trigger (a ship, plane or sub), the GameEntryDate= and GameEntryTime= lines versus the AvailStartDate= and AvailStartTime= lines.

So, CfgDate HAS to be after Mission Date, and it has to be the first of a month. Mission date can be any valid date. For example,
[Mission]
...
Year=1944
Month=1
Day=1
Hour=0
Minute=0

means that your CfgDate can be no earlier than 19440101. Likewise though, the GameAvailabilityDate and Time cannot be before the same date and time as the mission.

Then the "revelation" (of old info from someone else), your actual GameEntryDate and Time, which are dated later than the mission for the purpose of being "spawned" by a "Trigger", can be NO LATER than 120 days later. Not 120 days and one second, but no more than 120 days, which is 2880 hours, or 172,800 minutes. NOT 172800.016666 minutes... your "target" will not spawn after 172,800 minutes, or 120 days... You can "go around the corner" from December 1943 into February 1944 no problem, but say you use "19431216" as your Available, your actual GameEntry should be no later than "19440414", else the trigger fails to cause the spawn...
__________________

"...and bollocks to the naysayers" - Jimbuna
propbeanie 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 05:10 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.