![]() |
SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
![]() |
#1 |
Saint of the seas
Join Date: Mar 2004
Location: Sorrento, Louisiana
Posts: 1,320
Downloads: 265
Uploads: 127
|
![]()
...I can't get time triggers to work!
![]() It refuses to do anything it's supposed to if a time trigger is involved. Every other type of trigger works fine. I did do a search here and saw where it was reported that it doesn't work with multiplayer missions. I double checked my parameters and all that's checked is "Single Player" so it shouldn't be that. I'm trying to update objectives and send a message on a specific date and time. Any ideas?
__________________
Frederick J. Barnett Radio Stations & Music Captain's Desk Photos FJB Camera Pre Pearl Harbor Career Start Office links, Info Boxes, & 50 cal Crew Rank Fix Sub Class Info Real Subs SH4 Randomizer Sub Images Office Images Sub Pinups & Pics 24 Hour Clocks Office Posters Nav Map Make-Over Add-ons FJB Navigation Maps Office Window Chronographs Someone's got to take the responsibility if the job's going to get done! Do you think that's easy?! - Gregory Peck, The Guns of Navarone. Last edited by fred8615; 05-24-10 at 10:46 AM. |
![]() |
![]() |
![]() |
#2 | |
Admiral
![]() Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
|
![]() Quote:
Time trigger do work. But they don't happen at the EXACT minute of the time trigger. Usually within a few minutes, maybe as much as 5 minutes late. If you have somewhere you could post it, I could take a look at it. Peabody
__________________
System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2. |
|
![]() |
![]() |
![]() |
#3 | ||||
Saint of the seas
Join Date: Mar 2004
Location: Sorrento, Louisiana
Posts: 1,320
Downloads: 265
Uploads: 127
|
![]() Quote:
Quote:
Quote:
Quote:
__________________
Frederick J. Barnett Radio Stations & Music Captain's Desk Photos FJB Camera Pre Pearl Harbor Career Start Office links, Info Boxes, & 50 cal Crew Rank Fix Sub Class Info Real Subs SH4 Randomizer Sub Images Office Images Sub Pinups & Pics 24 Hour Clocks Office Posters Nav Map Make-Over Add-ons FJB Navigation Maps Office Window Chronographs Someone's got to take the responsibility if the job's going to get done! Do you think that's easy?! - Gregory Peck, The Guns of Navarone. |
||||
![]() |
![]() |
![]() |
#4 |
Admiral
![]() Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
|
![]()
Fred,
Got your mission, you can relax, your time trigger works fine. The problem is Time triggers, at least from what I know are hard to use in Campaigns. Simple reason, you don't know when they are going to send you on the mission. Time trigger do not use the actual date you enter, they use the difference between the mission start date and the time trigger date. So when the mission start changes the times trigger "time" changes. Here is the time trigger in your mission. [Trigger 1] TrigName=Find and Engage Type=1 Time=1017210 Time= 1.9+ years !! The mission was written with a start date of 1940-1-1 and the trigger is set for 1941-12-7. BUT when the mission starts Dec 1, 1941 or Dec 2 the time trigger moves ahead 1.9+ years. I changed the mission start date but because of when they started me, the message did not arrive until Dec 8, by that time the Task Force is gone. ![]() I just ran it again and it started me on Dec 2 at 1400 hrs. That makes the message 38 hours late. The message.txt file did give a message in the "message box" stating that Pearl was attacked, unfortunately the message on the clipboard was "message content". So there must be a mistake in that file. It's the stock file. A possible solution is to give a message when they arrive at their Patrol zone of opening sealed orders and intelligence suspects the Japanese may attack. Negotiations are not going well, partol the area blah.....blah....blah.... rather then try to get a time trigger to work. Unless someone else knows something I don't about them. Also suggest making the area bigger. Anyway, it was not a mistake on your part, the message trigger works fine, you just had to wait 2 years to get it. ![]() Peabody
__________________
System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2. |
![]() |
![]() |
![]() |
#5 |
Saint of the seas
Join Date: Mar 2004
Location: Sorrento, Louisiana
Posts: 1,320
Downloads: 265
Uploads: 127
|
![]()
Well that blows!
![]() ![]() ![]() The other two patrols I wanted to use a time trigger in I can get around not having it. But this one really needed it. Oh well, can't have everything I guess. ![]() BTW, that empty PH attack message you got is a bug in the stock messages.txt. There's mods out there that fix it. Thanks again for all your help. ![]()
__________________
Frederick J. Barnett Radio Stations & Music Captain's Desk Photos FJB Camera Pre Pearl Harbor Career Start Office links, Info Boxes, & 50 cal Crew Rank Fix Sub Class Info Real Subs SH4 Randomizer Sub Images Office Images Sub Pinups & Pics 24 Hour Clocks Office Posters Nav Map Make-Over Add-ons FJB Navigation Maps Office Window Chronographs Someone's got to take the responsibility if the job's going to get done! Do you think that's easy?! - Gregory Peck, The Guns of Navarone. |
![]() |
![]() |
![]() |
#6 |
Saint of the seas
Join Date: Mar 2004
Location: Sorrento, Louisiana
Posts: 1,320
Downloads: 265
Uploads: 127
|
![]()
I got it!
I got it! I got it! It turns the start date for the mission in the PatrolObjectives.cfg has an influence. Also, the start dates in both it and the mission need to be when the patrol actually starts. In the case of what I'm doing, it's always Dec. 2nd. For some reason the message is 14 hours later than the time set, but that can be dealt with by subtracting those hours from the time you want it to display. Otherwise, it works perfectly! ![]()
__________________
Frederick J. Barnett Radio Stations & Music Captain's Desk Photos FJB Camera Pre Pearl Harbor Career Start Office links, Info Boxes, & 50 cal Crew Rank Fix Sub Class Info Real Subs SH4 Randomizer Sub Images Office Images Sub Pinups & Pics 24 Hour Clocks Office Posters Nav Map Make-Over Add-ons FJB Navigation Maps Office Window Chronographs Someone's got to take the responsibility if the job's going to get done! Do you think that's easy?! - Gregory Peck, The Guns of Navarone. |
![]() |
![]() |
![]() |
#7 |
Saint of the seas
Join Date: Mar 2004
Location: Sorrento, Louisiana
Posts: 1,320
Downloads: 265
Uploads: 127
|
![]()
I figured out what the 14 hour offset deal is. Whether you start in base or at sea, the time the patrol starts is always 14:00 if you have the start time set to 00:00. I assume it adds the 14 hours regardless of what start time you set. The timer then starts counting from there.
EDIT: Which basically is what peabody told me, and I didn't notice. I would call that a bug.
__________________
Frederick J. Barnett Radio Stations & Music Captain's Desk Photos FJB Camera Pre Pearl Harbor Career Start Office links, Info Boxes, & 50 cal Crew Rank Fix Sub Class Info Real Subs SH4 Randomizer Sub Images Office Images Sub Pinups & Pics 24 Hour Clocks Office Posters Nav Map Make-Over Add-ons FJB Navigation Maps Office Window Chronographs Someone's got to take the responsibility if the job's going to get done! Do you think that's easy?! - Gregory Peck, The Guns of Navarone. Last edited by fred8615; 05-25-10 at 04:40 PM. |
![]() |
![]() |
![]() |
#8 | |
Admiral
![]() Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
|
![]() Quote:
So yes it does not start at midnight, so you are correct there, but like I mentioned, when you had the mission written for 1940-1-1 it used the mission date, not the date in the PO.cfg and the message would have been 1.9 years late. So from the testing I have done, it seems to be the difference between the mission start date and the actual start date. Which would could be taken into account in a single mission (quick mission) but not in the Campaign, since they start you when they want to. Peabody
__________________
System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2. |
|
![]() |
![]() |
![]() |
#9 | |
Saint of the seas
Join Date: Mar 2004
Location: Sorrento, Louisiana
Posts: 1,320
Downloads: 265
Uploads: 127
|
![]() Quote:
Whatever though, I seem to have found a fix that works, So I've remade the mission I sent you, and I'm using time triggers in a few Asiatic fleet missions too.
__________________
Frederick J. Barnett Radio Stations & Music Captain's Desk Photos FJB Camera Pre Pearl Harbor Career Start Office links, Info Boxes, & 50 cal Crew Rank Fix Sub Class Info Real Subs SH4 Randomizer Sub Images Office Images Sub Pinups & Pics 24 Hour Clocks Office Posters Nav Map Make-Over Add-ons FJB Navigation Maps Office Window Chronographs Someone's got to take the responsibility if the job's going to get done! Do you think that's easy?! - Gregory Peck, The Guns of Navarone. |
|
![]() |
![]() |
![]() |
#10 | |
Admiral
![]() Join Date: Jan 2008
Location: New York State, USA
Posts: 2,390
Downloads: 126
Uploads: 7
|
![]() Quote:
But I do consider the time triggers to be a bug. You put in a "specific" date and it does not use that date, it uses the difference betweent that and the mission start date to determine when the trigger goes off. So if it is not the first mission, like yours is, you won't have any idea when you are going to start the mission. The mission will be available for a certain period of time and you could start any time between the startdate and the enddate. We will have to do a little testing and make sure if it uses the Startdate that is written in the mission or if it changes depending on the actual date you are assigned the mission and recalculates the trigger delay. Peabody Peabody
__________________
System Spec: Gigabyte GA-965P-DS3, PentiumD Dual Core Presler 945 3.4Ghz, Gigabyte Geforce 7600GS, 2-1GB Corsair XMS2 800Mhz in Dual Channel, 2-WD 250 SATA 3Gb/s, Onboard Realtek HD 7.1 Audio, DVD ROM, DVD burner, Hiper 580 Watt Power supply, WinXP SP2. |
|
![]() |
![]() |
![]() |
|
|