Controlling variables with item equip

cub36

Villager
Member
Joined
Jul 28, 2012
Messages
20
Reaction score
0
First Language
English
Primarily Uses
RMMV
Hey guys I'm looking at implementing a system in my current project that would put some more emphases on equipment selection. Eg having armour that changes certain variables when equiped.
I have an idea for a character warmth mechanic that would apply states to the character depending on how warm or cold they are.
I currently have variables set up for the warmth of maps which change dependent of time of day and location (it is always very cold at night in my game.)
To make this work I'm trying to find a way of forcing the player into making a choice between keeping the character warm, or having the highest stat armour.
Has anyone had any success with anything similar? and how did you go about it?
I'm sure there is probably a very simple script to do with this, but I haven't stumbled across one yet.
Thanks.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
@cub36 It is not clear to me from the wording of your post whether you want to discuss the design of such a system (penultimate sentence) or the implementation of it (final sentence).

Could you please post and clarify which it is.
 

cub36

Villager
Member
Joined
Jul 28, 2012
Messages
20
Reaction score
0
First Language
English
Primarily Uses
RMMV
@cub36 It is not clear to me from the wording of your post whether you want to discuss the design of such a system (penultimate sentence) or the implementation of it (final sentence).

Could you please post and clarify which it is.
Sorry, more on the implementation side of of it.
 

Shaz

Veteran
Veteran
Joined
Mar 2, 2012
Messages
40,098
Reaction score
13,704
First Language
English
Primarily Uses
RMMV
What engine? This will belong in the Support forum because you're asking "how to" rather than discussing the actual mechanic/design of the system.
 

Kes

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,299
Reaction score
11,712
First Language
English
Primarily Uses
RMVXA
@cub36 As Shaz has mentioned, this needs to be moved, but can't until we know which engine you are using. As well as posting that information here, please consider adding it to the info under your avatar. It can save a lot of time in the future if you do.
 

cub36

Villager
Member
Joined
Jul 28, 2012
Messages
20
Reaction score
0
First Language
English
Primarily Uses
RMMV
@cub36 As Shaz has mentioned, this needs to be moved, but can't until we know which engine you are using. As well as posting that information here, please consider adding it to the info under your avatar. It can save a lot of time in the future if you do.
I am using MV. I will update my profile as well.
 

LadyBaskerville

Hell-poodle
Veteran
Joined
Sep 12, 2016
Messages
645
Reaction score
524
First Language
German
Primarily Uses
RMMV
I have written a plugin that changes variable values depending on equipment (link is in my signature).

Alternatively, you can also use a parallel (common) event to check which items each actor has equipped and change the variables accordingly.
 

cub36

Villager
Member
Joined
Jul 28, 2012
Messages
20
Reaction score
0
First Language
English
Primarily Uses
RMMV
I have written a plugin that changes variable values depending on equipment (link is in my signature).

Alternatively, you can also use a parallel (common) event to check which items each actor has equipped and change the variables accordingly.
Will this work on state as well or only on equipment?

Also thanks for pointing me to this script.
 

LadyBaskerville

Hell-poodle
Veteran
Joined
Sep 12, 2016
Messages
645
Reaction score
524
First Language
German
Primarily Uses
RMMV
Will this work on state as well or only on equipment?
The plugin works only on equipment. For states, you can use Yanfly's Buffs & States Core plugin with Lunatic notetags (Custom Apply/Remove Effect) to add and subtract from variables when a state is applied/removed: http://yanfly.moe/2015/12/25/yep-50-buffs-states-core/
There could also be other plugins written specifically to handle variables influenced by states, but I don't know any off the top of my head.

If you use a parallel event, you can also use it to check for states similarly to checking for equipment.
 

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

Latest Threads

Latest Posts

Latest Profile Posts

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
So I was playing with filters and this looked interesting...

Versus the normal look...

Kind of gives a very different feel. :LZSexcite:
To whom ever person or persons who re-did the DS/DS+ asset packs for MV (as in, they are all 48x48, and not just x2 the pixel scale) .... THANK-YOU!!!!!!!!! XwwwwX

Forum statistics

Threads
105,849
Messages
1,016,977
Members
137,563
Latest member
cexojow
Top