devilutionX icon indicating copy to clipboard operation
devilutionX copied to clipboard

Update arenas #2

Open ikonomov opened this issue 2 years ago • 15 comments

  • 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

ikonomov avatar Jul 17 '23 03:07 ikonomov

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

kphoenix137 avatar Jul 17 '23 03:07 kphoenix137

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 avatar Jul 17 '23 04:07 ikonomov

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.

AJenbo avatar Jul 21 '23 21:07 AJenbo

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.

ikonomov avatar Jul 24 '23 21:07 ikonomov

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.

AJenbo avatar Jul 25 '23 21:07 AJenbo

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.

ikonomov avatar Jul 28 '23 02:07 ikonomov

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

ikonomov avatar Aug 18 '23 00:08 ikonomov

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

ikonomov avatar Oct 06 '23 16:10 ikonomov

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

AJenbo avatar Oct 06 '23 17:10 AJenbo

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?

kphoenix137 avatar Oct 06 '23 17:10 kphoenix137

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.

ikonomov avatar Oct 06 '23 23:10 ikonomov

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)

kphoenix137 avatar Oct 06 '23 23:10 kphoenix137

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.

ikonomov avatar Oct 08 '23 21:10 ikonomov

We have Lua now thought...

AJenbo avatar Oct 08 '23 21:10 AJenbo

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

kphoenix137 avatar Oct 08 '23 21:10 kphoenix137