Having issues with a class changing event

Status
Not open for further replies.

Tigrean

Veteran
Veteran
Joined
Dec 31, 2013
Messages
105
Reaction score
7
First Language
English
Ok here is the issue,

I created a basic class called a mage and then at a later time using an event system you can upgrade to another more advance class, the problem I am having is when you get the change a couple of the advance classes are not supposed to be able to equip a staff and use a certain class of armor but after the change the character still has the staff equipped and when I de-equip it, the shield that was locked by the staff should open so you can equip a shield but then it won't equip, and it should not be able to equip a staff but it still shows access to the staff wweapons.. Also the class of armor does not change I go to equip heavier armor it equips fine but it still shows that the character can equip the Magic set armor and the shouldn't be able to. On my rogue classes it seems the weapons and armor do fine but I'm sure I am probably facing same issue there with the armor though the weapons seem to be alright, also the class is suppose to allow the ability to equip a shield but when I try to equip even with a shield in the inventory it stills shows the inventory empty when trying to equip.

Can someone please help thanks
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,358
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
one tip: your text will be a lot more readable if you place a few extra lines between different parts instead of being an unstructured wall of text.


A lot of the problems you describe depend on whether a specific feature was added by a class or by an actor, and how the classes are set up.


For some effects, you'll also need a script because the class change doesn't automatically unlearn skills etc. - class changes can be tricky.


Please post screenshots of your first and second classes, describe which options didn't change and also give a screenshot of the event you're using to change class - that info will help us see where your problem really is.
 

Tigrean

Veteran
Veteran
Joined
Dec 31, 2013
Messages
105
Reaction score
7
First Language
English
Alright here are the screen shots the first four is the entire event, the Mage is the base class.

Blade Caster is the advance class that shouldn't be able to use Magic class armor or a staff and use a shield.

The cleric is the is the class that should be able to use a shield and the magic class armor  but shouldn't be able to use a staff.

Now I want the Mage skills kept except for what I did with the cleric but that part work. The issue is the weapons and equipment need to be changed so the Blade caster can't use staffs, equip shields, equip swords, and can't use magic class armor.

The cleric can't equip staffs, equip shields, equip hammers, but can't equip light armor.

Oh also the actor is blank, no additional skills other than the basic classes skills.

Class Change event_0003_Layer 1.jpg

Class Change event_0002_Layer 2.jpg

Class Change event_0001_Layer 3.jpg

Class Change event_0000_Layer 4.jpg

Blade Caster.jpg

Cleric.jpg

Mage.jpg
 
Last edited by a moderator:

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,358
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
One more tip: even if you allow the player to rename the actor during the game, always place a temporary name into the actor - if you erase the name, you'll never know if the change-commands are set correctly, because you'll always see [] instead of [name] in those commands.


Even if you plan to remove the name before publishing the game, use a name during development to prevent mistakes and only remove it in the last second before creating the installer.


Currently I don't see an error in those screenshots, but please test the following:


If you place change equipment commands before the change class, removing all equipment from the actor - can the player still equip those weapons after the class change or not?


And do you have any scripts added to your project? if yes, please give links.
 

Tigrean

Veteran
Veteran
Joined
Dec 31, 2013
Messages
105
Reaction score
7
First Language
English
I haven't tested that yet. It will take a couple of hours to get a character there to try it ,but I will. For now below are the scripts I'm using:

I am using all the Yami guardian Scripts and Yami basic engine along with ace menu and a Face script for when the main actor is talking: here are those scripts:

Ace Menu.txt

text face.txt

Yami Basic.txt

Yami Guardian Basic.txt

Yami Guardian Boost.txt

Yami Guardian Learning.txt

Yami Guardian Menu.txt

Yami Guardian Pairing.txt

Yami Guardian Summon.txt
 

Attachments

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,358
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
I asked you to link the scripts, not attach them - usually the website where they are originally listed contains additional descriptions and also solved problems from previous users - that's why the link to the site with the script is better than just attaching the script.
 

Tigrean

Veteran
Veteran
Joined
Dec 31, 2013
Messages
105
Reaction score
7
First Language
English
 
Last edited by a moderator:

Tigrean

Veteran
Veteran
Joined
Dec 31, 2013
Messages
105
Reaction score
7
First Language
English
One more tip: even if you allow the player to rename the actor during the game, always place a temporary name into the actor - if you erase the name, you'll never know if the change-commands are set correctly, because you'll always see [] instead of [name] in those commands.

Even if you plan to remove the name before publishing the game, use a name during development to prevent mistakes and only remove it in the last second before creating the installer.

Currently I don't see an error in those screenshots, but please test the following:

If you place change equipment commands before the change class, removing all equipment from the actor - can the player still equip those weapons after the class change or not?

And do you have any scripts added to your project? if yes, please give links.
Ok I just tried it with having all the equipment removed before the class change and the Blade caster still has access to staffs, magic class armor and shouldn't. Also is not able to equip a shield and should.

The Cleric still has access to staffs and shouldn't. Also should have access to shields and does not.

What is the next step I should take?
 

Tigrean

Veteran
Veteran
Joined
Dec 31, 2013
Messages
105
Reaction score
7
First Language
English
Didn't mean to double post internet was slow at the site
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,358
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
Tigrean, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Accidentally doubleposting can happen, but then you triple-posted instead of editing that into your previous double post...


Can you give us a screenshot of the actor, and can you try those events in a new project without the scripts?


The guardian system is a bit complex, I don't have time to analyze that - but the fact that an actor can learn skills and more by pairing with a guardian-actor indicates that those scripts do modify the behaviour of the features. And that might cause the problem.


That is only a guess, but as I said I don't have time to test your configuration myself...
 

Tigrean

Veteran
Veteran
Joined
Dec 31, 2013
Messages
105
Reaction score
7
First Language
English
Well I tested something else when you equip a staff it does seal the shield weapon hand but when you remove the staff the seal should be released but it wasn't so what I did I made the staff so it doesn't seal shield and sealed shield on the actual mage class that seem to fix the shield issue.

They still seem to be able to use a staff even though the class does not give access to staff which is still wierd. I'll do some more tests, I think i might have an idea why the character get access to a staff *squee*.
 
Last edited by a moderator:

Tigrean

Veteran
Veteran
Joined
Dec 31, 2013
Messages
105
Reaction score
7
First Language
English
Ok I figured it out, On the script Yami Guardian Boost the trait transfer was marked true, so the equipment it could equip the character could equip and therefor if slot is sealed on the guardian because of the staff it would also be sealed on the player if paired with the guardian.

What I did was I set traits to false and now it works *squee*

Thanks for all your help
 

Andar

Veteran
Veteran
Joined
Mar 5, 2013
Messages
31,358
Reaction score
7,672
First Language
German
Primarily Uses
RMMV
Well I tested something else when you equip a staff it does seal the shield weapon hand but when you remove the staff the seal should be released but it wasn't so what I did I made the staff so it doesn't seal shield and sealed shield on the actual mage class that seem to fix the shield issue.
No, that doesn't fix the shield issue - and the fact that the seal is not removed when you unequip the staff is proof that some script has broken the feature management in your project. Because in default, removing the staff will unseal the shield slot.
You need to find out which script breaks that by making a copy of the project, removing one script after another from the project, testing if the staff unseals the shield slot on unequip after each script removal.


And as soon as you identified the script that breaks the mechanic, come back and tell us which one that is so that we can check where the script is broken or whether there is an incompatibility between one or more of your scripts.

Ok I figured it out, On the script Yami Guardian Boost the trait transfer was marked true,


What I did was I set traits to false and now it works *squee*
ninja'd, you found the script while I was writing the above.
Tigrean, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


Please stop double posting, I already warned you before - if the last post in a topic is your own, then edit it and do not make another post beneath it!!!


This thread is being closed, due to being solved. If for some reason you would like this thread re-opened, please report this post and leave a message why. Thank you.
 
Last edited by a moderator:
Status
Not open for further replies.

Users Who Are Viewing This Thread (Users: 0, Guests: 1)

Latest Threads

Latest Posts

Latest Profile Posts

Holy stink, where have I been? Well, I started my temporary job this week. So less time to spend on game design... :(
Cartoonier cloud cover that better fits the art style, as well as (slightly) improved blending/fading... fading clouds when there are larger patterns is still somewhat abrupt for some reason.
Do you Find Tilesetting or Looking for Tilesets/Plugins more fun? Personally I like making my tileset for my Game (Cretaceous Park TM) xD
How many parameters is 'too many'??
Yay, now back in action Happy Christmas time, coming back!






Back in action to develop the indie game that has been long overdue... Final Fallacy. A game that keeps on giving! The development never ends as the developer thinks to be the smart cookie by coming back and beginning by saying... "Oh bother, this indie game has been long overdue..." How could one resist such? No-one c

Forum statistics

Threads
105,857
Messages
1,017,015
Members
137,563
Latest member
MinyakaAeon
Top