Skip to content
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Donate
Collapse

Plutonium

  1. Home
  2. BO2 Modding Releases & Resources
  3. My Personal Menu Base Release

My Personal Menu Base Release

Scheduled Pinned Locked Moved BO2 Modding Releases & Resources
4 Posts 2 Posters 1.3k Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • JuiceTrailer62undefined Offline
    JuiceTrailer62undefined Offline
    JuiceTrailer62
    wrote on last edited by
    #1

    Just passing it along since Diablo 4 is coming out soon. This isn't anyway the best menu base. It has issues and needs cleaning, but it does work and can be ported to any game title.

    Hopefully I labeled everything correctly for the admins.

    Features:

    • shaders

      • toggle
      • sub menu
      • color
      • resize hud
    • text

      • options <- duh
      • slider arrays <- strtok or array()

    3.PNG 2.PNG 1.PNG

    The feature elements classified as option_left and option_right.

    • issue
      • if self.menu.toggle ~ toggle shader
      • if self.menu.shader ~ color shader
      • if self.menu.function == new_menu ~ submenu shader
      • if self.menu.slider ~ slider option
        does have support for infinity toggles but the why the scrolling is done it won't work.
        could be some unknow issues also, report any and I'll fix it in the year 2038

    this does work very well and I haven't had any issues with it but it isn't the best way to do it.

    this can be improved by migrating from a store text system to a set menu text system.

    • XTUL latest overflow

      • have fun
    • Doesn't have client support

      • can be added but I didn't
    • How To Add Menus?
      4.PNG

    • How Do I Add Menus In Menus?
      5.PNG
      you can also just do convert( a1 ) as the title

    • How Do I Add Option?

      • Option Types
        6.PNG
      • Creating a toggle
        • <toggle> bool( self.toggle ), bool is just true and false
          inside the function you need update_toggle( bool( self.toggle ) ) to update the toggle
      • Creating a shader
        • <shader> will be the shader, example "white", this could be anything.
        • <input_a> is the hud element - you can probably just undefined this
        • <input_b> is the color for the shader
        • <input_c> is the width of the shader
        • <input_d> is the height of the shader
      • Creating a slider
        • <array> this will be what the array gets placed in
          this can be a strtok( "", ";" ) or array( "", "" )
          you can also store an array in the init() level.testing = array( "a", "b", "c" );
          and place level.testing the the <array> location in the self slider();
        • useful slider junk
          • self.menu.slider[ menu ][ "slider" ][ cursor ];
            example: beans = self.menu.slider[ menu ][ "slider" ][ cursor ];
            if( beans = <Text A> ) do text a
          • self.menu.slider_cursor[ menu + "_cursor" ][ cursor ];
            same as before but you can use the cursor index to increment values

    if you ever worked with the aio structure the code will be very similar except one was bullied by me. I haven't seen a menu base that uses toggle shaders that is publicly available so do enjoy. If you make any improvements, please share and don't look at the update_scroller().

    If you're just using it for mods, the explanation on how to add menus and option types is good enough for you.

    If you're editing, self.menu.cursor[ self.menu.current_menu ] or cursor = get_cursor() will be your friend same as menu = get_menu();

    • file needs to go here > c:\users\ <YOU> \appdata\local\plutonium\storage\t6\scripts\zm
      https://www.mediafire.com/file/20vpd6hgjc8dxw2/aio_pluto_t6.gsc/file

    • Credits <- these the goons that originally worked with the aio, hopefully didn't miss anyone
      extinct
      xtul
      mikey
      shark
      loz
      xepixtvx
      sygnus
      youviolateme

    PPS the menu isn't good 😄 the curse is now yours

    have a cute snake picture from my collection
    345036639_230527206281947_4457070518581952556_n.jpg

    JuiceTrailer62undefined GrimZz0undefined 2 Replies Last reply
    0
    • JuiceTrailer62undefined Offline
      JuiceTrailer62undefined Offline
      JuiceTrailer62
      replied to JuiceTrailer62 on last edited by
      #2

      JuiceTrailer62 Important, when I was cleaning some of the stuff up, I forgot to add update text back into the overflow fix. This will cause overflow issues. I would fix it myself but that wouldn't make the menu very shitty. FIX :Capture.PNG

      1 Reply Last reply
      0
      • GrimZz0undefined Offline
        GrimZz0undefined Offline
        GrimZz0
        replied to JuiceTrailer62 on last edited by
        #3

        JuiceTrailer62 how do i get itno the menu?>??

        JuiceTrailer62undefined 1 Reply Last reply
        0
        • JuiceTrailer62undefined Offline
          JuiceTrailer62undefined Offline
          JuiceTrailer62
          replied to GrimZz0 on last edited by
          #4

          GrimZz0 Oh in to it? Maybe I should have added instructions, Its ads + knife to open, knife to close and go back a sub menu, and action slot 3 ~ 5 to use sliders

          1 Reply Last reply
          0

          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Recent
          • Tags
          • Popular
          • Users
          • Groups
          • Donate