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,813
Reaction score
14,977
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,113
Reaction score
1,567
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,699
Reaction score
2,800
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

Feeling cute, might make an essay on the presence of Malaise in the gaming industry. idk
Just went to Metrocon here in Tampa Florida. My first anime convention. They had an anime chess battle and some funny impromtu comedy. The comedy was my favorite part. How is everyone?
I'm thinking about opening a "game in development" thread, though i'm not entirely sure yet. It's still really early in development, and most i have to show are assets or really chaotic map WIPs. There is a lot of story +the world itself though, and i struggle with converting all of my notes into readable text, and a thread might help...?
I see a button in a game, I press it. Cannot resist the temptation even if I know it's a trap.

Forum statistics

Threads
113,592
Messages
1,076,071
Members
147,589
Latest member
daldantas
Top