Update: Please Read Concerning The Battle System!!

Started by TheGoldeagle, Thu 12/08/2004 18:48:16

Previous topic - Next topic

TheGoldeagle

Sorry Guys, I am no longer working on the battle templete. I am however going to continue makeing Dragon Scape. I have found AGS to limiting and I cant do hat I want. I will be writeing everything myself. Sorry again.
Games In Production:

Dragon Scape:

Link Comming Soon...

MrColossal

#1
Didja check this thread out?

http://www.adventuregamestudio.co.uk/yabb/index.php?topic=13649.0

I don't really understand the question being asked but all of this is possible in AGS it will just take a lot of scripting.

Since this is all rudimentary RPG stuff it would be easy. Keeping track of stats and all. Displaying it for the viewer is where the design and patience comes in. Seperate GUIs for everything and designing them and coding them, a large task indeed.

If you're new to AGS I'd try scaling back the features a little and just work on making the character move about and set up it's stats.

Hell if you're not new to ags I still suggest scaling back the features and adding them much later when you have a majority of just the core engine done.

eric
"This must be a good time to live in, since Eric bothers to stay here at all"-CJ also: ACHTUNG FRANZ!

TheGoldeagle

I am somewhat new to AGS. But I am not new to programming. Our game needs these and I am willing to work hard to make them. Even if it takes months. I have alot of time on my hands. I was just wanting to know if anyone hand any ideas how to make a battle system. If not I will go off of what I know. As I am not but about 50% familiar with AGS I dont know what would be better at makeing a Battle system.

I have checked that link out. I find it only contaning information regarding if it is posible to make one. Not how.

TheGoldeagle
Games In Production:

Dragon Scape:

Link Comming Soon...

SilverWizard_OTF

You can use the Random(int max) script command, to make a battle system.
  When its values are e.g. 1,3,5,7,9 then the monster hits the player.
   When its values are e.g. 2,4,6,8 then player hits the monster.

And when player gets an armor, then maybe one possibility oh hit (e.g. 1) is disabled (because he will be stronger).
Well, you can place this code to repeatedly_execute, for to have a battle system like Quest for Qlory.

I think this script command will help you.
"All we have to decide is what to do, with the time that is given to us"

Pumaman

You won't tend to find instructions on "how to make a battle system" because they vary so widely from game to game, there is no generic battle system code - it really depends what you want to do.

Once you gain a good understanding of the script language, you'll work out how to create this sort of thing. It is certainly possible - various games have done it.

SilverWizard_OTF

Have you thought to emulate Dungeon & Dragons battle rules to AGS?
With Random(int max)  script function that i told you and some other things that you have represented (Hero's stats) i suppose it wouldn't be so difficult to be made.
   
"All we have to decide is what to do, with the time that is given to us"

TheGoldeagle

I have not focused on just a set of "rules". I will be makeing this to be a gerneric battle sysytem that is fully costomizable by the user.
Games In Production:

Dragon Scape:

Link Comming Soon...

SilverWizard_OTF

You can make it a bit turn-based.
   You know, first e.g. the player attacks, then monster, then player....
It would be nice by this way too.
Personally i do not like Quest for Glory fighting style,  in my opinion it is a little "flat". It would be better if it was turn-based.
"All we have to decide is what to do, with the time that is given to us"

TheGoldeagle

Most likely it will be turn based with options as like:

Attack with sword, defend with shield, etc.

The mosnters will also randomly do difrent things includeing useing items on you.
Games In Production:

Dragon Scape:

Link Comming Soon...

Goot

#9
You'll need to make a bunch of integers for the player's stats and stuff which can can display on a GUI with lables (when you open the GUI, set each lable to the guy's status) If you want the player's health or some other stat always above the guys head you can use a text overlay or raw functions. Check those out in the manual. You'll need integers for the monster's stats too and when you use an inventory item on him you can have a script like:
if(character[GetPlayerCharacter()].activeinv==x){//x is the
//weapon number
if(monsterarmour<damage){
monsterhealth=monsterhealth-damage+armour;
}
}

then when it's the monster's turn, you can do

int random=Random(3);
if(random==0){
{one possible attack here}
else if(random==1){
{another possible attack here}
and so on...

something like that should work, depending on how exactly you want it to work.

TheGoldeagle

#10
I like the idea of haveing the health over the user. I will look more into it. Thanks for the suggestion. I was planning on doind allmost exacly what you posted. Of course a little more in depth. I have yet to start scripting as I find creating a AGS plugin a little confusing. I however hope to start soon. Thanks again for the input. BTW the name of the plugin will be:

TheBP (The Battle Plugin)

AGS_TheBattlePlugin.dll

Would a .dll file be better or a templete with all coding in it?
Games In Production:

Dragon Scape:

Link Comming Soon...

Ben

I don't see why you need a plugin. All the stuff you mentioned can be done natively in AGS, it just takes some scripting knowledge. I think it would be much easier to script a battle system than it would be to write a plugin. Just keep working in AGS, and eventually you'll get more comfortable with it..

Moox

Im already in the final phases of my AGS RPG engine, Why make a plugin

Akumayo

Mabye you should download my game, it is an RPG that is turn based and used GUI's, you could probably tweak your own system so that different items/weapons would be available I am willing to give you a basic rundown of how it works if you are interested.... then you could tweak it....
here is the link to my website, the game (in progress) can be downloaded there, it is Batling:Ã,  Rise to Power demo A

http://www.geocities.com/liberationcompany/liberationcompany.html
"Power is not a means - it is an end."

TheGoldeagle

I will check yours out. However I will be writing my own. As fars as your RPG engine I will not stop createing mine jsut beacuse you have one "allmost done". I will write my as I need it. If I like yours whenever you relese it I might use it. However I will write my own untill then.
Games In Production:

Dragon Scape:

Link Comming Soon...

Moox

What? I was just saying its possible in scripting, not quit what your doing

TheGoldeagle

I was not saying you said to quit. But you did say why not wait untill mine is out. There was no reason for you to say that that I could think of.
Games In Production:

Dragon Scape:

Link Comming Soon...

Pumaman

LostTraveler was simply stating that he's managed to write one with scripting, so it's not necessary to do as a plugin.

Also, TheGoldeagle, could you please check your signature image against the rules for sig image size (600x50 max).

TheGoldeagle

I did not know it was a rule. Can you please show me were it says I must have it that size. I decresed the size a little. But anymore will make it messed up. I will work on getting a difrent longer one.
Games In Production:

Dragon Scape:

Link Comming Soon...

Gilbert

* Gilbot V7000a is too lazy to dig up rules.

Anyway, anything Pumaman said are rules.

SMF spam blocked by CleanTalk