thanks to damien for writing this to help me with customizing npcs a little more....thought it might help some other new people out
###########NPCDESC.CFG###########
NPCTemplate ExampleMerchant
{
// Primary NPC information
Name <random> the Merchant
Script :brainAI:brain
ObjType 0x190
Color 0
TrueColor 0
Gender 0
AR 25
RunSpeed 200
Alignment neutral
Privs invul
Settings invul
Category Merchant
// Attributes
Strength 2000
Intelligence 2000
Dexterity 2000
Wrestling 2000
Tactics 2000
// Vitals
HITS 2000
MANA 2000
STAM 2000
// Intrinsic Weapon
AttackSpeed 1
AttackDamage 100d100
AttackAttribute Wrestling
AttackHitScript :combat:mainHitScript
// Sounds
AttackHitSound 312
AttackMissSound 569
DeathSound 347
DamagedSound 346
IdleSound 1346
// Brain AI Settings
AISetting CycleWait i3600
AISetting HearSpeech i1
AISetting ListenRange i2
AISetting NoSleep i1
AISetting DblClickRange i2
// Brain AI Nerves
AIScript Combat :merchants:generic/combat
AIScript Init :merchants:generic/init
AIScript ItemGiven :merchants:generic/itemGiven
AIScript Listen :merchants:generic/listen
AIScript Merchant :merchants:generic/merchant
AIScript Restart :merchants:generic/restart
AIScript DblClick :merchants:generic/DoubleClick
// Skinning Info
// Skinning ItemName Amount
// Settings other scripts use...
NameTemplate Human_Male
EquipTemplate Villager_1 <------------ MATCH 1
// CProps (eww!)
}
#########EQUIPINDEX.cfg###########
Equipment Villager_1 <---------------- MATCH 1
{
Equip Sword 100
Equip Shirt 100
Equip Pants 100
Equip Cloak 10
Equip Bodysash 10
Equip Feet 100
Equip Hair 90 <----------- MATCH 2
}
#########EQUIPGROUPS.CFG##########
#
# Elem <Group Name>
# {
# Item <Item Name> - Unisex item
#
# Male <Item Name> - Male-only item
#
# Female <Item Name> - Female-only item
# }
#
#
Elem Hair <-------------- MATCH 2
{
Item ShortHair Hair <------ MATCH 3
Item LongHair Hair
Item PonyTailHair Hair
Item MohawkHair Hair
Item PageboyHair Hair
Item BunsHair Hair
Item AfroHair Hair
Item RecedingHair Hair
Item PigTailHair Hair
Item KrisnaHair Hair
}
############PKG/ITEMS/HAIR/CONFIG/ITEMDESC.CFG#############
//-=[ Hair ]=--------------------------
Item 0x203B
{
Name ShortHair <------ MATCH 3
Desc short hair
}
Item 0x203C
{
Name LongHair
Desc long hair
}
Item 0x203d
{
Name PonyTailHair
Desc pony tail
}
Item 0x2044
{
Name MohawkHair
Desc mohawk
}
Item 0x2045
{
Name PageBoyHair
Desc pageboy
}
Item 0x2046
{
Name BunsHair
Desc buns hair
}
Item 0x2047
{
Name AfroHair
Desc afro
}
Item 0x2048
{
Name RecedingHair
Desc receding hair
}
Item 0x2049
{
Name PigTailHair
Desc two pig tails
}
Item 0x204A
{
Name KrisnaHair
Desc krisna hair
}
guide for setting npc's looks
Get Help on scripting in POL with configurations, config setups, script trouble shooting, etc.
Moderator: POL Developer
Jump to
- Contrivance
- ↳ POL Server Website
- ↳ General Discussion
- ↳ Rants
- Novice & Help Area
- ↳ Hello world
- ↳ General Help
- ↳ Scripting Help
- ↳ Guides
- ↳ First steps
- Official POL Distribution (Distro)
- ↳ Development Discussion
- ↳ Distro Bug Reports
- ↳ Test shard
- ↳ Contribute to the distro
- ↳ Contributed Optional Packages and Scripts for the Distro
- Core Discussions
- ↳ Current development (100)
- ↳ Current stable release (099)
- ↳ Bug Reports & Feature Requests
- ↳ Solved issues
- ↳ Old requests
- ↳ Contribute to the core
- 3rd Party Scripts
- ↳ Contributed Scripts & Packages
- ↳ Complete Worlds
- 3rd Party Software
- ↳ POL Tools
- ↳ UO Tools
- ↳ Packet World
- ↳ Hosted Projects
- ↳ UOFiddler
- General Shard Development
- ↳ Miscellaneous Development Discussion
- Archive
- ↳ Older Core Versions
- ↳ POL Core 095
- ↳ General Help (095)
- ↳ POL Core 096
- ↳ General Help (096)
- ↳ POL Core 097
- ↳ Feature Request Archive
- ↳ General Help (097)
- ↳ Bug Reports (097)
- ↳ Solved Bugs (097)
- ↳ POL Core 098
- ↳ General Help (098)
- ↳ Bug Reports Archive (098)
- ↳ Old distros
- ↳ POL Core Patch Submissions
- ↳ Distro Patch Submissions