I'll contribute an example here sense my current project uses Skipselect and Allowselect
And here's the SelZX.txt located in my data folder
This way @PS_VITA you can compare your files to mine and see if you got everything what way you need it.
x)
@msmalik681 By select stage screen you mean where you can choose the characters by pressing left and right? if so, yes I do.do you have a select screen stage before the first stage ?
Hey guys, I'm bumping this thread in hopes that someone knows the answer or if it's not possible to let me know.@msmalik681 By select stage screen you mean where you can choose the characters by pressing left and right? if so, yes I do.
I'm using an older build. I can get back to you on the exact number. And yes, basically on the "select your player" you can choose anyone instead of the allowselect character I choose. But allowselect does work if I die and continue in st1 or any other stage.This should work what build are you using and what is the problem does your select screen still have characters you did not allow ?
Is there a way to use allowselect before starting the very first stage?
set Sonic_ZX##########################
maxplayers 4
lives 1
credits 15
noshare 1
musicoverlap 1
typemp 0
skipselect
select data/SelZX.txt
This way @PS_VITA you can compare your files to mine and see if you got everything what way you need it.music data/music/LastFirstbornDrevRemix.ogg 1
background data/Bgs/SelectZX.gif
allowselect SONIC_ZX KNUCKLES_ZX SALLY_ZX BUNNIE_ZX VECTOR_EX TURBO_ZX SHADOW_EX
I'll contribute an example here sense my current project uses Skipselect and Allowselect
And here's the SelZX.txt located in my data folder
This way @PS_VITA you can compare your files to mine and see if you got everything what way you need it.
x)
@BloodbaneThere is a waybut it has a catch
. The method is by using skipselect + custom select screen in levels.txt. Skipselect skips default select screen to allow custom select screen to replace that. You can declare allowselect in the custom select screen which put it in effect before very first stage.
The catch is with skipselect also in effect, any player continuing or joining in mid level will be forced to play as defined character.
There are 2 other ways to control allowed heroes:
1. Know the heroes first then load them later.
As name implies, locked heroes are declared with know in models.txt. These heroes won't appear in select screen. Then in certain levels or by certain entity, those heroes are unlocked.
2. Scripted lock and unlock.
Script can be used to prevent certain heroes appear in select screen. You can read the details here: Lock and unlock script.
@Bloodbane
I'm trying to use skipselect for the training stage and story.
skip select works for story mode
but it's not working for training.
It just goes to default character select screen.
it's possible to use skipselect in more than one game mode?