Editing Olimar's voyage log table

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
 
{{todo|Get either images or the actual text for each log, so its clear what they refer to. Also probably better formatting from someone good at it.}}
 
{{todo|Get either images or the actual text for each log, so its clear what they refer to. Also probably better formatting from someone good at it.}}
  
This is a table in the game's code that dictates how the end of day logs work in ''Pikmin''. In the event that conditions for multiple are met in a day, this table determines which one takes priority. It also determines if a log that is triggered, but not viewed on the same day should be forgotten, kept, or reset.
+
This is a table in the game's code that dictates how the End of Day logs work. In the event that conditions for multiple are met in a day, this table determines which one takes priority. It also determines if a log that is triggered, but not viewed on the same day should be forgotten, kept, or reset.
  
 
__TOC__
 
__TOC__
  
==Value explanations==
+
==Value Explanations==
 
The <code>resultsFlags</code> table is an array of 75 entries, for every possible log, including unused ones.
 
The <code>resultsFlags</code> table is an array of 75 entries, for every possible log, including unused ones.
 +
The first value, the index, is the ID of the .blo file to open for this log. You will notice some are skipped, either for unused .blo files or logs that consist of multiple .blo files.
 +
Next is a flag that dictates if the log should be enabled every day by default. This is used for all of Olimar's "nothing" logs that appear when he has nothing specific to write about.
 +
The third value is the logs priority. In the event multiple logs are met in a day, the one with the lowest priority value will be seen.
 +
The final value determines what to do if the log's condition is met, but it is not seen on the same day. 0 means that the log will be forgotten forever, 1 means it will be reset so it could be triggered again on a later day. 2 means it will remain in the queue and will be used as soon as nothing with higher priority is used over it.
  
# The first value, the index, is the ID of the BLO file to open for this log. You will notice some are skipped, either for unused BLO files or logs that consist of multiple BLO files.
+
For example, the log about Olimar dying has very high priority, since if that happened, Olimar would definitely be writing about it right away. But if it were to get skipped that day anyway, its store value is set to 1, so it will be reset and could be triggered on a later day.
# Next is a flag that dictates if the log should be enabled every day by default. This is used for all of Olimar's "nothing" logs that appear when he has nothing specific to write about.
 
# The third value is the logs priority. In the event multiple logs are met in a day, the one with the lowest priority value will be seen.
 
# The final value determines what to do if the log's condition is met, but it is not seen on the same day. 0 means that the log will be forgotten forever, 1 means it will be reset so it could be triggered again on a later day. 2 means it will remain in the queue and will be used as soon as nothing with higher priority is used over it.
 
 
 
For example, the log about Olimar being KO'd has very high priority, since if that happened, Olimar would definitely be writing about it right away. But if it were to get skipped that day anyway, its store value is set to 1, so it will be reset and could be triggered on a later day.
 
 
 
 
Once a log has been used, it can never be used again, regardless of any values in its table.
 
Once a log has been used, it can never be used again, regardless of any values in its table.
  
 
Lastly, this table also includes what events trigger a log to be viewable that day. Some are very self-explanatory, others not so much. It also has conditions that can force a log to be dropped, even if it was triggered that day.
 
Lastly, this table also includes what events trigger a log to be viewable that day. Some are very self-explanatory, others not so much. It also has conditions that can force a log to be dropped, even if it was triggered that day.
 
+
For example, when Yellow Pikmin are gotten, a log is set about how Olimar has found yellows, but does not know about Bomb Rocks yet. Once a bomb rock is used, that log is killed permanently, and the version where he does know about Bomb Rocks is put in instead.
For example, when Yellow Pikmin are gotten, a log is set about how Olimar has found Yellow Pikmin, but does not know about bomb rocks yet. Once a bomb rock is used, that log is cancelled and killed permanently, and the version where he does know about bomb rocks is put in instead. Once a log has been cancelled, it can never be seen. Same goes for a log with store type 0 that isn't seen on the day it's triggered. This is why some logs are very uncommon to actually see, especially for the bosses.
+
Once a log has been cancelled, it can never be seen. Same goes for a log with store type 0 that isn't seen on the day it's triggered. This is why some logs are very uncommon to actually see, especially for the bosses.
  
 
==Table==
 
==Table==
 
{| class="wikitable sortable"
 
{| class="wikitable sortable"
! Description                || BLO index  || Auto-enabled || Priority || Store type || Trigger                                  || Trigger cancel                           || Notes
+
! Description                || .blo Index || Auto-enabled || Priority || Store type || Trigger                                  || Trigger Cancel                           || Notes
 
|-  
 
|-  
| End of day 1              || 1          || No          || 1        || Forget    || Set on at the end of day 1                || N/A                                      || Lowest priority in the game since its obviously important.
+
| End of Day 1              || 1          || No          || 1        || Forget    || Set on at the end of day 1                || N/A                                      || Lowest priority in the game since its obviously important.
 
|-  
 
|-  
 
| First Visit Forest of Hope || 3          || No          || 3        || Forget    || Set on ending day while in Forest of Hope || N/A                                      ||
 
| First Visit Forest of Hope || 3          || No          || 3        || Forget    || Set on ending day while in Forest of Hope || N/A                                      ||
Line 174: Line 172:
 
|-
 
|-
 
| Nothing Log 28            || 84        || Yes          || 626      || Keep      || Set on starting file                      || N/A                                      || "I am so very tired." You can't see this because of days like 1, 10, and 29 that have unavoidable logs. It was probably meant for day 30.
 
| Nothing Log 28            || 84        || Yes          || 626      || Keep      || Set on starting file                      || N/A                                      || "I am so very tired." You can't see this because of days like 1, 10, and 29 that have unavoidable logs. It was probably meant for day 30.
|}
 
 
[[Category:Pikmin]]
 
[[Category:Constants]]
 

Please note that all contributions to Pikmin Technical Knowledge Base are considered to be released under the Creative Commons Attribution-ShareAlike (see Pikmin Technical Knowledge Base:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)

Template used on this page: