JosephG

Villager
Member
Joined
Jun 25, 2015
Messages
24
Reaction score
4
First Language
English
Primarily Uses
Does anyone know how to add text/words to map/terrain (with a script, not images). I am not talking about the Map Names that appear when you enter a new region, but rather the ability to add text (like a decoration) on the map. I could then use this to do things like add titles to buildings above them so people know what the buildings are before entering. Any suggestions/ideas/script links? I have searched, I only post if I really can't find it first.

Oh, and I'm new here  :D  hi!
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,930
Reaction score
11,876
First Language
German
Primarily Uses
RMMV
I've moved this thread to Script Request. Please be sure to post your threads in the correct forum next time. Thank you.
 

JosephG

Villager
Member
Joined
Jun 25, 2015
Messages
24
Reaction score
4
First Language
English
Primarily Uses
Ahh sorry about that! I wasn't sure if it's a request, or asking for help pointing to the correct existing script.
 

Bex

Regular
Regular
Joined
Aug 2, 2013
Messages
1,996
Reaction score
794
First Language
German
Primarily Uses
RMMZ
Use Events for Example,you could choose a Chargrafic that contains the letters as Grafic insteed of the standard Chargrafic.
 
Last edited by a moderator:

JosephG

Villager
Member
Joined
Jun 25, 2015
Messages
24
Reaction score
4
First Language
English
Primarily Uses
Use Events for Example,you could choose a Chargrafic that contains the letters as Grafic insteed of the standard Chargrafic.
Sorry, where is Chargrafic when you place an Event? Could you screenshot this or provide some steps - I do not see them anywhere.
 

Andar

Regular
Regular
Joined
Mar 5, 2013
Messages
39,930
Reaction score
11,876
First Language
German
Primarily Uses
RMMV
That "chargrafic" would be a picture/tileset grafic you have to do yourself, which you stated in the OP that you don't want to do that.
 

JosephG

Villager
Member
Joined
Jun 25, 2015
Messages
24
Reaction score
4
First Language
English
Primarily Uses
That "chargrafic" would be a picture/tileset grafic you have to do yourself, which you stated in the OP that you don't want to do that.
That's correct - I don't want to use graphics made up of text. It is much more efficient (I would think) to have a script that generates text.
 

Kes

Regular
Regular
Joined
Aug 3, 2012
Messages
23,894
Reaction score
13,907
First Language
English
Primarily Uses
RMMZ
I can think of two possible ways to do this.

If the player is using a mouse and lets the cursor move over something (person, object etc) then Shaz's Mouse script allows for a word like that to appear.  Normally that is associated with a graphic event like an NPC, but there would be no reason why you couldn't place a blank event on a building.  It would need a bit of lateral thinking.  For example (taken from the script instructions)

# <mouse talk Gloria>

#   will change the cursor into the 'talk' icon and display the name Gloria

 

So you would configure it with some generic icon instead of the 'talk' one and then in an event on the building you would put

<mouse talk Mayor's home>

When the mouse moved over that building, even though the player might be on the other side of the map, the words Mayor's home would appear.  If you are interested, the script is here.

 

 

Another option might be a popup script.  You can find Vlue's here  I haven't used this script myself, but it looks like it could be made to do what you want.  I expect that there are other popup scripts out there.
 

JosephG

Villager
Member
Joined
Jun 25, 2015
Messages
24
Reaction score
4
First Language
English
Primarily Uses
Hmm, well would there be a way to have this fixed on the screen so that it doesn't required a mouse-over effect?
 

Kes

Regular
Regular
Joined
Aug 3, 2012
Messages
23,894
Reaction score
13,907
First Language
English
Primarily Uses
RMMZ
The only way I can think of (and this is untested, and might not work anyway) would be to have an event on each object/building where you want this to appear, and then put the name on it.  The big problem with that is that the only way to have that display all the time would be to set it to parallel process, and to have lots of parallel processes running constantly would cause your game to lag badly.  Have enough of them on a map and it could become unplayable.

Hmm, wait a minute, just had a thought and want to check something.

This might work using Vlue's script.  I stress the 'might' because I've not used this script and so do not know if you can position each popup to a unique place, or whether it appears in the same place each time.  If it does that, it would be no good to you.  You would also need Shaz's script which uses regions to call up a common event.  You would also need a lot of common events.

Remember the player can only see what's on the screen at that time, not what's on any other part of the map, so you only need descriptions visible to the player at that moment.

Paint a line of e.g. region 63 around your building at the point where it becomes visible.  That region calls up a common event with the appropriate script call for one of Vlue's popups to appear.  I think you can determine how long the popup stays visible, but you would have to set a limit to it, because otherwise all your descriptions would eventually clutter up the screen.  You could use the same common event for all inns, all items shops etc., but for unique places you would need a new common event each time.

If the map is default size so that the player can see the whole map at once, then perhaps put the script calls into a parallel process for when the map is loaded (remember to put 'Erase event' as the final command) so that they all show when the player arrives.
 

JosephG

Villager
Member
Joined
Jun 25, 2015
Messages
24
Reaction score
4
First Language
English
Primarily Uses
Thanks for all your input... still, I'm hoping someone could write the script as I am very inexperienced at this, unfortunately.
 

Latest Threads

Latest Profile Posts

Updated my game's development post with the first video of it in action!


'Milestone Get!' :p
Heh, heh. I've been experimenting with a naughty word detector Common Event and using scripts to check certain strings. I never thought I would see such language in computer code. I would post a screen shot, but it probably wouldn't be appropriate, even with a Spoiler. But it certainly makes me laugh and it works great.
Yknow what? Im seriously considering recruiting a manager to oversee my games development.
Because I cannot focus or complete these tasks by myself. I need someone to give me orders, without having them be my boss.

Forum statistics

Threads
136,806
Messages
1,270,212
Members
180,561
Latest member
BlueLotus
Top