Zelaron Gaming Forum  
Stats Arcade Portal Forum FAQ Community Calendar Today's Posts Search
Go Back   Zelaron Gaming Forum > Zelaron Gaming > RPGMaker

 
 
Thread Tools Display Modes

 
armor changeing
Reply
Posted 2004-09-28, 12:53 PM
Hi I'm new here hope some one can help me. Been using rm2k3 for a mouth or so an I'm trying to make my charas change armor when they equip new
armor. I got it so when he equips armor the sprite change.
and the face set changes.


Ok know the problem, every thing works good with the armor change,I'm useing classchange to change the battleset that works, but when the class changes to change the battleset, the chara will not gain
experience.

Thanks for your help
Old
Profile PM WWW Search
rex is neither ape nor machine; has so far settled for the in-betweenrex is neither ape nor machine; has so far settled for the in-between
 
rex
 



 
Reply
Posted 2004-09-28, 06:14 PM in reply to rex's post "armor changeing"
Don't use classes to change sprites - you want "Change Sprite Association" on the first page of the Event commands.

Changing classes will reset EXP to level 1 unless you tell it otherwise.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2004-09-29, 09:49 AM in reply to BlueCube's post starting "Don't use classes to change sprites -..."
Another thing you could do, is create common events for each change of armour. Each common event will have all the prgramming needed --> change sprite, change face etc. <-- in it, so you won't have to mess around with long codes for every time you change armour.

I don't know how you are changing the armour etc, whether you use only four sets of armour, and a choice menu or what, so the above can only really help if you have programmed it.

Otherwise, listen to BC, he good at these things.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2004-09-29, 11:52 AM in reply to BlueCube's post starting "Don't use classes to change sprites -..."
BlueCube said:
Don't use classes to change sprites - you want "Change Sprite Association" on the first page of the Event commands.

Changing classes will reset EXP to level 1 unless you tell it otherwise.

I used change sprites to change the chara that works but it does not change the battleset. So I was tring to use class change to change the battleset it works but they will not gain experience. I am using common events for the codes with a conditional branch for each armor change.

Thanks

Last edited by rex; 2004-09-29 at 11:59 AM.
Old
Profile PM WWW Search
rex is neither ape nor machine; has so far settled for the in-betweenrex is neither ape nor machine; has so far settled for the in-between
 
rex
 



 
Reply
Posted 2004-09-29, 12:40 PM in reply to rex's post starting "I used change sprites to change the..."
They will gain experience, but it resets when you change armors.

(For some reason, I read "battleset" as "charset".. when you meant "Battle Charset".)

This is one of the oddest things with RM2k3 - there's actually no way to swap Battle Charsets outside of a class change. If you want to preserve your EXP, do the following:

<> Variable Oper: Set [0020:CubeEXP] Cube Experience
<> Change Class: Cube SuperArmor, Change to Level 1, No Skill Change, Stats Level 1 New Class
<> Change Experience: Cube's Experience /[0020:CubeEXP] Add
<>

----

That will keep the same EXP from before the class change. I'm still not sure why Enterbrain forgot the "little" detail of Battle Charsets within events, but at least there's a way around it.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2004-10-01, 12:27 PM in reply to BlueCube's post starting "They will gain experience, but it..."
Ok this is what I have

common event parallel process
<>branch if taz leather armor equip
<>variable oper : [0009:armor] set,taz armor no. this is to keep the armor on
<>var. oper : [v[0008]] set, taz experience
*
<>change sprite association : taz hero 5-3
<>change class taz hero c , no level change, no skill change, no change in statistics
<>change face assoc. : taz new faceset-3
<>change equip: taz v[0009] equip
<>change exp. : taz exp. v[0008]add
*
the chara loses his exp with the new armor and will not gain new exp.
I try your way and same thing.
I have a new problem when the new armor is equip his sword is nolonger equip I tried to use
a var. oper where the stars are but I got event error.
Old
Profile PM WWW Search
rex is neither ape nor machine; has so far settled for the in-betweenrex is neither ape nor machine; has so far settled for the in-between
 
rex
 



 
Reply
Posted 2004-10-01, 12:40 PM in reply to rex's post starting "Ok this is what I have common event ..."
You have used change class option, to change battleset, yes? The way I'd get around it is just create a character for each different piece of armour etc, then whenever he changes armour, keep your common event code the same, but instead of change class, take Taz Armour 1 out of your party, and replace him with Taz armour 2, and when in, you can change his name from Taz ARnour 2 to just Taz, using the change hero name tab on the event menu: 1st page, 2nd column, 7th down. So hopefully your code should look like:

<>branch if taz leather armor equip
<>Change party members: Taz cloth armour remove
<>Change party member: Taz leather armour add
<>Change hero name: Taz leather armour's Name Taz

If I get the time, and it still doesn't work, or you don't get a word I've said, then I will post a pic for you.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2004-10-02, 12:55 PM in reply to rex's post starting "Ok this is what I have common event ..."
rex said:
the chara loses his exp with the new armor and will not gain new exp.
I try your way and same thing.
I have a new problem when the new armor is equip his sword is nolonger equip I tried to use
a var. oper where the stars are but I got event error.
I'll psuedocode this one up, so we can see the flow of commands easier.

Code:
<>Branch If Taz has Leather Armor on
   <>Save Taz's Weapon Number to [0010:Weapon]
   <>Save Taz's Armor Number to [0009:Armor]
   <>Save Taz's EXP to v[0008:EXP]
   <>Message:  Weapon:  \v[10]   Armor: \v[9]  EXP:  \v[8]
   <>Update Sprite
   <>Change Taz's class, keep him the same
   <>Update Faceset
   <>Update Equipment based on v[0009:Armor]
   <>Add v[0008:EXP] EXP to Taz
   <>Update Weapon based on [0010:Weapon]
:End
<>
I'm actually not seeing any logic errors here, besides keeping Taz the same level (in "normal" situations, this would almost double Taz's EXP) The lines in Red are what I'm guessing you tried to do, yet it got an event error somehow.

There's something else involved here, either outside the common event or within, but it's not within this branch. I'm going to suggest adding the line in Yellow to the event, to test whether or not the variables are updating correctly. Make sure you know what "numbers" the armor/weapons are, and how much EXP Taz has before switching armors. If these don't match up with what the yellow line displays.. you either have bad memory or there's something happening before this line.


If you still can't get this to work, attach your game as a ZIP file so I can see the event within the entire context of the game.

Last edited by BlueCube; 2004-10-02 at 01:01 PM.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2004-10-03, 10:56 AM in reply to BlueCube's post starting "I'll psuedocode this one up, so we can..."
That's kinda complicated Blue. I kinda get it, but wouldn't diff charas just be easier?

Try drawing a picture, that soetimes helps.

Rex, are all your diff classes the same with learning curves and such? I have a vaue feeling that that may be your prob --> different learning curves.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2004-10-03, 02:23 PM in reply to Lenny's post starting "That's kinda complicated Blue. I kinda..."
Lenny said:
That's kinda complicated Blue. I kinda get it, but wouldn't diff charas just be easier?
You'd still have to swap EXP/Armor/Weapons. (And yeah, you'd have to confirm the armor switch within the event). Not only that, you'd have to check for Taz1's armor, Taz2's armor, Taz3's armor, etc. to see if it changed, and to what.

Quote:
Try drawing a picture, that soetimes helps.


Quote:
Rex, are all your diff classes the same with learning curves and such? I have a vaue feeling that that may be your prob --> different learning curves.
I would hope not, that's like the old "Trying to fix a computer that's not plugged in" routine.. truthfully though, the EXP should remain the same (since you save it before you swap classes) even if 100 EXP means level 39 for one class and level 1 for another. There's another event somewhere (probably running as a parallel process) or there's an Event Command before this, swapping classes beforehand without saving the EXP.

Last edited by BlueCube; 2004-10-03 at 02:27 PM.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2004-10-05, 09:24 AM in reply to BlueCube's post starting "You'd still have to swap..."
Er...am I the only one that doesn't get that picture?

If I ever have to do this armour changing thing (heaven forbid), I'll stick with my version: Lots and lots of characters. He he he.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 



 
Reply
Posted 2004-10-05, 01:45 PM in reply to Lenny's post starting "Er...am I the only one that doesn't get..."
Lenny I tried what you said, when I start the game it switchs armor right away.
Blue cube I'll try what you said tonight, I'll let you know. Yes all the learning curves
are the same every thing in the classes are the same.
How do I attach a zip file?
Thanks for your help guys
Old
Profile PM WWW Search
rex is neither ape nor machine; has so far settled for the in-betweenrex is neither ape nor machine; has so far settled for the in-between
 
rex
 



 
Reply
Posted 2004-10-05, 06:36 PM in reply to Lenny's post starting "Er...am I the only one that doesn't get..."
Quote:
Er...am I the only one that doesn't get that picture?
Memory error

Quote:
How do I attach a zip file?
Click "Reply" instead of the quick reply button. You should see where to attach files in the full reply screen..

I don't know if you can yet, you only have 7 posts. I suppose the best thing to do is to use a free host somewhere.
Old
Profile PM WWW Search
BlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHzBlueCube enjoys the static noises of ten television sets simultaneously tuned to 412.84 MHz
 
 
BlueCube
 



 
Reply
Posted 2004-10-06, 01:05 PM in reply to rex's post starting "Lenny I tried what you said, when I..."
Hmm, have you got them as changing automatically, or under...dammit, what is it?...conditional branches that if the switch is not on, it loops and tries again, and have you got the switches on automatically?

How to fix? Hmm.

Right:

Switch event: Turn switch: Tazleatherarmour OFF

Then find loop, and put in the conditional branches.

Have a seperate event for each armour, and have them as common events which are parallel processes, that way, I don't think you need to put them in your events.
Old
Profile PM WWW Search
Lenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basicsLenny simplifies with no grasp of the basics
 
 
Lenny
 
 

Bookmarks

« Previous Thread | Next Thread »

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules [Forum Rules]
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -6. The time now is 10:54 AM.
'Synthesis 2' vBulletin 3.x styles and 'x79' derivative
by WetWired the Unbound and Chruser
Copyright ©2002-2008 zelaron.com
Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
This site is best seen with your eyes open.