Problem: You shall not pass

Post » Thu Feb 05, 2015 10:01 am

Hi,
I'm trying to create a guard, which keeps the player away from entering the city, until the player finished some quests.
Unfortunately i have no clue how that works :stare:
The city itself isn't a seperate cell. So there is no gate you have to open to enter it.

User avatar
Danel
 
Posts: 3417
Joined: Tue Feb 27, 2007 8:35 pm

Post » Thu Feb 05, 2015 4:22 am

So, what exactly are you trying to do? Or are you just here for basic ideas of how to prevent the player from entering?

User avatar
rheanna bruining
 
Posts: 3415
Joined: Fri Dec 22, 2006 11:00 am

Post » Thu Feb 05, 2015 1:26 am

My aim is:
- The player wants to pass the gate of the city

- The guard starts a dialoge

- The guard tells the player that you cant enter the city, until you have fulfilled some contitions
- Options: 1. bribe the guard (100 coins)
2. get some other clothes

3. get an entry permit
- if you enter the city without fulfilling one of these conditions, the guard will attack you

User avatar
Laura Elizabeth
 
Posts: 3454
Joined: Wed Oct 11, 2006 7:34 pm

Post » Wed Feb 04, 2015 10:08 pm

Use the same things as seen at Whiterun gate when you just started the game. The gate is locked by key and you cannot enter in the city until you don't speak to the guard.

The same things are seen at the Riften gate wher you can bribe or persuade the guard.

User avatar
scorpion972
 
Posts: 3515
Joined: Fri Mar 16, 2007 11:20 am

Post » Thu Feb 05, 2015 3:18 am

I've already tried that.

User avatar
Amysaurusrex
 
Posts: 3432
Joined: Wed Aug 09, 2006 2:45 pm

Post » Thu Feb 05, 2015 3:59 am

You make the guard have a force greet package which makes him wait there, with the condition being that the stage of your quest is < 100. add a trigger right outside the door and if the player tries to go through, past the guard, (OnTriggerEnter) make the guard attack and be added to a new faction that hates the player.

The guard should be Aggressive but not very Aggressive in AI Data.
User avatar
Lauren Dale
 
Posts: 3491
Joined: Tue Jul 04, 2006 8:57 am

Post » Wed Feb 04, 2015 9:33 pm

Sounds good. Thank you
I'll try that.
Is there any specific trigger?

User avatar
Alexandra Ryan
 
Posts: 3438
Joined: Mon Jul 31, 2006 9:01 am


Return to V - Skyrim