Thread: [PI] Lime whip with poison and healing spec

Page 1 of 4 123 ... LastLast
Results 1 to 10 of 34
  1. #1 [PI] Lime whip with poison and healing spec 
    Before "You" I Serve Nothing Mark's Avatar
    Join Date
    Sep 2010
    Posts
    1,018
    Thanks given
    36
    Thanks received
    87
    Rep Power
    21
    My first tutorial enjoy.

    First up
    Client Side

    Add these ints to you ItemDef.java

    case 16022:
    itemDef.actions = new String[5];
    itemDef.modifiedModelColors = new int[1];
    itemDef.originalModelColors = new int[1];
    itemDef.actions[1] = "Wield";
    itemDef.modelID = 5412;
    itemDef.maleEquip1 = 5409;
    itemDef.femaleEquip1 = 5409;
    itemDef.modelZoom = 840;
    itemDef.modelRotation1 = 280;
    itemDef.modelRotation2 = 0;
    itemDef.modelOffset1 = -2;
    itemDef.modelOffset2 = 56;
    itemDef.anInt204 = 0;
    itemDef.name = "Lime whip";
    itemDef.description = "Whip from the abyss.".getBytes();
    itemDef.modifiedModelColors[0] = 17350;
    itemDef.originalModelColors[0] = 528;
    break;
    Server Side
    Now lets add the poison to the whip

    CombatAssistant.java
    Search for
    } else if (c.playerEquipment[c.playerWeapon] == 5698 && o.poisonDamage <= 0 && Misc.random(3) == 1) {
    Replace that with
    } else if (c.playerEquipment[c.playerWeapon] == 5698 || (c.playerEquipment[c.playerWeapon] == 16022 && o.poisonDamage <= 0 && Misc.random(3) == 1)) {
    Now to add the special bar & the healing special.
    Search for
    switch(c.playerEquipment[c.playerWeapon]) {
    and look for case 4151:
    under
    case 4151:
    add
    case 16022:

    Search for
    switch(c.playerEquipment[c.playerWeapon]
    and find case 4151:
    under
    case 4151:
    add
    case 16022:

    Find
    switch(c.playerEquipment[c.playerWeapon]) {
    search for case 4151:
    under
    case 4151:
    add
    case 16022:

    Search for
    c.startAnimation(1658);
    You should see this
    case 4151: // whip
    if(Server.npcHandler.npcs[i] != null) {
    Server.npcHandler.npcs[i].gfx100(341);
    }
    c.specAccuracy = 1.10;
    c.startAnimation(1658);
    c.hitDelay = getHitDelay(c.getItems().getItemName(c.playerEquip ment[c.playerWeapon]).toLowerCase());
    break;

    Under it add

    case 16022: //limewhip
    if(Server.npcHandler.npcs[i] != null) {
    }
    c.specAccuracy = 1.10;
    c.specEffect = 4;
    c.startAnimation(1658);
    c.hitDelay = getHitDelay(c.getItems().getItemName(c.playerEquip ment[c.playerWeapon]).toLowerCase());
    break;
    And there you go.
    Enjoy.
    Reply With Quote  
     

  2. Thankful user:


  3. #2  
    Banned

    Join Date
    Sep 2010
    Age
    26
    Posts
    568
    Thanks given
    147
    Thanks received
    201
    Rep Power
    0
    I hate customs but creative snippet
    Reply With Quote  
     

  4. #3  
    Before "You" I Serve Nothing Mark's Avatar
    Join Date
    Sep 2010
    Posts
    1,018
    Thanks given
    36
    Thanks received
    87
    Rep Power
    21
    Thanks bro.
    Reply With Quote  
     

  5. #4  
    Registered Member Mikey's Avatar
    Join Date
    Apr 2011
    Posts
    751
    Thanks given
    570
    Thanks received
    32
    Rep Power
    40
    Wasn't Lime whip Near-Reality's main whip shit...?
    Although this is nice
    Might use for my white whip

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

  6. #5  
    Before "You" I Serve Nothing Mark's Avatar
    Join Date
    Sep 2010
    Posts
    1,018
    Thanks given
    36
    Thanks received
    87
    Rep Power
    21
    Yeah.
    Thanks.
    Reply With Quote  
     

  7. #6  
    Registered Member
    Ninja assassin's Avatar
    Join Date
    Oct 2008
    Posts
    1,961
    Thanks given
    217
    Thanks received
    115
    Rep Power
    77
    FFs cant you use tags?
    nice job tho
    Btc: 1tpWTbAznzWYh6YpoUJeQ3MDVK56GGJ
    Reply With Quote  
     

  8. #7  
    Registered Member Validor's Avatar
    Join Date
    Apr 2011
    Posts
    110
    Thanks given
    9
    Thanks received
    2
    Rep Power
    1
    Got any models?
    [Only registered and activated users can see links. ]
    Quote Originally Posted by imsuperman05 View Post
    Quote Originally Posted by Validor View Post
    Hey imsuperman05, remember me?

    Mike x3: "Dude, vali! superman is the second best coder in the entire world!"
    It's still true
    Reply With Quote  
     

  9. #8  
    Registered Member Neruzycra's Avatar
    Join Date
    Nov 2010
    Posts
    185
    Thanks given
    4
    Thanks received
    5
    Rep Power
    1
    Quote Originally Posted by Validor View Post
    Got any models?
    You don't need models, just add the code to itemdef.java

    Prepare to lose it...
    Reply With Quote  
     

  10. #9  
    Extreme Donator


    Join Date
    Nov 2009
    Posts
    1,427
    Thanks given
    559
    Thanks received
    266
    Rep Power
    236
    Why would anyone want this, lol?
    Reply With Quote  
     

  11. #10  
    Rune-Server Affiliate
    Genesis's Avatar
    Join Date
    Sep 2010
    Posts
    4,017
    Thanks given
    1,499
    Thanks received
    1,967
    Rep Power
    4898
    Quote Originally Posted by Rapidshare View Post
    Why would anyone want this, lol?
    Some people like customs I guess.
    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. [Pi] Why cannot i spawn lime whip
    By Mark in forum Help
    Replies: 15
    Last Post: 05-30-2011, 07:13 AM
  2. Replies: 4
    Last Post: 05-25-2011, 06:47 AM
  3. 600+ whip spec emote and gfx id?
    By Richie in forum Help
    Replies: 4
    Last Post: 02-18-2011, 04:03 PM
  4. Spec for a dragon whip
    By DestenyscapePKZ in forum Requests
    Replies: 23
    Last Post: 12-26-2009, 12:19 PM
  5. [508] Sgs spec healing
    By Nikki in forum Configuration
    Replies: 31
    Last Post: 03-07-2009, 04:17 AM
Tags for this Thread

View Tag Cloud

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