Character/Class exclusive items?

Status
Not open for further replies.

Trianglon

Veteran
Veteran
Joined
Dec 29, 2012
Messages
53
Reaction score
3
First Language
English
Primarily Uses
How do you make an item (not a weapon or armor, an item) that only a specific character or class can use?

Thanks!
 

MyLordRobinson

Emperor of Carnelia
Veteran
Joined
May 13, 2012
Messages
881
Reaction score
84
First Language
English
Primarily Uses
Place the weapon type in the Class options in the Database.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
he said it's NOT a weapon or armor :)


You could either have a script do it - in that case it would be able to prevent you from using it on someone.


Or you could do it with common events - have the common event check the actor or class that the item is about to be used on, and only apply the effects if they're the right actor or class. If they're not, and it's a disposable item, you'd then have to give it back to them.


I think a scripting solution would be more elegant, so if you want to go that way, we'll move it over to Script Requests.
 
Last edited by a moderator:

Trianglon

Veteran
Veteran
Joined
Dec 29, 2012
Messages
53
Reaction score
3
First Language
English
Primarily Uses
he said it's NOT a weapon or armor :)

You could either have a script do it - in that case it would be able to prevent you from using it on someone.

Or you could do it with common events - have the common event check the actor or class that the item is about to be used on, and only apply the effects if they're the right actor or class. If they're not, and it's a disposable item, you'd then have to give it back to them.

I think a scripting solution would be more elegant, so if you want to go that way, we'll move it over to Script Requests.
Yeah, I feel like getting a Script will go a bit smoother.

If you could move this to Script Requests, that would be great!
 

Tsukihime

Veteran
Veteran
Joined
Jun 30, 2012
Messages
8,564
Reaction score
3,846
First Language
English
You need to explain how an item "that only a specific character or class can use?" will behave from a player's point of view.


When I select the item to use, does it only show the characters that I can use it on?


If it shows all the characters, what happens when you use it on someone that can't use it?


You need to run through all use cases that you will have for your game, as different answers to questions like the two above will significantly change what kind of solution you get.
 
Last edited by a moderator:

Trianglon

Veteran
Veteran
Joined
Dec 29, 2012
Messages
53
Reaction score
3
First Language
English
Primarily Uses
You need to explain how an item "that only a specific character or class can use?" will behave from a player's point of view.

When I select the item to use, does it only show the characters that I can use it on?

If it shows all the characters, what happens when you use it on someone that can't use it?

You need to run through all use cases that you will have for your game, as different answers to questions like the two above will significantly change what kind of solution you get.
What I'm trying to do is have a disposable throwing item (like a shuriken or smoke bomb) that can only be used in battle by a specific character/class (in this case, the character is a Ninja).
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
Trianglon, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.


I'll move this to script requests


So the limitation is on the USER, not the TARGET? Will this apply to any items OUT of battle?
 

Trianglon

Veteran
Veteran
Joined
Dec 29, 2012
Messages
53
Reaction score
3
First Language
English
Primarily Uses
Trianglon, please avoid double posting, as it is against the forum rules. You can review our forum rules here. Thank you.

I'll move this to script requests

So the limitation is on the USER, not the TARGET? Will this apply to any items OUT of battle?
I'm sorry :(

Yeah, i want to apply to items to use during battle. 

Outside of battle, they won't do anything.
 

Victor Sant

Veteran
Veteran
Joined
Mar 17, 2012
Messages
1,694
Reaction score
1,452
First Language
Portuguese
Primarily Uses
@Megablackdragon31
Actually the Action Effectiveness doesn't do this, it's the Action Restriction script.
Formely both script were one, but i decided to separate them to improve compatibility with other scripts i had
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
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.
 
Status
Not open for further replies.

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

Latest Threads

Latest Posts

Latest Profile Posts

so hopefully tomorrow i get to go home from the hospital i've been here for 5 days already and it's driving me mad. I miss my family like crazy but at least I get to use my own toiletries and my own clothes. My mom is coming to visit soon i can't wait to see her cause i miss her the most. :kaojoy:
Couple hours of work. Might use in my game as a secret find or something. Not sure. Fancy though no? :D
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

Forum statistics

Threads
105,868
Messages
1,017,074
Members
137,578
Latest member
JamesLightning
Top