Welcome Guest ( Log In | Register )

[ Big| Medium| Small] -



Post new topic Reply to topic  [ 22 posts ] 
    pez
  Thu Sep 17, 2009 11:58 am
User avatar
Member

Hello Again,

I'm just having a lil trouble with what I am trying to achieve, hopefully someone here can help me again...

Below I have Two links and a Script
-XAS Battle Script
-An Extra Set of Actor Graphics for XAS Hero
-Modified DoD Change Leader

The Problem I Having is....
Is when the Leader Changes, the Skill Button 'D' doesn't change. For example if say 'Actor 1' knows Fire 1 and 'Actor 2' knows Thunder 1, when you change leader from 'Actor 1' to 'Actor 2' the skill doesn't change over.
Another issue (although not a big problem) is the same effect above happens to items as well.
Also if a 'Actor 1' leaves with the equipped with a Bronze Sword and is added back into the party the Sword is lost.

What Works
- When you change Leader the info gets updated in the HUD.
- The Equipped weapon stays with the Actor

http://atelier-rgss.com/RGSS/Battle/XAS_00a.html - XAS battle System
Script - MISC
Line 14 Change
Expand to see the code.

to
Expand to see the code.

- This will make the Script below work to change Leader without having the menu pop up all the time.

http://tmnt-fsc.net/Characters.zip - Extra Hero Graphics

-DoD Change Leader Script
Expand to see the code.


For more details please check my last post here.

_________________
I need your help, and only YOU can help me... - RPG Maker XP Script Question

Image


Top Top
Profile      
 

    gameface101
  Fri Sep 18, 2009 5:38 am
www.gameface101.com
User avatar
Member


Location: stuck in cyber space
@pez - I like this night_runner edit for XAS... are you trying to switch your party leader in game?


if so... I simply use this:credit goes to modern algebra
Expand to see the code.


hope this helps...have in mind I left my dual button configurations,
so it won't interfere with any default keys

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


Top Top
Profile      
 

    pez
  Fri Sep 18, 2009 8:04 am
User avatar
Member

I can change the leader.

The problem is...

If Actor 1 knows Fire1
and Actor 2 knows Thunder1
When you change the Leader using the edited script I have provided below all the other details about the Leader (Status/Face Graphic/Weapon/HP/MP) will change except for the Skill, it will stay as the last Skill that was equipped, so if even Actor 2 doesn't know Fire1 if that was the last skill equipped and you change Leader from Actor1 to Actor2 the skill is still available for Actor 2.

_________________
I need your help, and only YOU can help me... - RPG Maker XP Script Question

Image


Top Top
Profile      
 

    gameface101
  Fri Sep 18, 2009 9:04 am
www.gameface101.com
User avatar
Member


Location: stuck in cyber space
ahh~ gotcha, sounds like a refresh or update error... for just your skills....hmm..
will it change once you call menu then exit out of menu return to game?

then maybe the changing leader script needs that command...
I'm using XAS_3.6, I'll check it out. ~g


Top Top
Profile      
 

    pez
  Fri Sep 18, 2009 9:38 am
User avatar
Member

Thanks man I await your reply...

BTW you might wanna just start on a fresh XAS - ABS Hero 3.6 and make those adjustments I mentioned above.

_________________
I need your help, and only YOU can help me... - RPG Maker XP Script Question

Image


Top Top
Profile      
 

    gameface101
  Fri Sep 18, 2009 5:49 pm
www.gameface101.com
User avatar
Member


Location: stuck in cyber space
@pez - by the looks of it, both change leader scripts are fine, cuz the one I use has the same issue.
so it has to be how XAS is setup to control skills and items. (tools)

by studying some of the events in the demo, you will come across
an autorun event that loads up alot of settings for the actor.
(usually the top left of the world map)

in the event's, list of event commands: window
you will see a call script:

Expand to see the code.


this is what sets the items and skills...

now here's the trick to find the right line of code and to where to place it...

hang tight, I'll try my best ~g/A\/\/\|E|F/A\(C|=


Top Top
Profile      
 

    pez
  Sat Sep 19, 2009 6:32 am
User avatar
Member

Hanging on very Tight

_________________
I need your help, and only YOU can help me... - RPG Maker XP Script Question

Image


Top Top
Profile      
 

    gameface101
  Sat Sep 19, 2009 11:53 am
www.gameface101.com
User avatar
Member


Location: stuck in cyber space
@pez - right on, we both need this to work for our XAS projects so I'm stuck on this thread til we get it to work. ^,^

Equipped Items and Skills don't change with Rotating Leader,
yet Equipped Weapons and Shields change just fine.

time to do some proof reading........ ~g/A\/\/\|E|F/A\(C|=


Top Top
Profile      
 

    pez
  Sat Sep 19, 2009 12:42 pm
User avatar
Member

Also I noticed

If you change the leader the new Actor can not be attacked

Also EXP points go to the whole party and not the person who dealt the final blow or shared by the attackers...

Also you can change the Leader during attacks, like Magic skills and Charged attacks

I really am thankful for all your help mate

_________________
I need your help, and only YOU can help me... - RPG Maker XP Script Question

Image


Top Top
Profile      
 

    gameface101
  Sun Sep 20, 2009 9:34 pm
www.gameface101.com
User avatar
Member


Location: stuck in cyber space
Quote:
Noticing that if the Leader dies the whole party does...

I do remember there was a script that reads if the Hero is down he is swapped in the party, anything like that springing to mind?

@pez - I've been experimenting with this....

Content Hidden


I'll look more into the other issues after I tackle a few more scripts that I've been trying to modify.
~g/A\/\/\|E|F/A\(C|=


Top Top
Profile      
 

    pez
  Mon Sep 21, 2009 12:13 pm
User avatar
Member

Cheers for that mate, it works well..

_________________
I need your help, and only YOU can help me... - RPG Maker XP Script Question

Image


Top Top
Profile      
 

    gameface101
  Tue Sep 22, 2009 2:18 am
www.gameface101.com
User avatar
Member


Location: stuck in cyber space
@pez - right on! glad I was able to help... ~g


Top Top
Profile      
 

    pez
  Thu Sep 24, 2009 1:48 pm
User avatar
Member

Any help on changing the shield function to a secondary item or magic attack?

_________________
I need your help, and only YOU can help me... - RPG Maker XP Script Question

Image


Top Top
Profile      
 

    gameface101
  Thu Sep 24, 2009 4:54 pm
www.gameface101.com
User avatar
Member


Location: stuck in cyber space
@pez - are you familiar with making tools?

- there's a map named Tools with all the events for weapons, items, skills...
- in the script database there is a script for each event...
- also in the script database SKILL, ITEM scripts
- and most importantly the DATABASE, weapons tab, skill tab, item tab...

now in order to make it possible for the actor to replace the shield with an item or weapon...
one must study how the shield was setup in the areas above.
then all one must do is make a copy or create a new Item, Skill, Or Weapon in the areas above
so that it is called upon the same way as the shield.

Hope this helps... ~g/A\/\/\|E|F/A\(C|=


Top Top
Profile      
 

    pez
  Wed Sep 30, 2009 12:57 pm
User avatar
Member

Has any progress been made on changing leader?

_________________
I need your help, and only YOU can help me... - RPG Maker XP Script Question

Image


Top Top
Profile      
 

    gameface101
  Wed Sep 30, 2009 7:03 pm
www.gameface101.com
User avatar
Member


Location: stuck in cyber space
@pez - slowly but surely... I'm currently working on the following for XAS 3.6:

- face graphic (changes with switching character and when you attack, dash, use item, etc...)

- equipped item (changes with switching character)

- equipped skill (changes with switching character)

- experience points (to be assigned to the active player not the entire party)

if/when I get these to work, I'll be more than willing to share...~(G)

edit: going to post the face and leader scripts I made from scratch soon... stay tuned ~(G)


Top Top
Profile      
 

    gameface101
  Mon Oct 05, 2009 6:32 am
www.gameface101.com
User avatar
Member


Location: stuck in cyber space
I just had to double post ^,^

@pez - here's a beta as to what I'm working on for us XAS'erz

still....a work in progress:
Expand to see the code.


I will post a new thread once I iron out a few more features...
in the mean time enjoy the script in it's early development ~g/A\/\/\|E|F/A\(C|=


Last edited by gameface101 on Mon Oct 05, 2009 5:51 pm, edited 1 time in total.

Top Top
Profile      
 

    pez
  Mon Oct 05, 2009 12:53 pm
User avatar
Member

I appreciate the effort, but I'm getting a line 41 syntax error, also can you please use another type of code preview, it's hard to copy the code with...
1.
2.
3.
mixed in the code. It's a little confusing. Anyway good to see I'm still getting support here. :)

_________________
I need your help, and only YOU can help me... - RPG Maker XP Script Question

Image


Top Top
Profile      
 

    BwdYeti
  Mon Oct 05, 2009 3:54 pm
Emo Halb + Emocar = :|
User avatar
Sponsor


Location: Michigan
Click "Line Number On/Off" in the upper right corner of the code box.

_________________
Image
Image
Image

Fire Emblem: Immortal Sword
My sig suddenly got huge...


Top Top
Profile      
 

    pez
  Thu Oct 08, 2009 2:45 pm
User avatar
Member

Thank you bwdyeti it was so simple all along...

_________________
I need your help, and only YOU can help me... - RPG Maker XP Script Question

Image


Top Top
Profile      
 

    DarkWonder
  Sat Dec 12, 2009 10:43 am
User avatar
Member


Location: Germany
Hi there... ^^

I've edited the script a little bit and finished it with common events (because I am not that good at ruby)... ^^

Now you can change the leader and he got all the weapons and Skills the leader before had equiped...

I also inserted the Game-over-Leader-Change Script I found and edited it a little bit, so it will automatically change the new leader weapon etc. ^^

There can be bugs, because I copied it over from my game to the XAS Demo... on my game it works very well... ^^ And the few times I tested it on the demo, it worked too ^^

The only thing I can't get working is the exp points being parted.. ^^

Oh and if you would like to have the clothes changed also to the leader you have to do it the same way in the common events... ^^ But I don't like that... so you can also deactivate the change "shield" thing.. etc...

Maybe it will help the scripters out there to work on a script that have got all inside without common events.... ^^
Feel free to experiment with it.. ^^

Wish ya all fun with it... DOWNLOAD

Greetz,
Darkwonder

P.S. Sorry for my bad english, I am from Germany ^^
For the ones who don't know how to change leader "Press Button A and X" together.. for me it is Run and Shield button ^^


Top Top
Profile      
 

    gameface101
  Mon Jan 04, 2010 12:44 am
www.gameface101.com
User avatar
Member


Location: stuck in cyber space
Hackel to the rescue! ^,^
now this script remembers equipped skills and items
for each actor. (thanks Hackel you are the man!)
and I've included a way to switch when an actor dies.
so that it won't gameover when you have more actors
in the party.

enjoy people ...this job is done! :D

must give credit and free to use ~ GO XAS! ^,^
Content Hidden


Top Top
Profile      
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 22 posts ] 


Who is online

Users browsing this forum: No users and 34 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

cron
We are an independent, not-for-profit game making community.
Homepage
Board Index
About Us
Downloadable Games
Free Browser Games
Games in Development
RPG Maker Support
Game Maker Support
Construct 2 Support
HBGames the eZine
Advanced RPG Maker
Site Announcements
Powered by phpBB © phpBB Group