Jump to content

Recommended Posts

Posted

 

Photo npceu8.png

 

Download:http://www.4shared.com/file/128695478/18503a3e/NPC_Creator.html

====================================================

 

Originally Posted by The Readme

 

NPCC by ZiZoO

 

- Simple tool used to help the process of making shop npcs easier.

ONLY SUPPORTS THE NPCHANDLER SYSTEM!

 

 

Script section:

 

 

~~~~ Buy/Sell

If you are making a new npc, make sure you have initialized the npc script (press New).

 

To add a buyable object, all four textboxes need to be filled.

 

Keyword - The words the npc will recognize "mpa" for magic plate armor is common.

NPCC only supports one keyword at this time. (Applies to buying and selling)

 

ID - ItemID to be sold to the player (Applies to buying and selling)

 

Cost/Paid - The amount of gold to be paid for the item (Applies to buying and selling)

 

Name - Only used in buying. The Name is the name the NPC will say

if the keyword is an abbreviation, the Name should be the full item name.

 

~~~~

 

~~~~~ Conversation

Click "Add Conversation" to add talk/respond information to the NPC.

(Such as the player saying "Hello", and the npc responding "HI!")

~~~~~

 

The options below the Buy/Sell/Conversation buttons do the following:

 

"Player must be the NPC's focus?" - (Only applies to conversations.)

When enabled, the NPC has to be focused on the player to respond.

When disabled, the NPC will respond to anyone who says that keyword close enough to them.

 

"Include Buy or Sell before each keyword?" - Lets you choose whether or not to include Buy or Sell before the keyword.

This is recommended as being able to buy and sell the same item requires different keywords.

Otherwise you will always be offered to buy the item.

 

Finish - Adds the last line of code to the npc file.

 

Export Script - Lets you save the npc file anywhere you wish.

 

NOTE:

 

When loading a script, MAKE SURE YOU TAKE OFF THE LINE OF CODE THAT SETS THE NPCS FOCUS.

This is supposed to be at the end of the script, so just press "Finish" when you are done editing.

 

~~~~~~ XML File Exporting

 

Fill in the textboxes (Looktype, etc) to determine the NPCs outfit.

Fill in the NPC Name textbox to set the NPC's in-game name.

The Script Name textbox sets the NPC's script file. (You only need to put the <scriptname>.lua,

it will automatically be converted to data/npc/scripts/<scriptname>.lua)

  • 1 month later...
Posted

LINK OFF NEWB

The man shares his work and you insult him due to the fact that the download Expired ?

 

Please, grow up.

 

Warned.

 

Reason:

Please read the rules regarding respect;

  • 3 months later...
Posted

The man shares his work and you insult him due to the fact that the download Expired ?

 

Please, grow up.

 

Warned.

 

Reason:

Please read the rules regarding respect;

Its not his work but whatever.. :D

 

Guest
This topic is now closed to further replies.
×
×
  • Create New...