Aller au contenu

Photo

Door Locked


  • Veuillez vous connecter pour répondre
3 réponses à ce sujet

#1
Friar

Friar
  • Members
  • 293 messages
You might think I'm asking about how to check mark the place in the toolkit which makes the door a locked or unlocked door. I assure you that I am not.

I am simply wondering why the PC announces a locked door is locked and doesn't just begin unlocking it.

NWN2 doesn't have this feature.
Quite frankly I like NWNs way of handling this. I have my reasons, but I want to change this in NWN2.

I think it is stupid for a thief to just skip right ahead into picking a lock when he doesn't even know its locked or he hasn't even checked to see if there is a guard nearby.

Does anyone here have suggestions on what kind of surgery I can do to get this going in NWN2?

#2
Valthrendir

Valthrendir
  • Members
  • 45 messages
I would say that this has to do with scripts being executed on encountering a locked object. While you would get a floating text upon trying to use a locked door in NWN1, the script in NWN2 would check if the door is locked and if this statement is true, it proceeds to make the character unlock the door.

Even though I might be wrong, it would be logical for this to be the case. Therefore you might want to take a look into which scripts are handled in this situation (maybe someone else can shed a better light on this matter?)

#3
Tarot Redhand

Tarot Redhand
  • Members
  • 2 680 messages
Or, as it is NwN2 behaviour that you want to change, you might get a better response if you ask in the scripting section of the NwN2 section of these boards.

TR

#4
Rolo Kipp

Rolo Kipp
  • Members
  • 2 791 messages
<patting all his pouches...>

You can modify default behavior in NwN1 with the door's "OnFailToOpen" script
Image IPB

I imagine there is something similar in NwN2, but, as Tarot says, that is the place to ask.

<...for his key>