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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 2 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...