Post by BeasTie on Dec 14, 2012 22:24:34 GMT -5
Making a Test Level by Bloodbane
Intro:This is a technique to make test level in OpenBoR. Test level is a level where you can test many things (not all however) without worry about time. You can use it to test enemy's attacks, background and traps. You can also use it for bug testing . Basicly it's a level where you can play there forever (unless you exit).
I won't describe how to make background and other stuffs required to make a level. I only explain how to set a level to test level.
Procedure:
Prepare everything required to make a level (background, panels, etc) then make a level with them.
To make it test level, you have to give this settings:
settime 0
notime 1
type 1 0 1
direction both
'type 1 0 1' is to make the level bonus level that allows special attacks but prohibits friendly attack. Only the first flag which is important, you can set the other 2 differently but use that for now.
In case you don't know, bonus level is level where heroes are invincible and it will only end either because the timer goes to 0 or no more obstacles or items in the level.
If that's the rule then how to set unlimited time for it? that's what 'settime 0' is for. With this setting, you can be in this level forever while the timer only show 00. Since the timer won't change at all, give 'notime 1' to hide the timer.
'direction both' is so you can scroll back again after scrolling forward. Very useful if you are testing enemies or background.
Is that enough? no! there's one more thing to set. Those setting won't make the test level not end on its own cause there's no obstacles or items in it. So we need an obstacle or item to prevent that.
Make an entity like this:
name Empty
health 10
type obstacle
shadow 0
anim idle
delay 100
offset 1 1
frame data/chars/misc/empty.gif
anim fall
delay 100
offset 1 1
frame data/chars/misc/empty.gif
BTW empty.gif is just 1x1 pixels gif with transparent color. BoR has it.
Don't forget to load it in models.txt of course:
know Empty data/chars/misc/empty.txt
After that entity is ready, spawn it in the test level like this:
spawn Empty
coords 500 195
at 0
If your test level is long, another spawn might be required:
spawn Empty
coords 500 195
at 1000
This is important so if OpenBoR 'kills' the previous 'empty' entity, another 'empty' will hold the level so it won't end on its own.
That's the basic setting. You can add anything you want in the test level. Remember! heroes are invincible here so you can relax if enemy beats them here.
If you're bored or simply want to end playing the level, hit 'start' or 'escape' to end it.
by BloodBane
Intro:This is a technique to make test level in OpenBoR. Test level is a level where you can test many things (not all however) without worry about time. You can use it to test enemy's attacks, background and traps. You can also use it for bug testing . Basicly it's a level where you can play there forever (unless you exit).
I won't describe how to make background and other stuffs required to make a level. I only explain how to set a level to test level.
Procedure:
Prepare everything required to make a level (background, panels, etc) then make a level with them.
To make it test level, you have to give this settings:
settime 0
notime 1
type 1 0 1
direction both
'type 1 0 1' is to make the level bonus level that allows special attacks but prohibits friendly attack. Only the first flag which is important, you can set the other 2 differently but use that for now.
In case you don't know, bonus level is level where heroes are invincible and it will only end either because the timer goes to 0 or no more obstacles or items in the level.
If that's the rule then how to set unlimited time for it? that's what 'settime 0' is for. With this setting, you can be in this level forever while the timer only show 00. Since the timer won't change at all, give 'notime 1' to hide the timer.
'direction both' is so you can scroll back again after scrolling forward. Very useful if you are testing enemies or background.
Is that enough? no! there's one more thing to set. Those setting won't make the test level not end on its own cause there's no obstacles or items in it. So we need an obstacle or item to prevent that.
Make an entity like this:
name Empty
health 10
type obstacle
shadow 0
anim idle
delay 100
offset 1 1
frame data/chars/misc/empty.gif
anim fall
delay 100
offset 1 1
frame data/chars/misc/empty.gif
BTW empty.gif is just 1x1 pixels gif with transparent color. BoR has it.
Don't forget to load it in models.txt of course:
know Empty data/chars/misc/empty.txt
After that entity is ready, spawn it in the test level like this:
spawn Empty
coords 500 195
at 0
If your test level is long, another spawn might be required:
spawn Empty
coords 500 195
at 1000
This is important so if OpenBoR 'kills' the previous 'empty' entity, another 'empty' will hold the level so it won't end on its own.
That's the basic setting. You can add anything you want in the test level. Remember! heroes are invincible here so you can relax if enemy beats them here.
If you're bored or simply want to end playing the level, hit 'start' or 'escape' to end it.
by BloodBane