translator
745
edits
(Created page with "這些物件的 GameDataMgr 是 0,and the position of the object on the main map is stored in the upper 7 bits of the initial flag value。") |
No edit summary |
||
(14 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
''曠野之息''裡的材料、武器、跟敵人會在一段時間後重生。這個機制是為了防止遊戲世界變得「太空曠」。確切的重生規則取決於每種東西的特性。 | |||
GameData 裡用來追蹤每個東西應該如何重生的 flag 叫做 "revival flags"(復活標籤)。這些 revival flags 無時無刻都存在遊戲的記憶體裡,即使是相應的物件可能並不存在。 | GameData 裡用來追蹤每個東西應該如何重生的 flag 叫做 "revival flags"(復活標籤)。這些 revival flags 無時無刻都存在遊戲的記憶體裡,即使是相應的物件可能並不存在。 | ||
Line 49: | Line 49: | ||
This grid is shown on the object map. It is also possible to show the no-revival area for an object by right clicking on it. | This grid is shown on the object map. It is also possible to show the no-revival area for an object by right clicking on it. | ||
== | == 血月後重生的物件 (RevivalBloodyMoon) == | ||
血月 [[blood moon]] 是大部分武器跟敵人重生的關鍵。每次血月出現後,所有跟血月有關的 revival flags 都會被重設為預設值。 | 血月 [[blood moon]] 是大部分武器跟敵人重生的關鍵。每次血月出現後,所有跟血月有關的 revival flags 都會被重設為預設值。 | ||
Line 569: | Line 569: | ||
== 隨機重生的物件 (RevivalRandom) == | == 隨機重生的物件 (RevivalRandom) == | ||
RevivalRandom policy | RevivalRandom policy 底下包含的物件會在隨機時間點重生。此時間長短與紅月無關。這一類的物件主要是素材(植物、水果、石頭等)。 | ||
這些物件的 [[ResetType]] 是 0,and the position of the object on the main map is stored in the upper 7 bits of the initial flag value。 | 這些物件的 [[ResetType]] 是 0,and the position of the object on the main map is stored in the upper 7 bits of the initial flag value。 | ||
Line 830: | Line 830: | ||
}} | }} | ||
=== | === 隨機重生跟隨機掉落的邏輯 === | ||
每隔六十秒<ref>Time spent in menus and cutscenes does not count</ref>,[[RadarMgr]] 會計算玩家在重生用網格上的位置。 | |||
如果玩家在 AocField(劍之考驗)裡: | |||
* | * 某些特殊的 flags (with the reset data set to 127) 會被忽略而不重生. | ||
* | * 其他物件有 ''1% 機率''重生。 | ||
如果玩家不在劍之考驗裡,那麼檢查: | |||
* | * 如果玩家在主世界裡,上面講到的特殊的 flags 有 ''1% 機率''重生。 | ||
* | * 如果玩家不在主世界裡不特殊的 flags 也有 ''1% 機率''重生。 | ||
* | * 若以上皆非,那麼每個 flag 還是有 ''1% 機率''重生,前提是玩家跟該物件不處在同一個網格裡。 | ||
== | == 隨機掉落的物件 (RevivalRandomForDrop) == | ||
RevivalRandomForDrop policy 底下包含的物件會在隨機時間點重生。此時間長短與紅月無關。這一類主要是打壞木箱後掉出來的東西(水果等)。 | |||
這些物件的 [[ResetType]] 是 0,and the position of the object on the main map is stored in the upper 7 bits of the initial flag value。 | |||
{{actor list|label='''Actors under the RevivalRandomForDrop policy'''|content= | {{actor list|label='''Actors under the RevivalRandomForDrop policy'''|content= | ||
Line 890: | Line 890: | ||
}} | }} | ||
== | == 和山林霸主一起出現的物件 (RevivalUnderGodTim) == | ||
RevivalUnderGodTime policy 底下的物件會和山林霸主一起出現,也就是當 AnimalMaster_Appearance flag 被 [[WorldMgr]] 設成 true 的時候。 | |||
對這類物件而言,[[ResetType]] 的值是 4。 | |||
{{actor list|label='''Actors under the RevivalUnderGodTime policy'''|content= | {{actor list|label='''Actors under the RevivalUnderGodTime policy'''|content= |