Page 1 of 1

Edit dialogue at runtime. - In build. - For custom maps.

Posted: Mon Feb 24, 2025 12:21 am
by Mithrithnogg
Hi. I'm working on an RTS - RPG multiplayer hybrid. It has a map editor. I want to add NPC's as well to the map editor.

I was wondering if it would be possible for me to write a script that will use an input field for players to write their own custom dialogue for those NPC's. And upload it on Steam Workshop for other people to play it.

Like modding but in the playable build. The map already works, but I don't know if this would be possible with the Dialogue System. I.e. If I need to create a second database or something like that, or how to go about it. Thanks in advance.

Re: Edit dialogue at runtime. - In build. - For custom maps.

Posted: Mon Feb 24, 2025 7:31 am
by Tony Li
Hi,

Please see: How To: Create Dialogue Database At Runtime

Tip: You could also let users specify content to go in dialogue entries' Sequence fields (e.g., AudioWait() to play audio) and/or Script fields (e.g., a C# method registered with Lua that gives the player extra resources).