Difference between revisions of "NPCs At War Tutorial"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>BrianInSuwon
(New page: ==Introduction== For me, the NPCs in Oblivion are rather dull. They seem to stand around a lot and stare into space. So I’m currently working on a serious of mods that make the NPC sc...)
 
imported>Zuzzerack
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
==Introduction==
==Introduction==


For me, the NPCs in Oblivion are rather dull.  They seem to stand around a lot and stare into space.  So I’m currently working on a serious of mods that make the NPC schedules a little more interesting.  In this tutorial, I will show how to create two NPCS that will fight each other on sight.  
For me, the NPCs in Oblivion are rather dull.  They seem to stand around a lot and stare into space.  In this tutorial, I will show how to create two NPCS that will fight each other on sight.
 
 
==Place your character at the fight sight==
*Start Oblivion and load a game
*Fast travel to Anvil Main Gate, go outside
*Fast wait till around 9PM, save the game, and quit




==Start a new mod==
==Start a new mod==
*Start TES CS
When you start the construction set, click the open button, then double-click the Oblivion.esm option then press okay. After you wait a few moments, lets save the mod as NPCSATWAR.
*Click File, click Data…, double-click Oblivion.esm, click OK, and wait
*Click File, click Save, type “AtokversusVitok.esp”, click OK


==Create two new factions and make them "at war"==
To beginning the viscous bloodshed, you must first press the character button on the top of the screen. Then press the Faction... button
[[Image:NPCsatWarbutton.jpg]]


==Create two new NPCs by changing the IDs==
After you have open the screen, you should see a long list of factions on the left. Right click that list, press new, and name the editor ID as NPCatWARfaction1. Repeat the same function except name the editor ID as NPCatWARfaction2.
*In the Object Window, under Actors-NPC-Argonian-Female, right click Beewos, click Edit
*Change the ID from Beewos to Atok
*Change the Name from Beewos to Atok
*Click AI (the AI window opens)
*Delete all the AI packages
*Change Aggression from 5 to 20
*Click Save
*Click Factions, Select and delete the two factions listed
*Click OK, Click Yes (to create a new form)


While on NPCatWARfaction2, check the boxes on the top to Evil and Hidden to PC (Note: you do not need to add a name, make the factions evil, or make the faction hidden for Pc if you want to. The name is only useful if the box is not checked on hidden for pc and the pc joins it. Hidden from PC  makes the faction hidden from the faction menu if the player is a member. Evil, makes the factions evil, so if you killed them, they would not count as murders. Also, as being evil, they have no protection for guards. If you are in a city, and one of the factions are good, a whole barrel of guards join in. Sometimes the guards hit each other and then they start attacking themselves, kind of funny to watch in my opinion.). Also, right click the interfaction relations list and press new. On the opposing/affiliated box, bring up NPCatWARfaction1 and change the disposition modifier to -100. Do the same steps to NPCatWARfaction1 except for the opposing/affiliated box, change the faction to NPCatWARfaction2. Basically, you just made every person from NPCatWARfaction1 have 100 less disposition than normal to a person from NPCatWARfaction2, and vice versa.


*Right click Atok, click Edit
NPCatWARfaction1 can look something like this.
*Change the ID from Atok to Vitok
[[Image:NPCsatWarfaction.jpg]]
*Change the Name from Atok to Vitok
*Click OK, Click Yes (to create a new form)
*Save


Wait, don't close that box yet, we will need it for editing our NPCs.


==Place your NPCs==
==Selecting NPCs to edit==
*In Cell View, World Space, choose Tamriel
Right clicking on the lists of NPC and pressing new to create a new , functioning, NPC is too hard. Instead, you want to edit an already functioning NPC, preferably one that does not play a big role in Oblivion, because of time-saving as well as if you mess up, not all would go bad. Let's edit the NPCs Tadrose Helas (I'll call her NPC 1) and Tanasa Arano(I'll call her NPC 2), of which you can find both underneath the NPC, Dark Elf, Female List. Let’s start with NPC1.double click her name on the list and it should open a box. like the one below (the red circles show the functions you will be using):
*Double click AnvilMainEntrance
[[Image:NPCsatWarNPC.jpg]]
*Drag Atok from the Object Window to the Render Window (at the start of the small path heading to the right)
*Type “F” to have the Atok NPC fall to the group
*Save
*Using spacebar+mouse movement, pan down the path going to the right
*Drag Vitok from the Object Window to the Render Window (just past the yellow line)
*Type “F” to have the Atok NPC fall to the group
*Save




==Mark a spot for the fight==
== Editing our NPCs ==
*Using spacebar+mouse movement, pan down the path going to the left, stop where the small path joins the large path
Before you do anything, change the ID of the NPC, if you forget and you change the actor's AI/script then the character might be messed up! Continuing, under the factions tab, clear all previous factions and pull from the faction box NPCatWARfaction1. Next, go to the AI page, change the aggression to 20, and uncheck the Buy/Sell boxes as well as auto-calc other too. In addition, delete previous packages.
*Drag an Xmarker from the Object Window (click Static and look for it in the list generated to the right) to the Render Window, placing it where the small path meets the large path, type “F” to make the marker fall to the ground
[[Image:NPCsatWar.jpg|624px|NPCsatWar.jpg]]
*Double click the Xmarker
Do the same steps, as above to NPC2.
*For the Reference Editor ID, type AVFightSpotMarker
*Click OK
*Save
 
 
==Create two new factions==
*Click Character (Main Menu Bar), Faction… (Faction Window Opens)
*Right-click on any faction and choose New (New Form Editor ID window opens)
*Type “WeHateVitok”, click OK
*For Name, type “We Hate Vitok”, click OK


==Place your NPCs==
Now lets place our NPCs on the great green Nirn. Let’s say I want our combatants to be in Bravil. In Cell View, under the World Space tab, click on BravilWrold. In the list of editor IDs, double click on BravilEntranceNorth. Wait for a few moments then a popup will show, just click yes. You may need to navigate using arrow keys or scroll down a bit. Click on the red X (Note: The red X should not be messed with, it is involved in several guard packages) and press T. Scroll up a bit, then place the two NPCs in close proximity. Press F to make them fall to the ground and shift-z added with your mouse moving up or down to make them go to desired elevation.


*Click Character (Main Menu Bar), Faction… (Faction Window Opens)
*Right-click on any faction and choose New (New Form Editor ID window opens)
*Type “WeHateAtok”, click OK
*For Name, type “We Hate Atok”, click OK
*Save
==Make the factions at war with each other==
*Click Character, Faction…
*Left-click WeHateAtok to select it
*Right click under Interfaction Relations, click new
*Change WeHateAtok to WeHateVitok
*Change Disposition Modifier to -80
*Click OK
*Click Character, Faction…
*Left-click WeHateVitok to select it
*Right click under Interfaction Relations, click new
*Change WeHateVitok to WeHateAtok
*Change Disposition Modifier to -80
*Click OK
*Save
==Give your NPCs a faction and AI package==
*Double click on your Vitok in the Render window
*Click Edit Base
*Click Factions
*Click Character (Main Menu Bar), Faction… (Faction Window Opens)
*Position both windows so you can drag and drop from one to the other
*Drag WeHateAtok from the Factions window to the Factions and Ranks area of the NPC window
*Close the Factions window
*In the NPC window, click AI
*Right click under AI Package List, click New
*Choose Package Type Wander
*For ID, type VitokWanders
*Choose Time 22 (for testing, so you can be there to watch)
*Go to the Render window and pan to the AVFightSpotMarker
*Go back to the AI Package window, Under Location, choose Near Reference, Click Select Reference in Render Window
*Double click on the FightSpotMarker
*Click OK, Click Save, Click OK, Click OK (to close the Reference window)
*Save
*Double click on your Atok in the Render window
*Click Edit Base
*Click Factions
*Click Character (Main Menu Bar), Faction… (Faction Window Opens)
*Position both windows so you can drag and drop from one to the other
*Drag WeHateVitok from the Factions window to the Factions and Ranks area of the NPC window
*Close the Factions window
*In the NPC window, click AI
*Right click under AI Package List, click New
*Choose Package Type Wander
*For ID, type AtokWanders
*Choose Time 22 (for testing, so you can be there to watch)
*Go to the Render window and pan to the AVFightSpotMarker
*Go back to the AI Package window, Under Location, choose Near Reference, Click Select Reference in Render Window
*Double click on the FightSpotMarker
*Click OK, Click Save, Click OK, Click OK (to close the Reference window)
*Save




==Load the mod==
==Load the mod==
*Start Oblivion
*Start Oblivion
*Under Data Files, choose AtokversusVitok.esp, click OK, click Play
*Under Data Files, choose NPCsatWar.esp, click OK, click Play
*Load your game and wait, the AI wandering will start at 10PM
*Load your game and fast travel to the Bravil gate (or where you placed the NPCs).
 
 


[[Category:Tutorials]]
[[Category: Actor Tutorials]]
[[Category: Actor Tutorials]]

Latest revision as of 15:55, 3 November 2008

Introduction[edit | edit source]

For me, the NPCs in Oblivion are rather dull. They seem to stand around a lot and stare into space. In this tutorial, I will show how to create two NPCS that will fight each other on sight.


Start a new mod[edit | edit source]

When you start the construction set, click the open button, then double-click the Oblivion.esm option then press okay. After you wait a few moments, lets save the mod as NPCSATWAR.

Create two new factions and make them "at war"[edit | edit source]

To beginning the viscous bloodshed, you must first press the character button on the top of the screen. Then press the Faction... button File:NPCsatWarbutton.jpg

After you have open the screen, you should see a long list of factions on the left. Right click that list, press new, and name the editor ID as NPCatWARfaction1. Repeat the same function except name the editor ID as NPCatWARfaction2.

While on NPCatWARfaction2, check the boxes on the top to Evil and Hidden to PC (Note: you do not need to add a name, make the factions evil, or make the faction hidden for Pc if you want to. The name is only useful if the box is not checked on hidden for pc and the pc joins it. Hidden from PC makes the faction hidden from the faction menu if the player is a member. Evil, makes the factions evil, so if you killed them, they would not count as murders. Also, as being evil, they have no protection for guards. If you are in a city, and one of the factions are good, a whole barrel of guards join in. Sometimes the guards hit each other and then they start attacking themselves, kind of funny to watch in my opinion.). Also, right click the interfaction relations list and press new. On the opposing/affiliated box, bring up NPCatWARfaction1 and change the disposition modifier to -100. Do the same steps to NPCatWARfaction1 except for the opposing/affiliated box, change the faction to NPCatWARfaction2. Basically, you just made every person from NPCatWARfaction1 have 100 less disposition than normal to a person from NPCatWARfaction2, and vice versa.

NPCatWARfaction1 can look something like this. File:NPCsatWarfaction.jpg

Wait, don't close that box yet, we will need it for editing our NPCs.

Selecting NPCs to edit[edit | edit source]

Right clicking on the lists of NPC and pressing new to create a new , functioning, NPC is too hard. Instead, you want to edit an already functioning NPC, preferably one that does not play a big role in Oblivion, because of time-saving as well as if you mess up, not all would go bad. Let's edit the NPCs Tadrose Helas (I'll call her NPC 1) and Tanasa Arano(I'll call her NPC 2), of which you can find both underneath the NPC, Dark Elf, Female List. Let’s start with NPC1.double click her name on the list and it should open a box. like the one below (the red circles show the functions you will be using): File:NPCsatWarNPC.jpg


Editing our NPCs[edit | edit source]

Before you do anything, change the ID of the NPC, if you forget and you change the actor's AI/script then the character might be messed up! Continuing, under the factions tab, clear all previous factions and pull from the faction box NPCatWARfaction1. Next, go to the AI page, change the aggression to 20, and uncheck the Buy/Sell boxes as well as auto-calc other too. In addition, delete previous packages. NPCsatWar.jpg Do the same steps, as above to NPC2.

Place your NPCs[edit | edit source]

Now lets place our NPCs on the great green Nirn. Let’s say I want our combatants to be in Bravil. In Cell View, under the World Space tab, click on BravilWrold. In the list of editor IDs, double click on BravilEntranceNorth. Wait for a few moments then a popup will show, just click yes. You may need to navigate using arrow keys or scroll down a bit. Click on the red X (Note: The red X should not be messed with, it is involved in several guard packages) and press T. Scroll up a bit, then place the two NPCs in close proximity. Press F to make them fall to the ground and shift-z added with your mouse moving up or down to make them go to desired elevation.


Load the mod[edit | edit source]

  • Start Oblivion
  • Under Data Files, choose NPCsatWar.esp, click OK, click Play
  • Load your game and fast travel to the Bravil gate (or where you placed the NPCs).