![]() |
#1 |
Rookie
Join Date: Apr 2007
Posts: 21
![]() |
Monster editor?
Has someone written a monster _editor_ for Vanilla or any other variant? I have found a monster viewer (BAE) with several useful features, but editing still has be done by hand.
|
![]() |
![]() |
![]() |
#2 |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
![]() |
I was thinking about writing one. Initially it would probably run on Linux (which is what I'm developing in).
Is there any rhyme or reason for how the current file is formatted? Reading the stuff in is easy, but writing out spells, flags and description so they are exact matches of the current monster.txt file is kind of annoying. If there really is a hard-and-fast system of how it should be structured I'll definitely support it, but it seems pretty arbitrary right now. |
![]() |
![]() |
![]() |
#3 |
Prophet
Join Date: Apr 2007
Location: Seattle, WA
Posts: 6,768
Donated: $40
![]() |
In re formatting changes: yes and no. Yes: there's no fundamental
Reason for the current format, and a canonical (machine generated) format is a good idea. No: because any time the format changes, doing revision diffs becomes impossible. Major file changes should be bundled together. |
![]() |
![]() |
![]() |
#4 |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
![]() |
Do you think it would be feasible to agree on a canonical form, and then do one commit which was just reforming the file? Obviously this would only happen if people were convinced that having a canonical format was useful (e.g. if there were tools to manipulate the file and a filter to canonicalize files).
|
![]() |
![]() |
![]() |
#5 |
Knight
Join Date: Dec 2007
Location: Poland, Katowice
Age: 30
Posts: 589
![]() |
I know there's a monster *generator* over on thangorodrim.net. Could be combined with that viewer thing for awesomeness.
__________________
If you can convincingly pretend you're crazy, you probably are. |
![]() |
![]() |
![]() |
#6 | |
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
Quote:
http://dev.rephial.org/trac/browser/...ster/mon.flags Flags should be in order specified there, and each new grouping should start a new line. For each flag, if there are already six flags on the same line, then it should start a new line, too. |
|
![]() |
![]() |
![]() |
#7 | |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
![]() |
Quote:
EDIT: while you're here, what is the guideline for wrapping descriptions (if any)? |
|
![]() |
![]() |
![]() |
#8 |
Veteran
Join Date: Apr 2007
Posts: 1,951
Donated: $40
![]() |
|
![]() |
![]() |
![]() |
#9 |
Angband Devteam member
Join Date: Aug 2008
Location: Philadelphia, PA, USA
Age: 42
Posts: 1,516
![]() |
So here are a few more questions/issues that I have about the file. Free free to defer these questions if they prove too annoying:
1. Should spells come before or after flags? Currently it seems to vary by entry. Should this be standardized? 2. Is there a canonical order for spells? Should there be? Should spells wrap after the 6th entry like flags? Should they be grouped according to spell type (this might be happening right now)? 3. There are some flags missing from the .lua file you referenced (DROP_2, DROP_3, etc). Should these be added? 4. What order should attacks be in? Currently it seems alphabetical by attack name (e.g. "bite" before "claw"). |
![]() |
![]() |
![]() |
#10 | ||||
Rookie
Join Date: Apr 2007
Posts: 21
![]() |
Quote:
Quote:
Quote:
Quote:
|
||||
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Something odd about monster.txt | Magnate | Vanilla | 2 | August 3, 2008 01:25 |
Monster options? | Markus_z | Vanilla | 0 | May 8, 2008 09:52 |
monster list info | DaviddesJ | Vanilla | 1 | March 31, 2008 03:10 |
Vault Editor | Zambaku | Variants | 0 | January 6, 2008 19:43 |
Monster AI | Malak Darkhunter | Vanilla | 3 | December 9, 2007 07:05 |