
-----------------------------------
dehoogrules
Fri Dec 13, 2002 10:06 pm

Help With RPG
-----------------------------------
Hey everyone, I need a little help with an RPG I'm making as a final project for my programming class. I want to do a Final Fantasy style RPG (I mean the original). I have the images I need, and the music, but I'm not sure how to make the battle code work. Can anyone help me out? The project's due Thursday.

Just so you know, I'm using OOT 3.11. My school has 4.0.1, but I don't have it at home.

-----------------------------------
Tony
Sat Dec 14, 2002 3:24 am


-----------------------------------
that would greatly depend on the battle system you're going to have.

check out our FTP site ftp://swat@danco.no-ip.com/Turing/ we got 2 RPG games done in turing avialable to give you ideas. QFTB is done by Dan and is really good, not sure if it has a battle system though. Another one, done by Krishon has a simple battle system. If you're really stuck, you can get ideas there.


Some random things to think about:
how will characters take turns?
what options will be there for attack?
how do they attack?
how does enemy react?
etc.

-----------------------------------
dehoogrules
Sat Dec 14, 2002 11:48 am


-----------------------------------
Well, if you've ever played the original Final Fantasy for NES, then you would know what I'm trying to mimic. Each character (There are 4) has four attacks to choose from, via probably a case statement. One of these attacks, the best one, can't be done until two turns have been taken (gonna keep track of that with an int var). All 4 characters turns are decided, and then they attack in a random order. The monster will also be added to that order. It will have four attacks too, chosen by randint. Attacks do damage with randint too.

-----------------------------------
Dan
Sat Dec 14, 2002 9:11 pm

hi
-----------------------------------
well QFTB dose have a btale sytem very simeral to what you whont but with one player and they only start with one spell and can go up to like 6. QFTB is made for turing 3.1.1 and you shode be carfule becuse 3.1.1 and 4.0.1 are quite difrent, like there are not sprints in 4.0.1. i whode sugested doing most of it at school busces you coude get some BIG bugs if you do it in difrent vesrions of turing.

as for ideas for rpgs, i fownd that if you look for a progame claed rpg maker 2000 or somting like that on the net you will also find a lot of ideas, pics, muscik, chaters, batter sytem ideas and much more with sites for the rpg maker. altho the rpg maker will not do you any good due to the fact you are doing it in turing. they probley even have good pics to use for a  Final Fantasy like game.

-----------------------------------
azndragon
Sat Dec 14, 2002 11:27 pm


-----------------------------------
I have a battle system that's over 2000 lines long. It has attack, defend, item (incomplete), skills, and run. It also have a level up, and skill level up system, complete with item drops, and gold findings. But I spent so much time on it, so I probably wouldn't give it to anyone, and I guess there's no point in posting it here, but oh well :roll:

-----------------------------------
Tony
Sun Dec 15, 2002 1:40 am


-----------------------------------
thx for sharing your thoughs with us...

Battle systems can be complex... as azndragon said, it took him 2000 lines of code.

So if you're out of time (and can't type up 2000 lines of code in a day...) then just go with simple stuff like static attack. Actually by eliminating options, you can put together a BASIC fight system VERY fast.

Here's sample battle system


%VARIABLES
var myHP : int := 100
var myATT : int := 10
var danHP : int := 50
var danATT : int := 7

%FIGHTING
loop
danHP:= danHP - myATT
put "Tony attacks for ", myATT, " Dan's life is now ", danHP
if danHP 