Mar, 10
Travelling the world

Last week I had coded the generation of the campaign grid, individual maps and their inhabitants. The next step was implementing the various ways in which the creatures interact between maps.

The most obvious is allowing a player-controlled creature to travel around, optionally followed by team of minions. Movement is completely free: you can choose any site on the world map, and the game puts you and your team on the edge of that map. As I explained earlier, at this moment the clock on this map starts ticking, and whichever site you came from is frozen.

If you let go of control of the team, they automatically travel back to your base, and you can continue building. If the creature that you are controlling is killed, you have the option of controlling another minion or letting go of control. You can also switch control to a different team member at any time in control mode.

Your enemies can also attack you, and the timing of the attacks stays the same as in the single map mode. The attacking team is transferred to the edge of your home site and starts doing whatever their AI tells them to (like stealing your gold or eating your orcs). If the attackers decide to flee, they will walk back to the edge of the map and travel to their base. It gets tricky if you aren’t present in your base at the time of the attack. I haven’t coded this yet, but when you come back, you have to deal with the attack before the team you were controlling is placed back on the map. It also seems that you shouldn’t be allowed to leave your map during an ongoing attack.

There are some corner cases showing up, like when a player-controlled creature falls asleep on an enemy site, and gets stuck. I think that in such situations the clock needs to keep ticking, until they wake up and travel back. This will also be needed when an immigrant is spawned or so that a returning team can walk to their beds and heal up.

This all sounds pretty complex, but my aim is that the traveling and clock system is mostly transparent for the player, i.e. you don’t need any understanding of how things are working to play the game. Ideally, the player won’t notice much that the clocks keep getting paused on the various maps.

Screenshot_2016-03-10_20-33-32

COMMENTS

Home Forums Travelling the world

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #4812
    Keeperman
    Participant

    It does sound pretty complex. Would it help just to heal up all the enemy units when you leave their map? Sleep, poison, entangled, speed, invisible, etc. could also be automatically removed. Immigrants could appear on the square that their pathfinding is pointing them to rather than at the edge of the map. Maybe do something more sophisticated for Alpha 19?

    Sounds awesome 🙂

    #4813
    owen
    Participant

    Would it be possible to give our teams the order to rally at a way point when they’re not under our control?

    #4821

    Would it help just to heal up all the enemy units when you leave their map? Sleep, poison, entangled, speed, invisible, etc. could also be automatically removed.

    I don’t think so. If you inject deadly poison to an enemy and leave the map, you want them to be dead the next time you arrive.

    Would it be possible to give our teams the order to rally at a way point when they’re not under our control?

    This used to be possible, but I didn’t like the UI for it so I removed it temporarily. Do you think it even makes sense in campaign mode? You wouldn’t be able to do that on sites other than your own anyway.

    #4822
    owen
    Participant

    This used to be possible, but I didn’t like the UI for it so I removed it temporarily. Do you think it even makes sense in campaign mode? You wouldn’t be able to do that on sites other than your own anyway.

    I was thinking that you might want to have several teams at different locations in a hostile sector, for whatever tactical purpose. Maybe you want to draw the main army away while you go around murdering peasants, stealing gold, or something of the sort. Or you send out an advanced scout while the bulk of your forces stay at the edge of the map. (Hopefully there will be more situations such that combat can benefit from the use of several teams at once).

    Anyway, if forces are automatically commanded to go home when they’re not under your control, it would make this sort of tactic impossible.

    #4823
    owen
    Participant

    Oh right, another question: where do defending units start when an invasion happens?

    By the way, did you ever play Jagged Alliance 2? KeeperRL is shaping up to be very similar to that game, heh.

    #4824
    Keeperman
    Participant

    I’m in favour of a quicker release with less features. Future versions can have it all in.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.

 LATEST NEWS

Nov, 08

Patch notes for versions 1.1.1-1.1.6

1.1.1 Golden prayer bench training limit is increased to 99.Added missing church tech descriptions.Fixed courtesan and gigolo minions not appearing in the minions... more

Oct, 22

KeeperRL 1.1 “Black Mass” update is here!

The KeeperRL team wishes to entertain you this Halloween by releasing a new playable faction called the "Corrupted Church". Playing either as a Bishop or a Mother Superior,... more

Jun, 26

Announcing my collaboration with Elda Entertainment on KeeperRL

A few months ago, I was contacted by a company called Elda Entertainment about a possible collaboration on KeeperRL. Elda is a small publisher based in Sweden, comprised of... more

Feb, 29

KeeperRL v1.0 is released!

I'm very proud to announce that KeeperRL v1.0 is out! In addition to being the most important milestone for the game, this is also a huge update with major gameplay additions.... more

Feb, 08

More news on the upcoming v1.0 patch

KeeperRL will leave Early Access in exactly three weeks. The last major patch was released one year ago, so you can imagine that this will be a pretty huge update. In the August... more

 

 PLAYERS SAID

There are no other games out there like KeeperRL. The game is a unique mixture of management, levelling, crafting, constructing, exploring, adventure etc. […] The possibility of interacting with other’s players monumental dungeons turn KeeperRL into one of the most promising games I’ve found.

dbvel

This game is amazing! It’s challenging, fun, unique, and exactly what you might expect it to be. For an early access game it’s incredible. And the thought that there’s more to come thrills me! I can’t wait to see how this awesome game will develop even more.

Avarti

Any time I touch another race, I get bent over like a cheap, overworked sex worker. I love sucking at this game so much.

DaavPuke