Thread: Gfx on object when use item on it. [pi]

Page 1 of 2 12 LastLast
Results 1 to 10 of 17
  1. #1 Gfx on object when use item on it. [pi] 
    Registered Member Abadonia's Avatar
    Join Date
    Dec 2010
    Age
    32
    Posts
    221
    Thanks given
    13
    Thanks received
    0
    Rep Power
    25
    Need help, on rs in construction u use bones with alter and the bones do a gfx on the alter, i have all the gfx and emote id's but i dunno how to make them appear on the object, i did this a while ago on deltascape, but forgot how, and need to do it on PI, can somebody help please.

    thanks.
    Reply With Quote  
     

  2. #2  
    Registered Member Abadonia's Avatar
    Join Date
    Dec 2010
    Age
    32
    Posts
    221
    Thanks given
    13
    Thanks received
    0
    Rep Power
    25
    bump
    Reply With Quote  
     

  3. #3  
    Registered Member Abadonia's Avatar
    Join Date
    Dec 2010
    Age
    32
    Posts
    221
    Thanks given
    13
    Thanks received
    0
    Rep Power
    25
    bumpppp
    Reply With Quote  
     

  4. #4  
    Registered Member Pyro Sauce's Avatar
    Join Date
    Jul 2010
    Age
    30
    Posts
    171
    Thanks given
    12
    Thanks received
    8
    Rep Power
    1
    im pretty sure u would go into useitem.java and under switch(objectID) {
    you would add like case *itemidhere*
    c.gfx(gfxid);

    or something
    ^ Made by Btagoc of Arisos
    Reply With Quote  
     

  5. #5  
    Registered Member Abadonia's Avatar
    Join Date
    Dec 2010
    Age
    32
    Posts
    221
    Thanks given
    13
    Thanks received
    0
    Rep Power
    25
    but wouldnt that just make your player do a gfx when you click the object..
    Reply With Quote  
     

  6. #6  
    MOD DESIGNER RM MORE COMING


    TheeRash's Avatar
    Join Date
    Dec 2010
    Age
    30
    Posts
    5,128
    Thanks given
    639
    Thanks received
    2,123
    Rep Power
    5000
    Quote Originally Posted by Abadonia View Post
    but wouldnt that just make your player do a gfx when you click the object..
    No

    ____________


    Feel free to message me with any questions you may have - any offers of work will not be considered unless details are in the subject.
    Attached imageAttached imageAttached image
    Reply With Quote  
     

  7. #7  
    Registered Member Pyro Sauce's Avatar
    Join Date
    Jul 2010
    Age
    30
    Posts
    171
    Thanks given
    12
    Thanks received
    8
    Rep Power
    1
    Quote Originally Posted by Abadonia View Post
    but wouldnt that just make your player do a gfx when you click the object..
    that would be clickitem or something, i remember cos i made a full guide on how to make marrionettes, yo-yos and zombie head work on rl... just cos i was bored
    ^ Made by Btagoc of Arisos
    Reply With Quote  
     

  8. #8  
    Registered Member Abadonia's Avatar
    Join Date
    Dec 2010
    Age
    32
    Posts
    221
    Thanks given
    13
    Thanks received
    0
    Rep Power
    25
    What is the exact code, it doesnt find c.gfx(624);
    Reply With Quote  
     

  9. #9  
    Registered Member Abadonia's Avatar
    Join Date
    Dec 2010
    Age
    32
    Posts
    221
    Thanks given
    13
    Thanks received
    0
    Rep Power
    25
    i know that gfx0 is player, i just tested it.
    i added this:

    Code:
    			case 409:
    				if (c.getPrayer().isBone(itemId))
    					c.getPrayer().bonesOnAltar(itemId);
                                  c.gfx0(624);
    			break;
    in useitem.java. it adds a gfx to me.
    Reply With Quote  
     

  10. #10  
    Registered Member Pyro Sauce's Avatar
    Join Date
    Jul 2010
    Age
    30
    Posts
    171
    Thanks given
    12
    Thanks received
    8
    Rep Power
    1
    Quote Originally Posted by Abadonia View Post
    i know that gfx0 is player, i just tested it.
    i added this:

    Code:
    			case 409:
    				if (c.getPrayer().isBone(itemId))
    					c.getPrayer().bonesOnAltar(itemId);
                                  c.gfx0(624);
    			break;
    in useitem.java. it adds a gfx to me.
    oh yea that's it... i would have responded more thoroughly in my first answer but im running on 3 hours sleep(total in the past 3 days got 62 minutes sleep last night) and desperatly trying to fix that PI dds bug when u switch items when u spec and then ur spec hits with the bonuses of that item you switched to
    ^ Made by Btagoc of Arisos
    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

Similar Threads

  1. Replies: 3
    Last Post: 07-01-2010, 04:19 AM
  2. Replies: 2
    Last Post: 03-23-2010, 10:17 PM
  3. Replies: 26
    Last Post: 03-13-2009, 07:49 PM
  4. Npc,Object,Item
    By Stewie in forum Requests
    Replies: 0
    Last Post: 02-28-2009, 01:19 AM
  5. [503] Item On Object.
    By Ian... in forum Tutorials
    Replies: 6
    Last Post: 08-04-2008, 06:37 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
  •