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.

XAS Action Rpg System (Secret Of Mana Styled)

hmm...
how i put the item id in the  script? i don't know to to put it
and if i wan make the potion that i make dropped any where or get it from a Treasure box...how i do it?

module Database_Bullet
  action_id = 8
  SUFLAGS[action_id] = 60
  DURATIONS[action_id] = 80
  SELF_MOTIONS[action_id] = "_SKILL_01"
  plan = []
  plan[30] = action_id
  ATTACK_ID_PLANS[action_id] = plan
  ATTACK_RANGE_TYPES[action_id] = SQUARE
  ATTACK_RANGE_PLANS[action_id] = [2]
  BLOW_POWERS[action_id] = 0
  plan = []
  plan[1] = 105
  SELF_ANIMATION_PLANS[action_id] = plan
  SELF_DAMAGES[action_id] = true
  PLAYER_DAMAGES[action_id] = true
  IGNORE_INVINCIBLES[action_id] = true
end

this is the script of the normal potion that in the demo..

Edited:
my enemy don't hit when u copy it in other map
i tried to put the enemy sensor to 4 but it didnt work

note: The enemy works Fine in the demo

sorry for bothering but..i hope u help me   :down:
thanks again
sorry for my bad english
 
I suggest you really read the basic tutorial, all you need to know is in there.

It states clearly that on the second line, "action_id = x", you replace x with the tool ID.
Then in the script "XRXS - XAS", find the lines
Code:
module XAS
   ITEM_COST = {
   A=>B

Where "A" is the ID of the tool, and "B" is the ID of the potion in the database.

Hope this helped.
 

Taylor

Sponsor

Is it possible to speed up attack animations? The character sprite ones? The speed the player sprite swings the sword seems too slow.
 
@Jirbytaylor: I'm not really sure, there's probably something somewhere in the script.

@XDarknessBoyX:
The tool ID is basically the event ID on the "Tools" map. Create a blank event, give it an animation or graphic (you can probably leave it blank if it's a potion), and remember the ID number it tells you. Then in the scripts, put that number in the section I said above.
 
In Database->Items, make the Occasion "Only from the Menu."

You know, why don't you just copy-paste the Potion item in the demo, and adjust the amount of HP it heals?
 
I put the scope on " one ally "
now i can use it only from the menu and the item won't disapear
i want it useable in the short cut and make the item disapear
 

Star

Sponsor

Go to
Item Cost = (
and change
Gig Pots to 3=>9

Action ID = Fermentas Event ID
Item ID = Item Number on Database

Also setup a skill for Gig Pots in Skills in Database
Item Number must = Skill Number
 
Thanks alot but...
how to make the potion that i make go to the shortcuts?
i tried the "Q" and i tried going to item list and press "C" but it didm't work
 

Star

Sponsor

XDarknessBoyX":1ct30yrd said:
Thanks alot but...
how to make the potion that i make go to the shortcuts?
i tried the "Q" and i tried going to item list and press "C" but it didm't work
If you have it set up right.  You should be able to go to the menu and press c on the item. Then exit the menu and press D to use Item
 

Star

Sponsor

XDarknessBoyX":ctvwznyv said:
If u press " C " It will tell me to witch char i wan use it...

i mean it wont go to the shortcuts
Go into XAS -XRXS Script and find
XASITEM_ID = {
Put a comma after the last one then press enter and add in
9=>3

Number of the Item => Event ID on Fermentas

Then under the item menu in Database. Change the Item's Occasion to "Always"
 

Taylor

Sponsor

Err... It seems the speed of player attacks are as fast as they can go, under normal animating for events and player alike. The only way to make them faster is through a Move Event:
Change Graphic
Wait 1 frame
Change Graphic
Wait 1 frame
And so on.

So to cheat this I just increased the frame rate to 60. |B

Bleh, anyone else finding having to keep Skills/Tools the same ID as their projectiles in the projectile event map sometimes irritating? Ah well... just gotta remember to keep them matched when creating/arranging skills I guess.
 

Star

Sponsor

XDarknessBoyX":y1p10yx5 said:
i still can't make the item go to the items shortcut...

sorry for bothering but help plx
Well now i'm lost.  Can you send me a Megaupload or Rapidshare or FileFront.  or somekind of site that transfers lots of data of your current project so I can figure out what's going wrong?
 

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