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,889
Reaction score
9,514
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,626
Reaction score
505
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,889
Reaction score
9,514
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,592
Reaction score
12,137
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,592
Reaction score
12,137
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

[Literally everything] is not defined.
Some neat things I made.
Shown to you in the form of an awful Windows Movie Maker Video.
1653453172179.png
Another amazing plugin by Dsiver! Thank you!

Salvage plugin. Craft something you decide you no longer need, or find an item you have no interest in, salvage it for scrap and resources. As you salvage items, gain EXP and level up. The higher your level, the better odds you have at succeeding, and the more material you'll actually acquire.
Harold Jam 2022: Dark Universe game jam is live! https://itch.io/jam/haroldjam22

Forum statistics

Threads
122,112
Messages
1,146,577
Members
160,393
Latest member
Highway_Star
Top