[closed] How to make my own gui.show_story

Discussion of Lua and LuaWML support, development, and ideas.

Moderator: Forum Moderators

Post Reply
User avatar
ZombieKnight
Posts: 161
Joined: June 27th, 2022, 2:26 pm
Location: Czech Republic

[closed] How to make my own gui.show_story

Post by ZombieKnight »

Hi,

Code: Select all

gui.show_story
Shows a 1) text and background, text has that golden bar/line above
-----------2) when no background is given it shows a text on black background WITHOUT THAT GOLDEN BAR/LINE!!!
An I'd like to display text WITH background, but WITHOUT golden bar/line . . .
How to do so?
How to show a message/narration WITHOUT that golden bar/line?
Last edited by ZombieKnight on April 20th, 2024, 5:55 am, edited 1 time in total.
I had saurian in profile before, but I've merged my discord profile with forum one...
User avatar
Celtic_Minstrel
Developer
Posts: 2235
Joined: August 3rd, 2012, 11:26 pm
Location: Canada
Contact:

Re: How to make my own gui.show_story

Post by Celtic_Minstrel »

The story screen is even more complicated than the narration dialog, so I think reimplementing it with gui.show_dialog is a very bad idea. You're welcome to try it if you really want to, but you're almost certainly going to end up with something inferior to the original.
Author of The Black Cross of Aleron campaign and Default++ era.
Former maintainer of Steelhive.
User avatar
ZombieKnight
Posts: 161
Joined: June 27th, 2022, 2:26 pm
Location: Czech Republic

Re: How to make my own gui.show_story

Post by ZombieKnight »

I thought I could just put true in that if, that says if theres a golden line or not...
Okay I'm sticking with the default one
I had saurian in profile before, but I've merged my discord profile with forum one...
white_haired_uncle
Posts: 1207
Joined: August 26th, 2018, 11:46 pm
Location: A country place, far outside the Wire

Re: How to make my own gui.show_story

Post by white_haired_uncle »

Clearly a job for AI.
Speak softly, and carry Doombringer.
User avatar
Pentarctagon
Project Manager
Posts: 5566
Joined: March 22nd, 2009, 10:50 pm
Location: Earth (occasionally)

Re: How to make my own gui.show_story

Post by Pentarctagon »

white_haired_uncle wrote: March 23rd, 2024, 5:46 pm Clearly a job for AI.
Please don't
99 little bugs in the code, 99 little bugs
take one down, patch it around
-2,147,483,648 little bugs in the code
User avatar
unterwassermann
Posts: 28
Joined: August 2nd, 2023, 12:50 pm
Location: Mars

Re: How to make my own gui.show_story

Post by unterwassermann »

You could try to make the background as ASCII art, then it wouldnt show the gold bar.
User avatar
Celtic_Minstrel
Developer
Posts: 2235
Joined: August 3rd, 2012, 11:26 pm
Location: Canada
Contact:

Re: How to make my own gui.show_story

Post by Celtic_Minstrel »

ZombieKnight wrote: March 23rd, 2024, 5:25 pm I thought I could just put true in that if, that says if theres a golden line or not...
Okay I'm sticking with the default one
There's a lot of functionality built in to the story screen that you would have to reimplement yourself if you wanted to alter its appearance.
Author of The Black Cross of Aleron campaign and Default++ era.
Former maintainer of Steelhive.
User avatar
ZombieKnight
Posts: 161
Joined: June 27th, 2022, 2:26 pm
Location: Czech Republic

Re: How to make my own gui.show_story

Post by ZombieKnight »

unterwassermann wrote: March 23rd, 2024, 7:42 pm You could try to make the background as ASCII art, then it wouldnt show the gold bar.
You mean like putting image there instead of backgroung?
If so ... if there are coverters, shouldn't be a big deal.
I had saurian in profile before, but I've merged my discord profile with forum one...
User avatar
ZombieKnight
Posts: 161
Joined: June 27th, 2022, 2:26 pm
Location: Czech Republic

Re: How to make my own gui.show_story

Post by ZombieKnight »

Answer: just make shroud, cinematic theme + dialog(though you can't move back or skip it now).
I had saurian in profile before, but I've merged my discord profile with forum one...
Post Reply