Thread: [508/525] How to add Rocktails & Make them heal 23 [Noob Friendly]

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1 [508/525] How to add Rocktails & Make them heal 23 [Noob Friendly] 
    Registered Member D A N i E L.'s Avatar
    Join Date
    Aug 2010
    Posts
    34
    Thanks given
    0
    Thanks received
    0
    Rep Power
    3
    Purpose: To add Rocktails & make them heal 23 like rs.
    Difficulty: 0/10
    Assumed Knowledge: To follow a tutorial, know where your files are.
    Classes Modified: Applet_Sub1, Player.java
    ----

    Hey Runeserver, this is my first tutorial (One of many )

    First, download the model here [Only registered and activated users can see links. ]

    Then drag the models into your model folder (client sided)

    Src > Models > Drag in.

    Next, in Applet_Sub1.java (Client sided), search for
    Code:
     switch(i_3_)
    Then under the:
    Code:
     {
    Add:
    Code:
     case 379:
    class19.anInt330 = 48728;//inventory/drop model
    class19.anInt336 = 1460;//model zoom
    class19.anInt389 = 499;//modelRotation1
    class19.anInt395 = 1926;// model rotation 2
    class19.anInt358 = 3;// model offset 1
    class19.anInt391 = 0;// model offset 2
    class19.aRSString_362 = Class112.method1668(43, "Rocktail");//Item Name
    break;
    That snippet up there is basicly telling you that
    Code:
     case 379
    is the item id that you want rocktails to be, The rest is how the item will look when dropped, in inventory, and wielded (if wieldable).

    Save & Compile.

    ---

    Next step, to make them heal 23 (like rs).

    Open up player.java, and search for
    Code:
     case 379:
    (That means the item id is 379, which is lobster. I replaced my lobsters with rocktails.)

    Replace your Case 379 with mine:
    Code:
     case 379: healAmount = 23; break;
    Save & Compile. Now have fun

    ---

    Hope I helped for my first tutorial



    "Haters only hate the things that they can't get and the people they can't be."
    Reply With Quote  
     

  2. #2  
    Registered Wizard

    Jesse's Avatar
    Join Date
    Sep 2009
    Age
    26
    Posts
    5,105
    Thanks given
    1,506
    Thanks received
    1,125
    Discord
    View profile
    Rep Power
    5000
    not hard



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

  3. #3  
    Registered Member

    Join Date
    May 2008
    Posts
    972
    Thanks given
    0
    Thanks received
    9
    Rep Power
    234
    Quote Originally Posted by Katy Perry View Post
    not hard
    Where did he say it was hard?

    Code:
    Support Rule-12:http://tinyurl.com/supportsig
    Reply With Quote  
     

  4. #4  
    Registered Wizard

    Jesse's Avatar
    Join Date
    Sep 2009
    Age
    26
    Posts
    5,105
    Thanks given
    1,506
    Thanks received
    1,125
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by Cubsmiles View Post
    Where did he say it was hard?
    where umm like there really no point of posting this i wonder why servers arent improving because people release the smallest things i can see the models getting released but the eating its simple no point of showing a tut



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

  5. #5  
    Registered Member

    Join Date
    May 2008
    Posts
    972
    Thanks given
    0
    Thanks received
    9
    Rep Power
    234
    Quote Originally Posted by Katy Perry View Post
    where umm like there really no point of posting this i wonder why servers arent improving because people release the smallest things i can see the models getting released but the eating its simple no point of showing a tut
    But this also teaches you how to add/edit any food items.

    Code:
    Support Rule-12:http://tinyurl.com/supportsig
    Reply With Quote  
     

  6. #6  
    Registered Member D A N i E L.'s Avatar
    Join Date
    Aug 2010
    Posts
    34
    Thanks given
    0
    Thanks received
    0
    Rep Power
    3
    I know right? This is like 3 tutorials in one tbh

    Gotta them haters.



    "Haters only hate the things that they can't get and the people they can't be."
    Reply With Quote  
     

  7. #7  
    Registered Member
    Join Date
    Dec 2009
    Posts
    23
    Thanks given
    0
    Thanks received
    0
    Rep Power
    1
    hiya well in the client bit i gt this error everytime i try to add any customs help!

    but everything else is fine
    [SBD="skillz'n'killz"][/SBD]

    [SBA]Skillznkillzowns.webs.com[/SBA]
    Reply With Quote  
     

  8. #8  
    Super Donator

    Sydney's Avatar
    Join Date
    Jul 2009
    Age
    28
    Posts
    560
    Thanks given
    184
    Thanks received
    175
    Rep Power
    867
    Katy, it's not half bad. It's very small and easy, but it's something isn't it?


    Spoiler for lulz:








    Reply With Quote  
     

  9. #9  
    Registered Member D A N i E L.'s Avatar
    Join Date
    Aug 2010
    Posts
    34
    Thanks given
    0
    Thanks received
    0
    Rep Power
    3
    Quote Originally Posted by red merlin View Post
    hiya well in the client bit i gt this error everytime i try to add any customs help!

    but everything else is fine
    Merlin, make sure your files aren't "hidden".



    "Haters only hate the things that they can't get and the people they can't be."
    Reply With Quote  
     

  10. #10  
    Super Donator

    Sydney's Avatar
    Join Date
    Jul 2009
    Age
    28
    Posts
    560
    Thanks given
    184
    Thanks received
    175
    Rep Power
    867
    Make sure it's not in a read-only section of your computer,
    make sure the file declaration has public not private in it.


    Spoiler for lulz:








    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

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


User Tag List

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •