Charas-Project
Game Creation => Requests => Tutorials => Topic started by: redwallmax on October 02, 2007, 06:55:57 PM
-
alright so because gaming world is down i was wondering if anyone could help me come up with a skill system similar to FF9 meaning when you equip a weapon or item it comes with a skill and you learn the skill from the item....thanks in advance
Max
-
Well, that's not all that ahrd to do, really.
Go into common events and make an event named after a weapon. For this, we'll use Dagger for the weapon, and Zidane for the main character.
Now, make it, if Dagger is equipped to Zidane and give it an else condition. If so, then give him the Flee skill. For the AP, make it equal to 0 at first, and decide how much AP each monster will give. Make a new branch in the else condition of the first to check and see if Flee has the necessary AP to be available permenently. If it does, then leave it be, if NOT, remove the skill from the characters list. See example coding below:
If [Dagger] is equipped to Zidane
> If [FleeAP] Equal to 40
>>
>Else
>>Add Skill: Flee to Zidane
>>
>End
Else
> If [FleeAP] Equal to 40
>>
>Else
>>Remove Skill: Flee From Zeidane
>>
>End
End
-
thanks so much i rely appreciate it and this just gave my game that edge i was looking for :)
Max
-
No problem. It's a good system if done right, and it's not all that difficult to do and explain, so I was happy to help.
-
so im having the problem when i try and learn a new skill it wont let me. What i mean is that ill learn the skills from one of the weapons but then when i change weapons i dont learn the skills associated with that weapon....what am i doing wrong
Edit: Nvm i figured it out
-
lol, in ff9 you don't learn the skill until you gain the necessary AP, so that's how I made it ^^
-
okay so ive gotten the whole system written out now but now i cant figure out how to add ap only to the skill that the item equipped activates because if i add it to all skills i cant learn them because it confuses the system. Think you can help me out?
-
I'm not at my computre, so I can't check this for sure....but I believe you can check to see if characters have skills learned. You may be able to use that, and check to see what skill is equipped, then add to the equipped skills if they are.
Example:
If Zidane knows [Flee]
> If Flee is AP is equal to or above 40
>
> else
> Add 1 AP
>
> End
End
-
once again youve saved my game dragoon and i thank you
-
I was happy to do it ^^