[DEMO] Scripted Select Screen

Bloodbane

Well-known member
I discovered a way to change player's model with script some time ago and that gave me idea to create scripted select screen. I chose Megaman Armada to implement the idea and here's how scripted select screen looks:

  BTW It also shows level select screen, updated Magnetman's magnet and Megaman styled lifebar.

  Here's the select screen with 4 players:

No download link yet cause I want to fix some flaws I noticed in the video  :D
 
Thanks Bloodbane for this awesome work ! I'm wondering what happens if the 4 players aren't agree with the stage destination? They fight each other alone? :)
This is a joke, Player 1 choose for the team, am I correct?
 
You're welcome guys  8)

As for stage select, it's actually First Click First Choose. IOW whoever chooses 1st will define where players would go.
 
Beautiful I really like how you've done this, I can't wait to see the files and see how it all works :)
 
Great work bloodbane. I too found out recently how to change character by script I was shocked it was as simple as changing the player model name. But this must have been difficult to pull off due to keeping track of where you player is on the screen again great job.
 
Can you give more details? such as which OpenBoR build you are using, if you modified the demo or not and when exactly the crash occur?
Also the error message is incomplete, there should be lines before those which tells the origin of the script.
 
Can you give more details? such as which OpenBoR build you are using, if you modified the demo or not and when exactly the crash occur?
Also the error message is incomplete, there should be lines before those which tells the origin of the script.
I compiled the .pak then ran the demo as is, it opened up then shutdown. The error log says can't compile the update file.
I am not sure which build I ran the demo with. I was using the latest Final Fight LNS OpenBoR build to run this demo.
How do I check for the OpenBoR build version?
I am trying to learn how to create a NPC Ally. I found some resources from this site on how to use the NPC Ally,
but I haven't found one that shows me how to create a NPC Ally. I read the Openbor manual and it says that
Type must be NPC and Subtype can be follow/chase.
The Openbor manual is really helpful. However, it does not provide enough examples for me to understand :-(
Thank you so much
 
I was using the latest Final Fight LNS OpenBoR build to run this demo.

There's your first problem. That's not an official build. The latest official OpenBOR release is here:


Get that build and try it Bloodbane's demo first. Then we can start walking you through step by step how to add an NPC ally. it's not too hard at all.

DC
 
Thanks alot.

This is what I have for NPC Ally, but I do not understand how I can make the NPC Ally use attacks and skills, auto attack, etc.:

Code:
name                NPC_Ally
type                npc
subtype                chase
nolife                1
hostile                enemy
candamage            enemy obstacle
speed                20
running             40 1 1 5 1
turndelay             0    3
bounce                1
noquake             1
#shadow 3
gfxshadow 1 3
diesound            data/chars/players/BabySin/death.wav
flash                 flash
bflash                 guard
dust                dust01
toflip                1
nodieblink            1
falldie             2

com  U a4    freespecial1


blockpain 1
holdblock 0

load            quake


parrow            data/chars/misc/parrow/01.gif -215 -185
parrow2            data/chars/misc/parrow/02.gif -215 -185
    
        
anim    idle
@script
    
    void self = getlocalvar("self");
                if(getentityproperty(self, "health")<=0)  {
                        damageentity(self, self, 100, 1, 1);
             }
    @end_script
    loop    1
    offset    303 400
    bbox 0 0 0 0
    delay    16
    frame    data/chars/players/SummonSkills/BabySin/idle01.gif
    frame    data/chars/players/SummonSkills/BabySin/idle02.gif
    frame    data/chars/players/SummonSkills/BabySin/idle03.gif
    frame    data/chars/players/SummonSkills/BabySin/idle04.gif
    frame    data/chars/players/SummonSkills/BabySin/idle05.gif
    frame    data/chars/players/SummonSkills/BabySin/idle06.gif
    frame    data/chars/players/SummonSkills/BabySin/idle07.gif
    frame    data/chars/players/SummonSkills/BabySin/idle08.gif
    frame    data/chars/players/SummonSkills/BabySin/idle09.gif
    frame    data/chars/players/SummonSkills/BabySin/idle08.gif
    frame    data/chars/players/SummonSkills/BabySin/idle07.gif
    frame    data/chars/players/SummonSkills/BabySin/idle06.gif
    frame    data/chars/players/SummonSkills/BabySin/idle05.gif
    frame    data/chars/players/SummonSkills/BabySin/idle04.gif
    frame    data/chars/players/SummonSkills/BabySin/idle03.gif
    frame    data/chars/players/SummonSkills/BabySin/idle02.gif

anim    walk
    loop    1
    offset    303 400
    bbox    0 0 0 0
    delay    10
    frame    data/chars/players/SummonSkills/BabySin/walk01.gif
    frame    data/chars/players/SummonSkills/BabySin/walk02.gif
    frame    data/chars/players/SummonSkills/BabySin/walk03.gif
    frame    data/chars/players/SummonSkills/BabySin/walk04.gif
    frame    data/chars/players/SummonSkills/BabySin/walk05.gif
    frame    data/chars/players/SummonSkills/BabySin/walk06.gif
    frame    data/chars/players/SummonSkills/BabySin/walk07.gif
    frame    data/chars/players/SummonSkills/BabySin/walk08.gif
    
anim    run
    loop    1
    offset    303 400
    bbox 0 0 0 0
    delay    8
    frame    data/chars/players/SummonSkills/BabySin/run01.gif
    frame    data/chars/players/SummonSkills/BabySin/run02.gif
    frame    data/chars/players/SummonSkills/BabySin/run03.gif
    sound    data/chars/players/haggar/hagg11.wav
    frame    data/chars/players/SummonSkills/BabySin/run04.gif
    frame    data/chars/players/SummonSkills/BabySin/run05.gif
    frame    data/chars/players/SummonSkills/BabySin/run06.gif
    frame    data/chars/players/SummonSkills/BabySin/run07.gif
    sound    data/chars/players/haggar/hagg11.wav
    frame    data/chars/players/SummonSkills/BabySin/run08.gif
    frame    data/chars/players/SummonSkills/BabySin/run09.gif
    frame    data/chars/players/SummonSkills/BabySin/run10.gif
    frame    data/chars/players/SummonSkills/BabySin/run11.gif
    frame    data/chars/players/SummonSkills/BabySin/run12.gif
    frame    data/chars/players/SummonSkills/BabySin/run13.gif
    frame    data/chars/players/SummonSkills/BabySin/run14.gif
    
anim    attack1   
    fastattack    1
    loop    0
    offset    303 400
    bbox 0 0 0 0
    delay    2
    frame    data/chars/players/SummonSkills/BabySin/a101.gif
    attack1 347 226 90 124 5 0 0 0 20 15
    delay    8
    frame    data/chars/players/SummonSkills/BabySin/a102.gif
    attack  0 0 0 0 0 0 0 0 0 0
    delay    4
    frame    data/chars/players/SummonSkills/BabySin/a103.gif
    
anim    freespecial1
    jugglecost    2
    hitflash    Blood
    energycost    5
    mponly    1
    fastattack    1
    loop    0
    offset    303 400
    bbox 0 0 0 0
    delay    4
    sound    data/sounds/slash_blood03.wav
    frame    data/chars/players/SummonSkills/BabySin/tornado01.gif
    frame    data/chars/players/SummonSkills/BabySin/tornado02.gif
    attack11    332 220 133 116  10  0     100  0     20     40
    delay    2
    frame    data/chars/players/SummonSkills/BabySin/tornado03.gif
    attack    0     0     0     0     0     0     0     0     0
    delay    2
    frame    data/chars/players/SummonSkills/BabySin/tornado04.gif
    attack11    156 179 112 121  10  0     100  0     20     40
    delay   4
    frame    data/chars/players/SummonSkills/BabySin/tornado04.gif
 
but I do not understand how I can make the NPC Ally use attacks and skills, auto attack, etc.

You'd need to set range in NPC's ATTACK and FREESPECIAL animation to tell them how far they should be from opponents before performing those.
 
You'd need to set range in NPC's ATTACK and FREESPECIAL animation to tell them how far they should be from opponents before performing those.
Now I understand! What happens if I setup the NPC with multiple different attacks and FREESPECIAL's within the same range, is the NPC going to perform the those skills randomly or one after another?
Thank you so much
 
Now I understand! What happens if I setup the NPC with multiple different attacks and FREESPECIAL's within the same range, is the NPC going to perform the those skills randomly or one after another?
Thank you so much
and for Subtype follow, how do I set up the NPC ally to follow me whereever I want, such as above, below, in front, or behind me)? Thanks
 
What happens if I setup the NPC with multiple different attacks and FREESPECIAL's within the same range, is the NPC going to perform the those skills randomly or one after another?

Randomly though attack and freespecial with lower number have higher priority than ones with higher number ones.

how do I set up the NPC ally to follow me whereever I want, such as above, below, in front, or behind me)

NPC with subtype chase follows their parent. IOW you have to set parent to the NPC to know which character to follow.
 
Randomly though attack and freespecial with lower number have higher priority than ones with higher number ones.



NPC with subtype chase follows their parent. IOW you have to set parent to the NPC to know which character to follow.
Can you please give me an example of this? Is it possible to setup multiple parents to the NPC and setup multiple NPC's to 1 parent?
In addition, is there a way to setup how often the NPC will use the attack or FREESPECIAL only when the mp is available?
Thank you
 
Back
Top Bottom