Locking User Campaign

Tech support for Battle Academy

Moderators: Slitherine Core, BA Moderators

Post Reply
Merr
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 903
Joined: Mon Aug 16, 2010 2:00 pm

Locking User Campaign

Post by Merr »

Pip/Ian,

All this talk about unlocking campaigns ... I need to do the reverse ... :shock:

How do you lock a carryover user built campaign?

I tried the LOCK tag in the campaignTEXT ... no joy.

Thanks.
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

The LOCK flag is made up to 2 parts. The lower byte is the mask that the campaign requires to be unlocked (so for Desert this is 1, meaning it needs the tutorial to set the flag) and the next byte is the flag that is set once a mission is completed in this scenario. So the Desert is 0201 meaning it needs 1 to be set in the campaigns flags, and it sets 2 in the campaign flag.

It's a little involved, but I hope that explains it!

Cheers

Pip
Merr
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 903
Joined: Mon Aug 16, 2010 2:00 pm

Post by Merr »

How do I lock only the scenarios ... like MG does ?

Otherwise a player can just skip on to the next mission.
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

Just putting CARRYOVER in the campaign.txt file should do it. Remember that in debug mode though, you will be able to start at any mission (though you cannot rely on the carryover data then).

Cheers

Pip
Merr
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 903
Joined: Mon Aug 16, 2010 2:00 pm

Post by Merr »

pipfromslitherine wrote:Just putting CARRYOVER in the campaign.txt file should do it. Remember that in debug mode though, you will be able to start at any mission (though you cannot rely on the carryover data then).

Cheers

Pip

It doesn't work for user campaigns :cry: ... CARRYOVER is in the campaignTXT ... debug is off (if it was on I could play the MG missions, but I can't).

The only tweaks I have in UsersTXT ;
ALLOWMPHOTSEAT 1
NOZOOMLIMIT 1

:? :?:
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Post by pipfromslitherine »

Hmmm - I am pretty sure we tested out the carryover stuff using user campaigns. I will recheck, but I can't think why it would be different. Are all the scenarios listed in the campaign file too?

Cheers

Pip
junk2drive
BA Moderator
BA Moderator
Posts: 1478
Joined: Sun May 23, 2010 4:47 pm
Location: Arizona USA -7GMT

Post by junk2drive »

I have a WIP campaign with carryover and it seems to work for me. I used the buttons in the editor.
You can call me junk - and type that with one hand.
Merr
Captain - Heavy Cruiser
Captain - Heavy Cruiser
Posts: 903
Joined: Mon Aug 16, 2010 2:00 pm

Post by Merr »

Pip,

Ok ... Hmm ... I must be getting old :oops: ... It works!
I think I got lost in my campaign selection menu ...
Having duplicate test campaigns didn't help the matter! (I really do need to clean house)

Now I can release my Merr Skirmish !


Junk? ... Thanks for checking on your end ... What are you working on?
It's been awhile since you had a WIP ...

Thanks Gentlemen.
Post Reply

Return to “Battle Academy : Tech Support”