[Q]About optionmain.dat

Results 1 to 1 of 1
  1. #1
    Account Upgraded | Title Enabled! DennisDee is offline
    MemberRank
    Jan 2007 Join Date
    SloveniaLocation
    327Posts

    [Q]About optionmain.dat

    In e.pk is file named optionmain.dat. Actually its menu, when you press ESC button. Now i edited it,that will be used like F1 menu, but with all menus in 1 menu. So, ESC normal menu and F1 menu in one. Now i get 1 problem,wich i cant figure out. I tried to fix it like 2,3 hours :eek:. Maybe its some kind of stupid mistake,but anyway.

    In optionmain it looks like this:

    ( page
    ( pos 177 221)
    ( offset 3 5)
    ( button selchar (colorkey 0 0 0) (bitmap "empbut") (text "Select Character") ( color 255 255 255))
    )
    If i press for example on Team Button and after that on Graphic settings, nothing happends.
    Then i tried something else, like this
    ( page
    ( pos 177 221)
    ( offset 3 5)
    ( button ( param load "charsel") (colorkey 0 0 0) (bitmap "empbut") (text "Select Character") ( color 255 255 255))
    )
    In that case Graphic settings can be opened,but i cant edit anything. Same is on rest of buttons (Sound Settings, Select Caharacter, Other Settings).

    But really funny is, that Cancle button work in original style, even when i press Team button and after that cancle.
    ( page
    ( pos 690 570)
    ( offset 3 5)
    ( button cancel (colorkey 0 0 0) (bitmap "empbut") (text "Exit") ( color 255 255 255))
    )
    Any idea, how to make it work?From where does ESC menu read files? I found files like gameetc_option.dat / sound_option.dat / graphics_option.dat, but in edit .dat they work without changes (So they donw work xD)




Advertisement