Thread: [DELTA] What file is used to edit the 1st/2nd click options for objects?

Results 1 to 6 of 6
  1. #1 [DELTA] What file is used to edit the 1st/2nd click options for objects? 
    Registered Member
    Join Date
    May 2013
    Posts
    23
    Thanks given
    3
    Thanks received
    0
    Rep Power
    11
    What file is used to edit the 1st/2nd click options for objects? I'm trying to add a custom rock for mining and was wondering where i go to edit the object so it works like the rocks do for mining runite ore, coal ext...?
    Reply With Quote  
     

  2. #2  
    Donator
    Garrett's Avatar
    Join Date
    May 2010
    Age
    29
    Posts
    350
    Thanks given
    45
    Thanks received
    21
    Rep Power
    28
    Lemme check brb.



    .
    .
    Try Class 46?. Not sure now to rename the clicks though.
    But that's where Objects are handled client sided.
    Reply With Quote  
     

  3. Thankful user:


  4. #3  
    Registered Member
    Join Date
    May 2013
    Posts
    23
    Thanks given
    3
    Thanks received
    0
    Rep Power
    11
    Yes, class 46 appears to be right, but the only objects that are in there are a few summoning obelisks. Any idea where the rest of the objects are defined?
    Reply With Quote  
     

  5. #4  
    Donator
    Garrett's Avatar
    Join Date
    May 2010
    Age
    29
    Posts
    350
    Thanks given
    45
    Thanks received
    21
    Rep Power
    28
    Quote Originally Posted by CMvPUNK View Post
    Yes, class 46 appears to be right, but the only objects that are in there are a few summoning obelisks. Any idea where the rest of the objects are defined?
    Object are handled from the cache, Class 46 is where you can implement custom objects and modify somewhat existing ones.

    You could do something like this, if i remember correctly:
    Code:
    if(i == OBJECTID) { // Id of the object you wish to modify.0
    class46.aString739 = "name"; // Edit the name maybe?
    class46.aStringArray786[1] = "OPTION NAME"; // Object Click 1
    class46.aStringArray786[2] = "OPTION NAME"; // Object Click 2
    }
    Reply With Quote  
     

  6. Thankful user:


  7. #5  
    Registered Member
    Join Date
    May 2013
    Posts
    23
    Thanks given
    3
    Thanks received
    0
    Rep Power
    11
    Awesome, thanks a lot!
    Reply With Quote  
     

  8. #6  
    Registered Member
    Join Date
    May 2013
    Posts
    23
    Thanks given
    3
    Thanks received
    0
    Rep Power
    11
    Quote Originally Posted by CMvPUNK View Post
    Awesome, thanks a lot!
    Even though I still can't edit existing objects it seems.
    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: 0
    Last Post: 06-22-2013, 01:42 PM
  2. what base is best to use?
    By Ep1k in forum Help
    Replies: 5
    Last Post: 06-01-2012, 05:22 PM
  3. Replies: 1
    Last Post: 02-10-2012, 07:20 PM
  4. Replies: 2
    Last Post: 08-09-2011, 10:33 PM
  5. What IDE is used to code servers?
    By lolpl0xme in forum Help
    Replies: 8
    Last Post: 01-01-2011, 03:21 PM
Tags for this Thread

View Tag Cloud

Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •