Jump to content


Photo

Info needed regards object gfx numbers


  • Please log in to reply
1 reply to this topic

#1 MichaelMorin

MichaelMorin

    Newbie

  • Banned
  • Pip
  • 3 posts

Posted 06 February 2018 - 10:12 AM

Hi,

Quick question: I notice every object in the game has a gfx item number (scrolls, keys, weapons etc). I assume the numbers are used by the game to catalogue/reference each item in the database. How does this work? What I mean is, if you clone an object and call it something else (ie clone "dagger" to create a" super-dagger" for example), surely both will have the same gfx number? What If you create a new object (defineObject) in Items.lua or elsewhere: do you have to give it a unique number or will the program automatically create one for it, or can you use an existing item number from an object that is similar? If you need to give it a unique number, what does the allowable range of numbers go up to? Any help appreciated..
 
Thanks
 
 
 
 
 
 
 
I didn't find the right solution from the internet.
References:
 

 



#2 Mysha

Mysha

    Member

  • Member
  • PipPip
  • 20 posts

Posted 02 March 2018 - 12:16 PM

For thos kinds of questions you better go to KO4LIFE


doplaua2e51.jpeg

If you need a signature , Shot me a PM





0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users