Page 1 of 1
Locking User Campaign
Posted: Mon Sep 19, 2011 12:10 pm
by Merr
Pip/Ian,
All this talk about unlocking campaigns ... I need to do the reverse ...
How do you lock a carryover user built campaign?
I tried the LOCK tag in the campaignTEXT ... no joy.
Thanks.
Posted: Mon Sep 19, 2011 3:41 pm
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
Posted: Mon Sep 19, 2011 4:17 pm
by Merr
How do I lock only the scenarios ... like MG does ?
Otherwise a player can just skip on to the next mission.
Posted: Mon Sep 19, 2011 5:23 pm
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
Posted: Mon Sep 19, 2011 7:44 pm
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

... 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

Posted: Mon Sep 19, 2011 11:43 pm
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
Posted: Tue Sep 20, 2011 12:53 am
by junk2drive
I have a WIP campaign with carryover and it seems to work for me. I used the buttons in the editor.
Posted: Tue Sep 20, 2011 2:22 am
by Merr
Pip,
Ok ... Hmm ... I must be getting old

... 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.