Like I already told: This system is very useful if you want to create a kind of story in your stage and so you only want to have one main hero play the stage. The bonus characters are locked.
When the player use them or use multiplayer a message is displayed and stage stops. In case the message is not shown correct in the stage you just need to adjust the zboundary values of the background (well, this is easiest way, sure there're others like creating a new system where the messages are activated at another y-value).
All authorised characters have the following itr:
itr: #authorised char
kind: 0 x: -5000 y: 5000 w: 10000 h: 500 injury: 100 zwidth: 500
itr_end:
All not authorised characters have this itr:
itr: #not authorised
kind: 0 x: -5000 y: 6000 w: 10000 h: 500 injury: 100 zwidth: 500
itr_end:
Check the characters where I pasted them in case you add new characters to your version.
For the Multilock-System you need to add these frames to every character:
<frame> 380 multi-lock (stage x-1)
pic: 0 state: 3 wait: 0 next: 0 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 2 x: 39 y: 79
cpoint_end:
wpoint:
kind: 1 x: 23 y: 55 weaponact: 23 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
<frame> 381 multi-lock (stage x-1)
pic: 0 state: 3 wait: 0 next: 999 dvx: 0 dvy: 0 dvz: 0 centerx: 39 centery: 79
hit_a: 0 hit_d: 0 hit_j: 0
cpoint:
kind: 1 x: 39 y: 79
cpoint_end:
wpoint:
kind: 1 x: 23 y: 55 weaponact: 23 attacking: 0 cover: 0 dvx: 0 dvy: 0 dvz: 0
wpoint_end:
<frame_end>
In case your character is higher (like Julian) change cpoint-y and centery (need to be same value)
For this system I used the following y-values:
-5000 multi lock
1000 multi lock
5000 little fighters authorised itr
6000 little fighters unauthorised itr
7000 stage lock kill lockbandit
So in case you don't want to get errors don't use them in your game again.
That's all you need to know, I don't explain any technique here. You can use this project for your stage but don't forget to give credits in your readme!!!
Stage-Multi-Lock |
Inspired by MH-Razen