Battles

Started by , Mon 06/10/2003 04:05:34

Previous topic - Next topic

Nick

I'm sure you guys get these questions a lot, and I see that there are a lot of tips on making very in-depth battles, but what if I wanted a simple battle, maybe with a health bar or by HP, and it's basically just taking turns attacking, there's no other attacks except one? What would I do? Is that still going to be a lot of scripting?

Femme Stab Mode >:D

#1
well, it's pretty simple.
two variables, enemy health and your health.
the attacks can be chosen with a  dialog.
certain attacks take away certain ammounts from variables.
I made that up off the top of my head, I did the same thing with a different engine, so it might just work.
NANANANANANA ASSHOLE!

jetxl

It harder than you think. First: howmany enemies are there, one ore more, same as allies. Second: the person who starts alwais wins with just one command. Last: one attack is boring.

Just some things to keep in mind when you script it.

Femme Stab Mode >:D

Har, it's easy anyway.
The enemy to be attacked can be chosen through a dialogue option, so can the attack. Also, the enemy attack strength/attack used can be determined randomly, and attack/defence stats can be considered in the battle aswell,  you will just have to determine formulas, that's all. Items can be used aswell. Maybe I should try and script it myself and see how it works in practice.
NANANANANANA ASSHOLE!

SMF spam blocked by CleanTalk