bhoptimer icon indicating copy to clipboard operation
bhoptimer copied to clipboard

Style dedicated zones

Open Nickelony opened this issue 8 years ago • 8 comments

Zones that only work for a particular style (e.g: a glitch-zone / teleport-zone can only affect the player if "x" style is selected) I've seen this on a CSS server and I think that's a very nice and useful feature. :)

Nickelony avatar Nov 01 '16 14:11 Nickelony

Seems like something that would EXTREMELY rarely be used.

Technoblazed avatar Nov 01 '16 15:11 Technoblazed

will be added with the new zone handling i thought about

shavitush avatar Nov 02 '16 05:11 shavitush

That's an old issue.. however, I think it can be implemented safely now. But.. I need an idea of how to store the styles in the database. Doesn't seem very simple considering styles are by IDs and not flags.

shavitush avatar Jul 30 '17 02:07 shavitush

Why do you want to store them in the database if you can simply do this: ~~https://github.com/Nickelony/bhoptimer/commit/6dda90a23f93b19230b3a33d95ae30a4da4a45ff~~ https://github.com/shavitush/bhoptimer/commit/6dda90a23f93b19230b3a33d95ae30a4da4a45ff

It's just an example, but if you want I can make a PR out of this. (I haven't tested it yet, but it should work imo.)

Nickelony avatar Jul 30 '17 10:07 Nickelony

@Nickelony pretty sure shavit thought you wanted this per zone and per map not just like that.

strafe avatar Jul 30 '17 10:07 strafe

@strafe - that's exactly what I wanted it to be.

shavitush avatar Jul 30 '17 10:07 shavitush

@shavitush well you can do it however you want, but I think my method would be much simpler than yours. I don't know what method they used on that CSS server, but they had a style called "No Shortcuts" which uses "Respawn" zones to block shortcuts on maps just for this style. It can be also used to make "NoVelLimit" zones work for "400 Velocity" styles, but not for "800 Velocity" styles for example.

Oh and I don't know if it's possible, but if a zone is blocked for a style, the zone shouldn't be visible if that style is selected.

Nickelony avatar Jul 30 '17 11:07 Nickelony

The point about my idea is that you can setup zones to only work for specific styles at creation. So you set a stop timer zone for example to only work for.. an Unreal Physics style. That could work and I don't think it has any downside.

Oh and I don't know if it's possible, but if a zone is blocked for a style, the zone shouldn't be visible if that style is selected.

That's a cool idea! I'll make sure to do that when I get around to implementing per-style zones.

shavitush avatar Jul 30 '17 11:07 shavitush