Sword of Moonlight Forums
Numerical limits for maps? - Printable Version

+- Sword of Moonlight Forums (https://forum.swordofmoonlight.com)
+-- Forum: Sword of Moonlight (https://forum.swordofmoonlight.com/Forum-Sword-of-Moonlight)
+--- Forum: SOM Guides, FAQ and Help (https://forum.swordofmoonlight.com/Forum-SOM-Guides-FAQ-and-Help)
+--- Thread: Numerical limits for maps? (/Thread-Numerical-limits-for-maps)



Numerical limits for maps? - Holy_Diver - 2013-04-04

Can I get a confirmation that there are allowed to be 256 of each kind of thing on a map?

I am guessing this just staring at some code in SOM's program right now. BTW: If you know of other limits that you wouldn't figure out until you run into them this would be a good time to list them 1zhelp


EDITED: Actually, it turns out I'd got two addresses mixed up, so I was looking at items, so the 256 may refer to the game wide total. Still I've always wanted to know about the map limits, and others may benefit from a heads up. I know its been mentioned before at least on some counts.


Re: Numerical limits for maps? - Holy_Diver - 2013-04-06

No one knows of any? I think I am seeing 512 for objects. Is that right? What else?


Re: Numerical limits for maps? - Holy_Diver - 2013-04-10

I think I see a limit of 128 for NPCs per map. Something to look out for if you are making odd things using NPCs.


Re: Numerical limits for maps? - Verdite - 2013-04-11

I can confirm 512 for objects.


Re: Numerical limits for maps? - HwitVlf - 2013-04-18

The limits are listed in the MAP files.
512 Object
128 enemy
128 NPC
256 item

Of course there are quite a few other "map" limitations like size, number of events, distinct items/objects/NPCs, counters, Pieces, distinct Pieces, directional lights, etc.