Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old August 10, 2010, 22:23   #1
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 30
Posts: 906
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis Send a message via Skype™ to ekolis
New proto-variant: Jackband

Well, I've been playing around with the V code a bit, and I actually managed to add a "change class" command to my proto-variant inspired by Multiband...

Now I need to figure out how to deal with XP gain across multiple classes! I have 4 classes in "Jackband" (Jack-of-all-trades Angband, which is what I'm calling this variant): Adventurer (no stat modifiers, no skills yet until I figure out what the numbers mean, really fast pseudo-ID, -50% XP to gain a level), Warrior, Mage, and Priest (I removed the "hybrid" classes Rogue, Ranger, and Paladin), and it seems like if I level myself up as an Adventurer, then I get the level across the board (though I might not get the warrior's 9 hit-die), making the game kinda easy! So I'll need to basically store off a copy of the player's experience counter for each class, and when the player changes classes, I'll need to replace his XP and level and the like with whatever is saved off for that particular class... I bet this will break all kinds of savefile code! :P

Once I get that working, I might decide to implement some sort of side benefits... it would be annoying if you switched from level 20 warrior to level 1 mage and forgot completely about how to fight! Even in Dragon Quest IX, which I think could have gone further with its multiclass system, you at least get to keep some of your special abilities you've earned, even if your HP and other stats do drop drastically when changing to a new class!
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Old August 11, 2010, 04:23   #2
Sirridan
Knight
 
Sirridan's Avatar
 
Join Date: May 2009
Posts: 560
Sirridan is on a distinguished road
Sounds neat, lemme know when one can playtest :P

Btw, did you use straight V code, or did you build it off AngbandBase?
Sirridan is offline   Reply With Quote
Old August 11, 2010, 04:32   #3
Nick
FAangband maintainer
 
Nick's Avatar
 
Join Date: Apr 2007
Location: Canberra, Australia
Age: 49
Posts: 4,367
Donated: $60
Nick is on a distinguished road
Quote:
Originally Posted by Sirridan View Post
Btw, did you use straight V code, or did you build it off AngbandBase?
Off V, I hope - Angband Base is not really ready yet.

From the looks of it changes so far will be in the bits of V outside AngbandBase, I think, so it should be easy to retrofit.
__________________
One Ring to rule them all, One Ring to find them,
One Ring to bring them all and in the darkness bind them.
Nick is offline   Reply With Quote
Old August 11, 2010, 12:57   #4
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 30
Posts: 906
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis Send a message via Skype™ to ekolis
Yeah, I tried AngbandBase first, but I had to pull in so much V code to get anything to compile, I figured it would be easier to start with V in the first place!

Anyway, now I've got the player having several classes at once, each with its own XP and the like... still a few rough spots, but I'll deal with 'em!

1. I tried fiddling with the player_type struct, but that totally screwed up the game (wound up starting on dlvl 15 with all possible status effects, WTF?!) so I decided to move all the class-leveling info to a separate array... of course, now I need to dig into the savefile code to make sure that array actually gets saved when you save the game! No good starting at level zero when you load a savefile!

2. HP and MP are kinda weird; if you switch from a class where you have more max HP to a class where you have fewer, you can wind up with weird stuff like 16/15 HP! I'm thinking I might just go with a system where your max HP and max MP are the MAXIMUM of what you've earned leveling up any class... that would also help deal with the "don't let player get screwed by rolling 1's repeatedly for HP levelups" check which I removed because I didn't want to bother with converting that to deal with multiple classes!

3. I'm not sure how spell learning works... it might be that if you can learn 1 mage spell and 1 priest spell, then you can actually use that to learn 2 mage spells if you so desire! Or maybe the counters are separate, I'm not sure...

4. I should probably start the player with the first mage and priest books, and maybe start him with a blunt weapon (whip?) instead of a shortsword, just so he can switch to mage or priest at the beginning and not have to go buy an appropriate book or weapon! (Especially since you don't seem to start with any gold in the latest V version...)

5. I actually got this message, probably no one's seen it before... "You can't make out your surroundings well enough to search." Haha! I guess I need to give that Adventurer class some skills!
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Old August 11, 2010, 14:57   #5
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 30
Posts: 906
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis Send a message via Skype™ to ekolis
I created a repo on Bitbucket...

http://bitbucket.org/ekolis/jackband
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Old August 11, 2010, 18:18   #6
AnonymousHero
Knight
 
AnonymousHero's Avatar
 
Join Date: Jun 2007
Posts: 581
AnonymousHero is on a distinguished road
Quote:
Originally Posted by ekolis View Post
2. HP and MP are kinda weird; if you switch from a class where you have more max HP to a class where you have fewer, you can wind up with weird stuff like 16/15 HP! I'm thinking I might just go with a system where your max HP and max MP are the MAXIMUM of what you've earned leveling up any class... that would also help deal with the "don't let player get screwed by rolling 1's repeatedly for HP levelups" check which I removed because I didn't want to bother with converting that to deal with multiple classes!
I may not have any idea what I'm talking about since I've never tried Multiband, but averaging the HP and MP between the player's classes seems like a better choice to me.
AnonymousHero is offline   Reply With Quote
Old August 11, 2010, 18:29   #7
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 30
Posts: 906
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis Send a message via Skype™ to ekolis
Hmm, that might work... of course, then it would make gaining HP and SP much harder, since you'd have to level up four times to get the full benefit, seeing as there are four classes!

Actually, what I could do is I could limit class changes to the town, where it would then be OK to simply fullheal the player on class change! (Well, except for those *%!$ mercenaries and veterans...) I was originally going to make class change something you do in the home, but I couldn't figure out how to add stuff to the home menu, so I just made it a command usable anywhere that uses no time... and I'm not really sure if I want to keep it that way (and let players be flexible), or limit it to the town/home/whatever...
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Old August 11, 2010, 18:48   #8
Derakon
Prophet
 
Derakon's Avatar
 
Join Date: Dec 2009
Posts: 5,930
Derakon is on a distinguished road
The problem I see with limiting it to the town is that it means that the player can't use class changing to react to threats in the dungeon.

Of course, given that priests and mages both have heavy reliance on carrying books in the inventory, it's debatable how useful switching class to one of them would be if you were originally kitted out as a warrior...

I tend to prefer a skills-based approach where you can mix and match different classes together and get all of the benefits of your classes simultaneously. But that would require some SAngband-level reworking of how skills, spells, and abilities are obtained.
Derakon is offline   Reply With Quote
Old August 12, 2010, 17:22   #9
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 30
Posts: 906
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis Send a message via Skype™ to ekolis
Hmm, I ran into an issue here... Apparently the game crashes with a "too many entries" error if I try to have more than five starting item types in a class's inventory! But I can't see where this limit is set... Where is it set???

edit: never mind, I found it in defines.h :P
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Old August 22, 2010, 20:52   #10
ekolis
Knight
 
ekolis's Avatar
 
Join Date: Apr 2007
Location: Cincinnati, OH, USA
Age: 30
Posts: 906
ekolis is on a distinguished road
Send a message via AIM to ekolis Send a message via MSN to ekolis Send a message via Yahoo to ekolis Send a message via Skype™ to ekolis
Hmm, I was thinking some more about multiclassing, and I realized it might be kind of silly to have most of the benefits of all classes at once, while being able to switch at any time, and gain XP only toward the "current" class... what is the point of having a "current" class, then, if it only determines where the XP go!

So I'm thinking about other systems for XP allocation...

1. The Crawl system: in Crawl, you can toggle your skills on or off; this has no effect on usage of skills, but it does help you allocate skill points; these are allocated more heavily toward the ones that are toggled on, and less so toward those that are toggled off. So for Jackband, I could let the player toggle each of his classes on or off, with similar weightings of XP allocation between the classes!

2. The usage system: kill a monster with a melee attack and gain warrior XP; kill a monster with a spell and gain mage XP; heal yourself when low on HP and gain priest XP; disarm a trap or unlock a door and gain adventurer XP!

3. The priority system: when you start the game, you choose a "preferred" class, which advances quicker than normal, and a "disliked" class, which advances slower than normal. XP is divided equally among all classes.

Thoughts? Other systems I should consider? I'd like to use the "usage" system I described above, but it might be a bit harder to implement than a simple toggle for each class or a priority system! The priority system also seems interesting; that's sort of what Multiband did, only you got XP toward only one class at a time and had to change classes manually (as I'm doing now in Jackband, but I want to change that).
__________________
You read the scroll labeled NOBIMUS UPSCOTI...
You are surrounded by a stasis field!
The tengu tries to teleport, but fails!
ekolis is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Best variant to play?? robbio AAR 18 February 20, 2010 11:40
How many variant developers/maintainers have beaten their own variant? Delver Variants 12 June 5, 2009 09:08
Variant writing.. quickstart guide? Also, Hengband variant suggestions? dzhang Variants 34 April 1, 2009 00:45
New Variant Help bpleshek Variants 4 September 8, 2008 22:04
Most Challenging Variant bonzo Variants 14 August 18, 2008 09:22


All times are GMT +1. The time now is 10:49.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.