Level without enemies?

Chris Monvel

Active member
Hi again! I was wondering if it's possible to load a level without having any enemy at all. I want to create some type of interactive ending where the player enters into a location and encounters an stationary npc that talks to him through dialogue texts and then spawn an endlevel item to end the sequence. I tried it but of course the Openbor doesn't load any level if there isn't any enemy around and i thought i could change that by making the stage a bonus level but it didn't work either.  ???

Another little question i have is how does the endlevel items work in terms of the .txt header? What type of information should i declare exactly? Is it ok like this?

name Item
health 0
type endlevel
shadow 0
 
If you want to create empty level, you need to create endless level.
Here's a tutorial on how to create Bonus Level. Read Extra section to create endless level

Another little question i have is how does the endlevel items work in terms of the .txt header?

Endlevel entity is a touch type which ,as name implies, ends current level if it is touched by player
Here's an example of endlevel entity:
Code:
name	 BranchB
type	 endlevel
shadow	 0
branch	 Truck

anim idle
	loop	0
	delay	10
	offset	1 1
	bbox	0 0 20 20
	frame	data/chars/misc/empty.gif

This one has branch Truck which brings players to branch named Truck if this entity is touched. It's optional and you can omit that if you only need to end current level

...stationary npc that talks to him through dialogue texts and then spawn an endlevel item to end the sequence

I prefer using script to end the level instead of spawning endlevel item
 
Toranks said:
Create an invisible enemy with a death timer, or any other trigger that kills him when you want to end the stage.

An invisible enemy also got into my mind, I simply added a nomove and removed any hitboxes or bodyboxes so it won't be wandering around annoying the players. Thanks.
 
Bloodbane said:
If you want to create empty level, you need to create endless level.
Here's a tutorial on how to create Bonus Level. Read Extra section to create endless level

Another little question i have is how does the endlevel items work in terms of the .txt header?

Endlevel entity is a touch type which ,as name implies, ends current level if it is touched by player
Here's an example of endlevel entity:
Code:
name	 BranchB
type	 endlevel
shadow	 0
branch	 Truck

anim idle
	loop	0
	delay	10
	offset	1 1
	bbox	0 0 20 20
	frame	data/chars/misc/empty.gif

This one has branch Truck which brings players to branch named Truck if this entity is touched. It's optional and you can omit that if you only need to end current level

...stationary npc that talks to him through dialogue texts and then spawn an endlevel item to end the sequence

I prefer using script to end the level instead of spawning endlevel item

I was aware of endlevel but didn't know that they can also link to other areas, haven't used the branch yet. I'm going to play around with it. I suppose a scripted endlevel works better and it's more practical but in my case the endlevel item is important, let's say it's part of the "story" like a reward for the hero.

I think I got it, thank you so much!
 
Back
Top Bottom