Barony
Barony Workshop
It's here!
Learn More
HoosierLarry 15 Feb, 2024 @ 11:20am
Map Attributes for Gen maps
I don't understand how the Map Attribute, Monster Qty is used.

I'm generating random maps using the gen text entry in the level.txt file. I'm following the example set for the mines. I've got a master map, Mine. That map has Monster Qty defined (20 - 0). I've got a sub-map named mine00 (starting location). I've got a sub-map named mine01 (default map attributes) with Map textures for the random map filler. I've got a sub-map named mine01a that has Monster Qty defined as 1 - 1.

Based on my experiments, the sub-map values are ignored. The only value considered is the one for the master map (mine). However, the values for Monster Qty are not used in the way I'd expect. Leaving them at the default of 0-0 and running /nummmonsters reveals that there are 12 on my level. Setting the value to 1-1 reveals that there are 20. Setting the value to 2-2 reveals that there are 24. Setting the value to 20-20 reveals that there are 52. I'm just not sure how this value is used.
Last edited by HoosierLarry; 15 Feb, 2024 @ 1:17pm
< >
Showing 1-1 of 1 comments
WALL OF JUSTICE  [developer] 4 17 Feb, 2024 @ 4:42am 
Hi, the qty is for the random generation placement, so any maps/submaps that have specific monster spawns are added on top. And they only apply to the base map.

You can also use the entity qty to control how many monsters/items/decoration generates as they share the pool which is about 15-20 objects per floor by default if entity qty is not set.

If your mines01 doesn't have any fixed monster spawns and you're getting more than specified I can look into it make sure it's still working. Use /nummonsters2 command as well for accuracy the old /nummonsters was tracking something not accurate to the actual live monster count.
< >
Showing 1-1 of 1 comments
Per page: 1530 50