Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Stage: Custom stage invisible wall?
#1
Hey all.
I'm REALLY new to LF data changing, and I've come across a problem that I don't know how to fix.
So I downloaded the bg file called "eruption", and added it to the data.txt right after the fire/ice place (4th stage). So now, the 5th stage is Eruption instead of that palace place. I actually enjoy this more, and would want to keep this, but as soon as I'm ready to go to stage 5-2, I can't. The character[/size][/font] just won't run through. How do I solve this? Shock
Reply
Thanks given by:
#2
Its because the background width is really small.
I you open "stage.dat" you will find out that the bound set for the last one in stage 5-1 is much larger than the actual width of the background and since you have to cross that boundary in order to access the next stage you will never be able to do so.

Solution: Decrease the boundary in "stage.dat". (for all 5-* stages, not just the last ones)
Age ratings for movies and games (and similar) have never been a good idea.
One can learn a lot from reinventing wheels.
An unsound argument is not the same as an invalid one.
volatile in C++ does not mean thread-safe.
Do not make APIs unnecessarily asynchronous.
Make C++ operator > again
Trump is an idiot.
Reply
Thanks given by: Divisor , dubbleD , Alectric , Taniaetc
#3
Err, didn't quite understand all that. I really am a newbie at dcing, could you explain like you would to a kid? :(

Reply
Thanks given by:
#4
Check the stage data, you should see something like this:
Code:
<stage> id: 50  #Survival Stage
        <phase> bound: 1500  # phase 0   bandit
                music: bgm\stage4.wma
                id: 122  x: 100  #milk  ratio: 1
                id: 30 hp: 50  times: 1
                id: 30 hp: 50  times: 1  ratio: 0.7
                id: 30 hp: 50  times: 1  ratio: 0.3
        <phase_end>
For your problem, you need to look at "bound:" nex to the "<phase>" tag.
As Someone Else said, you need to decrease this "bound:" so it becomes smaller than the width of your background and thus actually reachable.
Reply
Thanks given by: Alectric
#5
Yeh, Alec and I limited the size to 794 pixels which is exactly the effective window-width of LF2. So, in case you want to integrate this into stage 5, you are to set the bound for all phases within stage 5 (so every part under "id: 4x") to 794.
Silverthorn / Blue Phoenix
~ Breaking LFE since 2008 ~

"Freeze, you're under vrest!" - Mark, probably.

» Gallery | » Sprites | » DeviantArt
Reply
Thanks given by:




Users browsing this thread: 1 Guest(s)