Angband.oook.cz
Angband.oook.cz
AboutVariantsLadderForumCompetitionComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Variants

Reply
 
Thread Tools Display Modes
Old June 29, 2010, 15:04   #1
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
My own variant (sort of)

I've decided to start a new variant. The working name is "Strawberry Angband", and it will basically be Vanilla, with some tweaks to remove things I find annoying - tweaks that probably would never get accepted into CVS, thus Strawberry. The tweaks will mostly be of the minor sort, but that may change as I understand the source code better.

Here's the list I've come up with so far:

1. Automatic stat gain.

Rationale: I dislike looking around for stat potions and sources thereof.

Methods: There are two ways this can be done. One is to just boost everything every five levels - very easy, but maybe unbalancing, especially as the linear stat gain means characters would be gaining stats even at early levels (before the appearance of stat gain potions).

The other is to have a prompt for a stat to raise, and give a bigger boost to the selected stat, a la Hengband. This would be harder for me to do (I'd probably best check out the Heng source code) but more balanced I think.

2. Trap detection fallback.

Rationale: Requirement of frequent trap detection is IMO annoying, esp. for warriors, who have no reliable source of it. And it makes sense for experienced characters to be able to recognize the presence of a nearby trap most of the time.

Methods: Have a stat (INT or WIS) give a useful bonus to perception and searching. Alternatively, give each class an innate perceptions/searching bonus that rises with level. I prefer the former option.

That's basically it for now, but I'm open to further suggestions on how to remove nuisances, improve balance, and/or make the game more fun. Especially balance suggestions - I don't want to make the game TOO easy.

Flame on!
Therem Harth is offline   Reply With Quote
Old June 29, 2010, 15:45   #2
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Okay an update: I've decided for now that the best way to do stat gain is to increase a *random* stat every level. But I don't want stats to increase on gaining levels from restoration of lost experience, because that would be kind of abusable. How can I check to make sure that this is the first time a level has been gained?
Therem Harth is offline   Reply With Quote
Old June 29, 2010, 17:33   #3
will_asher
DaJAngband Maintainer
 
will_asher's Avatar
 
Join Date: Apr 2007
Location: San Antonio, TX
Posts: 1,124
Donated: $10
will_asher is on a distinguished road
Quote:
Originally Posted by Therem Harth View Post
I've decided to start a new variant. The working name is "Strawberry Angband", and it will basically be Vanilla, with some tweaks to remove things I find annoying - tweaks that probably would never get accepted into CVS, thus Strawberry. The tweaks will mostly be of the minor sort, but that may change as I understand the source code better.
That's almost exactly how my variant got started. It won't be long before you'll remove the "(sort of)".
__________________
Will_Asher
aka LibraryAdventurer

My old variant DaJAngband:
http://sites.google.com/site/dajangbandwebsite/home (defunct and so old it's forked from Angband 3.1.0 -I think- but it's probably playable...)
will_asher is offline   Reply With Quote
Old June 29, 2010, 19:10   #4
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Thanks. I think.

Anyway, to answer my earlier question: the code seems to take care of it already. Yay.
Therem Harth is offline   Reply With Quote
Old June 29, 2010, 19:25   #5
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Okay 'nother question: where on Earth are the race/class adjustments to searching and perception processed? For the life of me I can't find them.
Therem Harth is offline   Reply With Quote
Old June 29, 2010, 19:54   #6
Pete Mack
Prophet
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,725
Donated: $40
Pete Mack will become famous soon enough
In the initialization code, init1.c and init2.c. THey are read from the p_class.txt and p_race.txt files.
Pete Mack is offline   Reply With Quote
Old June 29, 2010, 19:59   #7
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Thank you very very very much.
Therem Harth is offline   Reply With Quote
Old June 29, 2010, 21:36   #8
Therem Harth
Knight
 
Join Date: Jan 2008
Posts: 926
Therem Harth is on a distinguished road
Okay, I am trying to add INT and WIS bonuses to Searching and Perception respectively. Key word "trying", because no matter what I add to srh and fos in init1.c, no bonus gets added in the game. What am I doing wrong?
Therem Harth is offline   Reply With Quote
Old June 29, 2010, 21:40   #9
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
There is a function, called update_player I believe, that re-calculates the player stats any time there is a change. init.1 only reads the class and race files. You will have to change the in-game code to get INT and WIS to factor into searching, etc...

I will go look at the function now and tell you the exact place if somebody doesn't beat me to it first.
nppangband is offline   Reply With Quote
Old June 29, 2010, 21:48   #10
nppangband
NPPAngband Maintainer
 
Join Date: Dec 2008
Location: Stat Gain, Angband
Posts: 926
nppangband is on a distinguished road
The place to make that change is in the file called calc.c (in the player subfolder). There is a function called calc_bonuses that should be your starting point.
nppangband 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
why sort the pack? PowerDiver Development 8 April 16, 2010 02:21
How many variant developers/maintainers have beaten their own variant? Delver Variants 12 June 5, 2009 10:08
Variant writing.. quickstart guide? Also, Hengband variant suggestions? dzhang Variants 34 April 1, 2009 01:45
Variant list pav Oook! 19 September 19, 2008 00:07
New Variant Help bpleshek Variants 4 September 8, 2008 23:04


All times are GMT +1. The time now is 12:42.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.