Object respawning/zh: Difference between revisions

no edit summary
(Created page with "RevivalRandomForDrop policy 底下包含的物件會在隨機時間點重生。此時間長短與紅月無關。這一類主要是打壞木箱後掉出來的東西(水果等...")
No edit summary
 
(5 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) ==
== 血月後重生的物件 (RevivalBloodyMoon) ==


血月 [[blood moon]] 是大部分武器跟敵人重生的關鍵。每次血月出現後,所有跟血月有關的 revival flags 都會被重設為預設值。
血月 [[blood moon]] 是大部分武器跟敵人重生的關鍵。每次血月出現後,所有跟血月有關的 revival flags 都會被重設為預設值。
Line 847: Line 847:
RevivalRandomForDrop policy 底下包含的物件會在隨機時間點重生。此時間長短與紅月無關。這一類主要是打壞木箱後掉出來的東西(水果等)。
RevivalRandomForDrop policy 底下包含的物件會在隨機時間點重生。此時間長短與紅月無關。這一類主要是打壞木箱後掉出來的東西(水果等)。


Revival flags for objects under this policy have their [[ResetType]] set to 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。


{{actor list|label='''Actors under the RevivalRandomForDrop policy'''|content=
{{actor list|label='''Actors under the RevivalRandomForDrop policy'''|content=
Line 890: Line 890:
}}
}}


== Revival whenever the Lord of the Mountain appears (RevivalUnderGodTime) ==
== 和山林霸主一起出現的物件 (RevivalUnderGodTim) ==


Objects under the RevivalUnderGodTime policy will be revived whenever the Lord of the Mountain appears (more precisely, when the AnimalMaster_Appearance flag is set by [[WorldMgr]]).
RevivalUnderGodTime policy 底下的物件會和山林霸主一起出現,也就是當 AnimalMaster_Appearance flag [[WorldMgr]] 設成 true 的時候。


Revival flags for objects under this policy have their [[ResetType]] set to 4.
對這類物件而言,[[ResetType]] 的值是 4。


{{actor list|label='''Actors under the RevivalUnderGodTime policy'''|content=
{{actor list|label='''Actors under the RevivalUnderGodTime policy'''|content=
translator
745

edits