![]() |
#1 |
Scout
Join Date: Jan 2008
Posts: 47
![]() |
Variant writing.. quickstart guide? Also, Hengband variant suggestions?
Hi all,
I'm a long-time player of Angband (about 7 years now), and have always been thinking about implementing a few changes that I'd like. The problem is, I have NO idea how to go about writing a variant. I've coded quite a bit in C and C++ before, but mostly on Unix, and never really looked at the Angband code. What I'm wondering is this: Is there a Quick-start guide to writing variants somewhere out there? I.e. Overview of how maps are generated, how monsters are generated, etc. Variable names, player stats, etc. Common coding pitfalls, and mega-hacks we should be aware of, etc. In particular, I'm looking to make a variant based on Hengband. Suggestions on what improvements people would like to see are welcome! (Email me at dzhang@dna.caltech.edu). A brief list of ideas: 2 new schools of Magic: Order and Wild. Order magic has NO variability in the spell effect (i.e. fixed duration, fixed damage, etc), and furthermore, failed castings do not consume SP. Wild magic, on the other hand, has maximum variance (always 1dN, damage/duration). Furthermore, the SP cost of casting Wild Magic varies randomly between 1 and X, the listed price for casting (so listed SP costs will be roughly double). And Wild Magic will have a fail rate modified by 0.05 + 0.9*Y, where Y is the fail rate as computed by INT and level. Items: New weapon Ego: (Crystalline) Weapon always rolls max damage on dice. Weapon never deals crits. Grants Resist Chaos. New ring: Ring of Evocation (+X). Spell damage is multiplied by (1+X/20). These will have the same rarity and p-val distribution as Rings of Speed. Furthermore, they will only function on the right Finger. New ego ring: Ring of Evocation of the Gish (+X). Increase spell damage as in Ring of Evocation. Furthermore, it acts as a Ring of Damage (+X) by increasing melee damage of every attack by +X. Monsters: Change HP to be represented by longs. Come on, we're not lacking memory in this day and age. Increase HP of bosses as necessary. Mutations: Max (x/10) mutations, where x is character level. For Beastmen, this is doubled to (x/5). Shop that removes mutations will be closed. Mutations from Chaos attacks will not replace existing mutations, but !oPolymorph and Polymorph Self (spell) will. More nasty mutations: Slurred speech: Your spell fail rates increase by 2%, and your minimum spell failure rate increases by 2%. Frozen breath: You have a 2% chance of ruining potions. Breath cold. Counters fiery breath. Fiery breath: You have a 2% chance of ruining scrolls. Breath fire. Counters frozen breath. Uncontrollable spending: You have a 20% chance every time you visit a store of buying a random item. Lost in thought. You have a 1 in 10,000 chance every round of being paralyzed for 1d13 rounds. If you have FA, this is reduced to 1d3 rounds. If you make a saving throw vs. DC 125, you are not paralyzed. Classes: Wrestler: Uses techniques to throw monsters around while damaging them. Gish: 4 max blows, 1 school of magic (cannot change). Can achieve 0% fail, access all spells from school. Pick from Sorcery, Order, Wild, Craft, Life, and Death. Mindbender: Unique class with spell-like abilities that Stun, Sleep, Confuse, Charm monsters powerfully, so that even high level uniques have chance of being affected. Dungeon depth: I'm also thinking of making the dungeon deeper, with more than one "bosses that need to be killed to go any lower." Chronicles of Amber provide many more possible uniques, like Random (new king of Amber), Merlin (new king of Chaos), etc. Thoughts? Chris, Elliott, Victor? Come on, I know you guys visit these forums occasionally ;-) |
![]() |
![]() |
![]() |
#2 |
Scout
|
To preface: I am a total n00b. I just re-entered the *band world less than a month ago, and joined this forum maybe a week ago.
But... In My Humble Opinion... There seem to be lots of *bands out there. If you want the advice of a player - not by any means a coder - if you want to write a variant people will actually play, you need something that makes it particularly cool and unique. Every *band download is an investment of time and energy, so as I look at varaiants, I consider "does this variant do anything interesting that a variant I already have and play doesn't?" and "do I want to bother to learn this game and play it?" That's probably why I only have Angband, Hellband, Steamband, and Zangband... and I'm probably going to get rid of Hellband soon, though on the other hand, I'm seriously considering downloading sCthAngband. /2 cents. |
![]() |
![]() |
![]() |
#3 |
Knight
Join Date: Apr 2007
Posts: 590
![]() |
Yes. Which is why writing a *band variant should not be predicated on whether anyone actually plays it.
|
![]() |
![]() |
![]() |
#4 |
Scout
Join Date: Jan 2008
Posts: 47
![]() |
My main motivation is to have more variety to play with.
I never got around to winning vanilla Angband, because I found it too tedious after a point, and not enough excitement. Many variant (such as NPP) cause me to suffer the same ennui, to the point that I don't have enough motivation to learn the game well enough to beat it. Two variants that I really liked were ToME and Henband, because both have a lot of interesting features, and almost limitless replayability due to different race/class/skill/approach combos. Emphasis on the word "almost." I haven't really played any *bands for about 4 months now (a minor attempt at artifactless Hengband being the exception). I decided the only way I'm going to play *band again is if there's another variant different enough to be fun. Hengband has a decent following of players, and a ton of features. Furthermore, it has a really nice Auto-pickup/Auto-destroy shell, and many features I want to keep (like random monster energies). So I figure I'm addicted enough to only play derivatives of Heng. Entroband didn't really add enough variety to keep me hooked for too long. So that's why I want to write a variant adding a ton of new features. I'm pretty sure at least some of the old Hengband fans will try it, but even if not, I'd be happy. *** More ideas! Remove the minimum of 3 on stats (except during character generation). A la D&D rules, if you are reduced to 0 in a stat, you go crazy/die/are indefinitely paralyzed. Thus, attacks that drain stats become much more deadly. Eldritch horror will probably need to be adjusted somewhat. Mindless races (Zombie, Golem, etc) probably should get Sustain INT, WIS, and CHA. Items will probably need to be tweaked to increase the frequency of sustain stats. Humans will get an advantage (sick of having races no one will ever play): At character level 30, they gain a mutation of their choice. Half-elf will probably be removed. Come on, even in D&D Half-Elves are pathetic and never get picked. New class: Factotum. Has access to 2 schools of magic. Can access spells in primary school through 3rd book, and secondary school through 2nd. Unlike mages, he can tap even Samurai and Bardic books. Can change schools at will (even primary school), but need to spend turns relearning every spell he wants. No limit to the number of spells gained/realms changed. |
![]() |
![]() |
![]() |
#5 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,480
Donated: $60
![]() ![]() |
Quote:
As far as the why goes, I think that Heng and Entro both no longer being maintained is enough reason.
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
#6 |
PosChengband Maintainer
Join Date: Jan 2008
Posts: 702
![]() |
Hengband Variant Suggestions
Hey Dave,
I strongly encourage you to work really hard to make a awesome Hengband based variant ;-) I like many of your ideas, and will even offer some of my own: [1] Add more artifacts, or change existing ones. Especially needed are more artifact shooters. I'm tired of playing Archers because they always play the same (get Bard, make seeker arrows, etc). Careful about game balance though. I think Brian inadvertantly made a much easier variant to win with in Entroband, as melee got a nice pump. Melee is strong enough in Hengband (maybe too strong?) [2] Make Old Castle and Cloning Pits rewards randomized. Old Castle should still be class specific, but should choose from several arts rather than just hard coding one. Come on, does every single solitary player have to win with Shiva's boots? [3] Spells. This is an idea I've had for a while ... not sure if any other variants have done this. Spell books should initially be empty. You gain spells in scroll form, and scribe them in your book or books. You can only carry a limited number of spell books, and each book has a limited number of slots, so your spells available are limited. And you need to find the good spells in the dungeon. Maybe you start with a Scroll of Magic Missle to get things going ... [4] Fix the Tower quest. Very abusable ... though probably only you and I know how to do it ;-) As far as the code goes, I don't really know it that well. For the artifactless changes I made, I made heavy use of grep and basically hunted around until I found all the places that needed changing. Adding new classes and items is hard, I think. Adding new artifacts is easy, since those can be added in a_info.txt. Also, I'd be more than happy to playtest for you ... --Chris |
![]() |
![]() |
![]() |
#7 |
Knight
Join Date: Apr 2007
Posts: 576
![]() |
I'd play(test).
|
![]() |
![]() |
![]() |
#8 | ||||
Scout
Join Date: Jan 2008
Posts: 47
![]() |
Thanks for your comments!
Quote:
Quote:
Actually, I don't know where I read this before, but someone had the idea of having an extra store selling unidentified items (including small chance for artifacts). That appeals to me, though game balance will probably be an issue. Maybe make the price increase with the number of items you've bought from there. Quote:
Not sure how to balance things with ?oArtifactCreation, ?oAcquirement, etc.. Quote:
Oh, do you have a copy of the original 1.7.0 source? Or should I work off your artifactless-variant code? (I assume you commented things out, rather than remove?) It shouldn't be too hard to make "Artifactless" a birth option.. |
||||
![]() |
![]() |
![]() |
#9 |
Hellband maintainer
Join Date: Jul 2007
Location: New York, the Big Apple
Age: 46
Posts: 367
Donated: $120
![]() |
Well,
I can tell you already I will be stealing stuff ![]() -1- Order school ( Wild magic sounds a lot like the Chaos school to me ) -2- Crystalline ego ( but maybe res light instead of res chaos or even bounce back light attacks, like it gets mirrored on the crystal or something ) -3- Ring of evocation ( max up to like +3 or +4 though ) -4- Restricting mutation count is a great idea, the UI cannot handly gracefully more than 23/25 mutations anyway -5- All mutations except possibly lost in thought, it seems too zany I can send you the diff's for Hengband which comes from Zangband, which should give you some indication on where to change stuff. Let me also say that you should continue with Entro, it would be sad to see the maintenance of that fall by the wayside. Cheers, T.
__________________
* Are you ready for something else ? Hellband 0.8.8 is out! * |
![]() |
![]() |
![]() |
#10 | ||
Scout
Join Date: Jan 2008
Posts: 47
![]() |
Haha.. go ahead! Maybe if you implement enough of these changes I won't need to do any coding :-P
Quote:
The whole idea of Wild Magic is that it will be very powerful (probably higher expected damages than many others), but very, very unreliable. I'll post the spells I have in mind in a bit and you can see if it's worth incorporating.. ![]() Quote:
I'm not too excited to continue from Entroband, because from past Psych courses, I know that people really like to bemoan nerfing things they're used to.. I'm going to have to power down a lot of the new artifacts in Entroband if I do continue with it. The change list, as far as I can tell, are mostly limited to artifact changes, The Chemist, and reseting of dungeon start depths. Is there any particular feature of Entroband that you like? It might be easier just to recode it... Cheers, Dave |
||
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Animeband - The worst variant ever | ehuangsan | Variants | 55 | February 10, 2020 14:24 |
Looking for a variant with Crafting | redcard | Variants | 4 | July 10, 2009 20:40 |
Variant list | pav | Oook! | 19 | September 18, 2008 23:07 |
Curiousity Question: How many variant have you won? | will_asher | Variants | 18 | January 29, 2008 14:46 |
Variant with persistent dungeons? | Sabreman | Variants | 5 | November 15, 2007 21:22 |