Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

RMXP help is needed, XAS item

hello again :lol:

So heres my new question :

in XAS, when you use a item such as `potion` you get the animation thingie from ferraments

but if you make a new item trying to make it a potion it won`t work (as i tought)


So can anyone tell me how do i make a new item for example, a fish that will be useable and will do the regular potion animation thingie



THANX THANX :thumb: :tongue: :tongue2: :smile:
 
Read the tutorial, it tells you all you need to know about item tools. You need a new scriptlet, skill, and tool for the item, and also you have to define it in the main XAS script.

If you still need help, look at the default potion in the demo.
 
Yea I remember my first time configuring XAS ABS. It was a bit hard. Follow the tutorial that's all you need to know. I'd explain here but it could take a while. If you're still having problems I'll give you a detailed explanation.
 
@MrTBB & dearjym - what version of XAS are you using?

If you are using the lastest version of XAS (3.6)

then the "Item Use" animation_id is 165
(in your database / animations tab)

to assign an animation for an item

simply go into the script for your "new item"
and type in the 'animation_id' for this line of code.

Code:
SELF_ANIMATION_PLANS[action_id] =  []

to be...

Code:
SELF_ANIMATION_PLANS[action_id] =  [165]

or are you looking to use the default pose and animation when used?

then change
Code:
SELF_MOTIONS[action_id] = ""

to be...

Code:
SELF_MOTIONS[action_id] = "_SKILL_01"

that should do the trick! ~g/A\/\/\|E|F/A\(C|=

edit: http://xasabs.wordpress.com/category/overview/
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top