![]() |
#1 |
Adept
Join Date: Aug 2010
Posts: 142
![]() |
Item prefixes and postfixes
I've been digging through the code and the config files, and as far as I understood it, Angband has "postfixes" for items, like "of resist fire", but no prefixes. In addition there are three more modifiers for "to hit", "to damage" and "to defense".
Some of the postfixes have several effects. Diablo II has a system of item prefixes and postfixes, but each modifier only has one effect. I think magic items could have a prefix and a postfix, and rare items had up to 7 modifiers overall, but I don't know how they were chosen from pre- and postfixes. The wide range of different items and item combinations in Diablo II was always very interesting to me. The system seemed to be better than Angbands, but I haven't played Angband a lot lately, so I can't say that for sure. Now that I work on my own variant now and then, I want to ask if it would be worth to change the Angband item system to a more Diablo II-like system, or if such a change would not add anything of interest to the game? I think the change would involve replacing the one "ego" pointer of an item with an array of several, and group the "ego" modifiers into prefix and postfixes. And then to fin all places which access the ego modifiers and make the iterate the array of modfiers instead. Would you like such a change?
__________________
I have a project problem? I have no project problem. I start a project, I work on it, it fails. No problem ![]() |
![]() |
![]() |
![]() |
#2 |
Prophet
Join Date: Apr 2008
Posts: 2,826
![]() |
Isn't that what v4 is all about?
__________________
PWMAngband variant maintainer - check http://powerwyrm.monsite-orange.fr (or http://www.mangband.org/forum/viewforum.php?f=9) to learn more about this new variant! |
![]() |
![]() |
![]() |
#3 |
Adept
Join Date: Aug 2010
Posts: 142
![]() |
In the past years I had only sporadically contact to Angband and didn't follow the development very closely. So I must say, I have no idea. From what I read in the forum v4 has very similar plans, maybe quite the same even. Actually the only time when I played Angband frequently was before 2000, afterwards it's been an on and off interest, and I used to work with code based on 2.9.1.
I think I'll get the v4 sources and take a look how it's done there. I'm not very good at reding code, but it should be a start.
__________________
I have a project problem? I have no project problem. I start a project, I work on it, it fails. No problem ![]() |
![]() |
![]() |
![]() |
#4 | |
Veteran
Join Date: Apr 2007
Posts: 1,947
Donated: $40
![]() |
Quote:
__________________
takkaria whispers something about options. -more- |
|
![]() |
![]() |
![]() |
#5 |
Adept
Join Date: Aug 2010
Posts: 142
![]() |
The v4 system is very generic and flexible, but it deems me also a bit complex.
I wonder a bit which way to go with my variant. Implement something like in v4, but in a bit simpler fashion, or wait till the v4 system is backported to a new Angband release and try to patch my variant with a diff from Angband 3.4.1 to that code?
__________________
I have a project problem? I have no project problem. I start a project, I work on it, it fails. No problem ![]() |
![]() |
![]() |
![]() |
#6 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,586
Donated: $60
![]() |
ToME 2 also has prefixes I believe, although I know nothing about how they work. That might be worth having a look at.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
![]() |
![]() |
![]() |
#7 |
Veteran
Join Date: Apr 2007
Posts: 1,947
Donated: $40
![]() |
And EyAngband (+ Mist). Which is awesome, by the way.
__________________
takkaria whispers something about options. -more- |
![]() |
![]() |
![]() |
#8 |
Adept
Join Date: Aug 2010
Posts: 142
![]() |
Thanks for the pointers. Somehow I thought that EyAngband had stalled long ago, but it always had very interesting ideas while I was still watching.
__________________
I have a project problem? I have no project problem. I start a project, I work on it, it fails. No problem ![]() |
![]() |
![]() |
![]() |
#9 |
Veteran
Join Date: Apr 2007
Posts: 1,947
Donated: $40
![]() |
It did, last release was a long time ago. Mist is its modern successor by a different author.
__________________
takkaria whispers something about options. -more- |
![]() |
![]() |
![]() |
#10 | |
Angband Devteam member
|
Quote:
Actually that sentence only really applies to the affixes; perhaps the complexity to which you refer is the themes aspect. I implemented themes as a way to make the affix system generate coherent multi-affix items like Defenders, Gondolin, Westernesse, HA etc. etc. Otherwise items with multiple affixes would only ever be totally random, like D2's rares. What you could do is port over the affixes code to your variant without the theme code (they are easily separable - I can tell you which functions you need). Then you can decide if you like it enough to grapple with the themes. Porting it to V is really all-or-nothing, because without the themes you can't replicate the existing V ego types. (Well you can, but it would be a massive hack and not really advance on the current V ego system.) As takkaria says, it was designed so that its initial implementation in V could produce *exactly* the same range of items, and no more. This slightly increased the complexity.
__________________
"3.4 is much better than 3.1, 3.2 or 3.3. It still is easier than 3.0.9, but it is more convenient to play without being ridiculously easy, so it is my new favorite of the versions." - Timo Pietila |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
[item's] are OP! (possible item spoilers) | Elsairon | Vanilla | 3 | June 5, 2012 11:04 |
exclusion control for ego prefixes? | saarn | v4 | 5 | May 15, 2012 10:44 |
EyAngband item prefixes | jens | Development | 29 | June 18, 2011 10:26 |
Item tune down/up | Timo Pietilä | Vanilla | 1 | April 10, 2011 01:38 |
Item (-1) [5,0] what does the parenthesis mean? | pwnmonkey | Vanilla | 4 | June 13, 2010 19:24 |