Help with System

by Atreus

Back to Combat Guide.

Atreus2005-09-13 02:19:44
Alright, so I've got the basics of my system down. All the Affliction messages triggered (even if not queued together yet... but we'll talk about that later), most of the Hinderances triggered (stunned, aeon, etc.), all aliases put together for the actual curing (eat marjoram, etc.), all the healing control variables set up and all that... so basically I've got everything basic down.

What I need to finish up my system is all the messages for Stun, Aeon, a list of defences and what they do (in this case, maybe a list of things that show up on DEF), a list of all the afflictions the gameworld has to offer, and somewhat of a clue as to how to set up a "Curing Alias" which will be called anytime I'm afflicted, etc...
That many embedded IF statements have always seemed really messy to me. (No offense, I'm just a neat freak.)

This asks for a lot when you first look at it, but in the long run it really isn't that much. Just stuff that would be a hassle for a newcomer to get in a short period of time. The list of afflictions, for example... I don't know if all the afflictions in the gameworld are listed in HELP CURELIST. If they are, let me know... and that gets rid of one thing on the list.

Stun and Aeon are the only things that there weren't too many triggers of in the Pinned Thread.

Thorgal I have a question about your guide, too... Is there a reason why you used '.5' instead of like... 1 for herb balance statuses?

PS. Thanks to Larkin for his ACP, it's helped me TONS. And thanks to Thorgal, his guide definitely put me on the right track. Hell, thanks to anyone who even helped me in any way. smile.gif

Unknown2005-09-13 16:09:47
If you're looking for alternatives to the messy "if" statement, you might want to read some of my development journal.
Soll2005-09-13 20:47:34
He uses '0.5' as a safe-guard for herb balance. He sets the value to '0.5' when he has sent the command to the game. When the command is received by the game, the value is then set to zero until later on, when balance is restored. The advantage of having '0.5' in the system is that the balance can be quickly and effeciently restored if the command is for some reason not received by the game. I.e. stun, aeon, asleep, stupidity, etc.