Adventure Game Studio

Creative Production => Competitions & Activities => Topic started by: Icey on Mon 10/05/2010 23:42:15

Title: people who are good at RPG's or ags script's
Post by: Icey on Mon 10/05/2010 23:42:15
       
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



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.



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
(http://www.americangirlscouts.org/agswiki/Making_an_RPG_with_AGS)
Title: Re: people who are good at RPG's or ags script's
Post by: DrewCCU on Tue 11/05/2010 00:11:02
this does not belong in this thread.
Title: Re: people who are good at RPG's or ags script's
Post by: Icey on Tue 11/05/2010 00:20:44
i sort new that already but i dont see the one were you can start a team or something like that?
Title: Re: people who are good at RPG's or ags script's
Post by: Grim on Tue 11/05/2010 01:55:46
Oh, Icey is back!:)

Making Final Fantasy XIX, are we?
Title: Re: people who are good at RPG's or ags script's
Post by: Gilbert on Tue 11/05/2010 02:42:42
If you need help from people making your game post in the appropriate thread (http://www.adventuregamestudio.co.uk/yabb/index.php?topic=36479.0).

This forum is for authorised activities only.