Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update arenas #2 #6381

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Update arenas #2 #6381

wants to merge 10 commits into from

Conversation

ikonomov
Copy link
Contributor

@ikonomov ikonomov commented Jul 17, 2023

  • closed the arenas to allow phasing to function properly
  • resized the arena maps to their minimum required area
  • modified hell arena to match more closely the layout generated for level 16
  • removed stairs up
  • added /leavearena command to visit town from arenas (thank you KP!)

The maps are quite simple, primarily designed with functionality in mind. Having only their entry point hard coded they can be very easily adopted as a template to edit and change according to player preference and then replace in their devilutionx/arena folder.

cathedralarena

hellarena

circleoflifearena

Closed the areas to allow phasing to function properly.
@kphoenix137
Copy link
Collaborator

kphoenix137 commented Jul 17, 2023

Perhaps the stairs and entrance areas should be removed entirely and you would use a command to exit the arena. Then there is no need to have to teleport into the arena area as well. Seems consistent considering we use a command to get in there in the first place

@ikonomov
Copy link
Contributor Author

ikonomov commented Jul 17, 2023

I think you are right. I like it both ways, but without the stairs it would make it even more simplified which is even better I think and definitely more consistent with the command to get in.
Edit: Also with /arenapot command there's no reason to get out. You get out dead XD
Edit2: Also I think we could do exiting out elsewhere, next to farnham seems a bit odd now that he doesn't serve the purpose of porting you in. Maybe the crack for Hell entrance?
Edit3: After giving it some thought, I'm a bit concern with having people pop in right into the arena area while other people are already dueling. Teleporting in is the same thing, but at least you have the teleport sound that indicates it and also currently with the infravision functionality whoever is teleporting in can make sure that there is no fighting right where they are teleporting.

@ikonomov ikonomov marked this pull request as draft July 17, 2023 09:37
- added catacombs and caves arena
- enlarged all arena maps to 40x40 tiles
- removed stairs up
- renamed /arenapot command to /pots

Left to do:
- add /town command to visit town from arenas
- add /scrolls command to add scrolls of resurrect to inventory in arena
Thank you KP!
@ikonomov ikonomov marked this pull request as ready for review July 19, 2023 03:34
@ikonomov ikonomov marked this pull request as draft July 19, 2023 03:53
@ikonomov ikonomov marked this pull request as ready for review July 19, 2023 07:05
missed some of the shadows on the floor tiles
Added missing shadows from the hell and circle of life arenas.  Will blame this one on Constantine. XD
Source/control.cpp Outdated Show resolved Hide resolved
@AJenbo
Copy link
Member

AJenbo commented Jul 21, 2023

Judging from the screenshots these levels do not have stairs and require a feature that might come in 1.6.0.

The file sizes are 5x the previous ones, maybe resize the leves to just the part that isn't dirt.

I would also prefer not adding new level types before 1.6.0, but that's not as important.

Co-authored-by: Anders Jenbo <[email protected]>
@ikonomov
Copy link
Contributor Author

It's perfectly fine to delay this commit for 1.6.0 then. The /leavearena command was requested feature that we agreed on having and there is no need to rush it.

I've expanded the size of the map to 40x40 tiles (the same size as town) on purpose in order to allow custom maps to be very easily placed later into the devilutionx/arena folder by gamers. Having a larger map size allows much more flexibility for making custom maps. I don't imagine that anybody would want anything bigger than that and having much smaller active area can be accommodated without any problems, as can be seen. Without the stairs the only thing that is hardcoded outside those map files will be the entry point. This way if somebody doesn't like the maps it would be very easy to change them without having to change any code. That was the reason behind the 40x40 map size, having realistic expectations that my map designs and Constantine's will not and cannot be liked by everybody. My hope is that in time we can upload somewhere a library of custom maps with screenshots where people can pick and download the ones that they prefer.

@AJenbo
Copy link
Member

AJenbo commented Jul 25, 2023

The map size is dynamic, so it can be change independent of what the default map might have. So there aren't any actual advantages and it results in larger files.

@ikonomov
Copy link
Contributor Author

Hah, that is true! I don't know why I got the idea that map size is hard coded, when it's just the entry and exit points that are. I'll resize them back. Also I keep looking at my caves and catacombs designs and I'm not quite happy with them, they don't offer anything unique. I'm thinking about just pulling them out and making them part of a collection of custom arena maps, maybe on a Wiki page. I'll be away for maybe a week or two, but will get to it whenever I have time. Since we won't be merging this for 1.5.1 we can keep it open until we get it right.

- resized the arena maps to their minimum required area
- modified hell arena to match more closely the layout generated for level 16
- removed previously added catacombs and caves arenas
@ikonomov ikonomov closed this Aug 18, 2023
@ikonomov ikonomov reopened this Aug 18, 2023
@ikonomov
Copy link
Contributor Author

Sorry, closed by mistake. Everything should be done now, ready for review.

@ikonomov
Copy link
Contributor Author

ikonomov commented Oct 6, 2023

I was hoping to create a #3 once this PR gets merged, but in case it doesn't here is a custom map that Shade shared which we can consider adding in the future.
Custom_Dungeon_Layout
church.zip

@AJenbo
Copy link
Member

AJenbo commented Oct 6, 2023

looks really cool. I don't think this PR is ready to merge in it's current state as the map relies on things that are not in DevilutionX

@kphoenix137
Copy link
Collaborator

Please add trigger text for when you hover over stairs. It's current missing. Also that map isn't very teleport and phasing friendly. That's an issue I was having with the revisions of the original arenas. I keep accidentally teleporting and phasing outside the arena area. Can this be addressed?

@ikonomov
Copy link
Contributor Author

ikonomov commented Oct 6, 2023

Unless somebody objects I suggest we leave arenas after the Lua gets done. Then we can have a "dueling" mod where we can really make something out of this idea.

@diasurgical diasurgical deleted a comment from kphoenix137 Oct 6, 2023
@kphoenix137
Copy link
Collaborator

Unless somebody objects I suggest we leave arenas after the Lua gets done. Then we can have a "dueling" mod where we can really make something out of this idea.

Disagree. We already have all the functionality for arenas in the code already, there is no sense in half-assing it, especially if Lua gets pushed back yet another update or two. I think we either should commit to quality with arenas or completely remove the functionality (and I'm not in favor of the latter option)

@ikonomov
Copy link
Contributor Author

ikonomov commented Oct 8, 2023

I'm in favor of the latter option.
Edit: Specifically because we are half-assing it. Arenas are already a mod, new areas that do not exist in the game, with a mechanic that brings back bugs, so another mod. Also there are potions that are also not in the original game that disappear on new game, another mod. It is a temporary "fix" that I see no point in pushing for having more and more mods into the master DevX.

@AJenbo
Copy link
Member

AJenbo commented Oct 8, 2023

We have Lua now thought...

@kphoenix137
Copy link
Collaborator

Now I'm in full support of moving it to Lua

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants