Angband.oook.cz
Angband.oook.cz
AboutDownloadVariantsLadderForumCompetitionSpoilersComicScreenshotsFunniesLinks

Go Back   Angband Forums > Angband > Development

Reply
 
Thread Tools Display Modes
Old February 24, 2009, 11:18   #1
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Pref file handling

The sheer number of pref files is rather daunting and I can't help thinking there's probably a lot of stuff I could set in them to make my playing Angband easier if I only knew what I was doing.

[EDIT]I (belatedly) found http://www.thangorodrim.net/help/macrofaq.txt which includes

Quote:
----------------------------------------------------------------------
3.4 Pref files
----------------------------------------------------------------------

Preference files save commands such as macros and keymaps which are
used to customize the game. They are used to implement the "original"
and "roguelike" keysets. They provide default appearances for items.

They also implement the default behaviors which make Angband look and
play the same (for the most part) on different systems.

Pref files can be saved with the name of a player name, class, and
race, and anytime a player with a matching characteristic is loaded,
the appropriate pref file is loaded. This makes some customizations
transparent and automatic.

Pref files let you do some things that could otherwise only reasonably
be done by changing the info files or source, such as changing the
appearance of a given terrain feature, or the symbol used for the
player.

Pref files let you set up and save your favorite game options, and
have them available for new characters without having to redo them.
That sort of stuff should be in help file(s), IMO.

Last edited by PaulBlay; February 24, 2009 at 14:02.
PaulBlay is offline   Reply With Quote
Old February 24, 2009, 16:16   #2
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Suggestion for 'c) Modify colors'.

1. Have a 'BEFORE' and 'AFTER' line of the ### ### ### color examples.
2. Add '?' to the commands and show the following help text (color.txt) when it's pressed.

Code:
=== Color help ===
Command help.

n  Next color                           N  Previous color
k  +1 to K (8-bit black plane)          K  -1 to K
r  +1 to R (red value)                  R  -1 to R
g  +1 to G (green value)                G  -1 to G
b  +1 to B (blue value)                 B  -1 to B
?  Display this help text

BEFORE Shows example of color before modification.
AFTER Shows example of color after modification

Note that if you do not Dump colors modifications will be lost when you exit 
Angband.

Color names: 0 Dark, 1 White, 2 Slate, 3 Orange, 4 Red, 5 Green, 6 Blue, 
7 Umber, 8 Light Dark, 9 Light Slate, 10 Violet, 11 Yellow, 12 Light Red, 
13 Light Green, 14 Light Blue, 15 Light Umber
PaulBlay is offline   Reply With Quote
Old February 24, 2009, 18:02   #3
Pete Mack
Veteran
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 2,399
Donated: $40
Pete Mack is on a distinguished road
That command is kind of obsolete. It is much easier touse the 'v; command in the knolwledge menus.
Pete Mack is offline   Reply With Quote
Old February 24, 2009, 18:18   #4
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
That command is kind of obsolete. It is much easier touse the 'v; command in the knolwledge menus.
And where would that be? ~ (Knowledge) has displays from 'a' (object knowledge) to 'h' (character history) as far as I can see.
PaulBlay is offline   Reply With Quote
Old February 24, 2009, 18:22   #5
Pete Mack
Veteran
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 2,399
Donated: $40
Pete Mack is on a distinguished road
Try "feature knowledge" to edit the colors for permanent walls, for example.
Pete Mack is offline   Reply With Quote
Old February 24, 2009, 18:25   #6
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
Try "feature knowledge" to edit the colors for permanent walls, for example.
That's not what I want to do. What I want to do is change globally the two darkest colours because they're too difficult to see on my computer screen. While I could (I suppose) track down every feature (and monster?) that uses them and change them one at a time it would make a lot more sense to use something like the "modify colors" thing (assuming it works).

It's not that big a deal because I can use the bold font to make things easier to see, but I don't see what makes modifying colors 'obsolete'.
PaulBlay is offline   Reply With Quote
Old February 24, 2009, 18:25   #7
half
Knight
 
half's Avatar
 
Join Date: Jan 2009
Posts: 889
half is on a distinguished road
Code:
k  +1 to K (8-bit black plane)          K  -1 to K
What does this part do? I tried it and saw no effect.
half is offline   Reply With Quote
Old February 24, 2009, 18:28   #8
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by half View Post
Code:
k  +1 to K (8-bit black plane)          K  -1 to K
What does this part do? I tried it and saw no effect.
As far as I can tell it's used in printers to distinguish black and white text / line-art from black and white that is part of graphics. Maybe its used by some b/w portable systems? I don't know.
PaulBlay is offline   Reply With Quote
Old February 24, 2009, 18:37   #9
Pete Mack
Veteran
 
Join Date: Apr 2007
Location: Seattle, WA
Posts: 2,399
Donated: $40
Pete Mack is on a distinguished road
@paul- Sorry, I misunderstood your original post.
Pete Mack is offline   Reply With Quote
Old February 24, 2009, 18:40   #10
PaulBlay
Knight
 
Join Date: Jan 2009
Posts: 657
PaulBlay is on a distinguished road
Quote:
Originally Posted by Pete Mack View Post
@paul- Sorry, I misunderstood your original post.
Oh, I'm with you now. The first post has relatively little connection with the second. I thought you were talking about the second not the first.

Basically I had a rather different first post before I found something that appeared to make what I'd written obsolete so I changed it. Then I didn't want to start another thread for such a similar point so I put my second post in the same thread.

Sorry if it got a bit confusing.
PaulBlay 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
Editing the monster.txt file Jothar Hillpeople Vanilla 3 September 4, 2008 21:23
Failed to Create Temporary File \s87g.1. d1sc0nnected Vanilla 2 April 2, 2008 19:45
Question about "flvr" pref files. Zero Vanilla 1 January 14, 2008 20:13
Edit File For Dungeon Generation? Zero Vanilla 3 January 9, 2008 19:17
Any chance for (compiled) Angband 3.0.9 debian file? ivanj Vanilla 9 November 3, 2007 12:29


All times are GMT +1. The time now is 00:25.


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