Well, I've made some more progress now. You can now drown to death, and I've begun work on a character UDT, shown here.
rem custom type for NPCs, monsters, and the player.
type character
name as string
height as float
waterheight as float
health as float
maxhealth as float
breath as float
maxbreath as float
mana as float
maxmana as float
baseobj
jumpskill as float
yvel as float
speed as float
waterspeed as float
runspeed as float
crawlspeed as float
endtype
Right now, I'm working on implementing skills of some sort. I'm adding a jumping skill right now, but my equations don't allow for a smooth progression from 1 to 100. I have the min and max jumping heights where I want them, but the skill advancement slowdown and the damage taken from a fall are way off.
The plus and minus keys will quickly alter the skill so you can play with it. If it helps, I'm trying to standardize my world around inches. Here's a link to the updated program, source only.
[href]http://home.earthlink.net/~mari0mega15/MW source.zip[/href]