Computer Science Canada Help With RPG |
Author: | dehoogrules [ Fri Dec 13, 2002 10:06 pm ] |
Post subject: | 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. |
Author: | Tony [ Sat Dec 14, 2002 3:24 am ] |
Post subject: | |
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. |
Author: | dehoogrules [ Sat Dec 14, 2002 11:48 am ] |
Post subject: | |
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. |
Author: | Dan [ Sat Dec 14, 2002 9:11 pm ] |
Post subject: | 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. |
Author: | azndragon [ Sat Dec 14, 2002 11:27 pm ] |
Post subject: | |
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 |
Author: | Tony [ Sun Dec 15, 2002 1:40 am ] | ||||
Post subject: | |||||
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
You can add a bit of variety to it by having a random myATT between min and max values of the weapon. Then at the beginning of each loop you can ask if you want to run away or use an item
|
Author: | krishon [ Sun Dec 15, 2002 1:15 pm ] |
Post subject: | |
if u want to have moving characters and stuff, turing 3.01 is the better version. Since it has sprites, u can use them to move around and collect items. I suggest u look at Dan's QFTB game, as it is a perfect example |
Author: | azndragon [ Sun Dec 15, 2002 5:21 pm ] | ||||
Post subject: | |||||
What I like to do, is have a Rand.Int (1,5) after every attack, because it adds some randomization to the damage. Some other things you might want to consider are weapon powers, weapon bonuses, and critical hits. I kinda took a bit of every RPG I've ever played, but I can't really go on with the game, until I figure out how to get that stupid saving feature to work krishon wrote: if u want to have moving characters and stuff, turing 3.01 is the better version. Since it has sprites, u can use them to move around and collect items. I suggest u look at Dan's QFTB game, as it is a perfect example
So if I wanted to add sprites to my RPG, I would have to use Turing 3? Oh well, I'll add that sometime later, my game's text-based, I'm still new to this, I learned basic Turing in class on November 29, so I still have A LOT to learn. Like procedures..hehe..before I knew how to use that, I had to copy the battle system over and over in each battle, it was a pain. I'm gonna go post part of my battle system, so others can see it. It only has the attack command, for simplicity reasons:
and then after this, it goes on with the other battle commands, like skill, item, etc. One thing, notice how in the top, I have:
Is there a way to set it up so that it can be simplified so that it's not case sensitive? For example, if someone typed in attacK, Turing would crash, unless I specifically had Turing look for that command. Another thing, is there a limit to how big a file is before you can indent it? My RPG won't indent, it says "Not enough memory to indent file". Is that a problem with the file size, or my RAM? |
Author: | krishon [ Mon Dec 16, 2002 7:52 pm ] |
Post subject: | |
well, for the attacK thing, like in my rpg, just put a loop statement around the fighting area. therefore if the person screws up, it will just loop and go back to the screen b4 |
Author: | azndragon [ Mon Dec 16, 2002 9:13 pm ] |
Post subject: | |
krishon wrote: well, for the attacK thing, like in my rpg, just put a loop statement around the fighting area. therefore if the person screws up, it will just loop and go back to the screen b4
Well, I have loops everywhere, such as when you mess up on the initial command, the skills/magic/item, and the monster name. It was pretty hard to organize in the beginning, but now it's almost a second nature for me to include loops, because my program is case-sensitive. |
Author: | Tony [ Mon Dec 16, 2002 9:19 pm ] |
Post subject: | |
ya, I should try to remember to make the "not-case sensative input" DLL for you guys some time... I just don't have much time now Also, I still want an opinion if you guys think it would be reasonable to "sell" DLL files for turing. Such as files that would allow you to have input that is not case sensative or do some other cool stuff like text effects I got in source-code topic. Since i know that there're 3rd party companies that sell functions for programming languages as VB or C++. |
Author: | dehoogrules [ Wed Dec 18, 2002 6:46 pm ] |
Post subject: | |
I've got it all figured out now, and the battle system is complete. If I had more time, I would have implemented more than an intro movie, a battle, and an ending movie, but I'm strapped for time, and I still have to do both movies...Thanks for the help. Maybe I'll post some of my code later. |
Author: | krishon [ Wed Dec 18, 2002 8:32 pm ] |
Post subject: | |
ic, good work!!! u should add tony to ur msn list if u have msn, so u can send ur files to him through there. Then tony can post it up on the website and give it a review. |
Author: | Dan [ Wed Dec 18, 2002 8:47 pm ] |
Post subject: | well..... |
if you whont to subit your game you can: 1. send it to my or tonys e-mail 2. send it to me or tony throw msn 3. wate a few moths for me to add an upload thingy to the site. any way if you do whont to submit it ziping whode be a good idea if there are more then one file. |