rpg & OSD

Started by Icey, Tue 11/05/2010 03:09:10

Previous topic - Next topic

Icey

       rpg help
um...hey guy's i was thinking about put a type of rpg in one of my games but the coding is difficult because the example code is for a older version of ags & i cant work with it, now what i will do is make templet of the game & post it up for download but if you are interested let me no..cause i don't have the spair time to really do make this but i really do need the help



Code:

string mana;

string expweapon;

string expmagic;

string enemyhp; //this is the HP of your enemy. ignore it for now.

StrFormat (mana, "%d", GetGlobalInt (2));

StrFormat (expweapon, "%d", GetGlobalInt (3));

StrFormat (expmagic, "%d", GetGlobalInt (4));

StrFormat (dusmanhp, "%d", GetGlobalInt (5));

SetLabelText (0, 1, mana); //so the mana points will be shown in the GUI 0, Label 1)

SetLabelText (0, 2, exp);

SetLabelText (0, 9, expbuyu);

SetLabelText (4, 1, dusmanhp); //this code isn't too necessary for now. it is about another GUI, number 4.

So the variables in the game should have been displayed in the GUI.



Code:

if (GetGlobalInt(5) <= 0) {

GUIOff(4);

PlaySound(9);

NewRoom(30); //if the undead's HP is equal, or lesser than 0; then he dies and we go to another room in Asporia:Hidden Threat. You can use your own fight ending scripts.

}

else {

GiveScore(-3);

PlaySound(1);

Wait(20);

Display("Undead hit you"); //if you couldn't kill the enemy, it will attack you and you will lose 3 HP.


ags wiki rpg
   

Khris

Don't use that code. It's not only obsolete, it's very simple, and for anything similar to a Final Fantasy type game, you can't just start using some lines from somewhere else and add some of your own and be done.

Coding a decent RPG engine with AGS is not easy and you will need a better understanding of programming logic or you'll just fail, fail, fail.
I know I'm repeating myself, but seriously: stop. Either switch to RPGmaker or similar or get someone to do the coding for you. The third option is to sit on your ass for a few weeks at least and grind through a programming tutorial for a language similar to AGS, e.g. Java, C or C++. It is doable.

Btw, you should put some more effort into your grammar and spelling; as shallow as that sounds but posts like yours actually will stop people from offering you the much needed help.

Icey

 humm...well the only reason i even still use AGS is cause it was so easy to start working with, the only problem is i love a good RPG & AGS is hard to try to make a moving game like FF then have it jump into battle then back with out some sorta error. i mean i really do like ags, it can be really confusing & sometimes really easy, you know

GarageGothic

Considering that you've already made several games with AGS yet still struggle with the scripting, perhaps RPGMaker would be a better solution for you as Khris suggested. It does a lot of the stuff you need for an RPG out of the box.

Khris

Quote from: icey games on Tue 11/05/2010 13:46:11humm...well the only reason i even still use AGS is cause it was so easy to start working with

That is indeed the case, but having three-dimensional graphical effects is difficult with any engine except it has those built-in.
The Final Fantasy games are made by a team of probably at least 30 people, several of them professional programmers. If you ever want to finish a solid game, aim lower.
Don't focus on eye candy like screen transitions, instead learn about structs and custom functions, plan what variables you'll need for the battle system and try to build a working battle engine.

Or switch to RPGMaker.

Darth Mandarb

I second (third/fourth) the RPGMaker option. 

Not only is it a far superior program to AGS, it's vastly more simple to use.  Also, I know you'll find a happy home on their forums as well.  The people there are far nicer than the people here on the AGS boards.  For example; when you completely ignore their rules, they don't care!  When you repeatedly ask for help and then totally disregard every bit of advice that is offered, they love it!  When you are told not to do something (12 times) and then do it anyway (over and over and over...), they laugh and pat you on the back!

Sure, we'd miss you like crazy around these parts but sometimes a man has to follow his dreams.  Even if it means leavin' old friends behind.

Icey

i tried rpg maker it was hard & game maker! then i tried XNA i had to pay 100.00$ to get my game's on 360 & if i am having trouble with ags why switch to that? then i tried ds game maker for pmq.4 A 2D flip no success there so that's why i stick  with ags i don't want to make a 3d game ether i like my games in 2d.

Snake

I know I'm an ass, but, THREE CHEERS FOR DARTH!

I think if you all of a sudden decided to stop what you are doing and actually listen to at least ONE person on these forums, Pushpop, I think it aught to be Khris. You may think he's a jerk, but he's just sick of you ignoring every bit of advice that is handed to you. He gives it to you as plain and simple, bluntly and truthfully as you need to hear it, but it goes in one ear and out your left nostril.

Dig the peanut butter and vegemite out of your ears, SquareEnix, and listen for once.
Grim: "You're making me want to quit smoking... stop it!;)"
miguel: "I second Grim, stop this nonsense! I love my cigarettes!"

Khris

Quote from: Khris on Tue 11/05/2010 10:21:49Coding a decent RPG engine with AGS is not easy and you will need a better understanding of programming logic or you'll just fail, fail, fail.
I know I'm repeating myself, but seriously: stop. Either switch to RPGmaker or similar or get someone to do the coding for you. The third option is to sit on your ass for a few weeks at least and grind through a programming tutorial for a language similar to AGS, e.g. Java, C or C++. You will fail at that though so don't even try.

Icey

Quote from: Snake on Tue 11/05/2010 23:42:28
I know I'm an ass, but, THREE CHEERS FOR DARTH!

I think if you all of a sudden decided to stop what you are doing and actually listen to at least ONE person on these forums, Push-pop, I think it aught to be Khris. You may think he's a jerk, but he's just sick of you ignoring every bit of advice that is handed to you. He gives it to you as plain and simple, bluntly and truthfully as you need to hear it, but it goes in one ear and out your left nostril.

Dig the peanut butter and vegemite out of your ears, SquareEnix, and listen for once.

i do listen! and I'm ICEY GAMES not SQUARE ENIX i know your probably like "what ever" but i'ma stop before this get's locked. i under stand i cant make an rpg with ags OK big wop

Calin Leafshade

I actually think AGS is a pretty suitable engine for a modern JRPG.. FF8 for instance has a very similar style to that which AGS could deliver.

All the RPG elements are really pretty trivial to implement if we're honest.

Scarab

Quote from: Calin Leafshade on Wed 12/05/2010 15:56:51
I actually think AGS is a pretty suitable engine for a modern JRPG.. FF8 for instance has a very similar style to that which AGS could deliver.

All the RPG elements are really pretty trivial to implement if we're honest.

Keep in mind, Calin, that you are a fairly adept programmer (MariVania, AGSeggle, many of the visual effects in EU...), and this would be a struggle to code for many people.

Another issue is that seeing as the engine has to be made by one's self, there is a lot of forethought that would need to be put into it to make the whole thing come together, and a lot of things that can go wrong along the way. This is all stuff that the people at RPG Maker have already done for you (I would assume...), why learn coding for something that other people have already done?

Quote from: icey games, translated to English by me...
... what I will do is make a template of the game and post it up for download.
If you are interested [in coding this for me] let me know... because I don't have enough spare time to do this myself, so I really do need help.

Gee, that's so generous of you, offering to post a template that someone else made for you... you really shouldn't have gone out of your way...

There is absolutely no way you could do this with AGS without putting in a huge amount of time and effort into it. AGS is easy to use to make adventure games, because CJ has spent the last decade or so working to make it so. It is also very versatile, and thus non adventure games like this are vey possible, but they are by no means easy.

If you are not willing to put in time and effort into creating your own project, then why the hell should anyone else?

Ryan Timothy B

Quote from: Calin Leafshade on Wed 12/05/2010 15:56:51
All the RPG elements are really pretty trivial to implement if we're honest.

I totally agree.  Just requires forethought and an understanding of all important programming capabilities; you'd be surprised how many people don't know about, or even how to use, structs or arrays.

Atelier

Coding is the last step, after testing of course. You should be planning your game first?

Calin Leafshade

Modern JRPGs are just adventures with a stat system.. and a stat system is just a series of global integers for health and stuff.. Its really not that hard even for relatively novice coders.

Remember I've only been doing this coding thing for about 7-8 months (and only about half of that on a serious basis) or something with very little programming background and my McCarthy RPG engine is pretty much finished so it can't be that hard.

Darth Mandarb

No no ... AGS is definitely not for RPGs.  Definitely not.  No.  Not.  **shakes head**

** winks **

** nods knowingly **

Mr Flibble

Ah! There is no emoticon for what I'm feeling!

Calin Leafshade


Snake

#18
Keep quiet, Calin! We already know you have vast knowledge of just about everything, shhh! You'll ruin the plan!
Grim: "You're making me want to quit smoking... stop it!;)"
miguel: "I second Grim, stop this nonsense! I love my cigarettes!"

Calin Leafshade


SMF spam blocked by CleanTalk