Editing Pikmin 2 cave lighting files
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|This page may contain inaccurate information. Please edit any discrepancies on information that you know for a fact is true.}} | + | {{todo|This page is heavy WIP and may contain inaccurate information. Please edit any discrepancies on information that you know for a fact is true.}} |
Lighting configuration files for caves can be found under <code>"root/user/Abe/cave/"</code> as .txt files. There are 67 in total. | Lighting configuration files for caves can be found under <code>"root/user/Abe/cave/"</code> as .txt files. There are 67 in total. | ||
=Configuration Format= | =Configuration Format= | ||
− | + | ||
− | + | '''Be aware that similar to camera parameters, the first section of parameters appear to be ignored. To actually see changes in-game adjust property values below line 95.''' | |
The example below represents settings for <code>bluefog00.ini</code> taken directly from the file and broken up into segments. | The example below represents settings for <code>bluefog00.ini</code> taken directly from the file and broken up into segments. | ||
Line 18: | Line 18: | ||
{0001} # バージョン <Version> | {0001} # バージョン <Version> | ||
1 # タイプ <Type> | 1 # タイプ <Type> | ||
+ | #=============================================== | ||
+ | # スポットタイプ設定 <Spot Type Setting> | ||
+ | #=============================================== | ||
</source> | </source> | ||
The first line represents what version the lighting file is. This can be changed to {0000} and {0001} and have different effects. Might have to do with how the lighting file is parsed. More testing is needed. | The first line represents what version the lighting file is. This can be changed to {0000} and {0001} and have different effects. Might have to do with how the lighting file is parsed. More testing is needed. | ||
Line 24: | Line 27: | ||
<source lang="powershell"> | <source lang="powershell"> | ||
− | |||
− | |||
− | |||
#----------------------------------------------- | #----------------------------------------------- | ||
# パラメタ <Parameter> | # パラメタ <Parameter> | ||
Line 37: | Line 37: | ||
</source> | </source> | ||
− | Self explainatory. The setting for how many units above the player the light source will be | + | Self explainatory. The setting for how many units above the player the light source will be |
− | + | ||
<source lang="powershell"> | <source lang="powershell"> | ||
#----------------------------------------------- | #----------------------------------------------- | ||
Line 58: | Line 58: | ||
} | } | ||
</source> | </source> | ||
+ | '''AGAIN. Changes to these parameters only seem to take effect below line 95.''' | ||
This is the basic settings for the main light source above the player. Uses RGBa settings {u800}-{u802} to determine color. {u803} while apparently affects alpha levels doesn't seems to do anything (Can be safe to say that this setting is completely useless) and the {f000} property determines the cut off angle of the light source. It seems as though all light files have the exact same angles for their cut off properties at 45 degrees. This however makes sense since they can just simply raise or lower the light source to increase or decrease the radius of light around the player. A great example of how raising the light source rather than making the cut off angle wider is effective is shown by how the developers made <code>jyoou_light_lv4_5.ini</code> to be raised 1500 units above the player for a spotlight effect and <code>jyoou_light_lv0.ini</code> is raised 5000 units above the player for a bright effect. | This is the basic settings for the main light source above the player. Uses RGBa settings {u800}-{u802} to determine color. {u803} while apparently affects alpha levels doesn't seems to do anything (Can be safe to say that this setting is completely useless) and the {f000} property determines the cut off angle of the light source. It seems as though all light files have the exact same angles for their cut off properties at 45 degrees. This however makes sense since they can just simply raise or lower the light source to increase or decrease the radius of light around the player. A great example of how raising the light source rather than making the cut off angle wider is effective is shown by how the developers made <code>jyoou_light_lv4_5.ini</code> to be raised 1500 units above the player for a spotlight effect and <code>jyoou_light_lv0.ini</code> is raised 5000 units above the player for a bright effect. | ||
Line 281: | Line 282: | ||
|} | |} | ||
</div> | </div> | ||
− | |||
− |