Jump to content
  • 0

How to create new conf for NPCs custons.


Beret

Question


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

Hello guys, I want to create a new conf for my NPCs custons wanted to know how do I read my file.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts


  • Group:  Members
  • Topic Count:  30
  • Topics Per Day:  0.01
  • Content Count:  782
  • Reputation:   82
  • Joined:  01/01/12
  • Last Seen:  

If not mistaken, NPC/re/script_main.conf

Add a line to ur custom conf

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  94
  • Topics Per Day:  0.02
  • Content Count:  2192
  • Reputation:   252
  • Joined:  11/11/11
  • Last Seen:  

Why would you want to create your own conf for custom NPCs? Use the script_custom.conf o_O

// --------------------------------------------------------------

// - Custom Scripts -

// --------------------------------------------------------------

// All the custom scripts, remove the '//' to enable...

// Place your scripts here!

//npc: npc/location/to/script.txt

// ----------------------- Basic Scripts -----------------------

//npc: npc/custom/warper.txt

//npc: npc/custom/jobmaster.txt

//npc: npc/custom/platinum_skills.txt

//npc: npc/custom/healer.txt

//npc: npc/custom/breeder.txt

//npc: npc/custom/itemmall.txt

//npc: npc/custom/stylist.txt

//npc: npc/custom/resetnpc.txt

//npc: npc/custom/card_remover.txt

//npc: npc/custom/item_signer.txt

//npc: npc/custom/woe_controller.txt

// ----------------------- Other Scripts -----------------------

Also,

If not mistaken, NPC/re/script_main.conf

Add a line to ur custom conf

script_main.conf in either re/PRE-re. Following the same format as you see in the script_mains, you can get your custom conf to work and be read depending on the server type you're running

  • Upvote 1
Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

If I disable #define RENEWAL. So I need to move my custom script conf that I've created in npc/re/script_main.conf to npc/pre-re/script_main.conf right?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

why not you just put it in this directory ?

trunk/npc/custom/

or create your own new directory for you script ??

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  43
  • Topics Per Day:  0.01
  • Content Count:  400
  • Reputation:   5
  • Joined:  12/05/11
  • Last Seen:  

why not you just put it in this directory ?

trunk/npc/custom/

or create your own new directory for you script ??

For me, it's nothing. Just want to try to make new script.conf.

Well, I need to move it into pre-re/script_main.conf?

Link to comment
Share on other sites


  • Group:  Forum Moderator
  • Topic Count:  93
  • Topics Per Day:  0.02
  • Content Count:  10015
  • Reputation:   2348
  • Joined:  10/28/11
  • Last Seen:  

as long as the file / folder is inside the trunk/npc/ folder...it will work fine..

Link to comment
Share on other sites


  • Group:  Members
  • Topic Count:  60
  • Topics Per Day:  0.01
  • Content Count:  174
  • Reputation:   3
  • Joined:  06/19/12
  • Last Seen:  

Thanks to everyone to do what they wanted.

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...