Thread: [RELEASE]Clan Creation Interface

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 35
  1. #1 [RELEASE]Clan Creation Interface 
    RevolutionX PK
    All3n's Avatar
    Join Date
    Jul 2010
    Posts
    1,173
    Thanks given
    1,382
    Thanks received
    526
    Rep Power
    982
    Difficulty: 1/10
    What to know: Where to paste things
    Files edited: RSInterface.java

    It took me a while to make this but I never put it to use, so hopefully someone will

    What you are adding:
    [Only registered and activated users can see links. ]


    First, open RSInterface.java and add this: (big interface)

    Code:
    /*
     *Clan Creation by All3n
     */
    public static void createClan(RSFont[] tda) {
            RSInterface tab = addTabInterface(10409);
            RSInterface scroll = addTabInterface(10309);
            addText(10558, "Create your clan!", tda, 0, 0xff9933, false, true);
    //textstart
    	addText(10017, "Create A Clan", 0xffffcc, false, true, -1, tda, 3);
            addText(10012, "Clan Name:", tda, 0, 0xffffcc, false, true);
            addText(10013, "Clan Leader:", tda, 0, 0xffffcc, false, true);
            addText(10014, "Clan Username:", tda, 0, 0xffffcc, false, true);
            addText(10016, "Clan Password:", tda, 0, 0xffffcc, false, true);
            addText(10018, "Information", tda, 0, 0xffffcc, false, true);
            addText(10019, "You may create a clan", tda, 0, 0xffffcc, false, true);
            addText(10020, "of 15 to fight other", tda, 0, 0xffffcc, false, true);
            addText(10021, "clans anywhere in RX", tda, 0, 0xffffcc, false, true);
            addText(10022, "and gain points for", tda, 0, 0xffffcc, false, true);
            addText(10023, "killing other clan", tda, 0, 0xffffcc, false, true);
            addText(10024, "members, the more kills", tda, 0, 0xffffcc, false, true);
            addText(10025, "points you have", tda, 0, 0xffffcc, false, true);
            addText(10026, "the more members", tda, 0, 0xffffcc, false, true);
            addText(10027, "you can have on your", tda, 0, 0xffffcc, false, true);
            addText(10028, "clan. Your clan will be", tda, 0, 0xffffcc, false, true);
            addText(10029, "on highscores once", tda, 0, 0xffffcc, false, true);
            addText(10030, "they get 40 kills total", tda, 0, 0xffffcc, false, true);
            addText(10031, "between all members.", tda, 0, 0xffffcc, false, true);
            addText(10015, "Logo: ", tda, 0, 0xffffcc, false, true);
            addText(10032, "Clan Description: ", tda, 0, 0xffffcc, false, true);
            addText(10033, "Create Clan", tda, 0, 0xffffcc, false, true);
            addText(10034, "Reset Info", tda, 0, 0xffffcc, false, true);
            addText(10035, "View Clans", tda, 0, 0xffffcc, false, true);
            addText(10036, "None", tda, 0, 0xffffcc, false, true);
            addText(10037, "None", tda, 0, 0xffffcc, false, true);
            addText(10038, "None", tda, 0, 0xffffcc, false, true);
            addText(10039, "None", tda, 0, 0xffffcc, false, true);
            addText(10040, "None", tda, 0, 0xffffcc, false, true);
            addText(10041, "None", tda, 0, 0xffffcc, false, true);
    //
            /*addSprite(19514, 21, "Interfaces/clanCreation/SPRITE");
            addSprite(19511, 16, "Interfaces/clanCreation/SPRITE");
            addSprite(19512, 24, "Interfaces/clanCreation/SPRITE");
            addSprite(19513, 27, "Interfaces/clanCreation/SPRITE");*/
            addSprite(10569, 46, "Interfaces/clanCreation/SPRITE");
            addSprite(10510, 53, "Interfaces/clanCreation/SPRITE");
            addSprite(10410, 52, "Interfaces/clanCreation/SPRITE");
            addSprite(19234, 9, "Interfaces/clanCreation/SPRITE");
            addSprite(19237, 9, "Interfaces/clanCreation/SPRITE");
            addSprite(19240, 9, "Interfaces/clanCreation/SPRITE");
            addSprite(19243, 9, "Interfaces/clanCreation/SPRITE");
            addSprite(10411, 48, "Interfaces/clanCreation/SPRITE");
            addSprite(10412, 65, "Interfaces/clanCreation/SPRITE");
            addHoverButton1(10528, "Interfaces/clanCreation/SPRITE", 2, 200, 27, "Clan Name", 10529, 1);
            addHoveredButton(10529, "Interfaces/clanCreation/SPRITE", 3, 200, 27, 10530);
    //AddInterfaceButton(int i, int j, int hoverId, String name, int W, int H, String S, int AT)
    	AddInterfaceButton(10591, 32, 10592, "Interfaces/clanCreation/SPRITE", 15, 13, "Close", 1);
            //addHoverButton1(10591, "Interfaces/clanCreation/SPRITE", 32, 15, 13, "Close", 10592, 1);
            addHoveredButton(10592, "Interfaces/clanCreation/SPRITE", 33, 15, 13, 10593);
            //addHoverButton1(10594, "Interfaces/clanCreation/SPRITE", 2, 200, 27, "Leader", 10595, 1);
            //addHoveredButton(10595, "Interfaces/clanCreation/SPRITE", 3, 200, 27, 10596);
            addHoverButton1(19228, "Interfaces/clanCreation/SPRITE", 2, 200, 27, "Clan Leader", 19229, 1);
            addHoveredButton(19229, "Interfaces/clanCreation/SPRITE", 3, 200, 27, 19230);
            addHoverButton1(19526, "Interfaces/clanCreation/SPRITE", 2, 200, 27, "Clan Password", 19527, 1);
            addHoveredButton(19527, "Interfaces/clanCreation/SPRITE", 3, 200, 27, 19528);
            addHoverButton1(19231, "Interfaces/clanCreation/SPRITE", 2, 200, 27, "Clan Username", 19232, 1);
            addHoveredButton(19232, "Interfaces/clanCreation/SPRITE", 3, 200, 27, 19233);
            //addHoverButton1(19234, "Interfaces/clanCreation/SPRITE", 9, 60, 60, "", 19235, 1);
            //addHoveredButton(19235, "Interfaces/clanCreation/SPRITE", 8, 60, 60, 19236);
            //addHoverButton1(19237, "Interfaces/clanCreation/SPRITE", 9, 60, 60, "", 19238, 1);
            //addHoveredButton(19238, "Interfaces/clanCreation/SPRITE", 8, 60, 60, 19239);
            //addHoverButton1(19240, "Interfaces/clanCreation/SPRITE", 9, 60, 60, "", 19241, 1);
            //addHoveredButton(19241, "Interfaces/clanCreation/SPRITE", 8, 60, 60, 19242);
            //addHoverButton1(19243, "Interfaces/clanCreation/SPRITE", 9, 60, 60, "", 19244, 1);
            //addHoveredButton(19244, "Interfaces/clanCreation/SPRITE", 8, 60, 60, 19245);
            addHoverButton1(19246, "Interfaces/clanCreation/SPRITE", 30, 22, 20, "Previous", 19247, 1);
            addHoveredButton(19247, "Interfaces/clanCreation/SPRITE", 31, 22, 20, 19248);
            addHoverButton1(19249, "Interfaces/clanCreation/SPRITE", 28, 22, 20, "Next", 19250, 1);
            addHoveredButton(19250, "Interfaces/clanCreation/SPRITE", 29, 22, 20, 19251);
    //
            addHoverButton1(19515, "Interfaces/clanCreation/SPRITE", 16, 50, 50, "Choose Logo", 19511, 1);
            addHoveredButton(19511, "Interfaces/clanCreation/SPRITE", 39, 50, 50, 19516);
    
            addHoverButton1(19512, "Interfaces/clanCreation/SPRITE", 24, 50, 50, "Choose Logo", 19517, 1);
            addHoveredButton(19517, "Interfaces/clanCreation/SPRITE", 38, 50, 50, 19518);
    
            addHoverButton1(19513, "Interfaces/clanCreation/SPRITE", 27, 50, 50, "Choose Logo", 19519, 1);
            addHoveredButton(19519, "Interfaces/clanCreation/SPRITE", 37, 50, 50, 19520);
    
            addHoverButton1(19514, "Interfaces/clanCreation/SPRITE", 21, 50, 50, "Choose Logo", 19521, 1);
            addHoveredButton(19521, "Interfaces/clanCreation/SPRITE", 36, 50, 50, 19522);
    
    //new
            addHoverButton1(19543, "Interfaces/clanCreation/SPRITE", 12, 50, 50, "Choose Logo", 19544, 1);
            addHoveredButton(19544, "Interfaces/clanCreation/SPRITE", 34, 50, 50, 19545);
    
            addHoverButton1(19540, "Interfaces/clanCreation/SPRITE", 13, 50, 50, "Choose Logo", 19541, 1);
            addHoveredButton(19541, "Interfaces/clanCreation/SPRITE", 35, 50, 50, 19542);
    //new2
            addHoverButton1(19553, "Interfaces/clanCreation/SPRITE", 14, 50, 50, "Choose Logo", 19554, 1);
            addHoveredButton(19554, "Interfaces/clanCreation/SPRITE", 58, 50, 50, 19555);
    
            addHoverButton1(19550, "Interfaces/clanCreation/SPRITE", 18, 50, 50, "Choose Logo", 19551, 1);
            addHoveredButton(19551, "Interfaces/clanCreation/SPRITE", 59, 50, 50, 19552);
    //new3
            addHoverButton1(19556, "Interfaces/clanCreation/SPRITE", 22, 50, 50, "Choose Logo", 19568, 1);
            addHoveredButton(19568, "Interfaces/clanCreation/SPRITE", 60, 50, 50, 19569);
    
            addHoverButton1(19559, "Interfaces/clanCreation/SPRITE", 23, 50, 50, "Choose Logo", 19560, 1);
            addHoveredButton(19560, "Interfaces/clanCreation/SPRITE", 61, 50, 50, 19561);
    //new4
            addHoverButton1(19562, "Interfaces/clanCreation/SPRITE", 62, 50, 50, "Choose Logo", 19563, 1);
            addHoveredButton(19563, "Interfaces/clanCreation/SPRITE", 64, 50, 50, 19564);
    
            addHoverButton1(19565, "Interfaces/clanCreation/SPRITE", 19, 50, 50, "Choose Logo", 19566, 1);
            addHoveredButton(19566, "Interfaces/clanCreation/SPRITE", 63, 50, 50, 19567);
    //
    
            addHoverButton1(19114, "Interfaces/clanCreation/SPRITE", 54, 307, 48, "Clan Description", 19121, 1);
            addHoveredButton(19121, "Interfaces/clanCreation/SPRITE", 55, 307, 48, 19122);
    
            addHoverButton1(19814, "Interfaces/clanCreation/SPRITE", 5, 129, 61, "Create Clan", 19821, 1);
            addHoveredButton(19821, "Interfaces/clanCreation/SPRITE", 6, 129, 61, 19822);
    
            addHoverButton1(19023, "Interfaces/clanCreation/SPRITE", 5, 129, 61, "Reset Info", 19024, 1);
            addHoveredButton(19024, "Interfaces/clanCreation/SPRITE", 6, 129, 61, 19025);
    
            addHoverButton1(19026, "Interfaces/clanCreation/SPRITE", 5, 129, 61, "View another Clan", 19027, 1);
            addHoveredButton(19027, "Interfaces/clanCreation/SPRITE", 6, 129, 61, 19028);
    
            addHoverButton3(19523, "Interfaces/clanCreation/SPRITE", 44, 122, 143, 19524);
            addHoveredButton(19524, "Interfaces/clanCreation/SPRITE", 45, 122, 143, 19525);
    
            tab.totalChildren(55);
    	tab.child(0, 10569, 3, 10);//background
    	tab.child(1, 10410, 12, 50);//background2
    	tab.child(2, 10412, 55, 264);//background3bottom
    	tab.child(3, 10510, 353, 50);//selectionbackground
    	tab.child(4, 10411, 10, 45);//selectionbackground
            tab.child(5, 10528, 143, 54);//clannameback
            tab.child(6, 10529, 143, 54);//clannamehover
            tab.child(7, 10012, 158, 61);//nametext
            tab.child(8, 10591, 485, 15);//close
            tab.child(9, 10592, 485, 15);//close
            tab.child(10, 19228, 143, 89);//leaderback
            tab.child(11, 19229, 143, 89);//leaderbackhover
            tab.child(12, 19231, 143, 124);//leaderback
            tab.child(13, 19232, 143, 124);//leaderbackhover
    	//tab.child(15, 19234, 333, 173);//chooselogo1
            tab.child(14, 10013, 154, 96);//leadertext
            tab.child(15, 10014, 147, 132);//nametext
            tab.child(16, 10015, 373, 56);//logotext
            tab.child(17, 19523, 16, 54);//block
            tab.child(18, 19524, 16, 54);//block
            tab.child(19, 19526, 143, 159);//password
            tab.child(20, 19527, 143, 159);//password
            tab.child(21, 10016, 150, 168);//passtext
    	tab.child(22, 10309, 353, 72);
    	tab.child(23, 10017, 205, 15);
    	tab.child(24, 10018, 50, 58);
    	tab.child(25, 10019, 22, 72);
    	tab.child(26, 10020, 22, 82);
    	tab.child(27, 10021, 22, 92);
    	tab.child(28, 10022, 22, 102);
    	tab.child(29, 10023, 22, 112);
    	tab.child(30, 10024, 22, 122);
    	tab.child(31, 10026, 22, 132);
    	tab.child(32, 10027, 22, 142);
    	tab.child(33, 10028, 22, 152);
    	tab.child(34, 10029, 22, 162);
    	tab.child(35, 10030, 22, 172);
    	tab.child(36, 10031, 22, 182);
    	tab.child(37, 19114, 28, 207);
    	tab.child(38, 19121, 28, 207);
    	tab.child(39, 10032, 44, 216);//desctext
    	tab.child(40, 19814, 61, 275);//button3bottom1
    	tab.child(41, 19821, 61, 275);//button3bottom1
    	tab.child(42, 19023, 189, 275);//button3bottom2
    	tab.child(43, 19024, 189, 275);//button3bottom2
    	tab.child(44, 19026, 318, 275);//button3bottom3
    	tab.child(45, 19027, 318, 275);//button3bottom3
    	tab.child(46, 10033, 96, 280);
    	tab.child(47, 10034, 222, 280);
    	tab.child(48, 10035, 354, 280);
    	tab.child(49, 10040, 165, 216);//desctextinput
            tab.child(50, 10036, 240, 61);//nametextinput
            tab.child(51, 10039, 240, 168);//passtextinput
            tab.child(52, 10037, 240, 96);//leadertext
            tab.child(53, 10038, 240, 132);//nametext
            tab.child(54, 10041, 388, 56);//logotext
    //
    	scroll.totalChildren(36);
    	scroll.child(0, 19234, 5, 0);//chooselogo1
    	scroll.child(1, 19237, 67, 0);//chooselogo2
    	scroll.child(2, 19240, 67, 64);//chooselogo3
    	scroll.child(3, 19243, 5, 64);//chooselogo4
    	scroll.child(4, 19243, 5, 128);//chooselogo5
    	scroll.child(5, 19243, 67, 128);//chooselogo6
    	scroll.child(6, 19234, 5, 192);//chooselogo7
    	scroll.child(7, 19237, 67, 192);//chooselogo8
    	scroll.child(8, 19240, 5, 256);//chooselogo9
    	scroll.child(9, 19243, 67, 256);//chooselogo10
    	scroll.child(10, 19243, 5, 320);//chooselogo11
    	scroll.child(11, 19243, 67, 320);//chooselogo12
    	scroll.child(12, 19515, 10, 5);//logo1
    	scroll.child(13, 19511, 10, 5);//logo1
    	scroll.child(14, 19512, 73, 5);//logo2
    	scroll.child(15, 19517, 73, 5);//logo2
    	scroll.child(16, 19513, 73, 68);//logo4
    	scroll.child(17, 19519, 73, 68);//logo4
    	scroll.child(18, 19514, 10, 68);//logo3
    	scroll.child(19, 19521, 10, 68);//logo3
    	scroll.child(20, 19543, 73, 132);//logo5
    	scroll.child(21, 19544, 73, 132);//logo5
    	scroll.child(22, 19540, 10, 132);//logo6
    	scroll.child(23, 19541, 10, 132);//logo6
    	scroll.child(24, 19550, 73, 196);//logo7
    	scroll.child(25, 19551, 73, 196);//logo7
    	scroll.child(26, 19553, 10, 196);//logo8
    	scroll.child(27, 19554, 10, 196);//logo8
    	scroll.child(28, 19556, 73, 260);//logo9
    	scroll.child(29, 19568, 73, 260);//logo9
    	scroll.child(30, 19559, 10, 260);//logo10
    	scroll.child(31, 19560, 10, 260);//logo10
    	scroll.child(32, 19562, 73, 324);//logo11
    	scroll.child(33, 19563, 73, 324);//logo11
    	scroll.child(34, 19565, 10, 324);//logo12
    	scroll.child(35, 19566, 10, 324);//logo12
    	scroll.width = 129;
    	scroll.height = 188;
    	scroll.scrollMax = 400;
            //end clancreate;
        }
    ^The comments were to help me when making it, you can remove them if wanted?


    Then add this where needed:
    createClan(rsFonts);
    Spoiler for May need this method:
    Code:
    public static void addHoverButton1(int i, String imageName, int j, int width, int height, String text, int hoverOver, int aT) {
    		RSInterface tab = addTabInterface(i);
    		tab.id = i;
    		tab.parentID = i;
    		tab.interfaceType = 5;
    		tab.atActionType = aT;
    		tab.opacity = 0;
    		tab.hoverType = hoverOver;
    		tab.disabledSprite = imageLoader(j, imageName);
    		tab.enabledSprite = imageLoader(j, imageName);
    		tab.width = width;
    		tab.height = height;
    		tab.tooltip = text;
    	}

    public static void addHoverButton3(int i, String imageName, int j, int width, int height, int hoverOver) {
    RSInterface tab = addTabInterface(i);
    tab.id = i;
    tab.parentID = i;
    tab.interfaceType = 5;
    tab.opacity = 0;
    tab.hoverType = hoverOver;
    tab.disabledSprite = imageLoader(j, imageName);
    tab.enabledSprite = imageLoader(j, imageName);
    tab.width = width;
    tab.height = height;
    }


    And of course download the sprites: [Only registered and activated users can see links. ]
    The sprites contain ALOT of unused sprites that can be used for other interfaces if you like.

    If you use it, at least reply saying thanks, and if you are that lazy don't worry! There's a button for it ---->

    Credits
    99% Me
    1% Jagex for puzzle piece sprites....
    Reply With Quote  
     


  2. #2  
    RevolutionX PK
    All3n's Avatar
    Join Date
    Jul 2010
    Posts
    1,173
    Thanks given
    1,382
    Thanks received
    526
    Rep Power
    982
    Quote Originally Posted by Pea2nuts View Post
    wow thats huge(thats what she said)
    how long did it take to make?
    A made it while in the waiting room of a hospital for 8 hours rofl. It took so long because of the text alignment and the logo alignment.
    Reply With Quote  
     

  3. #3  
    Registered Member

    Join Date
    Sep 2011
    Posts
    5,142
    Thanks given
    1,333
    Thanks received
    1,795
    Rep Power
    1731
    Wow, amazing, another great tutorial. Looks like the quality in releases/downloads is making it's way to a slow improvement.
    Retired from RSPS. Please don't message me for services, sales or help. Apologies.
    Reply With Quote  
     

  4. #4  
    RevolutionX PK
    All3n's Avatar
    Join Date
    Jul 2010
    Posts
    1,173
    Thanks given
    1,382
    Thanks received
    526
    Rep Power
    982
    If you guys think this interface is useful you should see my shop interface I may release it if I ever make a better modified version.
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    May 2011
    Age
    27
    Posts
    1,765
    Thanks given
    379
    Thanks received
    514
    Rep Power
    222
    Naise, will use.
    Reply With Quote  
     

  6. #6  
    Registered Member
    3lv3n snip3r's Avatar
    Join Date
    Jan 2011
    Posts
    916
    Thanks given
    48
    Thanks received
    114
    Rep Power
    84
    Awesome, will use. Can you post the required methods?
    Spoiler for RuneScape:

    [Only registered and activated users can see links. ][Only registered and activated users can see links. ]
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Oct 2011
    Posts
    116
    Thanks given
    47
    Thanks received
    7
    Rep Power
    19
    Thanks for this! Rep++ def gunna use.
    Reply With Quote  
     

  8. #8  
    RevolutionX PK
    All3n's Avatar
    Join Date
    Jul 2010
    Posts
    1,173
    Thanks given
    1,382
    Thanks received
    526
    Rep Power
    982
    Quote Originally Posted by 3lv3n snip3r View Post
    Awesome, will use. Can you post the required methods?
    You should have every method except addHoverButton1() which is the same as addHoverButton() but without contentType.

    If you still don't know how to use that:

    Code:
    public static void addHoverButton1(int i, String imageName, int j, int width, int height, String text, int hoverOver, int aT) {
    		RSInterface tab = addTabInterface(i);
    		tab.id = i;
    		tab.parentID = i;
    		tab.interfaceType = 5;
    		tab.atActionType = aT;
    		tab.opacity = 0;
    		tab.hoverType = hoverOver;
    		tab.disabledSprite = imageLoader(j, imageName);
    		tab.enabledSprite = imageLoader(j, imageName);
    		tab.width = width;
    		tab.height = height;
    		tab.tooltip = text;
    	}
    Updated thread.
    Reply With Quote  
     

  9. #9  
    Banned
    Join Date
    Nov 2011
    Posts
    47
    Thanks given
    1
    Thanks received
    9
    Rep Power
    0
    this would be awsome [Only registered and activated users can see links. ]
    so i don't have to add
    Reply With Quote  
     

  10. #10  
    Mysteria Developer

    DatguyJay's Avatar
    Join Date
    Mar 2011
    Age
    25
    Posts
    2,134
    Thanks given
    295
    Thanks received
    161
    Rep Power
    212
    wow nice job man! now we just need to work on server sided
    Reply With Quote  
     

Page 1 of 4 123 ... LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. updated character creation interface?
    By Tamatea in forum Requests
    Replies: 1
    Last Post: 12-31-2015, 07:30 AM
  2. Replies: 3
    Last Post: 09-26-2011, 05:55 PM
  3. Clan Creation Interface[Showoff]
    By All3n in forum Show-off
    Replies: 27
    Last Post: 08-27-2011, 12:16 AM
  4. [508]: Summoning pouch creation interface
    By ncarug02 in forum Help
    Replies: 4
    Last Post: 03-03-2011, 09:42 PM
  5. [Summoning Pouchs creation interface]
    By Sir Zap in forum Configuration
    Replies: 7
    Last Post: 06-15-2010, 10:22 PM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •