Thread: [HELP]Hand Cannon[HELP]

Results 1 to 4 of 4
  1. #1 [HELP]Hand Cannon[HELP] 
    Registered Member
    Join Date
    Nov 2008
    Posts
    92
    Thanks given
    1
    Thanks received
    6
    Rep Power
    1
    Hello. I decided to add a Hand Cannon to my server as not a lot of people have them, and it would be unique. I have the model + ints loaded, 602 cache, but I need to know where to add the Animation + Emote + GFX IDs. Can anyone help me, please? - Cole
    Reply With Quote  
     

  2. #2  
    Registered Member walid's Avatar
    Join Date
    Nov 2008
    Posts
    379
    Thanks given
    6
    Thanks received
    8
    Rep Power
    3
    believe me, after DSPK release all leech nubs got it now...

    anyways:

    Ints:
    Code:
    			case 13022:
    			itemDef.itemActions = new String[5];
    			itemDef.itemActions[1] = "Wield";
    			itemDef.modelID = 48512;
    			itemDef.modelZoom = 1744;
    			itemDef.modelRotationY = 738;
    			itemDef.modelRotationX = 1985;
    			itemDef.modelOffset1 = 0;
    			itemDef.modelOffset2 = 0;
    			//itemDef.aByte154 = -14;
    			itemDef.anInt165 = 48465; //male wield model
    			itemDef.anInt200 = 48465; //femArmModel
    			itemDef.name = "Hand cannon";
    			itemDef.description = "A miniature dwarven cannon. ".getBytes();//examine.
    			break;
    Model: 48512.dat

    Combat Assistant.java, look there.
    Reply With Quote  
     

  3. #3  
    Registered Member
    Join Date
    Nov 2008
    Posts
    92
    Thanks given
    1
    Thanks received
    6
    Rep Power
    1
    Quote Originally Posted by walid View Post
    believe me, after DSPK release all leech nubs got it now...

    anyways:

    Ints:
    Code:
    			case 13022:
    			itemDef.itemActions = new String[5];
    			itemDef.itemActions[1] = "Wield";
    			itemDef.modelID = 48512;
    			itemDef.modelZoom = 1744;
    			itemDef.modelRotationY = 738;
    			itemDef.modelRotationX = 1985;
    			itemDef.modelOffset1 = 0;
    			itemDef.modelOffset2 = 0;
    			//itemDef.aByte154 = -14;
    			itemDef.anInt165 = 48465; //male wield model
    			itemDef.anInt200 = 48465; //femArmModel
    			itemDef.name = "Hand cannon";
    			itemDef.description = "A miniature dwarven cannon. ".getBytes();//examine.
    			break;
    Model: 48512.dat

    Combat Assistant.java, look there.
    I have the actual Hand Cannon itself, but I'm looking to add the walking stance, emotes, etc. It would be under CombatAssistant.java, but.. could you tell me if this code would work?

    Code:
    		if(weaponName.contains("hand cannon")) {
    			switch(c.fightMode) {
    				case 0:
    				return 12175;	
    				case 1:
    				return 12174;		
    				case 2:
    				return 1666;	
    				case 3:
    				return 12152;
    			}	
    		}
    If not, which I don't think that would work, could you possibly give me a few clues? Thanks! - Cole


    EDIT: I got the emotes working for when I attack an NPC or Player, but how can I get the walking emote so the player holds the cannon correctly at all times, and not only when the player is attacking an NPC/Player?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Nov 2008
    Posts
    92
    Thanks given
    1
    Thanks received
    6
    Rep Power
    1
    Can anyone help me? I've figured out how to get all the emotes + gfx working when I attack an NPC, but how do I get the walking emote to stay so when I walk, it looks like it does in RS? - Cole
    Reply With Quote  
     


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. pvp shop and hand cannon on 517
    By hitman in forum Show-off
    Replies: 26
    Last Post: 12-13-2009, 04:21 PM
  2. [REN]Hand Cannon?[REN]
    By Mikers in forum Help
    Replies: 0
    Last Post: 12-04-2009, 06:34 AM
  3. hand cannon
    By hitman in forum Help
    Replies: 5
    Last Post: 12-02-2009, 12:29 AM
  4. Hand cannon emote id
    By Flow in forum Requests
    Replies: 0
    Last Post: 11-07-2009, 10:47 PM
  5. Hand cannon ID
    By shassan in forum Requests
    Replies: 10
    Last Post: 10-24-2009, 01:36 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •