Help with Weapons

Joined
Jul 3, 2016
Messages
17
Reaction score
0
First Language
English
Primarily Uses
Ok, so, I'm working n a game, and i want it to sorta be like fire emblem where there are multiple levels of weapons (I.E. sword level E and sword Level D) and i want it so at certain levels, character will advance one level in their weapons, so a character wielding level E daggers will be able to also use level D daggers. Would i need to script to do this, or is there a way to do something straight in the program (i preferably want this to be a passive ability that they obtain at a certain level)

any help would be greatly appreciated!!!
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
Well, you don't have to script it unless you need something in particular. The easiest way is to create multiple weapon types with the same name but with different weapon ranks (e.g.: Dagger C, Dagger B, Dagger A, etc.) or even multiple weapon types with the same name without having to add any rank to it (if you do it this way you can add your weapon rank in the weapon description or anywhere else). This covers the weapons part.

You can copy/paste your class a number of times equal to the number of times you want to unlock a new weapon rank for that class and add a different feature in every new class to let that class access the new weapon rank (remember to add it to every copy of your class).

After that you can handle your actors classes with a parallel process that checks their level and stores it in a variable whenever it changes and does nothing if it stays the same. When you store their level in a variable you can also change their class to the upgraded vesion.

NOTE: you can use the same variable to store ALL your actors' level using an array.

Of course you can have your event running the whole time (which is not recommanded) or you can trigger it using a switch whenever you want to check your actors' level (e.g.: at the end of battles or after completing quests). It is a bit tricky but you don't need scripts to do something like this.

If you want to do something different than this basic class upgrade hen you have to find a script that does it for you or you have to write it yourself.

I hope this helps you.
 
Joined
Jul 3, 2016
Messages
17
Reaction score
0
First Language
English
Primarily Uses
I understand the weapons part, that was my original idea was to just have different weapon types. Dagger-level E, Dagger-Level D, etc.

But im not sure what you mean by the other things. is there any way you could provide screen shots? (This is my first game with this program so im not familiar with its complete capabilities)
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
Of course! Here is a sample of what I mean:

sage_c.png

As you can see this class can only equip Staff C as a weapon. Once you level up your event should change your actor class to the following class.

sage_b.png

This class has every options the previous one had (same skills, same levels to unlock them, same features and same growing curve) but also the Equip Weapon [Staff B] feature. If you want your actor to be able to use even stronger weapons upon leveling up you can add one more class and add an extra feature to it to unlock another weapon type.

sage_a.png

As you can see all but the Equip Weapon [Staff A] feature is the same as the previous class.

In my example I used the Sage class (one of the default classes). You can edit any class you created in a similar way.

This should cover the class part. Now the only thing you have to do is change your actor classes whenever you need. Unfortunatly I can only tell you that it is located in the first page of Event Command in the Actor tab (the second one starting from the bottom). Where you want to call that event in your game is up to you and depends on when you want to check (and eventually upgrade) your actos' class.
 
Joined
Jul 3, 2016
Messages
17
Reaction score
0
First Language
English
Primarily Uses
I think what ill do is have a skill for each new weapon class and when they hit a certain level (Say level 6), they will learn the "skill", their class changes to the new class using a common event
 

Heirukichi

Veteran
Veteran
Joined
Sep 24, 2015
Messages
1,421
Reaction score
596
First Language
Italian
Primarily Uses
RMVXA
So you basically want to use a skill as a flag to check if they have to change class? That's an option, of course. Another option is to store your actors' level in a variable (the best option would be an array) and level them up when their level is higher than the one stored in your array.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

On my journey of character rework: I had this character, she was meant to be just a princess that joins your party. And at long term she was just uninteresting... So I tweaked her to be a rebel agaisn't the royalty before meeting up with the party.

Quick tip for any other ametuer pixel artists! When trying to create a colour palette, enabling Antialiasing can speed up the process of creating different shades! Just place your lightest colour and your darkest colour next to each other, select both pixels, and stretch it out!
Revolutionizing the JRPG Industry: Knocking on Doors.

Take that, murderhobos.
Don't forget, aspiring writers: Personality isn't what your characters do, it is WHY they do it.

Forum statistics

Threads
106,054
Messages
1,018,580
Members
137,843
Latest member
Betwixt000
Top