Thread: Ring of flying

Results 1 to 3 of 3
  1. #1 Ring of flying 
    Donator
    nonononooooooo's Avatar
    Join Date
    Nov 2012
    Posts
    370
    Thanks given
    13
    Thanks received
    4
    Rep Power
    20
    I'm trying to add a ring of flying to my server (a ring that when equipped makes you fly same way as using the ::god command)

    Right now all I can do is put it on and it does the anim of going into the air but then goes back down. What do i need to do to make it so that you will stay in the air and function like the ::god command until the ring is taken off?
    Reply With Quote  
     

  2. #2  
    Registered Member Sakki54's Avatar
    Join Date
    Jul 2010
    Posts
    159
    Thanks given
    37
    Thanks received
    12
    Rep Power
    1
    Code:
    c.playerStandIndex = 0x328;
    		c.playerWalkIndex = 0x333;
    		c.playerTurnIndex = 0x337;
    		c.playerRunIndex = 0x338;
    Change those to the anim's instead of just running an anim. Use the anim id and just add 0x in front of it.
    Make sure to set it back to those values when you unequip it.

    Reply With Quote  
     

  3. #3  
    Donator
    nonononooooooo's Avatar
    Join Date
    Nov 2012
    Posts
    370
    Thanks given
    13
    Thanks received
    4
    Rep Power
    20
    Code:
    if(c.wearId == 6465) {
    			
    				c.startAnimation(1500);
    				c.playerStandIndex = 1501;
    				c.playerTurnIndex = 1851;
    				c.playerWalkIndex = 1851;
    				c.playerTurn180Index = 1851;
    				c.playerTurn90CWIndex = 1501;
    				c.playerTurn90CCWIndex = 1501;
    				c.playerRunIndex = 1851;
    				c.updateRequired = true;
    				c.appearanceUpdateRequired = true;
    				c.sendMessage("You Fly as you put on the ring.");
    			}
    Code i'm using changes I should make?
    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. Replies: 2
    Last Post: 06-17-2012, 09:26 AM
  2. Replies: 0
    Last Post: 01-09-2012, 08:31 PM
  3. ring of flying.
    By Ohad in forum Help
    Replies: 7
    Last Post: 10-19-2011, 07:34 AM
  4. Ring Of Slaying. Experience Ring Add On
    By Onlyme in forum Snippets
    Replies: 10
    Last Post: 10-18-2011, 06:55 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
  •