Jump to content

Making NPCs act a certain way


SandMan131313

Recommended Posts

Alright I'm making a dungeon like Cidhna Mine where there are prisoners just kind of about, but guards also to make sure no one attacks them/starts attacking etc.

 

My problem is getting the guards to act like guards. I'm assuming it's something to do with factions. They don't do anything right now unless you attack them specifically. They don't even care if you attack another guard.

 

Also the prisoners don't seem to care if their friend dies. How can I make them all Allies?

 

They can't be unique either, they should all respawn after some time.

 

Thanks in advance!

Link to comment
Share on other sites

Guards need to be in a crime faction. which means they will protect and arrest anyone who attacks someone in that faction (prisoners need to be in that faction to be under protection)

 

You'll need to create a custom faction and in the 'crime' tab enable the 'track crime' and in the 'shared Crime Faction List' dropdown box select 'CrimeFactionList'

 

You'll need to tick 'Arrest' and/or 'Attack on Sight' to make them arrest/attack you

 

The jail itself needs an ExteriorJailMarker (where you'll be teleported after you submit to arrest) etc. will need a prisonmarker reference

Criminals might need a separate faction, or they'll try to arrest you for attacking the guards (lol)

 

Guards need IsGuard faction and Guarddialogue faction. They also need to be MaleGuard voice, or for FemaleNord for women.

Edited by Noobo
Link to comment
Share on other sites

Guards need to be in a crime faction. which means they will protect and arrest anyone who attacks someone in that faction (prisoners need to be in that faction to be under protection)

 

You'll need to create a custom faction and in the 'crime' tab enable the 'track crime' and in the 'shared Crime Faction List' dropdown box select 'CrimeFactionList'

 

You'll need to tick 'Arrest' and/or 'Attack on Sight' to make them arrest/attack you

 

The jail itself needs an ExteriorJailMarker (where you'll be teleported after you submit to arrest) etc. will need a prisonmarker reference

 

Criminals might need a separate faction, or they'll try to arrest you for attacking the guards (lol)

 

Guards need IsGuard faction and Guarddialogue faction. They also need to be MaleGuard voice, or for FemaleNord for women.

 

 

Now THAT is some really good information!

I haven't planned to make any sort of jail myself, but you surely explained it so that even I understood :biggrin:

Kudos to you for good explanation.

Link to comment
Share on other sites

Guards need to be in a crime faction. which means they will protect and arrest anyone who attacks someone in that faction (prisoners need to be in that faction to be under protection)

 

You'll need to create a custom faction and in the 'crime' tab enable the 'track crime' and in the 'shared Crime Faction List' dropdown box select 'CrimeFactionList'

 

You'll need to tick 'Arrest' and/or 'Attack on Sight' to make them arrest/attack you

 

The jail itself needs an ExteriorJailMarker (where you'll be teleported after you submit to arrest) etc. will need a prisonmarker reference

 

Criminals might need a separate faction, or they'll try to arrest you for attacking the guards (lol)

 

Guards need IsGuard faction and Guarddialogue faction. They also need to be MaleGuard voice, or for FemaleNord for women.

 

 

Alright I got this working, only one problem though.

 

I need some marker to send the player after they've been arrested. I tried a PrisonMarker as the reference point but that just crashes the game when you submit to arrest. I have a chest for the player inventory and stolen goods already set as well, which I'm pretty sure work fine.

 

What should I be using as the reference?

Link to comment
Share on other sites

You'll need 2 prison markers, one for being arrested (inside the jail-cell), and one for your release. You'll need to open up the Jail-cell prisonmarker, check 'teleport' box and select the released Prisonmarker as the reference.

The exteriorjailmarker reference should be the marker for when you are released from jail.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...