Difference between revisions of "Basic NPC Creation Tutorial"

m
imported>Jared
imported>Megalomaniakaal
 
(4 intermediate revisions by 3 users not shown)
Line 17: Line 17:
It's often useful to use existing NPCs as templates when creating new ones.  For this example, let's look in our [[Object Window]] under NPCs and select '''"BanditBossFemale1"'''.  Double click the entry to open her properties tab.
It's often useful to use existing NPCs as templates when creating new ones.  For this example, let's look in our [[Object Window]] under NPCs and select '''"BanditBossFemale1"'''.  Double click the entry to open her properties tab.


'''Important:''' Before doing anything, change her ID to something unique.  This way we avoid accidentally saving our changes to the existing NPC.  When you hit 'OK' after changing the ID, you'll be prompted to either rename the existing object or create a new one.  Select 'Yes' to create a new Form.  If you select 'No' at this prompt, you will overwrite the existing NPC, rather than create your own unique version - meaning all the changes you apply here will be applied to the original, in-game NPC
'''Important:''' Before doing anything, change her ID to something unique.  This way we avoid accidentally saving our changes to the existing NPC.  When you hit 'OK' after changing the ID, you'll be prompted to either rename the existing object or create a new one.  Select 'Yes' to create a new Form.  If you select 'No' at this prompt, you will overwrite the existing NPC, rather than create your own unique version - meaning all the changes you apply here will be applied to the original, in-game NPC.


==Editing NPC Stats==
==Editing NPC Stats==
Line 42: Line 42:


==Editing NPC Appearance==
==Editing NPC Appearance==
[[Image:tut3_img2.jpg|thumb|right|Basic Facial Editing]]
[[Image:tut3_img2.jpg|border|center|Basic Facial Editing]]


[[Image:tut3_img3.jpg|Face Advanced Tab|thumb|right]]
[[Image:tut3_img3.jpg|Face Advanced Tab|thumb|right]]
Line 73: Line 73:


From the [[Object Window]], navigate to Magic>LeveledSpell, and drag the ''LL1AlterationMinorLvl100'' spell list into the NPC.  This will prepare her for battle with some alteration spells appropriate for the level of the player.
From the [[Object Window]], navigate to Magic>LeveledSpell, and drag the ''LL1AlterationMinorLvl100'' spell list into the NPC.  This will prepare her for battle with some alteration spells appropriate for the level of the player.
'''Video form (inventory and appearance):'''
http://www.youtube.com/watch?v=L-0XkRHwZRc


==Basic AI & Package Editing==
==Basic AI & Package Editing==
Line 101: Line 104:




<blockquote>You can also add food to her inventory and set the quantity to -1, meaning she'll never run out of food.  This is helpful when NPC's searching for food in the environment begin to cause bad behavior.</blockquote>
<blockquote>You can also add food to her inventory and set the quantity to -1, meaning she'll never run out of food.  This is helpful when NPCs searching for food in the environment begin to cause bad behavior.</blockquote>


That's about it!  You can save this plugin and test it as normal.  Now you have a special boss just for your dungeon, and can tweak any of the settings we learned about to tailor your player experience.
That's about it!  You can save this plugin and test it as normal.  Now you have a special boss just for your dungeon, and can tweak any of the settings we learned about to tailor your player experience.