![]() |
#1 |
Swordsman
Join Date: Jun 2011
Location: Germany
Age: 53
Posts: 429
![]() |
monster base
I tried using version 4.2.1 to work on a mod.
What i did: + monster_base.txt: removed all except @ / Morgoth and then used d/D/A for young dragon, dragon, ancient dragon + monster.txt: removed all monsters from DL 3 to 99 except Sauron / Morgoth and changed all remaining "base:..." into one of the three dragon bases "base:dragon" for example. + pit.txt / summon.txt: changed all bases to dragon or removed large parts Game startsup fine, looks like i can use "~ => monster knowledge", but when i cast a magic missile at a monster, there comes a C++ Runtime Library assertion up when the missile hits the monster: mon-msg.c line 291, race->base->pain != NULL Is there any non documented requirement for how to modify monster_base.txt? Like all letters from a to z must be used or something like that? Anyone a clue, thanks ![]()
__________________
Blondes are more fun! |
![]() |
![]() |
![]() |
#2 |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,427
Donated: $60
![]() ![]() |
You need a type of pain message for every monster base, like
Code:
pain:3 EDIT:Oops, didn't read fully. Probably you are giving one of your monster bases a pain index that doesn't exist in pain.txt; make sure that the types of pain are in sequence from 1, and that all your monster bases have a Code:
pain:n
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. Last edited by Nick; November 23, 2020 at 21:21. Reason: Reading |
![]() |
![]() |
![]() |
#3 |
Swordsman
Join Date: Jun 2011
Location: Germany
Age: 53
Posts: 429
![]() |
lib/user directory
Thanks Nick!
Another small thing that could help develop a Mod. Modified files from "lib/gamedata" are loaded from "lib/user". But there are already 2 files located: lore.txt and windows.pfr. Could either those two files get moved to lib/user/save for example or maybe introduce a new directory like "/lib/user/newdata" for modified files from the gamedata directory.
__________________
Blondes are more fun! |
![]() |
![]() |
![]() |
#4 | |
Vanilla maintainer
Join Date: Apr 2007
Location: Canberra, Australia
Age: 57
Posts: 9,427
Donated: $60
![]() ![]() |
Quote:
__________________
One for the Dark Lord on his dark throne In the Land of Mordor where the Shadows lie. |
|
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
CON: Base Regen | DavidMedley | Vanilla | 0 | November 4, 2019 06:44 |
Knowledge base | CivBesch | Vanilla | 11 | October 17, 2017 18:48 |
Really impressed with the angband code base | Pete Mack | Development | 7 | June 24, 2016 13:18 |
Knowledge base (~) odd behaviour? | MKula | Development | 4 | November 26, 2015 05:16 |
Sil - knowledge base | Oski | Sil | 5 | August 19, 2013 02:15 |