Author Topic: Action Points?  (Read 42932 times)

JoshuaSmyth

  • Newcomer
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • Email
Action Points?
« on: January 26, 2008, 02:12:01 AM »
Are there any Roguelikes out the that use an 'action points' type system, most of them seem to have a you move/enemy(s) move system.

I was thinking something sorta like fallout, so the player might have 4 action points and walking uses 1 point, shooting 2, accessing the inventory 1, reloading 1 or whatever - Action points could of course be increased with dexterity or speed potions or some such thing.

And monsters could have n action points also - Order could be resolved by somekind of initiative test at the begining of a round.

Just a thought - might include something like that in my next rougelike (if I get around to making one)

An action points system might also be more condusive towards squad or party based games.
« Last Edit: January 26, 2008, 04:19:54 AM by JoshuaSmyth »
www.tinyfrogsoftware.com <- Browser based Roguelike

stu

  • Rogueliker
  • ***
  • Posts: 138
  • Karma: +0/-0
  • Moop!
    • View Profile
    • Stu's Rusty Bucket
Re: Action Points?
« Reply #1 on: January 26, 2008, 02:21:44 AM »
I have something like it. Itsa kinda time system.

The baseline is 1000 points. Movement costs 1000 points. You regen 1000 after each round. Heavy armour costs, etc, so you might only regen 900 points...  so you miss a turn every so often or if you have a ring of speed you might regen 2000 points, in that case you can move twice a round.

Its also stacked, so you can cast haste on yourself 10 times and maybe get 10000 points a round so free 10 moves a round.

a round goes like

for every actor, >= 1000 points, they do something.
loop until everyone has <1000 points.

right now it isnt granular on the level of your example of 1 point a move, 2 points shooting etc.


I should add, its also timed. if you dont make a move inside x/ms you've skipped your turn, so its semi real time. and when you move the clock resets. difficulty level is tied to the time between moves

Walking into a nest of bee's.... not fun! :)


--/\-[ Stu ]-/\--

JoshuaSmyth

  • Newcomer
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • Email
Re: Action Points?
« Reply #2 on: January 26, 2008, 04:19:23 AM »
Is your game avail for download Stu?
www.tinyfrogsoftware.com <- Browser based Roguelike

Gamer_2k4

  • Rogueliker
  • ***
  • Posts: 86
  • Karma: +0/-0
    • View Profile
Re: Action Points?
« Reply #3 on: January 26, 2008, 05:20:25 AM »
Joshua, a speed system is actually a pretty common element in a roguelike, even if it's not readily noticeable.  I'm sure almost all of the Angbands have it; so does Gearhead, ADOM, Nethack, and pretty much any other major roguelike.

Stu, that idea sounds pretty good.  I might borrow (steal) it for my game.

Presently I use a count down system.  Each turn, if an actor has a positive amount of waiting time left, they subtract a certain amount from that time (determined by their speed).  If they have zero or less time remaining, the actor is allowed an action.  That action adds a certain number of points to the waiting time, and the process restarts.
Gamer_2k4

Z

  • Rogueliker
  • ***
  • Posts: 905
  • Karma: +0/-0
    • View Profile
    • Z's Roguelike Stuff
Re: Action Points?
« Reply #4 on: January 26, 2008, 08:15:26 AM »
Joshua, IMHO the system you are proposing is not a natural one for standard roguelikes. It means that, for example, you get to move 4 times, then your enemy gets to move 4 times. I see this as less natural than the standard roguelike movement, which makes you alternate turns.

It can have some use to minimalize "context switching" between player characters, for either party-based (Exile/Avernum which is quite close to roguelikes used it) or multiplayer games (War of Wizards 7DRL? I am not sure). I also remember Lair of Demon Ape use something similar to action points.

A natural way is to have each being have a T value, which means, when will it be able to perform the next action (in global time). After each action, we find the creature which has the smallest value of T, set the global clock to T, let it do what it wants, and increase its T, which can depend on its speed and action. The system proposed by Gamer_2k4, and also used in ADOM at least, works similarly but is more complicated than my natural system, I guess in order to make it more effective, although it sometimes adds some weird behavior. (However, my system can be implemented effectively, in O(log n) per action, where n is the number of creatures.)

JoshuaSmyth

  • Newcomer
  • Posts: 32
  • Karma: +0/-0
    • View Profile
    • Email
Re: Action Points?
« Reply #5 on: January 26, 2008, 09:53:51 AM »
Ah, I did wonder what caused some monsters to act faster than others in rougelikes. But I didn't bother implementing it for my game. A time-for-next-action for each actor seems to make a lot of sense.

I still think action points could be interesting for tactical reasons; Say for example if you move then shoot you then get a penalty for shooting. Or some monsters could attack twice, or use a potion then attack etc... and if you get knocked down, then you might lose a couple points for the next round.

I think I'm just feeling giddy for some fallout :)

 
www.tinyfrogsoftware.com <- Browser based Roguelike

stu

  • Rogueliker
  • ***
  • Posts: 138
  • Karma: +0/-0
  • Moop!
    • View Profile
    • Stu's Rusty Bucket
Re: Action Points?
« Reply #6 on: January 26, 2008, 12:56:55 PM »
my game is available, working on the 0.4 release currently, doing some magic.
check out http://www.mega-tokyo.com/blog/index.php/category/Cracks%20and%20Crevices/

the 0.3 isn't very playable but its ok.

releases page
http://www.mega-tokyo.com/blog/index.php/category/cracks_and_crevices_releases/



--/\-[ Stu ]-/\--

Anvilfolk

  • Rogueliker
  • ***
  • Posts: 374
  • Karma: +0/-0
    • View Profile
Re: Action Points?
« Reply #7 on: January 26, 2008, 04:26:52 PM »
When I do my roguelike (which is like, never :'(), I think I'll use the same system as Z. It definitely seems to be the most natural. You can give a base time value to each action, and each action's time value gets modified by the character, his items, location, and any other factors you want. Pretty darn configurable! And you can emulate some creatures being faster than others.

Provided the "speed" or "agility" of a character is very low, say, his "moving action" could cost 10 time units, while a fast character's might only use up 5. This means that as soon as the slower guy moves, the faster one will get two moves before the slower guy can act again.

As far as attacking and getting two attacks or so, it can be hacked into the code by making an attack routine perform two or more attacks depending on the character attacking, or you can queue up events. If you're wanting to make a full attack, then maybe the first attack takes 5 units and the secondary 2 or 3. And maybe a "normal" attack from someone who doesn't have several attack moves is 7 or 8. With queued actions it's plausible that the double-attack character can attack once, get hit, and attack again immediately. The attack in the middle can affect the second attack negatively (if you were just hit, I'm pretty sure you won't be as effective).

Plenty of ways to do stuff :)
« Last Edit: January 26, 2008, 04:28:23 PM by Anvilfolk »
"Get it hot! Hit it harder!!!"
 - The tutor warcry

One of They Who Are Too Busy

Z

  • Rogueliker
  • ***
  • Posts: 905
  • Karma: +0/-0
    • View Profile
    • Z's Roguelike Stuff
Re: Action Points?
« Reply #8 on: January 29, 2008, 01:29:01 PM »
Yes, action points are less natural than systems described above, but it does not necessarily mean that they could not be interesting :)

To make the speed system more interesting, one could add the following variation: the game remembers the last action which was done by the character, and make time/success of the next action depend on what it was. For example, if your last action was movement, then:

  • it is harder for enemies to hit you (some roguelikes, e.g. DoomRL, do that),
  • it is harder to aim some missile weapons,
  • you can do something simple with your hands and mouth (e.g. drink a potion) without wasting any time,
  • the next movement will be faster if in similar direction (to simulate running).

corremn

  • Rogueliker
  • ***
  • Posts: 700
  • Karma: +0/-0
  • SewerJack Extraordinaire
    • View Profile
    • Demise RogueLike Games
Re: Action Points?
« Reply #9 on: January 29, 2008, 11:18:56 PM »
To make the speed system more interesting, one could add the following variation: the game remembers the last action which was done by the character, and make time/success of the next action depend on what it was. For example, if your last action was movement, then: ...

Warlocks Mountain did this but the effect was totally unnoticable by the player.  I think the player generally wants more deterministic behaviour from actions.
corremn's Roguelikes. To admit defeat is to blaspheme against the Emperor.  Warhammer 40000 the Roguelike

Adral

  • Rogueliker
  • ***
  • Posts: 134
  • Karma: +0/-0
  • The Hammer of Justice
    • View Profile
Re: Action Points?
« Reply #10 on: January 30, 2008, 01:00:15 PM »
I think the player generally wants more deterministic behaviour from actions.

That's true - I, as a player, like to *know* what I'm doing. After all, the roguelikes are all about tactical decisions, aren't they? If I don't know if I am doing something wrong or right, or what effects are a certain action doing, it feels as if I'm playing blindly.
On the wings of the storm.

elsairon

  • Newcomer
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Action Points?
« Reply #11 on: February 03, 2008, 03:27:50 PM »
Good points all around.

Here's the idea that I'm using for developing my RL.

Any change needs to be noticable by the player, clearly visible on the screen in some way, (or perhaps via some sound if you use those).. maybe by a message, or showing current bonuses, etc.

If the player doesn't notice it, it adds nothing to the game for that player.


Z

  • Rogueliker
  • ***
  • Posts: 905
  • Karma: +0/-0
    • View Profile
    • Z's Roguelike Stuff
Re: Action Points?
« Reply #12 on: February 03, 2008, 03:55:07 PM »
This topic (how to show values) is interesting.

For example, the player has an option to see attack values (accuracy, damage etc.) And he can also have an option to show how accuracy translates to probability, so he does not need to guess.

But we also want to give a dodge penalty (or equivalently accuracy bonus) when the victim does not see the attacker, e.g. when the attacker is invisible; and a dodge bonus when the victim is invisible to attacker. How to show that? If we always show improved values for invisible players, this will be wrong against monsters which can see invisible. (Actually, if you can't see your body and weapon, and your enemy can, then hitting should be even harder. But it is probably useless to take that into account.)

Anvilfolk

  • Rogueliker
  • ***
  • Posts: 374
  • Karma: +0/-0
    • View Profile
Re: Action Points?
« Reply #13 on: February 03, 2008, 05:07:47 PM »
This is actually a matter of preference. I've always stayed clear of AD&D games because of the horrendous focus on numbers, numbers, numbers. I guess that due to the small lifespan of most characters in a roguelike, this might actually be ideal. You're always searching for the better items to you can SURVIVE longer.

However, in a longer-spanned game, I much prefer no numbers at all! I played Shadows of Isildur for a few years, and I loved how the focus wasn't on getting the higher numbers. Another example is Dwarf Fortress... but every example I can come up with makes your character(s) survive for much longer than a roguelike.

Unreal World could do away with all the numbers, from my point of view.

The fact of hiding numbers behind adjectives completely changes the focus of the game. Now it depends only on what type of game you want :)



About what you've said: yes... there have been some experiments made, and unless the player sees direct, really, REALLY noticeable differences in what he's doing, there's no point putting it in the game. Players have a tendency of missing just about everything ;)
"Get it hot! Hit it harder!!!"
 - The tutor warcry

One of They Who Are Too Busy

Z

  • Rogueliker
  • ***
  • Posts: 905
  • Karma: +0/-0
    • View Profile
    • Z's Roguelike Stuff
Re: Action Points?
« Reply #14 on: February 03, 2008, 10:18:21 PM »
Probably a matter of preference... but I don't think using adjectives instead of numbers is the way to go. It is true that human feelings in nature (e.g. how strong am I) are not in numbers, but they are not in words either. Using bars or color progressions would be appropriate for that. And with adjectives, you have to think whether e.g. "awesome" is better than "major", and how big the difference is. And whether "average" means average among population, or normal for a middle level character. There are no such problems with numbers. At least if you have some basic skill in maths.

Note that this is for computer games only. For P&P roleplaying, numbers are as useful as in fantasy books.