Jump to content
The Dark Mod Forums

Scrolling Menu


Springheel

Recommended Posts

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.

Link to comment
Share on other sites

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'?

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

  • 2 weeks later...

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.

}

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

    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 1 reply
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
    • JackFarmer

      @TheUnbeholden
      You cannot receive PMs. Could you please be so kind and check your mailbox if it is full (or maybe you switched off the function)?
      · 1 reply
×
×
  • Create New...