XAS Action Rpg System (Secret Of Mana Styled)

on this thread, go to page 23...
Hackle had posted a "superwalk" script made by Zeus81.
(unfortunately it doesn't work with the latest version of XAS.)

~g/A\/\/\|E|F/A\(C|=
ok so i am completely scripting illiterate, and need some quick help with one function!

how can i disable gameover for one fight but have it set a switch when i am dead?
the site (link below) goes into minor detail on how to do it but no matter what i try for call script i cannot get this to work. any help would be greatly appreciated! thank you

http://www.atelier-rgss.com/RGSS/Battle/XAS_02a.html
@zkhammer - Ok, real quick one:

Go to the BATTLER script - search for "AUTOGAMEOVER" and put this to false.

GAMEOVER_SWITCH_ID = 4 as default.

Now go to the Database and create a common event:

Name - Gameover
Trigger - Autorun
Condition Switch - 4

Within the common event put whatever you want, remembering to "recover all" first, as the gameover will loop otherwise and don't forget to switch off the "Game over" switch at the end.

If you want it to happen just the one time, with auto-gameover the rest of the time you need to put a conditional branch within the common event which looks like this:

Conditional Branch: Switch [X: BOSS] == ON

Recover ALL

[Put in here whatever you want to happen when the boss defeats you.]

Control Switches 4 OFF
Control Switches X OFF

Else

Script - "$scene = Scene_Gameover.new"

Control Switches 4 OFF

Branch End


Get over to http://xasabs.wordpress.com to enter the PUZZLE CONTEST there is just over a week to get your entry in - still loads of time if you start now - Rules and Info are up on the site - enter now for your chance to win £10 ($16.50).
Mmmm... a little question XD i've notice that you can't use all of the 8 frames for the Attacks graphics...
The Character is properly splitted... (is devided in all the frames mentioned in the [x] part... but only the first 4 are played... the other ones can't be displayed)...
do you know why? XD
I think you forgot to rename ya file with the number of animations to play..?
For Example, your file is named "Hero.png" and you want it to play 8 frame-animations, you have to rename your file into "Hero[8].png" The number in the square brackets is the number of frames to play within the file.... it can also be 16, or 1.. but you have to change the number inside of the square brackets...
Hope it will help ya..

Greetz..
Mmm.. i think you haven't understand :*
Sorry XD maybe i haven't explain myself well...
When in the Script list you create a new skill...
there's this line: SELF_MOTIONS[action_id] = "_BOW_02"
this is an example... if i put something like this:
SELF_MOTIONS[action_id] = "_BOW_02[8]"
the graphics appear right... the frames are splitted in the right way... but only the first 4 are displayed...
Mmm.. i think you haven't understand :*
Sorry XD maybe i haven't explain myself well...
When in the Script list you create a new skill...
there's this line: SELF_MOTIONS[action_id] = "_BOW_02"
this is an example... if i put something like this:
SELF_MOTIONS[action_id] = "_BOW_02[8]"
the graphics appear right... the frames are splitted in the right way... but only the first 4 are displayed...
Mmm.. i think you haven't understand :*
Sorry XD maybe i haven't explain myself well...
When in the Script list you create a new skill...
there's this line: SELF_MOTIONS[action_id] = "_BOW_02"
this is an example... if i put something like this:
SELF_MOTIONS[action_id] = "_BOW_02[8]"
the graphics appear right... the frames are splitted in the right way... but only the first 4 are displayed...
Woaw, posting every 1 : 2 minutes the same thing... I hope it has been a bug.

Anyway: You just have to name you character player[8]_Bow_02
the script will understand that this char has 8 frames -> [8]
and will understand too that it has to use this character sheet for the _Bow_02 animation.

Hope I could help

~Ragnai
Fenwick, somewhat-not-really-about-this-ABS-ish, is there a slight little tiny puny chance that the hookshot thingy tool (because I love it =)) could be used... WITHOUT XAS?

Because I don't really want an ABS game, but I do want a sword that slashes through grass, and a hookshot that shoots hooks =P


Oh aaaaand if that cannot be done, can somebody please tell me how to magically remove the stats icon: with the face of Aluxes, and his hp and such, and return the NORMAL menu, instead of those 2 boxes that show up magically? And make the battle system normal =p

I AM BEGGING YOU =O
@mining gast - Fenwick LoreCarver's hookshot IS an XAS tool that he has custom made for this awesome ABS.
- if you don't want an ABS game but you want to use ABS features...
(like using a sword to cut grass and a hook shot that hooks...
then design your game as so, you don't have to use everything in XAS.)
- as for the status icon and all of the other features you don't want to use...
disable the HUD. the default switch is set to 5.
(just set that switch to off through an event)
- and last if you want to use the original battle system for RMXP with XAS...
it's entirely possible, but it will require a few script edits
and configuring your database for items,weapons,skills, enemies and troops.
go to page 28 in this thread... luckily I figured it all out.

~g/A\/\/\|E|F/A\(C|=
thank you calvin624! it works like a charm, and now i am able to release a demo soon!

edit: im loving the shoutout on wordpress, i feel like ive accomplished something today
Glad I could help zkhammer, I look forward to seeing your demo :)

Get over to http://xasabs.wordpress.com to enter the PUZZLE CONTEST you have 4 days to get your entry in - still loads of time if you start now - Rules and Info are up on the site - enter now for your chance to win £10 ($16.50).
Glad I could help zkhammer, I look forward to seeing your demo :)

Get over to http://xasabs.wordpress.com to enter the PUZZLE CONTEST you have 4 days to get your entry in - still loads of time if you start now - Rules and Info are up on the site - enter now for your chance to win £10 ($16.50).
Is there any way I can make a weapon in % less or more effective against an enemy?
Something like: Weapon ID5 makes 20% more/less damage on enemy ID x, y,z,a,b,c aso.?

Thanks in advance.

~Ragnai
@Ragnai - You can kinda do this using element efficiency, don't let the name fool you, this doesn't have to be elemental based - what's more, you can create a single group to use with a number of creatures.

Quick walk-through:

Go to the "System" tab in the database.

Create a new Element Name - "flying" for example.

Common sense tells us that bow and arrow weapons would cause more damage to flying creatures so go to the "Weapons" and "Skills" tab and click the check box for "flying" for the weapon(s) you want to have this effect.

Then go to the "Enemies" tab and select the efficiency for "flying" -

A:200%
B:150%
C:100%
D:50% (half damage)
E:0% (immune)
F:-100% (absorbed)

You can change these percentages in the original rpgmxp scripts - go to the "Game_Actor" script, line 113 lists the effectiveness percentages.

Become part of the growing community over at http://xasabs.wordpress.com
Omg, so obviously but such a good idea, thanks a lot calvin :D

~Ragnai
You're more than welcome Ragnai.

Get over to http://xasabs.wordpress.com to see the most recent blog posts including "how to create a new item" and "How to configure Enemy item drops …" - enjoy!
Hey! This is an awesome script. And I have a question...

How would i make it so that my character could move around using the W, A, S, and D keys on the keyboard rather than using the arrow keys? W for up, A for left, S for down and D for right.

I know this script has tons of capabilities but I don't really need a whole lot of the features for my game. My game is simple shooter where you run around, using a gun (with ammo) to kill stuff. It's more of a modern day survival horror type deal. So anyway, is that a possibility?

If the W, A, S, and D keys are already assigned to do something in the script can they be disabled or something so that I can move around with them instead?

Thanks!
Hey Swick,

This can be done - it requires some script editing but its simple enough.

The MISC script configures the items and skill buttons (pay attention to the key at the top of the script).

The XAS SYSTEM script itself sets the movements for the character, I suppose you'd just have to replace 2 (move_down), 4 (move_left), 6 (move_right) and 8 (move_up) for the buttons you wish to use.

Seems like a lot of work to go to to change the direction buttons.

Get over to http://xasabs.wordpress.com to see what's going on.
Well I tried messing around with the script (believe me I suck at that kind of stuff.)
What do I have to replace the 2, 4, 6, and 8 with exactly?

Also I tried using AWorks Input Module with the script, it seems to work for the menus but not the actual character.
@ Swick - I've no idea. I just had a go and came up with nada.

I'm not familiar with the AWorks Input Module either, my understanding is that any editing relating to the movement of the character has to be done within the XAS SYSTEM script as this will override any addition script you add.

Hopefully someone here will be able to help you with that.

If not, why not try another ABS? You said you wanted something fairly easy - Behemoth's projectile ABS (just google it) is pretty straight forward, it might be more what you're looking for.

A "How to make a new state ..." tutorial has been added over at http://xasabs.wordpress.com
calvin, is it possible to have more playable actors in XAS? I might as well use that battle system in other game...
There is a script I came across the other week, it needs some tweaking but its possible - http://www.rpgrevolution.com/forums/ind ... opic=35147

There is Hackel's ALLY script also - but I don't think that is any longer compatible with 3.6.

Hopefully Moghunter will add this feature himself in the future.
Well, I'll just wait for Mog's official rendition of multi-actors, and plus... 3.6 doesn't let me go to the menu, when I press ESC.
@Eriol Clowphengire - Yeah that's deliberate because the Q and W keys can be used to equip your weapons, items and skills.

If you look for "Change Menu Access: Disable" in the events - its in pink writing - if you change that to "Enable" or delete it all together it should allow you to access the menu.

A "How to make a new skill ..." tutorial has been added over at http://xasabs.wordpress.com
I have two questions:


Are things such as the Overdrive drive system, right-hand side Combo bar thingy, AP etc capable of being disabled without affecting the rest of the project?

And;

How would one go about simplifying the controls and equip-able items schtick? - I'm enjoying this, but I'm thinking it would be easier to have, alongside the defensive option, simply a "left hand" and a "right hand", and being able to equip a weapon, tool or spell to either slot.
@Eriol - here you go pare' ^,^
It's brand spankin new and a work in progress but I'm down to just a few lines of code to change the items/skills,
other than that it works like a charm.
Content Hidden Spoiler
  1. ################################################################################
  2. #
  3. #                              XAS Change Leader
  4. #                                    v 0.2
  5. #                            by (G/A/M/E/F/A/C/E 101
  6. #                                  10-5-2009
  7. #
  8. # v 0.3 - temporary setting to clear equipped item or skill
  9. #        (currently working on having shift equip actor specific skill/item)
  10. #
  11. # v 0.2 - two button configuration to leave default buttons as is.
  12. #      - sound effect and animation when shifting leader
  13. #      - refreshes game so XAS will register new Leader
  14. #
  15. # v 0.1 = one button to shift leader
  16. #########################################################################[CLASS]
  17. class Scene_Map#-------------------------=[main scene for any ABS]
  18. alias swap_xas_leader update#------------=[alias method for compatibility]
  19.  
  20. def update##############################################################[UPDATE]
  21. swap_xas_leader
  22. if Input.press? (Input::A) and Input.press?(Input::X)#two buttons to switch!
  23. $game_system.se_play(RPG::AudioFile.new("009-System09", 100, 100))#---=[sound fx]
  24. #$game_system.se_play(XAS::REFLECT_SE)#----------------------=[sound when shift]
  25. $game_player.animation_id = 220#-------------------------=[animation when shift]
  26. xas_leader#---------------------------------------------------=[load xas_leader]
  27. end#----------------------------------------------------=[end update definition]
  28.  
  29. def xas_leader#------------------------------------[define how to change leader]
  30.      
  31.       last_act = $game_party.actors.shift #define how to shift actors
  32.       $game_party.add_actor (last_act.id) #shift leader to last act
  33.       $game_player.refresh #refresh actors new sequence
  34.       $game_system.xas_skill_id = 0 #to clear equipped skill
  35.       $game_system.xas_item_id = 0 #to clear equipped item
  36.       $scene = Scene_Map.new#refresh game for new leader to be XAS active]
  37.  end#------------------------------------------------=[end global variables "$"]
  38.  end#-----------------------------------------------=[end xas_leader definition]
  39. end#---------------------------------------------------------------=[end it all]
  40.  
  41. =begin
  42.  
  43. XAS script NOTES:
  44. #$game_system.xas_skill_id = 1#-------------------=[skill that will be equipped]
  45. #$game_system.xas_skill_index = 1 #--------------------=[refer to skill index 1]
  46. #$game_system.xas_item_id = 1 #--------------------=[item that will be equipped]
  47. #$game_system.xas_item_index = 1 #----------------------=[refer to item index 1]
  48. #$game_system.xasovd_lv = 2 #----------------------=[set player overdrive level]
  49.  
  50. =end
Expand to see the code.

you can also find it here...
viewtopic.php?f=155&t=67470

@Incognitus -
Quote:
Are things such as the Overdrive drive system, right-hand side Combo bar thingy, AP etc capable of being disabled without affecting the rest of the project?

these features can easily be disabled by setting their assigned switch to: OFF
which is SWITCH_ID = 8

you can also assign a different switch for each if you want to disable/enable them separately.
press F11 - go into your script database
and just change the number for the Switch to whatever switch you would like to use.

for MOG - XAS_Overdrive Script:
  1. XAS_OVDVIS = 8
Expand to see the code.

for MOG - XAS_Bonnus_Gauge Script: ('right hand Combo bar thingy')
  1. XAS_BG_DISABLE_SWITCH_ID = 8
Expand to see the code.

and for MOG - AP Parameter Script:
  1. AP_HUD_DISABLE_SWITCH_ID = 8
Expand to see the code.


as for your second question, I am unclear as to what you mean by simplifying the controls..."?"
do you mean reassigning the buttons? or customizing tools??
or only having two slots to equip???

In a sense, weapons go to one hand and shields go to another...
and if you really wanted to make a "weapons master"
you can make custom TOOLS so that an Item is a weapon
and a Skill is a weapon. ^,^

~(G/A\/\/\|E|F/A\(C|=
gameface101 wrote:
@Incognitus -
as for your second question, I am unclear as to what you mean by simplifying the controls..."?"
do you mean reassigning the buttons? or customizing tools??
or only having two slots to equip???

In a sense, weapons go to one hand and shields go to another...
and if you really wanted to make a "weapons master"
you can make custom TOOLS so that an Item is a weapon
and a Skill is a weapon. ^,^

~(G/A\/\/\|E|F/A\(C|=


Your reply is confuzzling me!

I think I know how to change the keyboard controls. (It helps that Calvin has a guide too!)

I'll illustrate where I want to end up: That should help with clarity. I think you may have addressed my question... I... uh... just want to make sure I understood your reply. :blush:

I'm doing to move "Shield" onto the shift key, then have Z and X being used to attack with whatever is equipped - be it a weapon, a tool, item, or a spell. It would be possible to equip a weapon to each slot, or a tool, item, etc (so long as they weren't the same item, naturally).
I intend to move the menus onto A and S respectably.

Clearer? ;P
Quote:
Your reply is confuzzling me!

confused + puzzled = I was confuzzled by your reply too,
(I'm so going to use that)and yes Calvin624 is the XAS tutorial man!
You have made yourself much more clearer
but let's recap your configuration request.

Incognitus Config:
[Caps][A][S] = A & S-(quick menu)
[^Shift][Z][X] = Shift-(Shield) Z-(weapon 1) X-(weapon 2)

XAS has four slots to equip TOOLS.
(weapons,shields,items,skills = per database)
in your configuration you only mention three.
one more slot still remains...
other than changing the assigned input triggers (keyboard controls)
it's going to require customizing new tools if you intend to use
two weapons (such as two swords, for example)
so whatever slot you're going to substitute to be your second weapon (items?/skills?)
is where you need to configure your custom TOOLS. (secondary weapons)
and for every TOOL you must:

Create an event on the TOOL map
Create a script in the Script Database (F11)
Edit the ITEM or SKILLS script (both if its a weapon that uses ammo)
and configure under the necessary tabs in the Database (F9)

hope this is less confuzzling, if so let me know... ^,^

now to clarify my reply ~
I have made all types of custom TOOLS for ITEMS and SKILLS
from a combat knife, chainsaw to grenades...
where the chainsaw is equipped like a sword.
and for the shield I just changed the graphics
so that the hero blocks with the chainsaw
the grenades are equipped like potions.
and the combat knife is equipped like a spell
that doesn't require any SP.
(a weapons master... weapons only)
I was just wondering if that was what you were aiming for...

~(G|F

Original thread: https://www.hbgames.org/forums/viewtopic.php?t=36855