Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
The actual spawning of the secret exits are hardcoded so you'll have to work with that limitation.
Hope this helps!
So, If I just override this file adding It into my mod, It Will enable me to choose the level which they will appear?
I want them being generated in the same random levels, but in different "floors"
Edit: I checked the file but didn't understood quite well how it works :(
Could you please brifly explain it?
Thanks!
Thanks!
Exits to secret levels are fixed to the current level depth.
These spawn a portal that changes the levels to load from secretlevels.txt instead of levels.txt.
And the map that is loaded is pulled from secretlevels.txt:
When you exit the secret level it jumps back to using the levels.txt file order.
So in your mod, you'll change the lines gnomishmines to your sewer map name and players can enter the sewer from level 2.
Using a portal sprite in your map will toggle the secret/normal level list, so in sewer.lmp if you want players to move directly to minetown instead of the next normal level you replace the portal with a ladder sprite.
If you want to allow secret levels randomly in generation, have a room mine33.lmp or whatever include a portal which will give players a chance to move to the secret level.
"warpzone.lmp" map is just a default placeholder map that lets you return to the normal level list through the 4 portals so it's useful to debug if you didn't put maps in the correct order.
Your game is awesome!
I hope to be able to add nice content on it soon!
I just realized that it wasn't what I wanted :(
I wanted the possibility to change WHEN the secret stage will appear. like, gnomish mines on room 4 or 5 instead of 2.
But this already gave me a new perspective!
Is it possible that you implement a way to change this in a future?
Thanks!
If you wanna test that, you can specify lines in levels.txt like
"gen: mine secret%: 50 darkmap%: 25 minotaur%: 10" for example which sets the secret level chance to 50%. the other tags are optional just needs to have a space between the tag and number. The exit room name will be "minesecret.lmp" or "sewersecret.lmp" depending on the filename of the base map so make sure that file exists.
Thanks a lot! These features seem great as well!