Jump to content

Objective crystal count


LinusU
 Share

Recommended Posts

I read thru all the modding pages in the wiki, browsed the forums and looked thru lots of both binary and text file and still can't figure this out.

 

Where is the number of crystals required to complete a level stored, and I don't mean the game objective scripts (GetCrystalsCurrentlyStored > 39 ? SetLevelCompleted). But rather some number that the game uses to decide how many empty crystals it should draw in the right panel.

 

I find it unlikely that it would parse this information from the scripts since it's not always as straight forward as in the above example. Often it is stored to som register and later read back.

 

Any help appreciated!

Linus Unnebäck

Link to comment
Share on other sites

This is actually easy to figure out by trial&error in the cfg.

Go to the Levels section in the cfg and look for any level, e.g. Rocky Horror (Level 25).

At the bottom of the description of Level 25 you can find something like this:

Reward {
...
        Quota {
               ...
               Crystals       25
              }
       }

 

The "Crystals" under Quota is the amount of crystals 

draw[n] in the right panel.

Link to comment
Share on other sites

 Share

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.