Jump to content
The Dark Mod Forums

[Bug] multiple warnings for newspaper readable


grodenglaive

Recommended Posts

Using the newspaper gui definition (guis/readables/sheets/newspaper_bridgeport03.gui) on a readable creates multiple warnings in TDM console.

It still works fine, but there is a wall of text:

newspaperbug.thumb.jpg.72091a875efe03304bfce3e16e2d1341.jpg

The same is true for the other newspaper guis.

Full info: to create a readable newspaper I used the model newspaper01.iwo and then changed the class to atdm:readable_immobile, then edited the info using the Readable Editor - I assume this is the correct way to do it.  I also tried using one of the other readables such as atdm:readable_immobile_paper01 and selected the gui definition of a newspaper, but got the same result.

Link to comment
Share on other sites

I think the leftPageCurl and RightPageCurl errors are because those "Curls" are probably the navigation buttons for multipage gui's (curled paper in the corner), but in the case of newspapers for example, they are (often) not multipage, but this code is still in the respective gui's, giving this error.

 

newspaper_bridgeport03.gui

windowDef BackgroundShow
{
	notime 1
	onTime 0
	{
		set "backgroundImage::matcolor" "1 1 1 1";
		if ("gui::curPage" > 1)
		{
			set "leftPageCurl::matcolor" "1 1 1 1";
		}
		if ("gui::curPage" < "gui::numPages")
		{
			set "rightPageCurl::matcolor" "1 1 1 1";
		}
	}
}

I don't know what's wrong. Maybe it first needs to check if there are is more than one page?

if ("gui::numPages" > 1) ?

Edited by datiswous
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recent Status Updates

    • JackFarmer

      @joebarnin
      Jeff, I sent you PM a few weeks back but you did not respond. Maybe your inbox is full?
      · 5 replies
    • The Black Arrow

      I was playing Skyrim, got bored fast. Got back to The Dark Mod just for one mission, played "Somewhere above the City" which is not really a great mission but still good, as in above-average.
      My biggest regret is living in this country, where there's a heat wave, I am sweating at 20c and I really wish for temperatures below 5c.
      · 10 replies
    • Skaruts

      Is there something wrong with the forums lately, or is it my browser? I've been having trouble formatting posts, and just now I couldn't format anything at all.
      I'm using Vivaldi.
      Usually I have to: select text, click bold, nothing happens, select again, click bold, then it works. 
      Same for other stuff, like creating spoilers, bullet points, links. Nothing works the first time. 
      · 1 reply
    • STiFU

      Back from a spontaneous 1-week trip to Lanzarote with wife and son. I hope beta testing has been going well...
      · 1 reply
    • datiswous

      Whenever I eat fried chicken these days I think of this scene in The Black Mage..

      · 1 reply
×
×
  • Create New...