lubu15

Villager
Member
Joined
Feb 1, 2021
Messages
22
Reaction score
14
First Language
English
Primarily Uses
N/A
Hey all. So I recently had a major win with my game in terms of implementing a character creation system (yippee) and figured I would ride this high and try and get another step closer to making my dream game.

That being said, I know I am nowhere near skilled enough In Javascript yet to do this part myself.

In my game, I was wanting to implement a dialogue system where the relationship points you build with an NPC are specific ONLY to that NPC, and are handled completely from within the script with that NPC

To illustrate

Say in normal RPG Maker MV. You can create a variable called relationship with NPC 1, then within the conversation with NPC 1 you can add or subtract a value from relationship with NPC 1, and then call on where that value is sitting in order to make certain things happen.

The problem I have with this default system is if one town has like 40 -50 NPC's then that's like 40 -50 variables, which over time along with everything else can take up a lot of space.

Honestly, I read somewhere that "if you're using that many variables you're not making use of Javascript properly" and if that is the case then yeah, I am definitely not using it properly.

So in my head, an alternative would be some sort of script or infrastructure that I can just throw on an NPC that will count and subtract points all within itself, and potentially be called again later.

So say I was to talk to NPC 1 and get to +10 points, NPC 2 and get to - 4 points and then NPC 3 and get to 5 points.

This Javascript I am looking for would keep that all separate from RPG Maker MV's actual variables. Running the script only from the NPC's I am interacting with.

Sorry if this does not make much sense, as I write this I'm discovering how hard it is to explain.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
42,870
Reaction score
14,989
First Language
English
Primarily Uses
RMMV

I've moved this thread to Plugin Requests. Thank you.



Can you confirm what engine you're using? You posted in MZ Plugin Releases, but you repeatedly refer to MV in your post.

Sounds like what you're after is a self-variables plugin.
 

xabileug

Veteran
Veteran
Joined
Jul 1, 2014
Messages
178
Reaction score
38
just find a custom message plugin that has eval script in it.
if you could show a setup, you actually just add a show picture depending on the variable (relationship points)
the best show text picture plugin i know is that of triacontane Dtextpicture . its for mv
 

ShadowDragon

Realist
Veteran
Joined
Oct 8, 2018
Messages
4,151
Reaction score
1,586
First Language
Dutch
Primarily Uses
RMMV
I made a system "ULS (Universal Level System" for MV, you can try if it
will work in MZ, chose arent actor based, but more json based.

while the windows might work, or not, each person in JSON has it's
own variable (non dependent of the database) but you may assign them.

they have own exp system (not yet able to increase on level up), but you
may assign a variable to it (for level restriction dungeon) if the normal way dont work.

there are some possibilities you can try if you dont want the windows,
so you can use your own graphics as well :) (I cannot port it if it doesn't work)
but if you have the knowledge, you can try too.
 

lubu15

Villager
Member
Joined
Feb 1, 2021
Messages
22
Reaction score
14
First Language
English
Primarily Uses
N/A
my gosh guys, thanks so much for the help.
This was for RPG Maker MZ, sorry about that Shaz, looks like I did get a little confused.

Will definitely try out some of the stuff you guys suggested. But yes, I do think I'm after a self variables plugin of some kind.
 

Trihan

Speedy Scripter
Veteran
Joined
Apr 12, 2012
Messages
3,709
Reaction score
2,818
First Language
English
Primarily Uses
RMMZ
my gosh guys, thanks so much for the help.
This was for RPG Maker MZ, sorry about that Shaz, looks like I did get a little confused.

Will definitely try out some of the stuff you guys suggested. But yes, I do think I'm after a self variables plugin of some kind.
The VisuStella Movement and Events Core includes a self variables feature.
 

Latest Threads

Latest Posts

Latest Profile Posts

would i get in trouble if i didn't take out the computer icons on my fake computer screen i had Discord, Messanger, and rpg maker up
Auto-Adjust Text Outline, Run Common Events on Transfer | RPG Maker News #111

I sweep the floor. My brother, "You didn't do a good job. There are dust bunnies everywhere." He sweeps the floor weeks later. "I just swept. Why are there dust bunnies everywhere?" Me," Guess you didn't do a good enough job."
Today, I tortured my internet by downloading 20 files at once and then I played a guessing game as to which would finish their download first :kaojoy:
Oh god, just watched HawkZombie's stream of my game and realised that *none* of the branching scenes work properly. One has no character graphic, one soft locks due to a passability issue, and one doesn't have its autorun set to the right trigger. I've got first prize in the bag, baby.

Forum statistics

Threads
113,791
Messages
1,077,505
Members
147,836
Latest member
egekaia
Top