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)

Link in Pink":3n62v0wq said:
GOT2MOVE":3n62v0wq said:
how do I activate switches after boss has died? i can't find it in the script

Find this section in XRXS- XAS

Code:
  DEFEAT_SWITCH_IDS = {
  8=>57,   #Great Bird     - Fim do tutorial.
  9=>57    #Great Bird L2  - Fim do tutorial.  
  }     

To add another switch simply put a comma after the last item and on a new line put this in:

ID of enemy (according to the database)=>Switch Number you want activated when the boss dies.

So your finished code will probably look similar to this:

Code:
  DEFEAT_SWITCH_IDS = {
  8=>57,   #Great Bird     - Fim do tutorial.
  9=>57,    #Great Bird L2  - Fim do tutorial.  
  10=>91  #Boss
  }     

That code means that when the 10th enemy in the database dies, switch number 91 will be activated.

Hope that helps.

-Lip

thankyou very much for this it helped alot :D

EDIT: I also joined up at the forums
 
I cant create new monsters or items!

I know you have to put a "," after every set of code for a new string
but i get the new monster working to the point that they attack me, but deal no damage and i cannot attack them.
much like a fly buzzing around.

And the new items, i get to the point where it appears on the hotkey list but when i try to use it i get an error message!

please help...
 
Well, im pretty sure i can just describe it.

I want to create a new monster.
I know that each monster has Name_Action for the sprites

so Archer_ACT.bmp etc

Now, in the events that are the enemies on the map, the 2nd page is where you place the mosnter ID #

The monster ID # is equal to the number of the monster in the databse.

I have followed the default layout of other monsters as closely as I can, I just need to know what I missed.
 
LIP seems to be the enemy expert, guess we'll have to wait for him then.

But did you make sure the enemy was in a troop? I think you need to do that.
 
To set up a new enemy, a few things must be done.

First you have to set up an enemy in the Enemy tab of the database.

http://i73.photobucket.com/albums/i218/ ... onfig2.jpg[/img]

Whatever ID that Enemy is, you must the same ID number in the Troops Section.

http://i73.photobucket.com/albums/i218/ ... onfig3.jpg[/img]

And finally take that same number and add it into XRXS-XAS like so. First you input the ID number, and then the death animation. My example is 10=>135.

http://i73.photobucket.com/albums/i218/ ... onfig1.jpg[/img]

And then you make an event with Variable 4 activating the enemy, but it seems that you know that part ;)

Hope that helps.

-Lip
 

Star

Sponsor

legacyblade":o4a3du3r said:
I understand it now! We should band together and make a tutorial on how to use XAS!
Lol, if you didn't understand, why didn't you ask. XD 

ALso.. Joining the forums.  I know XAS almost insideout now, but not well enough to go around scripting.  Just to operate it to it's fullest potiental.  Thanks to you guys of course.
 

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