1. NPCs capable of both learning skills and doing tasks
[Creature 4258]
Level = 35
Npcflags = 17
Maxhealth = 100
Maxmana = 132
Faction = 55
Bo unding_radius = 0.347000
Combat_reach = 1.500000
Attack = 2000 2000
Damage = 52.285713 56.285713
Train = 2020 indicates the skill code
Train = 2021
Train = 3539
Train = 9786
Questscript = HelloWorld indicates the name of the task in comparison to the name in \ scripts \ tcl.
Name = Bengus Deepforge
Guild = Artisan Blacksmith
Flags1 = 08400046
Type = 7
Model = 3097
2. Both task and talk
[Creature 658]
Level = 5
Npcflags = 2
Maxhealth = 100
Maxmana = 28
Faction = 55
Bo unding_radius = 0.347000
Combat_reach = 1.500000
Attack = 1500 1500
Damage = 3.125000 4.125000
Name = Sten Stoutarm
Flags1 = 066
Type = 7
Model = 1362
Questscript = StenStoutarm indicates the name of the task in comparison to the name in \ scripts \ tcl.
Npctext0_0 = ah, well aren't you a sturdy-looking one? Perhaps you can assist me with a thing or two. Not much help around here before t for green apprentices, and they 've other things to worry about. indicates that this NPC prompts task instructions.
3. Continuous task settings
[Quest 3904]
Name = Milly's Harvest Task name
Task prompt: desc = Bring 8 crates of Milly's Harvest to Milly Osworth at Northshire Abbey.
Task content: details = A gang of brigands, the Defias, moved into the Northshire Vineyards while I was harvesting! I reported it to the Northshire guards and they assured me they 'd take care of things, but... I'm afraid for my crop of grapes! If the Defias don't steal them then I fear our guards will trample them when they chase away the thugs. $ B $ BPlease, you must help me! I gathered most of my grapes into buckets, but I left them in the vineyards to the southeast. $ B $ BBring me those crates! Save my harvest!
Levels = 2 4 levels
Zone = 9
Next_quest = 3905 indicates that the next task number is 3905
Quest_flags = the Flags after the 08 task is completed are 08
Deliver = 11119 8. The item required for task 8 is grape code 11119. A total of 8 items are required.
[Quest 3905]
Name = Grape Manifest
Desc = Bring the Grape Manifest to Brother Neals in Northshire Abbey.
Details = Now that my crop is saved, take this Grape Manifest to Brother Neals. he manages the store of food and drink in Northshire, and I'm sure he' ll be delighted to hear that he has fresh grapes. $ B $ BYou'll find Brother Neals in the abbey, in the bell tower... where he likes to taste his wine.
Levels = 2 4
Zone = 9
Src_item= 11125
Quest_flags = 020
Reward_choice = 2690 1
Deliver = 11125 1. The item required for the task is the head code 11125, and a total of 1 is required.
4. Teach you how to increase the number of NPCS
[Creature 1298]
Level = 30
Npcflags = 5
Maxhealth = 100
Maxmana = 108
Faction = 12
Bo unding_radius = 0.306000
Combat_reach = 1.500000
Attack = 2000 2000
Damage = 42.285713 47.285713
Latency = 11303
Latency = 11307
Latency = 11306
Latency = 5105
Latency = 5026
Latency = 5024
Latency = 3027
Latency = 2506
Latency = 11285
Latency = 2507
Latency = 2101
Latency = 11362
Latency = 2505
Latency = 3030
Latency = 3026
Latency = 2512
Latency = 2515
Latency = 5439
Latency = 2504
Name = Frederick Stover
Guild = Bow & Arrow Merchant
Flags1 = 08400046
Type = 7
Model = 1427
"Token = 2504" indicates that you need to add the item ID code to the NPC and add the item ID to the NPC.
The "soul fragment" Code for the wizard's call is 6265 and 5232, and the addition of the NPC token = 6265
And shard = 5232.
Add the creature. scp file under scripts
After adding it, log on to the game with the GM number. Use the GM command to create the game where you want to place the NPC.
5. Teach you to increase the automatic attack type of the NPC
Data in the creatures table
Npcflags = 0 indicates automatic attack on the NPC
Note that the. addspawn NPC can be used for automatic attacks.