Forum Discussion

Re: Saving Portal Welcome Message

@Wickid_Splat Hi mate,
I suspect you’ll need to set a message using the rules editor.
I think there is a “block” you can use on the editor that is called “match message” or something like that.

Use the search bar at the top of the rules editor page to make it easier to find.

Enter something like “message” and it’ll call up anything message related.

9 Replies

  • creepnpeep's avatar
    creepnpeep
    Seasoned Ace
    4 years ago

    It won’t be as straight forward as entering your message though.

    you'll need to make a code string to get a message to broadcast correctly 

  • Hi, do you have a link to teach me how to write a code string, i am a php programmer, but code strings for the game are new to me. When i click on rules editor at the bottom of the tree it does nothing, its not a link like the rest of the portal tree is.     Is the code it just a DOS command or HTML string ?

    Ok i found a resource...  https://www.youtube.com/watch?v=CQthH64fIA8

  • creepnpeep's avatar
    creepnpeep
    Seasoned Ace
    4 years ago
    @Wickid_Splat Hi mate,

    You may be over complicating things.
    First thing to bear in mind, the rules editor is only accessible for the following portal game modes/ servers:
    Free For All
    TDM
    Vehicle TDM
    and the new Custom Conquest game mode.

    For all the other portal game modes, the rules editor is not available and will be “greyed out” and can’t be used.

    For the above mentioned game modes where the editor IS available, click on the rules editor to get started.
    You will have to use the pre-determined logic blocks to construct various settings/ rules etc.
    It’s a bit confusing and you’ll need some understanding of coding language.

    I’m in no way an expert and I have only managed to fumble through things by trial and error.
    You will see a warning icon if you put blocks together that don’t connect.
    You can also right click on any block and it will give you a brief “help” description of what the block does.

    There are YouTube videos that may help.

    I have also tried to get a message to broadcast upon entering one of my servers but so far I have not been successful.
    I haven’t spent very long on it so I will have another go when I have time.
  • Hi, yes i found some youtube videos, thanks for the reply.   I too have not been able to get the message to display when the editor is not available or when entering the server.   

    I am familiar with the idea behind the logic blocks.  In php we use events, functions and methods which are based on the same principle, doing a specific job when called.  So i get it when for instance the event OnPlayerJoinGame is called, the action will only execute when a player joins the game.     So the rules editor i do understand now after the video i watched, ill just have to play around with the Event options. 

    However, when the editor is not available, what can be done.   Why DICE did not just allow the saving of the message and winner message fields in the local DB i dont know, seems it could have been added pretty easily by just adding two more fields to the DB and two more values to the array.

    Looking at all the drop down options, i do see where it does have alot of options that seem to be PHP related such as if, when, append array, and many others.   So ill play with this and see if i can get it working.  

    Have a look at the custom experiences and then choose modify then go into the editor, it shows you the code breakdown and what as selected, that is a big help....  

    Anyway, if you figure something out please share, and i will do the same.....   Thanks again 🙂

  • Wickid_Splat's avatar
    Wickid_Splat
    4 years ago

    Well after playing around with it using a very simple code when player dies and then displaying a test message, i could not get it to display anything when the player died.   So my observation is that the message feature does not work from within the editor.    And i have still not figured out how to address specifically the "Welcome Message" and "Match Message" fields (on the portal form) from within the editor.

  • creepnpeep's avatar
    creepnpeep
    Seasoned Ace
    4 years ago
    @Wickid_Splat Hi mate,

    I think this should help you.
    You should be able to do the same thing as this guy is showing.
    You’ll just need to adjust the code to display a message upon dying, or whenever you want the message to display.


    https://youtu.be/wXfErnAt5Mw
  • Doing it that way we dont need the welcome message input from the form, we can show it as a custom message to all players.   Perfect solution!!   Thank you so much 🙂

About Battlefield 2042 General Discussion

Discuss the latest news and game information around Battlefield 2042 in the community forums.16,223 PostsLatest Activity: 7 days ago