Jump to content
The Dark Mod Forums

Recommended Posts

Posted

Scroll bar scrolling or pageturn scrolling. Second is easy, I see now real way of soing the first. The original doesnt have it for a reason. Scroll defs access outside, the lang script, So I dunno how to have code within them. If it's a must i'll try but pageturn works just fine too.

Posted
Scroll bar scrolling or pageturn scrolling. Second is easy, I see now real way of soing the first.

 

Drumple apparently had a working version of a scrolling menu, so it must be possible. Unfortunately, he never posted how he did it before vanishing.

 

the whole bind area scrolls

regardless if you select one or not, they just make it easier to get to a specific area, and you can scroll out

of that area just as easily. then we have arrows of some kind for the scrolling, but we also have a slider

that controls the scrolling...

 

here is a concept of sorts ( it's and in-game shot that actually works, the scrolling slider doesnt at the moment )

but the arrow butttons do scroll the binds area.

 

shot001021ll.jpg

 

Although it would be nice to have the scroll slider working (I don't know for sure that drumple ever got that part to work before leaving), even just using up and down arrows (which apparently did work) would be ok.

Is that what you mean by 'pageturn scrolling'?

Posted

I can prolly do that but I meant list of commands then like click arrow and take a page down not just a single comand. My main issue is that scroll defs are only limitedly used in the original code and theres not alot on them in any resource so whatever I do it basically trying new territory. Not Saying I couldnt get the scroll bar to function but it will take me longer and I think theres more important issue personally.

Posted

I think it's worth figuring out how to do it, especially since we know it's possible. We'll need it for a number of places in the main menu, as well as the purchase menu when we get around to that.

 

Might be worth posting on D3W. If drumple figured out how to do it, I'm sure some other people have.

  • 2 weeks later...
Posted

Is there any reason that you couldn't just use something like the following as a parent window for the bindDefs?

 

Scrolling Text Fields

If you want to make a large block of text with a scrollbar to the side, you can use an editDef:

Code:

editDef main_pda_text

{

text "Put lots of text here."

rect 200 ,96 ,352 ,216 // size of entire field

foreColor 1, 1, 1, 1 // color of text

bordercolor 1, 1, 1, 1 // outline color for scroll bar?

textscale 0.25 // size of text

wrap 1 // the important one- if 0, field will not scroll

readonly 1 // Text cannot be edited by user? Haven't played with this.

}

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

      "The Year of the Rat." 
      😄

      Al Stewart must be proud of you!
      Happy testing!
      @MirceaKitsune
      · 1 reply
    • datiswous

      I posted about it before, but I think the default tdm logo video looks outdated. For a (i.m.o.) better looking version, you can download the pk4 attached to this post and plonk it in your tdm root folder. Every mission that starts with the tdm logo then starts with the better looking one. Try for example mission COS1 Pearls and Swine.
      tdm_logo_video.pk4
      · 2 replies
    • JackFarmer

      Kill the bots! (see the "Who is online" bar)
      · 3 replies
    • STiFU

      I finished DOOM - The Dark Ages the other day. It is a decent shooter, but not as great as its predecessors, especially because of the soundtrack.
      · 5 replies
    • JackFarmer

      What do you know about a 40 degree day?
      @demagogue
      · 4 replies
×
×
  • Create New...