VE - Materia System

Ah, sorry. I'll try to explain what I'm doing a bit better.

For my project, I only have 1 copy of each materia obtainable. These materia are separated by element, so for example, I have 5 different materia that are based around the "fire" element.

Instead of gaining AP by battle, I want to have all "fire" materia to gain a set amount of AP every time you find another of the 5 "fire" materia. This way, all of your "fire" materia are essentially leveling up every time you find a new one.

I hope this makes sense. If not, definitely let me know, and I'll try to explain it differently.
Ohh okay, I think I understand. As far as I know you may not give Ap in that fashion so maybe someone can tweak the plugin to add a command to do that.
Im wondering is how can the actor start with like two Materia when playing newgame.
ex: main character starts with Fire and Lightning Materia
Okay I think I found a way for you. Simply have the materia giving with a parallel event like I stated earlier and then use this to equip it.
EquipMateria actor equip slot materia
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Equips a materia on an actor.
* actor : actor Id.
* equip : index of the slot set.
* slot : id of the slot.
* materia : id of the materia.
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Ex.: EquipMateria 1 1 2 15
* EquipMateria 4 3 4 16
* ------------------------------------------------------------------------------
*
* ------------------------------------------------------------------------------
* Unequipmateria actor equip slot
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Removes a materia from an actor.
* actor : actor Id.
* equip : index of the slot set.
* slot : id of the slot.
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Ex.: Unequipmateria 1 1 2
* Unequipmateria 4 3 4

They are commands. You can read more in the plugin description. It toward the bottom
Ohh okay, I think I understand. As far as I know you may not give Ap in that fashion so maybe someone can tweak the plugin to add a command to do that.

Okay I think I found a way for you. Simply have the materia giving with a parallel event like I stated earlier and then use this to equip it.
EquipMateria actor equip slot materia
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Equips a materia on an actor.
* actor : actor Id.
* equip : index of the slot set.
* slot : id of the slot.
* materia : id of the materia.
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Ex.: EquipMateria 1 1 2 15
* EquipMateria 4 3 4 16
* ------------------------------------------------------------------------------
*
* ------------------------------------------------------------------------------
* Unequipmateria actor equip slot
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Removes a materia from an actor.
* actor : actor Id.
* equip : index of the slot set.
* slot : id of the slot.
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
* Ex.: Unequipmateria 1 1 2
* Unequipmateria 4 3 4

They are commands. You can read more in the plugin description. It toward the bottom
that im not good at understanding that
* Equips a materia on an actor.
* actor : actor Id.
* equip : index of the slot set.
* slot : id of the slot.
* materia : id of the materia.
tutor or how u done it would be helpful though.
that im not good at understanding that
* Equips a materia on an actor.
* actor : actor Id.
* equip : index of the slot set.
* slot : id of the slot.
* materia : id of the materia.
tutor or how u done it would be helpful though.

Equips a materia on an actor.
* actor : actor Id.
* equip : index of the slot set.
* slot : id of the slot.
* materia : id of the materia.
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


You would put this command, just an example
EquipMateria 1 1 2 15

First number is the actor ID or number of actor you want it equipped to you can see the number in your database
Second number is the number for the equipment, for example weapon would be ID 1, armor would be ID 4 etc. All in the data base to check which ID belongs to what. Just make sure they match what the equipment you allowed to have slots in the actor tags.
Third number is the actual slot number, so if for say your sword has 3 slots. This will be the slot number you want the materia to go into
Fourth number is the ID in the database for the materia you created.
Equips a materia on an actor.
* actor : actor Id.
* equip : index of the slot set.
* slot : id of the slot.
* materia : id of the materia.
* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


You would put this command, just an example
EquipMateria 1 1 2 15

First number is the actor ID or number of actor you want it equipped to you can see the number in your database
Second number is the number for the equipment, for example weapon would be ID 1, armor would be ID 4 etc. All in the data base to check which ID belongs to what. Just make sure they match what the equipment you allowed to have slots in the actor tags.
Third number is the actual slot number, so if for say your sword has 3 slots. This will be the slot number you want the materia to go into
Fourth number is the ID in the database for the materia you created.
awesome, thanks.
awesome, thanks.
No problem. If there is still something you don't understand i will try my best to help if I can
Hi there, I was wondering if someone could tell me how to resolve an issue I'm having. I'm trying to use this in conjuction with Yanfly's auto passive states. I want to create a passive skill my character can buy that will give them extra slots on their weapon, but the state always seems to override the weapons slots. (If the skill gives a materia slot, then the weapon only has one materia slot even if it used to have 2 or more). Or it will just create a whole new duplicate of the weapon with the slots.

eg.

<Materia Slots>

Equip 1: 0=0

</Materia Slots>

creates a copy of the weapon I have in slot 1 to use.
Edit:
It would appear I'm a moron... Ignore this post. 😉

Thanks.
Hey there!

I've got a problem when changing classes.

I have setup "Class 1" like this:
<materia slots>
Slot 2: 0:0:0
</materia slots>

and "Class 2" like that:
<materia slots>
Slot 2: 0:0:0
Slot 3: 0=0:0:0=0
</materia slots>

Now when I go into the game I have
two slots available that work fine:
"slot 1" (which i setup in the actor's notepad) & "slot 2" (which he gets from "Class 1")

If I change the actors class from "Class 1" to "Class 2" the actor aquires the 3rd slot, but the slot isn't functional, only the first two that the actor had when starting the game are.

I tried this with any number of slots now...
The "new gained" slots never show any equippable materia.

Basically all I wanna do is giving the player the ability to get new slots to equip more materia (through upgrade events or items for example)

I have no other scripts installed but the basic module and the materia system.
Am I doing something wrong with my setup? Or is there any other way to add new slots to an actor?

Edit: I've found a workaround for this problem now.
I set up a "dummy" class with the maximal slots I want to use in the end and change it to the class I want right after the game starts.
This way every slots "added" through class-changing work like they are supposed to later on.
Hey, quick question. Is there any way in which I can open up the Materia equip scene, but only for 1 actor (without being able to access other actors in the party)?
Probably not without changing how the plugin is coded or using another plugin to get those results
but only for 1 actor
Maybe. I haven't used MV like almost ever, but I see in the code that on line 2485 & 2486 is the options for pageup and pagedown
If you comment those out does it do what you want?
A comment for java script is two slashes in front of the code. //
Maybe. I haven't used MV like almost ever, but I see in the code that on line 2485 & 2486 is the options for pageup and pagedown
If you comment those out does it do what you want?
A comment for java script is two slashes in front of the code. //

Thank you, this does indeed limit it like I'm looking to.

Knowing this, is there a way that I can have these two lines enabled/disabled depending on if a switch is on/off?

Similarly, is there a plguin command that brings up the Materia window of a chosen actor (I could have sworn I've used one before, but can't seem to find it again).

To be specific in what I'm looking to do, I'm trying to create a skill that will allow this specific actor to edit his, and only his, Materia mid battle.
is there a plguin command that brings up the Materia window of a chosen actor
This would require some recoding. the command for the scene is SceneManager.push(Scene_MateriaEquip)
This in itself brings up the materia screen for the first actor. You would need to pass arguments into this call to be able to specify a different actor. The script was not made for this so it would be a significant edit. I know little in java script so I'm not the one to ask.
is there a way that I can have these two lines enabled/disabled depending on if a switch is on/off
Maybe. Again I would not know how at this time.
Maybe. Again I would not know how at this time.

Ah, alright. Thanks for the help nonetheless.

I did try out the script command, just to see what would happen without any edits. It does call the Materia equip scene just fine, fully functional, and even updates properly when returning to battle. Although, with the one big drawback of resetting the battle when exiting the Materia equip scene (as in, enemies all respawn with full health, status effects reset, etc.). Can't say I was expecting that. 😛
Question regarding using Materia in battle.

Once a spell is casted, I can no longer use it during battle. After every battle, in the victory aftermath screen, it continuously says the player has learned the materia skill.

My main concern is the use of the materia in battle. I want to continue to cast spells and not have them be a "Once per battle" type deal. Is there any fix to this?
Hey, so the slots are popping up for the actor, but the materia is blank. These are my settings. It makes the equip sound but there's no text or image.
Screen Shot 2020-08-15 at 11.57.59 PM.png
Screen Shot 2020-08-15 at 11.56.52 PM.png
Screen Shot 2020-08-15 at 11.56.59 PM.png
Yes, if I remember correctly your image icon has to be set to the slots you will be using and the material as well.
Sorry, which image where? I'm a bit lost.
Within the plugin parameters, I think there is an option to change icon image used. Can you screenshot your setup for the plugin please
Screen Shot 2020-08-16 at 3.21.16 PM.png

Original thread: https://forums.rpgmakerweb.com/threads/ve-materia-system.56724/