NERPs material collecting objective

From RRU Knowledge Base

This article is an unfinished work in progress or contains transferred information that needs to be rewritten or reformatted to fit our standards. Please excuse the mess and do not mark for deletion.

Material Collecting Objectives are the most common Mission Objective in Rock Raiders. To complete this kind of mission, you need to collect a designated amount of a certain material. All the original Levels that have this kind of objective require you to collect specifically Energy Crystals. However, it is also possible to have the mission require that you collect a designated amount Ore instead.

Crystal Collecting Objective

This probably also the simplest kind of Objective script as it's major component is only one line of information:

 GetCrystalsCurrentlyStored > 39 ? SetLevelCompleted

"39" can be any designated value. As soon as the crystal count goes above this number, (i.e. equals 40), the mission is completed. When encrypted this simply translates to:

 0D 00 02 00 05 00 01 00 27 00 00 00 04 00 01 00 08 00 02 00

where "0D 00 02 00" is the Crystal count Parameter, "05 00 01 00" is the ">" Symbol, "27 00 00 00" is the Number "39", "04 00 01 00" is the "?" Symbol, and 08 00 02 00 is the level completion Parameter.

Ore Collecting Objective

Though never used in the game as a Level Completion objective, this script is practically identical to the Crystal Collecting Objective and simply swaps the crystal count parameter with the ore count parameter like so:

 GetOreCurrentlyStored > 39 ? SetLevelCompleted

It works the same way, so when the ore count goes above 39, the level is completed. When encrypted this translates to:

 61 00 02 00 05 00 01 00 27 00 00 00 04 00 01 00 08 00 02 00

where "61 00 02 00" is the Ore count Parameter.

Examples of Missions with this type of Objective