Unlock LOCK-ON by beating the game

Status
Not open for further replies.

Ezer'Arch

ArchPack 2.4.1 is out
2009 Contest Winner 2008 Contest Winner
Hi,

I'm implementing some unlockables in my level pack. That's the idea: when the player loads up my level pack, all vanilla maps are kept "hidden" until he beats my pack at least once, then he can play them by accessing Secrets > LOCK-ON.

This is the MAINCFG:
Code:
MAINCFG CATEGORY
CustomVersion = ArchPack v2.0
GameData = scmrtf_archpack.dat
NumEmblems = 15
TitleScrollSpeed = 8
SpStage_Start = 137
SpStage_End = 143
RaceStage_Start = 137
SStage_Start = 50
Each vanilla map got this header:
Code:
Level nn
TimeAttack = 0
LevelSelect = 0
This is the unlockable:
Code:
UNLOCKABLE 1
Name = LOCK-ON
Objective = Clear game at least once
NeededGrade = 1
Type = 1
Var = 1
The problem is, NeededGrade doesn't work here. I've beaten the pack tons of times and the secret list keeps saying "nope". I have 3 save slots saying "Complete!". Now, if I replace NeededGrade = 1 with NeededEmblems = 1 the secret is unlocked if I collect at least one emblem, but I want to unlock it by beating the game.

Interesting, if I use NeededGrade = 1 with NeededEmblems = 1 it doesn't work either. It also seems NeededGrade = x (where x > 0) won't work if used with Type = 1. The example in the wiki doesn't work either.

Any help will be welcome. :)
 
Last edited:
You need to go through the credits (nextlevel = 1102) for the grade unlocks to trigger.

Don't ask me why, it's just the way it's set up.
 
Thank you, it worked. Not only did it work but also it added 2 emblems and Greenflower in my emblem list... okay, it's a known bug.

犬夜叉;736120 said:
Don't ask me why, it's just the way it's set up.
I dare not ask why, definitely I will not. D:
 
Last edited:
Status
Not open for further replies.

Who is viewing this thread (Total: 0, Members: 0, Guests: 0)

Back
Top