|
Axe Software Forums
Quest Developer Forum Battle system?
|
Author | Topic: Battle system? |
KaiserGhaleon |
posted 10-02-2002 22:20 GMT
I heard something about this a while back, is it possible to build an RPG-ish battle engine with the asl code? Could I give my character set HP/MP, and place monsters in the game that randomly appear. When you get hit, it would deduct HP and so on... Could someone give an example of this? |
KaiserGhaleon |
posted 11-02-2002 04:53 GMT
So far, I've only been able to create a realistic battle sequence through the use of rooms. I'd like the monster to use random attacks, anyone know if this would be possible? I know some of you have screwed around with this, so any advice would be appreciated. :\ |
Computer Whizz |
posted 11-02-2002 17:51 GMT
Well, to get random attacks I'm going to use a random number generator after each battle - then after that many turns (unless the room has a property set) then you'll go into a battle! Also HP/MP should be a status variable because you can have "on change" meaning automatic death, and things unexpected might become easier ;) Look in the Quest help files and search for "random" for the random numbers and "status variable" for details on status variable's. How you organise monsters to do battle with is your choice though - moving the player and monster into a seperate room (battle room), whether you move the monster into the CURRENT room, or to have the monster already there (not random). Computer Whizz |
KaiserGhaleon |
posted 14-02-2002 22:43 GMT
Good suggestions, thanks. |