The recent addition of dev tools gave us access to (among other things) a Dialog Editor (F4). Dialog windows can be saved to %LOCALAPPDATA%\Introversion\Prison Architect\dialogs as a plain text file. The resulting file has the same format as the existing dialog txt-files that can be found in %ProgramFiles(x86)%\Steam\steamapps\common\Prison Architect\main.dat.
However so far I have not been able to find any way to implement such a custom dialog window. Digging through main.dat I haven't found any code that appears to be used to open a dialog window (only indirectly, for example an event that will specify which npc will pop up and what their message will be). So it seems the game engine handles the dialog windows and opens them only in response to certain hard-coded triggers.
Browsing through the Explorer in the Debug window (F3) while having a mod active that includes a custom dialog hasn't revealed anything useful either.
Am I right in concluding that currently it is not possible to open a standard or custom dialog window in a mod? Or am I missing something?
I certainly hope it's an option that is (or will become) available, being able to take user input would be such a great thing for the mod I have in mind . I could implement buttons in an object's tooltip, but that seems rather unwieldy and to be honest not very user-friendly for what I have in mind.
- Board index Games Prison Architect Prison Architect Modding
- Search
-
- It is currently Tue Apr 23, 2024 9:51 pm
- All times are UTC+01:00
Custom dialogs
Discussion about Mods for Prison Architect
Moderator: NBJeff
-
- level0
- Posts: 3
- Joined: Fri Nov 20, 2015 1:28 pm
Jump to
- Introversion
- Introversion News
- Introversion Lounge
- Introversion Blog
- Games
- Scanner Sombre
- Prison Architect
- Prison Architect
- General
- Community Members
- Campaign
- Escape Mode
- Modding
- Tablet Testing
- Introversion
- Subversion
- Multiwinia
- Multiwinia
- General
- Gameplay Discussion
- Strategy and Tactics
- Mods and Maps
- The Future
- Introversion
- Support
- Windows Troubleshooting
- Defcon
- Defcon
- General
- Strategic Air Command
- The Debriefing Room
- Mod Projects
- Think Tank
- AI Bots
- DEFCON VR
- Introversion
- Support
- Windows Troubleshooting
- Linux Troubleshooting
- Darwinia
- Darwinia
- General
- Mod Projects
- Introversion
- Technical Support
- Windows Issues
- Mac Issues
- Linux Issues
- Translation Issues
- Uplink
- Uplink
- General
- Latest Patch
- Hints and Tips
- The Full Game
- The Future
- Uplink in Moderation
- Introversion
- Nakatomi
- Bug Reports
- The Bonus Disk
- The Latest Patch
- Mac Uplink
Who is online
Users browsing this forum: No registered users and 12 guests