Jump to content
  • 0

Question about LUA structure


TrueNoir

Question


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  109
  • Reputation:   19
  • Joined:  11/14/11
  • Last Seen:  

I'm wondering if anyone has messed with navi_link_krsak.lua if so has anyone figured out the structure of npc's in it yet i'm still unsure about all of them but I will share what i figured out thus far.

 "jawaii",  <- map name
 11719,  <- not sure?
 204,  <- not sure?
 100,  < not sure?
 "Sailor",  <- npc name
 "Back to Alberta", <-description
 122, <-- x cor
 263, <-- y cor
 "alberta",  <- warp to location
 192, <- x cor
 215  <- y cor
},

the first map name is the location which is used with the coor's found either under NPC name or description depending whether the npc provides a description of what the NPC is for (not all of them do) the next map name is the location of where the NPC warps to with the coor's to that location i'm just not sure what the 3 numbers under first map name is i was thinking the first might be the quest ID but I'm not sure.

  • Upvote 1
Link to comment
Share on other sites

3 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  81
  • Topics Per Day:  0.02
  • Content Count:  1654
  • Reputation:   583
  • Joined:  08/09/12
  • Last Seen:  

Third value is NPC sprite ID, still have no clue about the 1st and 2nd value.

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  22
  • Topics Per Day:  0.00
  • Content Count:  806
  • Reputation:   220
  • Joined:  03/13/12
  • Last Seen:  

from what i saw the file, it is not limited to npcs, instead it refers to any means of travelling from one map to another (NPC, Warp portals, etc) - hence the name link i suppose?. the first value is also used in nav_linkdistance_krsak.lua as a means of identification of the npcs/warp portals.

and finally since it is in the navigation folder, i believe that this is used by the Navigation window in the game to help us move across maps. well thats my theory anyways ... correct me if i am wrong /pat

Edited by mindstream
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  11
  • Topics Per Day:  0.00
  • Content Count:  109
  • Reputation:   19
  • Joined:  11/14/11
  • Last Seen:  

It seems the first id is used in the link distance and the npc distance but i'm still not sure how to go about using it because it would be interesting to figure out how to add more npc's to the list

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...