1 (edited by fisted 2015-01-20 17:14:58)

Topic: [MOD] King of the Hill (KotH)

Hello again,
here's another unreleased mod I wrote in back in 2011 which I feel like sharing.

It's called KotH, short for King of the Hill, and IIRC it was Tsin who provided me with the idea; it's reminiscent of the "Domination" game mode which can be found in various other games.

It's probably best introduced with a picture (of a part of the only KotH map currently in existence):
PunBB kothmap

The general idea is to occupy and hold certain positions ("hills") on the map while preventing others from doing so; once a hill is occupied, the player who holds it periodically receives score.
In the image shown, a player who occupies one of the bottom hills will receive +1 score every 5 seconds, the hills above that give +3, the top hill +5 and the tiny hard-to-hold position below the top hill gives +10 every 5 seconds (this can of course be individually set while mapping). The first player to reach the score limit wins.

The dark areas in the shown image are DDRace-style freeze zones, the not-quite-so-dark zones are not unfreeze, but simply show the area which belongs to a given hill -- i.e. you'll need to stay inside that area to obtain the hill; leave that area and you will lose it (both actions, taking and losing a hill, are subject to a little delay, as described in the following list).

In order to make hill ownership visible, the following adjustments have been made:

  • The current owner of a hill has a permanent "surprise" emote (i.e. shiny eyes).  This is the guy you'll usually want try getting off that hill

  • Tees which are on a currently owned hill (but don't own it themselves), have their eyes closed.

  • A Tee which is in the process of acquiring a given hill (takes 10 seconds) will be indicated by repeated "exclamation mark"-emoticons over their head.  This can't be faked because you cannot produce emoticons yourself at that rate. Once the 10 seconds are over, the tee "owns" the hill.

  • A Tee which is currently losing the hill they owned is indicated by repeated sweat-drop emoticons over their head. Again, once 10 seconds are over, the hill is lost (and will be acquired by the next tee on it, if any)

I've rebased this on top of the latest 0.6 developments, source code can be found at http://github.com/fstd/teeworlds/tree/koth precompiled binaries (win32+linux32/64) can be found at http://github.com/fstd/teeworlds/tree/koth-bin. As usual, compiling from source is recommended.

Entities for mapping are at https://raw.githubusercontent.com/fstd/ … tities.png, however this is currently solved in a slightly awkward way; the score you get for owning a hill is set in the config, not on the map.  That somwhat complicates changing maps on the fly. Feel free to PM me if something's not clear.

The game is playable with vanilla clients, but it also supports building a client, which gives correct freeze prediction, if anyone cares.

I currently don't have the resources to run a KotH server, if someone has a place for me to host it at, please let me know (or host it yourself, doesn't matter).

Cheers,
fstd

2

Re: [MOD] King of the Hill (KotH)

i runned your mod
185.8.172.25:8312
nice mod > you can test it online

join  my telegram group  teeworld players  :  https://t.me/teeworlds2019
Teeworld Developers group : https://t.me/teeworldsdev

3 (edited by fisted 2015-01-21 21:11:57)

Re: [MOD] King of the Hill (KotH)

Nice, thanks.  I just realized that that chat does not work, will release a fix in a few minutes.

Edit: It's fixed, new binaries have been uploaded, too.

Edit2: @alirezakaj3 I've sent you a PM

Edit3: Thanks to heinrich5991, there's now an official KotH server running on 46.38.237.221:8304, server name "King of the Hill"

4

Re: [MOD] King of the Hill (KotH)

I think it'd be nice if there were server options to enable or disable player damage and/or freeze weapons, rather than only having knockback and hook as allowable methods of removing the king from the hill.

I've got two FNG maps which are close to ready for public release, hopefully they'll be on the forums soon! Aforementioned maps are on the back burner. Still doing mapping, but have higher priority map projects.
It should never take 45 seconds to download a map for anyone with a decent connection.

5

Re: [MOD] King of the Hill (KotH)

Using only hook and hammer makes it somewhat more what DDWar-players and blockers expect, though.

However it so happens that the features you mention are already there:

sv_damage 1
sv_unlimited_ammo 0

Should do the trick.  I've never tested whether that conflicts with the game logic, though.
If you do test this, please report back