Thread: [PI] tele gfx

Results 1 to 7 of 7
  1. #1 [PI] tele gfx 
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    How can i add a gfx to the end of a teleport? i know theres this in client.java
    Code:
    		if(teleTimer > 0) {
    			teleTimer--;
    			if (!isDead) {
    				if(teleTimer == 1 && newLocation > 0) {
    					teleTimer = 0;
    					getPA().changeLocation();
    				}
    				if(teleTimer == 5) {
    					teleTimer--;
    					getPA().processTeleport();
    				}
    				if(teleTimer == 9 && teleGfx > 0) {
    					teleTimer--;
    					gfx100(teleGfx);
    				}
    and this in playerassistant.java
    Code:
    			if(teleportType.equalsIgnoreCase("modern")) {
    				c.startAnimation(8939);
    				c.teleTimer = 10;
    				c.teleGfx = 1576;
    				c.teleEndAnimation = 8941;
    			}
    i have 525 animations and gfx's working but not sure how to fix this teleport problem
    Reply With Quote  
     

  2. #2  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    can somebody help me?
    Reply With Quote  
     

  3. #3  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    so not one person knows how to do this?
    Reply With Quote  
     

  4. #4  
    Registered Member
    Join Date
    Aug 2009
    Posts
    551
    Thanks given
    12
    Thanks received
    2
    Rep Power
    41
    i got it together with 2 friends

    all i can say is u gotta make a new method
    Reply With Quote  
     

  5. #5  
    Banned
    Join Date
    Mar 2008
    Posts
    1,937
    Thanks given
    131
    Thanks received
    61
    Rep Power
    0
    i did this, i can do this for you for 5$ add me on msn, [email protected] if interested
    Reply With Quote  
     

  6. #6  
    CorruptionPVP CODER
    Kronos's Avatar
    Join Date
    Aug 2011
    Posts
    850
    Thanks given
    148
    Thanks received
    32
    Rep Power
    128
    DUDE ABOVE ME ^ give help for free dude...


    Yo soz this is really late but here

    under
    Code:
    			if(teleportType.equalsIgnoreCase("modern")) {
    				c.startAnimation(8939);
    				c.teleTimer = 10;
    				c.teleGfx = 1576;
    				c.teleEndAnimation = 8941;
    			}
    add

    Code:
    			if(teleportType.equalsIgnoreCase("####")) {
    				c.startAnimation(####);
    				c.teleTimer = #;
    				c.teleGfx = ####;
    				c.teleEndAnimation = ####;
    			}
    place the #'s with watever you want. but u need to find the teleport anims and gfx

    example

    {GLORY}
    Gfx = 1684
    Emote = 9603

    Code:
    if(teleportType.equalsIgnoreCase("glory")) {
     c.startAnimation(9603);
     c.teleGfx = 1684;
     c.teleTimer = 5;
     c.teleEndAnimation = #;
     c.gfx0(####);
     }
    also this

    Code:
    c.getPA().startTeleport(x, y, height, c.playerMagicBook == 1 ? "ancient" : "modern");
    add the name of teleport after modern or ancient wicheva is last.

    if you want the home teleport to be dungeoneering version replace this with your modern

    Code:
     if(teleportType.equalsIgnoreCase("modern")) {
    				c.stopMovement();
    				c.startAnimation(13652);
    				c.teleTimer = 16;
    				c.gfx0(2602);
    				c.teleEndAnimation = 13654;
    			}
    or if you want normal here

    Code:
    			if(teleportType.equalsIgnoreCase("modern")) {
    				c.startAnimation(8939);
    				c.teleTimer = 11;
    				c.gfx0(1576);
    				c.teleEndAnimation = 8941;
    				c.teleEndGfx = 1577;
    			}
    try that mite work
    Reply With Quote  
     

  7. #7  
    Donator

    Arithium's Avatar
    Join Date
    May 2010
    Age
    31
    Posts
    4,721
    Thanks given
    199
    Thanks received
    1,256
    Rep Power
    1114
    Quote Originally Posted by Masterpker123 View Post
    DUDE ABOVE ME ^ give help for free dude...


    Yo soz this is really late but here

    under
    Code:
    			if(teleportType.equalsIgnoreCase("modern")) {
    				c.startAnimation(8939);
    				c.teleTimer = 10;
    				c.teleGfx = 1576;
    				c.teleEndAnimation = 8941;
    			}
    add

    Code:
    			if(teleportType.equalsIgnoreCase("####")) {
    				c.startAnimation(####);
    				c.teleTimer = #;
    				c.teleGfx = ####;
    				c.teleEndAnimation = ####;
    			}
    place the #'s with watever you want. but u need to find the teleport anims and gfx

    example

    {GLORY}
    Gfx = 1684
    Emote = 9603

    Code:
    if(teleportType.equalsIgnoreCase("glory")) {
     c.startAnimation(9603);
     c.teleGfx = 1684;
     c.teleTimer = 5;
     c.teleEndAnimation = #;
     c.gfx0(####);
     }
    also this

    Code:
    c.getPA().startTeleport(x, y, height, c.playerMagicBook == 1 ? "ancient" : "modern");
    add the name of teleport after modern or ancient wicheva is last.

    if you want the home teleport to be dungeoneering version replace this with your modern

    Code:
     if(teleportType.equalsIgnoreCase("modern")) {
    				c.stopMovement();
    				c.startAnimation(13652);
    				c.teleTimer = 16;
    				c.gfx0(2602);
    				c.teleEndAnimation = 13654;
    			}
    or if you want normal here

    Code:
    			if(teleportType.equalsIgnoreCase("modern")) {
    				c.startAnimation(8939);
    				c.teleTimer = 11;
    				c.gfx0(1576);
    				c.teleEndAnimation = 8941;
    				c.teleEndGfx = 1577;
    			}
    try that mite work
    epic gravedig. And its processTeleport method u add c.teleEndGfx. You missed that part.
    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. [PI] ::tele [PI]
    By farmerscape in forum Help
    Replies: 1
    Last Post: 08-18-2010, 09:54 AM
  2. Replies: 17
    Last Post: 10-28-2009, 04:15 AM
  3. I need help with npc tele. (508)
    By nitebomb1 in forum Help
    Replies: 5
    Last Post: 10-04-2009, 12:56 PM
  4. Help with tele.
    By thenolifer in forum Help
    Replies: 2
    Last Post: 05-02-2009, 11:17 AM
  5. tele tab help
    By ates1 in forum Help
    Replies: 0
    Last Post: 04-29-2009, 10:01 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
  •