Thread: [Pi] Changing Portal Names

Page 1 of 2 12 LastLast
Results 1 to 10 of 19
  1. #1 [Pi] Changing Portal Names 
    Registered Member Skarlett's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    47
    Thanks received
    7
    Rep Power
    13
    I want to change my portal names, so people actually know what they are, however when I search for the object ID & even the portal name in my client and source, nothing comes up.

    Ideas?
    ♡Lovvveeee♡
    Reply With Quote  
     

  2. #2  
    Registered Member Skarlett's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    47
    Thanks received
    7
    Rep Power
    13
    Bump.

    Looked throughout some threads, found nothing on how to change the portal name.

    If it is on google, perhaps I worded my question wrong. >.>
    ♡Lovvveeee♡
    Reply With Quote  
     

  3. #3  
    Banned

    Join Date
    Jun 2013
    Posts
    938
    Thanks given
    462
    Thanks received
    171
    Rep Power
    0
    easily done
    please give me the id of your portal
    Reply With Quote  
     

  4. #4  
    Registered Member Skarlett's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    47
    Thanks received
    7
    Rep Power
    13
    13617

    There are various other ones, so explaining how to do it may also be helpful.
    ♡Lovvveeee♡
    Reply With Quote  
     

  5. #5  
    Banned

    Join Date
    Jun 2013
    Posts
    938
    Thanks given
    462
    Thanks received
    171
    Rep Power
    0
    Quote Originally Posted by AinProds View Post
    13617

    There are various other ones, so explaining how to do it may also be helpful.
    ok this is done client sided
    Go to objectDef.java
    then look for something like
    Code:
    return objectdef
    then paste this in there
    Code:
    		case 13617: //id of object
    			objectDef.name = ""; //name goes in between speech marks
    break;
    Reply With Quote  
     

  6. #6  
    Registered Member Skarlett's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    47
    Thanks received
    7
    Rep Power
    13
    Quote Originally Posted by DeathTheKid View Post
    ok this is done client sided
    please go to your itemdef.java first then search
    Code:
    switch (i) {
    underneath that do place this code
    Code:
    case 13617: 
    itemDef.name ="poop"; //name of the portal goes in between the two "" 
    break;
    hope i helped if i did rep would be nice
    I don't have that switch >.>
    Also would it not go in like objectdef?
    ♡Lovvveeee♡
    Reply With Quote  
     

  7. #7  
    Banned

    Join Date
    Jun 2013
    Posts
    938
    Thanks given
    462
    Thanks received
    171
    Rep Power
    0
    Quote Originally Posted by AinProds View Post
    I don't have that switch >.>
    Also would it not go in like objectdef?
    yes it would umm read what i posted again
    i realised i was changing item name then redid
    Reply With Quote  
     

  8. #8  
    Registered Member Skarlett's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    47
    Thanks received
    7
    Rep Power
    13
    Quote Originally Posted by DeathTheKid View Post
    ok this is done client sided
    Go to objectDef.java
    then look for something like
    Code:
    return objectdef
    then paste this in there
    Code:
    		case 13617: //id of object
    			objectDef.name = ""; //name goes in between speech marks
    break;
    Code:
    return objectDef;
    		
    		case 13617: //id of object
    			objectDef.name = "BarrelChest Teleport"; //name goes in between speech marks
    break;
    	}
    This is what I did, it told me that:

    Code:
    case 13617: //id of object
    is an orphaned case? >.>
    ♡Lovvveeee♡
    Reply With Quote  
     

  9. #9  
    Banned

    Join Date
    Jun 2013
    Posts
    938
    Thanks given
    462
    Thanks received
    171
    Rep Power
    0
    Quote Originally Posted by AinProds View Post
    Code:
    return objectDef;
    		
    		case 13617: //id of object
    			objectDef.name = "BarrelChest Teleport"; //name goes in between speech marks
    break;
    	}
    This is what I did, it told me that:

    Code:
    case 13617: //id of object
    is an orphaned case? >.>
    try this
    Code:
    		if(i == 3515){
    objectDef.name = "BarrelChest Teleport";
    }
    Reply With Quote  
     

  10. #10  
    Registered Member Skarlett's Avatar
    Join Date
    Apr 2013
    Posts
    405
    Thanks given
    47
    Thanks received
    7
    Rep Power
    13
    Quote Originally Posted by DeathTheKid View Post
    try this
    Code:
    		if(i == 3515){
    objectDef.name = "BarrelChest Teleport";
    }


    I dont think so >.>

    Code:
    return objectDef;
    		
    		if(i == 3515){
    objectDef.name = "BarrelChest Teleport";
    }
    	
        private void setDefaults()
        {
    ♡Lovvveeee♡
    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. [PI]changing teleport names [PI]
    By rexz0rd in forum Snippets
    Replies: 17
    Last Post: 02-26-2012, 12:44 PM
  2. [PI] Changing NPC Name and Options
    By Mark in forum Help
    Replies: 1
    Last Post: 06-17-2011, 05:28 PM
  3. Replies: 4
    Last Post: 03-11-2011, 05:29 AM
  4. [PI] Changing object names?
    By Ross in forum Help
    Replies: 5
    Last Post: 09-04-2010, 04:25 PM
  5. Replies: 7
    Last Post: 11-05-2008, 11:35 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
  •