Creation of pop-up messages in the trip advisor

Post Reply
User avatar
MyGodness
Modder
Posts: 62
Joined: February 1st, 2020, 2:25 pm

Creation of pop-up messages in the trip advisor

Post by MyGodness » October 9th, 2020, 5:36 pm

Hello everyone,

Today, I asked myself a question. There are messages that are promptly displayed in the trip advisor based on an element, a past place or a given action made by the player in game. For example, when discovering a truck dealership or when passing a tollgate.
I was wondering if it was possible to create this kind of message ourselves for our maps? And if it is possible, is it something relatively easy to set up or is it complicated?

If someone has the answer, this is something that could be useful to me.
User avatar
BenganJ
Moderator
Posts: 7584
Joined: December 15th, 2018, 11:54 am
Location: Gothenburg, Sweden

Re: Creation of pop-up messages in the trip advisor

Post by BenganJ » October 9th, 2020, 5:39 pm

@MyGodness

I think I've seen in Promods lately, that they pop up own messages, but
I haven't the slightest idea on how they do it! Maybe someone else can
confirm and also tell how!

EDIT: I think they pop up a message when passing scenery towns/villages
that the game doesn't do by itself!

BTW, what's hiding under /material/ui/hud? Anyone?
---------------------------------------------------------------------------------------------------------------------------------------------
System: Windows 8.1
Processor: Intel Core i7-4790@
Memory: 16GB
Graphics: ASUS GeForce GTX1660Ti
Image
User avatar
Arayas
Site Admin
Posts: 4061
Joined: December 15th, 2018, 3:25 am
Location: Romania
Contact:

Re: Creation of pop-up messages in the trip advisor

Post by Arayas » October 9th, 2020, 8:30 pm

You can done this by triggers, but you have to create it first, an example easy to clone is newest display of a message entering a country, that's a trigger.
User avatar
MyGodness
Modder
Posts: 62
Joined: February 1st, 2020, 2:25 pm

Re: Creation of pop-up messages in the trip advisor

Post by MyGodness » October 10th, 2020, 9:13 am

Thank you for this lead to explore! I'll look at the triggers then ;)
User avatar
MyGodness
Modder
Posts: 62
Joined: February 1st, 2020, 2:25 pm

Re: Creation of pop-up messages in the trip advisor

Post by MyGodness » October 15th, 2020, 5:51 pm

Hey, I managed to create a small pop-up message when entering an area (thanks to triggers actually, so thank you Arayas). I wrote my text in french but do you think that there's a way to add an english translation somewhere in order to display the text in english for english players ?
Post Reply