Putting the 'role' back in role-playing games since 2002.
Donate to Codex
Good Old Games
  • Welcome to rpgcodex.net, a site dedicated to discussing computer based role-playing games in a free and open fashion. We're less strict than other forums, but please refer to the rules.

    "This message is awaiting moderator approval": All new users must pass through our moderation queue before they will be able to post normally. Until your account has "passed" your posts will only be visible to yourself (and moderators) until they are approved. Give us a week to get around to approving / deleting / ignoring your mundane opinion on crap before hassling us about it. Once you have passed the moderation period (think of it as a test), you will be able to post normally, just like all the other retards.

Editorial Gamasutra on Making RPG Magic

Crooked Bee

(no longer) a wide-wandering bee
Patron
Joined
Jan 27, 2010
Messages
15,048
Location
In quarantine
Codex 2013 Codex 2014 PC RPG Website of the Year, 2015 Codex 2016 - The Age of Grimoire MCA Serpent in the Staglands Dead State Divinity: Original Sin Project: Eternity Torment: Tides of Numenera Wasteland 2 Shadorwun: Hong Kong Divinity: Original Sin 2 BattleTech Pillars of Eternity 2: Deadfire
Tags: Alex Pantaleev; RPG Design

By using computational evolution, one designer by the name of Alex Pantaleev created a game where spells and abilities evolved based on how players used them. In this blog post at Gamasutra, entitled "Making Magic (Spells)", Michael Cook discusses Alex's 2012 paper, In Search of Patterns: Disrupting RPG Classes through Procedural Content Generation. Have an excerpt:

Instead of picking a ready-made player class with its own skill tree, players begin by choosing abilities for each character from a list generated by the game. Each ability is defined by a few pieces of information - a negative effect (the cost of the ability) and a positive effect (the benefit). For instance, a magic spell might lower an enemy's health points while reducing an ally's magic points. This makes abilities very easy to represent and generate through code - you just need two statistics to target (like health and magic points) and two numbers to add or subtract from them. Abilities also have information like a duration (the number of turns they affect things for) and a cooldown (the number of turns you have to wait before using it again).

Of course, if the abilities were just randomly generated forever this wouldn't be much use. Instead, Alex's system tries to improve the abilities over time by using computational evolution. Like biological evolution, computational evolution is about combining good examples of something in the hope of making even better examples (in the same way that fit animals survive to reproduce and make fitter children). Computational evolution works in much the same way - if you're interested in reading more (and like baking analogies) I wrote a quick explanation of how computational evolution works in this post here.

Recombining can be a tricky thing to define when you're making an evolutionary system, but it's easily experimented with over time. Maybe initially you create a child that takes the benefit from one ability and the cost from the other (like the illustrated example above). Or maybe you vary the values a bit. Maybe you swap the statistics over. Different methods will have different results - Alex uses a method where any number of elements (statistics or values) are chosen from one of two parent abilities, and included in their children.

Just like evolution in the real world, Alex's RPG abilities need a way of being sorted so only the fittest can reproduce. What do 'fit' abilities look like? His solution is elegant and simple - let the player decide. At the end of each battle, the abilities that were used the most by players are the ones that get chosen to recombine into the next set of abilities for players to choose from. The player might choose some, all or none of this new set - whatever happens, the process continues into the next battle.

Results

So, what do you think? Could such a simple system - giving a player random abilities and slowly mixing together the ones they like best - produce cool new ideas for RPGs? My favourite thing about this system is that it absolutely did, and I want to go over some of the interesting ideas that came out of this (very preliminary) experiment.

Remember that each ability has a cooldown and a duration of effect? In one game, a player evolved a set of abilities that had durations slightly longer than their cooldowns. These abilities were often not individually very powerful, because Alex's generation system tries to avoid generating abilities that have a high benefit and a low cost. Because they could be stacked multiple times, however, they could be used to create huge damage in very long battles.

Another example had a player evolve highly damaging, long-duration abilities that also hugely damaged the person casting them. This meant that some party members could sacrifice themselves to inflict large amounts of damage on the enemy team. This is a really unusual ability - the only example that springs to mind is the weird Goblin Techies character in DOTA, whose ultimate abilities kills the player and deals huge damage around them.

Other interesting patterns emerged from unforeseen uses of game mechanics. If a player's magic points dropped to zero, any active spells they had cast immediately vanished. This led to abilities that attacked magic points and magic point generation as a way of stopping suicidal or long-term strategies like the ones above. It's interesting to see such variety coming from such a simple system - included alongside these more unusual examples were also the expected range of healing, damage and buff/debuff spells.

So What?

Where might this research apply to the games industry today? Even just considering its core idea - that there are more RPG classes out there than just Warrior, Mage and Thief - I think there's plenty to be excited about here. Ideas like this could be used in the development of a game - to explore new ideas that you might not have thought of yourself - or even built in as procedural generators to games for players to explore themselves.​

Read the post in full here.

Thanks wesmo!
 

Dorateen

Arcane
Joined
Aug 30, 2012
Messages
4,431
Location
The Crystal Mist Mountains
Entire premise is flawed. Evolution is a theory, therefore, there is no "just like evolution in the real world".

Writer should play the Grimoire demo to experience a true RPG, which has a class-based system in all its threshold requirements and switching back and forth between classes glory.
 
Joined
Nov 8, 2007
Messages
6,207
Location
The island of misfit mascots
I think the writer skipped too many science classes. I can just envisage him trying to manipulate the tv remote with his ass crack with the intention of developing a tail.

Either that, or he's intending the game to span over hundreds of thousands of years, going through countless generations, to produce relatively minor changes.
 

deuxhero

Arcane
Joined
Jul 30, 2007
Messages
12,035
Location
Flowery Land
When the only game you can think of with a "self destruct" ability is DotA, something tells me you suck at video games and shouldn't be allowed to design them.
 
Joined
Aug 28, 2012
Messages
997
Location
Dreams, where I'm a viking.
Project: Eternity Torment: Tides of Numenera
It sounds like he's thinking primarily in combat magic terms, so its kind of boring because the benefit/detriments end up feeling kind of generic DPS/buff/healing effects. But it seems like it could be interesting with a really wide set of benefits and detriments - like a resurrection spell that reduces your charisma for a week. Or a charm spell that temporarily reduces your max HP.

Although it sounds like it would be cooler as a spell-creation system (maybe detriments give you points to buy benefits when you write new spells).
 

Severian Silk

Guest
It seems like Alex's system is simply amplifying the effects of choices made previously by the player, instead of letting the player plan for what might happen in the future. Potentially this could result in a kind of feedback loop. I mean, the first 40% of a game might be pure combat, but if you haven't prepared for the latter 60% containing dialogue checks you could be seriously screwed.
 
Joined
May 6, 2009
Messages
1,876,816
Location
Glass Fields, Ruins of Old Iran
Another example had a player evolve highly damaging, long-duration abilities that also hugely damaged the person casting them. This meant that some party members could sacrifice themselves to inflict large amounts of damage on the enemy team. This is a really unusual ability - the only example that springs to mind is the weird Goblin Techies character in DOTA, whose ultimate abilities kills the player and deals huge damage around them.

Plenty of jrpgs have that.

which confirms it's a bad idea HUUUUUUUUUUURRRRR *snort*
 
Joined
Aug 28, 2012
Messages
997
Location
Dreams, where I'm a viking.
Project: Eternity Torment: Tides of Numenera
Plenty of jrpgs have that.

20100411_meteo.jpg
 

GarfunkeL

Racism Expert
Joined
Nov 7, 2008
Messages
15,463
Location
Insert clever insult here
Entire premise is flawed. Evolution is a theory, therefore, there is no "just like evolution in the real world".
I really hope my sarcasm detector is broken. If it's not, you are a gigantic moron.

I think the writer skipped too many science classes. I can just envisage him trying to manipulate the tv remote with his ass crack with the intention of developing a tail.
He's writing about video games for Gamasutra. Gee, you think he paid much attention at anything in school? Plus, possibly from a Bible Belt state, so didn't even learn about evolution in school in the first place.

It's an interesting idea but how to make it work in something else than a rogue-like?
 

As an Amazon Associate, rpgcodex.net earns from qualifying purchases.
Back
Top Bottom