Replay Mod Forums

Custom Main Menu for FTB Revelation
    • User
    • 1 forum post
    User110134
    #1

    Jan 09 18, 10:12 AM

    I added a custom Main Menu for the FTB Revelationpack to show the ReplayMod button


    You can find the mainmenu.json below;

    {
    "images":
    {
    "modpack":
    {
    "image" : "mainmenu:modpack.png",
    "posX" : -125,
    "posY" : -5,
    "width" : 250,
    "height" : 150,
    "alignment" : "top_center"
    }
    },

    "buttons":
    {
    "singleplayer":
    {
    "text" : "Singleplayer",
    "posX" : 0,
    "posY" : -28,
    "textOffsetX" : -10,
    "width" : 98,
    "height" : 14,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "left_center",
    "texture" : "mainmenu:blankbutton.png",
    "action" :
    {
    "type" : "openGui",
    "gui" : "singleplayer"
    }
    },
    "multiplayer":
    {
    "text" : "Multiplayer",
    "posX" : 0,
    "posY" : -14,
    "textOffsetX" : -14,
    "width" : 98,
    "height" : 14,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "left_center",
    "texture" : "mainmenu:blankbutton.png",
    "action" :
    {
    "type" : "openGui",
    "gui" : "multiplayer"
    }
    },
    "options":
    {
    "text" : "Options",
    "posX" : 0,
    "posY" : 0,
    "textOffsetX" : -23,
    "width" : 98,
    "height" : 14,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "left_center",
    "texture" : "mainmenu:blankbutton.png",
    "action" :
    {
    "type" : "openGui",
    "gui" : "options"
    }
    },
    "mods":
    {
    "text" : "Mods",
    "posX" : 0,
    "posY" : 14,
    "textOffsetX" : -28,
    "width" : 98,
    "height" : 14,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "left_center",
    "texture" : "mainmenu:blankbutton.png",
    "action" :
    {
    "type" : "openGui",
    "gui" : "mods"
    }
    },
    "language":
    {
    "text" : "Language",
    "posX" : 0,
    "posY" : 28,
    "textOffsetX" : -16,
    "width" : 98,
    "height" : 14,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "left_center",
    "texture" : "mainmenu:blankbutton.png",
    "action" :
    {
    "type" : "openGui",
    "gui" : "languages"
    }
    },
    "replayviewer":
    {
    "text" : "replaymod.gui.replayviewer",
    "posX" : -51,
    "posY" : -25,
    "width" : 98,
    "height" : 20,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "center",
    "texture" : "mainmenu:blankbutton.png",
    "wrappedButton": 17890234
    },
    "replayeditor":
    {
    "text" : "replaymod.gui.replayeditor",
    "posX" : -51,
    "posY" : 25,
    "width" : 98,
    "height" : 20,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "center",
    "texture" : "mainmenu:blankbutton.png",
    "wrappedButton": 17890237
    },
    "replaycenter":
    {
    "text" : "replaymod.gui.replaycenter",
    "posX" : -51,
    "posY" : 0,
    "width" : 98,
    "height" : 20,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "center",
    "texture" : "mainmenu:blankbutton.png",
    "wrappedButton": 17890236
    },
    "pack support":
    {
    "text" : "Pack Support",
    "posX" : -90,
    "posY" : -28,
    "textOffsetX" : 0,
    "width" : 98,
    "height" : 14,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "right_center",
    "texture" : "mainmenu:blankbutton.png",
    "action" :
    {
    "type" : "openLink",
    "link" : "https://forum.feed-the-beast.com/forum/ftb-revelation.274/"
    }
    },
    "changelog":
    {
    "text" : "Changelogs",
    "posX" : -90,
    "posY" : -14,
    "textOffsetX" : 5,
    "width" : 98,
    "height" : 14,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "right_center",
    "texture" : "mainmenu:blankbutton.png",
    "action" :
    {
    "type" : "openLink",
    "link" : "https://www.feed-the-beast.com/projects/ftb-revelation/files"
    }
    },
    "website":
    {
    "text" : "Website",
    "posX" : -90,
    "posY" : 0,
    "textOffsetX" : 15,
    "width" : 98,
    "height" : 14,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "right_center",
    "texture" : "mainmenu:blankbutton.png",
    "action" :
    {
    "type" : "openLink",
    "link" : "http://www.feed-the-beast.com/"
    }
    },
    "forums":
    {
    "text" : "Forums",
    "posX" : -90,
    "posY" : 14,
    "textOffsetX" : 15,
    "width" : 98,
    "height" : 14,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "right_center",
    "texture" : "mainmenu:blankbutton.png",
    "action" :
    {
    "type" : "openLink",
    "link" : "http://forum.feed-the-beast.com/forum/"
    }
    },
    "quit":
    {
    "text" : "Quit",
    "posX" : -90,
    "posY" : 28,
    "textOffsetX" : 22,
    "width" : 98,
    "height" : 14,
    "normalTextColor" : -1,
    "hoverTextColor" : 10027008,
    "alignment" : "right_center",
    "texture" : "mainmenu:blankbutton.png",
    "action" :
    {
    "type" : "quit"
    }
    },
    "refresh":
    {
    "text" : "",
    "posX" : -20,
    "posY" : 0,
    "width" : 20,
    "height" : 20,
    "alignment" : "top_right",
    "texture" : "mainmenu:refresh.png",
    "action" :
    {
    "type" : "refresh"
    }
    }
    },

    "labels":
    {
    "forge":{
    "text" : "Forge #forgeversion#",
    "posX" : 2,
    "posY" : -13,
    "fontSize" : .6,
    "color" : -1,
    "hoverColor" : -1,
    "alignment" : "bottom_left"
    },
    "modsloaded":{
    "text" : "#modsloaded# Mods Loaded",
    "posX" : 2,
    "posY" : -7,
    "fontSize" : .6,
    "color" : -1,
    "hoverColor" : -1,
    "alignment" : "bottom_left"
    },
    "minecraft":{
    "text" : "Minecraft 1.12.2",
    "posX" : -50,
    "posY" : -13,
    "fontSize" : .6,
    "color" : -1,
    "hoverColor" : -1,
    "alignment" : "bottom_right"
    },
    "mojang":
    {
    "text" : "Copyright Mojang AB",
    "posX" : -65,
    "posY" : -7,
    "fontSize" : .6,
    "color" : -1,
    "hoverColor" : -1,
    "alignment" : "bottom_right"
    }
    },

    "other":
    {
    "background":
    {
    "image" : "mainmenu:background.png",
    "mode" : "fill"
    }
    }
    }


    • Developer
    • 1883 forum posts
    User10
    #2

    Jan 15 18, 02:24 AM

    Thanks for sharing, I added it to the gist.