aaronjmcd2

Veteran
Veteran
Joined
Aug 19, 2015
Messages
36
Reaction score
0
First Language
English
Primarily Uses
Hi,

I'd like a switch to be flipped at some point during the game.  When the switch is activated it permanently changes the part of the end of battle text that says "37 experience received!" (or whatever number of experience) to "You stole 37 experience from the enemy!", or something like that.  How do I permanently change that text.  BTW, I'm a newb to all of this, so I might need it spelled out for me.  Thanks!  
 

Numieth

local demon appreciator
Veteran
Joined
Sep 1, 2015
Messages
32
Reaction score
26
First Language
German
I think you could try the database, under "Terms". On the right side there's this big window with "Messages", among them one for "Obtain Exp". You could try changing that?

But maybe make a copy of the original message first. I haven't messed with that option myself yet, so this is just me guessing.
 

aaronjmcd2

Veteran
Veteran
Joined
Aug 19, 2015
Messages
36
Reaction score
0
First Language
English
Primarily Uses
I think you could try the database, under "Terms". On the right side there's this big window with "Messages", among them one for "Obtain Exp". You could try changing that?

But maybe make a copy of the original message first. I haven't messed with that option myself yet, so this is just me guessing.
I'm glad I know about that now, but the question still remains as to how I change a term mid-game via a switch, or something?
 

tagg1080

Warper
Member
Joined
Nov 10, 2015
Messages
3
Reaction score
0
First Language
english
Here is one solution.

In rpg_manager.js there is:

BattleManager.displayVictoryMessage = function() { //My Custom message: $gameMessage.add($gameVariables[0]); //The default message:    $gameMessage.add(TextManager.victory.format($gameParty.name()));};Then at any point you can make an event that has a script that does:

$gameVariables[0] = "Testing End Message";And that seems to work fine.
 

Shaz

Global Moderators
Global Mod
Joined
Mar 2, 2012
Messages
43,682
Reaction score
15,293
First Language
English
Primarily Uses
RMMV
You would need a plugin.


Moving to JS Plugin Requests
 

aaronjmcd2

Veteran
Veteran
Joined
Aug 19, 2015
Messages
36
Reaction score
0
First Language
English
Primarily Uses
Here is one solution.

In rpg_manager.js there is:

BattleManager.displayVictoryMessage = function() { //My Custom message: $gameMessage.add($gameVariables[0]); //The default message:    $gameMessage.add(TextManager.victory.format($gameParty.name()));};Then at any point you can make an event that has a script that does:

$gameVariables[0] = "Testing End Message";And that seems to work fine.
Yeah, it looks great.  I don't know anything about code, what do you insert to maintain the experience points in the message--so I can still have a message that says, "You have taken 23 xp from the enemy."?
 

tagg1080

Warper
Member
Joined
Nov 10, 2015
Messages
3
Reaction score
0
First Language
english
What I showed you, that new message is only in code and has nothing to do with the game's UI section Database->Terms->Messages.

You can always go into the database->terms-.Messages->"Obtain Exp" and change the default.

Or you can add your own, which is what I was showing you.
 

Latest Threads

Latest Posts

Latest Profile Posts

Creating 3D CGs for Cutscenes. :kaosalute:

I keep wanting to post every song I make for the game and have to hold back on that because at this rate, I'll have spoiled all the really good stuff lol..
DerniBorges wrote on TSR's profile.
Is there any way this plugin works with the big character, and the QSprite plugin? Using RTP chars, everything works fine, but the big ones, with QSprite, it's like that in the image, it doesn't reflect right. And there is, in the settings, an option to fix it. Thanks.
bug2.png
Bengawan Solo with fantasy style arrangement. :D
So I just got my computer back (Was posting stuff on my phone) But now my dang monitor's broken! I'll need to get a new one, which means... JOBS! Yaaay... When I get a new monitor, I'll post picture of one of my RPGMMV projects.
Wish me luck... :kaodes:

Forum statistics

Threads
115,899
Messages
1,093,809
Members
151,144
Latest member
Starnumb
Top