Knights Forum

General Category => Knights Discussion => Topic started by: Moo on July 11, 2010, 05:27:29 PM

Title: Some more ideas
Post by: Moo on July 11, 2010, 05:27:29 PM

4 might cause problems if the keys are generated behind the doors they unlock, but I don't think checking for that can be too hard to code..  8)
Title: Re: Some more ideas
Post by: Stephen on July 14, 2010, 10:39:18 AM
Thanks for the ideas. I can't promise anything but I might look at some of the simpler ones at least.

One problem is that we are running out of space on the quest selection screen :) I suppose having multiple tabs might be the answer (quest objectives, dungeon settings, etc...)


Regarding 4, and checking whether keys are generated behind locked doors: In fact this is a problem even if there are lockpicks, because you could have a dungeon where all keys and lockpicks are generated behind locked doors.

Checking for this is more difficult than you might think. There are quite a few possibilities. For example if key 1 is behind locked door 1 then this is a "bad" case. But if key 1 is behind locked door 2 then this is a "good" case (assuming either key 2 or the lockpicks are available somewhere in the dungeon). If key 2 is behind locked door 1, and key 1 is behind locked door 2, then it's "bad" again. And so on. When you add switch-controlled doors to the mix then things get even more complicated.

At the moment, during dungeon generation, I do some basic checks for these kinds of situations, but I cannot trap every possibility. So a "bad" dungeon might still be generated (although it should be fairly rare). To solve this, if the knights haven't found the lockpicks within a few minutes I start randomly dropping extra lockpicks into the dungeon. (The original Knights did this as well.) This should (eventually) allow the knights to get through any locked doors.

Anyway most of this would be exactly the same if you had a "no lockpicks" option. I suppose the only change would be to randomly drop extra keys, instead of extra lockpicks, after a time.
Title: Re: Some more ideas
Post by: Moo on July 14, 2010, 01:23:41 PM
One problem is that we are running out of space on the quest selection screen :) I suppose having multiple tabs might be the answer (quest objectives, dungeon settings, etc...)
The text size could be decreased quite a lot, without it becoming too small.. Also "premappped", "pretrapped chests" and "no lockpicks" could be tickboxes instead of yes/no comboboxes, then you could have two side by side.

As for checking for the keys.. How about.. Generate a dungeon.. Starting from each used entry point, "fill" each square. Add any keys found to a list of found keys. Add any found locked (metal) doors to a list of locked doors. At the end, check if any found doors can be unlocked, if so, repeat again with the door unlocked. If all keys have been found, dungeon is good. If it hasn't found all keys by the end, dungeon is bad. With today's CPU speeds, this shouldn't take long.
Title: Re: Some more ideas
Post by: Stephen on July 15, 2010, 10:29:04 PM
Your suggestion for checking the keys is basically what I am doing at the moment. The only complication is when there are doors that are opened by pressing a switch. At the moment I just assume that the knights will always be able to reach the switch (without checking). This theoretically means we might miss some more complicated cases (for example: suppose you had to press a switch to be able to reach key number 1, but that switch was itself behind a door that needed key number 1 to open.) I don't know how likely that sort of situation would be in practice though... (presumably not very!).

I suppose we could check for switches in the same way (i.e. make a list of all the switches we have reached during the 'fill') but it gets a bit complicated (especially with some of the gnome book rooms where switches have complex effects) so I haven't bothered so far.
Title: Re: Some more ideas
Post by: Moo on July 16, 2010, 12:19:55 AM
Ah, cool.. So how about just putting the no-lockpicks-or-spawning-keys option, and see if anyone ever gets an impossible dungeon.
As far as I know, the doors between the dungeon segments are always wooden. So if you can get into a segment with switches, you would always be able to get any keys there.. I don't remember any segments that had both locked-metal-doors and switch-controlled-metal-doors!
Title: Re: Some more ideas
Post by: Stephen on July 16, 2010, 12:53:06 PM
You are probably right, I am probably just worrying about nothing here.

I think I will follow your suggestion of just trying it out and seeing if an impossible dungeon ever happens. If it does, we can work out what to do then :)
Title: Re: Some more ideas
Post by: K9 on October 09, 2011, 03:57:21 AM
You guys are Awesome and ingenious programmers!  I am glad you're sharing your ideas in the public forum.
Seriously, I love reading this type of thing - sharpens the wits (even though I'm not programming the game, I get ideas that enlighten my non-exciting work programming).   ;D

I'm sad to say I haven't been around here during the past 'year' (<gulp>).. but if I can get some gaming action going soon I will definitely be around more often.  My hiatus is relate to insane amount of traveling and 'insufficient resources' (ie frequently weak internet/old laptop).

Your posts, even from a year ago are inspiring and I hope there is still a good following out there so I can 'play' again!

Title: Re: Some more ideas
Post by: Stephen on October 11, 2011, 10:26:15 AM
Thank you for the compliment :)

As regards following, well it's not huge, but games do get played on the server. In fact, checking the logs I see that 43 games were started on the server since Sep 17 (I don't know how many of those were completed though). I keep meaning to put a list of "recent games played" on the home page, to make this a bit more visible, but so far haven't got round to it.
Title: Re: Some more ideas
Post by: Romanio(Rus) on February 28, 2012, 12:58:37 PM
Hello all.
I'm not sure that I write in the correct topic, but still want to put their ideas to the discussion concerning the new wands (I hope, as long as they are not very much to get lost in them):
1) Wand of bats (It is similar to wand of undead, but it turns the player into a bat, bats are afraid to do the media wand, etc.)
2) Wand of poison (When you hit this wand closed doors or the trunk is imposed on them from the venom of a trap)
3) Wand of mechanical knowledge (at this stroke of wand trigger all the shooting stationary traps (Well, or you can make these traps worked well for them when the strike of the wand))
4) Wand of Stun (When you hit a player, he is immobilized for 1-2 seconds)

Maybe some of these ideas crazy or hard to do for technical reasons, but I would like to see the players decide whether they should wands a little bit more in the game, or four currently existing is enough?

PS sorry for Google translate and my grammatical errors :)
Title: Re: Some more ideas
Post by: Romanio(Rus) on February 28, 2012, 05:20:35 PM
And more, I have drawn sprites wands ...
What do you think about whether to use them in the game?
Wand of securing:
(http://dl.dropbox.com/u/18750030/s.bmp)
Wand of open ways:
(http://dl.dropbox.com/u/18750030/o.bmp)
Wand of undeath:
(http://dl.dropbox.com/u/18750030/u.bmp)
Wand of destruction:
(http://dl.dropbox.com/u/18750030/d.bmp)
Wand of bats:
(http://dl.dropbox.com/u/18750030/b.bmp)
Wand of poison:
(http://dl.dropbox.com/u/18750030/p.bmp)
Wand of mechanical knowledge:
(http://dl.dropbox.com/u/18750030/m.bmp)
Wand of stun:
(http://dl.dropbox.com/u/18750030/stun.bmp)
I understand that differences are not large, but it will be easier to distinguish wand from each other.
Link to an archive with all the wands:
http://dl.dropbox.com/u/18750030/Wand.zip (http://dl.dropbox.com/u/18750030/Wand.zip)
Title: Re: Some more ideas
Post by: K9 on February 28, 2012, 06:53:45 PM
Your ideas sound like fun, nice graphics too. 
Title: Re: Some more ideas
Post by: Romanio(Rus) on February 28, 2012, 07:08:50 PM
Thanks, I tried :)
May be you have suggestions / corrections / additions about the effects wands, or any wand as you think shouldn't be added into the game?
Title: Re: Some more ideas
Post by: K9 on March 02, 2012, 04:26:20 AM
All the new wands you suggest and each drawing are unique.  Each new has cool feature that will be fun when Stephen has time to implement the full Multi-wand effect in single game (reference the other chain of topic with ImpassIve_rus). 

Anything that can be added to the game as optional is worth the fun and variety for gameplay.   Thank you for sharing the plans and I hope we can play with these features.  I don't recall much discussion around wands, just a few things long time ago.

I will try to think of some too while playing next time.

I love reading your ideas and for now just have laughs imagining until reality.
Title: Re: Some more ideas
Post by: Romanio(Rus) on March 02, 2012, 08:28:25 AM
Well, I'll continue to try to please you with their ideas, maybe some of them will come into force in the game :)
Title: Re: Some more ideas
Post by: K9 on April 11, 2012, 05:39:53 AM
I hope it will not be too difficult to see these wands as 'user sprite option'.
You and others have drawn some interesting things that would be fun.

I imagine it is cool to have a radio-button on the main screen, maybe next to each player that would indicate 'user sprite patterns' from only that player.

Then at run time the server will load the client side custom graphics to share during game.  That will work for existing wands and objects and as Stephen mentioned in other section there is lua enhancement 'i think almost able to adapt new features', such as additional wands.

I hope you can make it back to regular games, they will be earlier maybe help fit your schedule easier.
Title: Re: Some more ideas
Post by: Stephen on April 12, 2012, 12:50:28 PM
I hope it will not be too difficult to see these wands as 'user sprite option'.

No, not difficult... it's just that I've been too busy to spend any time on Knights recently.
Hopefully will get round to it soon, although I can't say when at this point.

I voted to join Sunday's game btw :)
Title: Re: Some more ideas
Post by: Moo on June 26, 2012, 02:07:30 PM
1) Most game types have Kills and Deaths columns in the player list. How about a similar system for Deathmatch, so instead of current Frags (believe this is being changed to Points), there's Kills, Deaths, and Points.
Although, not all deaths reduce your score... It'd really need two deaths columns, one for ones that do reduce your score, and one for total deaths. But that's silly, so maybe just a Deaths column for score-reducing deaths and ignore the other deaths.

2) It's possible to start a deathmatch with no time limit. This isn't really sensible, so maybe it shouldn't allow it.

3) When someone opens a door into a room you're in (from outside), nothing is heard. Bug or feature?

4) How about a new game mode where killing a zombie gives you a point. Whoever has the most when the time runs out wins.
This could be extended by having deaths wipe your score, or reduce it by 1 or something, or maybe only certain deaths, so being killed by another knight doesn't change your score but being killed by a zombie wipes it. There could also be a setting when creating a game for a target amount. Whoever gets to the target first wins. A time limit could be optional then. This would also work well as a team game, or could work as a coop game where everyone has to work together to get the total points before the time runs out. This would work better if zombies roamed between rooms.

5) Another idea for a game mode: First to explore 100% of the map wins. This wouldn't work so well as a team game, unless the map was shared between team members. The player list could show the percentage explored. A new supersize map option could be useful for this mode to make longer games. Presumably the "escape" conditions would be as normal.

6) Why is the official server not shown as knightsgame.org.uk in the server list any more? This makes it look somewhat less official.

7) When facing the "special" pentagram, "hitting" with an axe swings it rather than throwing it as normal. I'd say this is a bug, presumably resulting from the pentagram being "hittable" when most floor spaces aren't.

That's all for now. On another note, I've seen 6 or so new players in the last 2 days. Ones that actually talked, or at least played properly. Let's hope they stick around.
Title: Re: Some more ideas
Post by: K9 on June 27, 2012, 05:21:02 AM
Very cool stuff.  Enjoyed our game times recently.
Hopefully we'll see some of your ideas in place over time.

Love to hear you've seen some new players.
Title: Re: Some more ideas
Post by: Stephen on June 29, 2012, 03:39:08 PM
Thanks for the bug reports Moo, they're always helpful.

1) I added something to Trac for this.

Incidentally, are we happy with the current scoring system for Deathmatch? I was basically copying other FPS type games, so you get +1 for killing another knight, and -1 for a "suicide". For monsters I wasn't sure what to do, so I just said you get zero points if a monster kills you. It's all a bit arbitrary, but it seems to work OK :)

2) Agreed.

3) Bug. Probably related to #100 (which is: if another knight teleports away from your current room, then the teleport sound is only heard by one of the two knights). I think the bug is that sounds are only played in one room at a time, so if a sound is audible in two different rooms, it will only be heard in one of them at the moment.

4) & 5) I like these ideas. Indeed, it would be nice if I could keep adding new quest types (maybe one every 2-3 months?) as it would keep the game interesting and give players a reason to keep coming back. (Time permitting, of course...)

Someone suggested a "zombie survival" mode a while back, which was basically that the dungeon would be filled with zombies and you had to fight your way to the centre. I did make a quick prototype at the time, but it wasn't much fun because the zombies don't really provide that much of a challenge. (You can basically just stand in a doorway and take them out one by one.) However, if you had to kill a certain number within a time limit, that might be more interesting...

The "explore 100% of map" one sounds quite interesting too. Would probably be quite easy to program, as well.

Please keep quest ideas coming :)

6) That's because I moved the server from a VPS to a home server. (There was an old blog post about it a while back.) This was to cut down on hosting costs. Unfortunately it means the wrong host name shows up, I could fix that but it didn't seem important at the time.

7) Yes, you're probably right -- the pentagram has to be "hittable" for the destroy book with wand quest to work. Sounds like another special case is needed (sigh...)