hey, i was wondering, how do i make skills/powers/jutsus for the players on my game?
![]() Feb 6 2013, 6:46 pm
Best response
|
|
By reading the guide, learning the syntax with a little bit of trial and error.
|
i was having this problem to but just remember if u have a problem there is the guide and or demos cause people on here wont help u at all so here a little code looking way but i suggest go to demo and look up action-rpg-framework
Ability MeleeAttack name = "Melee Attack" icon_state = "ability-button-melee-attack" description = "Deals damage to a single melee target." animation = "attacking" cooldown = 40 |
Bobohoho9 wrote:
i was having this problem to but just remember if u have a problem there is the guide and or demos cause people on here wont help u at all We help those who help themselves. When we tell users seeking help to read the guide or reference, we're not doing so because we don't want to help: we're doing so because it is the best course of action for the user to receive help. The reference almost always contains an example of the procedure or variable it is explaining, and the guide covers the syntax and semantics of the language. We try not to just directly give people entire systems, because users will just copy and paste said code without really taking in or learning what the code does. It also sets a precedence of "well if i need something, i'll run to developer help!". We try to push people in the right direction by helping them learn how to do something for themselves, rather than give them everything and teach them nothing. Rikashi Uzumaki wrote: hey, i was wondering, how do i make skills/powers/jutsus for the players on my game? There are a lot of ways you could handle this. One way would be to create objects* that hold information about a skill and define its functionality, then give players these skills. For example: // Example code. Not for actual production use. * objects refer to an instance of a class and not necessarily to the /obj type. |
LordAndrew wrote:
Bobohoho9 wrote: > // Example code. Not for actual production use. * objects refer to an instance of a class and not necessarily to the /obj type. okay but still yall complain alot and probally dont understand that not everyone can learn from reading the dm guide somepeople come here to have it simplized |
Lets not have a disagreement about dev help styles here please, try to keep to the OP's topic.
|
The developer guide is actually useful and there's also alot of tutorials nowadays compared to about 5 years ago learning now is at its easiest. Trial and error is the best way to make a skill but the basics involve.
1. Get an icon for the skill 2. Create a verb that will use the skill 3. To fire it look up new 4. To make it move look up all the walk/step procs such as walk/walk_towards/step/step_towards. 5. Lastly but not least look up Bump for objects to deal damage etc. These are the basics of a skill there's many more ways to handle these things. We can help you fix code or give you direction, but we won't just make skills for you at the drop of a hat, that's not the point of a forum its developer help not , code my game. Feel free to throw us code that you haven't succeeded with and we can help. |