Do creatures have MP as well as HP?

Chris H.'s Ultima / ACS-style game development system!

Moderators: Ice Cream Jonsey, joltcountry

rld
Posts: 223
Joined: Sun Jan 25, 2009 2:17 am
Location: Dallas, TX

Do creatures have MP as well as HP?

Post by rld »

Looking through the source code, it appears that creatures have MP and MP max values as well as HP/HP max. I've never seen these fields in the creature editor, however, so this may be a place-holder or something that ended up not being used.

Chris, are the MP/MPmax values on creatures currently used for anything?

User avatar
Garth's Equipment Shop
Posts: 638
Joined: Fri Dec 05, 2008 5:55 pm
Location: Festering Foothills
Contact:

Post by Garth's Equipment Shop »

Have you found the answer to this question on your own yet rld? Seems like it might be a useful exploit if you can figure out how to turn it on and use it. Would be nice to have another built in character condition indicator besides just health.

Magic points could be made useful in other types of games besides fantasy as well. In a sci fi game it could become psionic ability, mental power or development or knowledge.

In a modern type game it could be a morality scale like ultima's virtues but measured like Karma in Fallout either positive or negative reputation, or it could be just mental power again like in sci fi.
Which of you is interested in my fine wares?

rld
Posts: 223
Joined: Sun Jan 25, 2009 2:17 am
Location: Dallas, TX

Post by rld »

If you're talking about additional character variables for the player, there are of course a number of options - in addition to the included character variables (HP, MP, STR, INT) you can use any of the 'generic' variables A-Z, A2-Z2 to represent whatever aspects of the player character you want.

Non-player creatures do indeed appear to have an MP value, but since it isn't settable from the editor, there is no simple way to assign values to creatures for this characteristic. In addition, nothing about the game engine uses a creature's MP value for anything, so for this to be useful, we would have to figure out what a creature's MP value might be used for in combat or other aspects of the game.

Post Reply