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

Veteran
Veteran
Joined
Mar 5, 2013
Messages
35,809
Reaction score
9,466
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

Veteran
Veteran
Joined
Aug 2, 2013
Messages
1,624
Reaction score
502
First Language
German
Primarily Uses
RMMV
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

Veteran
Veteran
Joined
Mar 5, 2013
Messages
35,809
Reaction score
9,466
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

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,580
Reaction score
12,123
First Language
English
Primarily Uses
RMVXA
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

Veteran
Veteran
Joined
Aug 3, 2012
Messages
22,580
Reaction score
12,123
First Language
English
Primarily Uses
RMVXA
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 Posts

Latest Profile Posts

HexMozart88 wrote on RHachicho's profile.
Hey wait a minute, I remember you!
Granny.gif
Nap! Knit! Read! Repeat!
Granny's got a busy life now :3
Бас Лого.png
Reflections on the topic of choosing the path of the main character )
Now I want to change back to a Class system again xD Around and around we go!
Progress on the title graphic:
titledemo3.png
titledemo2.png
I'm still looking at the best way to do the subtitle.

Forum statistics

Threads
121,905
Messages
1,145,074
Members
160,165
Latest member
zouthay
Top