View Single Post
Old May 18, 2020, 03:34   #2
Vanilla maintainer
Nick's Avatar
Join Date: Apr 2007
Location: Canberra, Australia
Age: 55
Posts: 8,753
Donated: $60
Nick will become famous soon enough
Originally Posted by Tibarius View Post
just took a look at the 4.2.0 version, because i actually could not find any explanation for power and scaled power used in the 4.0.4 version in monster.txt.
If you can, would be kind to give a quick explanation of what those numbers influence. Thanks
So back in the 3.3-ish era, there was an attempt started to measure monster power algorithmically, initially to support "randomised uniques". This led to a whole file (mon-power.c) to measure this power, and the only place it was used by 3.5 was in measuring the power of slays in the measurement of object power. So we had a lot of computation (some of it based on pretty weak assumptions) to measure a few values (slay power) that turned out to be about what you would guess anyway. This didn't seem worth keeping, but on the other hand one of the principles I was working with for 4.0 was to make it gameplay-identical (or as close as I could) to 3.5.1. So as an intermediate step I put the calculated monster power values (power and scaled power) in monster.txt, with the intent of removing them completely in 4.1.

Originally Posted by Tibarius View Post
By the way, your comments in monster_base.txt to each type / race are pretty cool. But actually currently it seems that you need to define in monster.txt anyway all attributes a monster has.
Would be cool if you could define in monster_base.txt some basic stats, which are taken if monster.txt specifies nothing otherwise. Could shorten monster.txt and make things more conform to how you think they should be.

For example: ants have (to your comment) strong attacks for their depth, but actually a soldier ant makes 1d2 melee damage ... so either we have a different understanding about strong attack or your comment is currently nothing more than a 'wishlist'.
I see your point, but in fact there is a lot of art as well as calculation in getting individual monsters correct. So the comments in monster_base.txt are to inform the person who is constructing monster.txt the guidelines which are supposed to be currently used (as you point out, not always perfectly). The basic idea is to put as few limits as possible on what can be done by changing the datafiles.
One for the Dark Lord on his dark throne
In the Land of Mordor where the Shadows lie.
Nick is offline   Reply With Quote