Fable: The Lost Chapters Mod Scene
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Fable TLC » Discussion » Level Scripting » Lock and key for doors?
Re: Lock and key for doors? [message #55982 is a reply to message #25100] Fri, 29 January 2010 08:34 Go to previous messageGo to previous message
Torionel
Messages: 71
Registered: March 2009
Yes, it's possible to make lockable door.

You must open FinalAlbion.QST with notepad and set

"AddQuest("Q_PrisonEscapeRescueMother",FALSE);"

value from FALSE to TRUE.

Next you need spawn OBJECT_PRISON_CELL_DOOR_BARS_01 and set these values in it's script:

ScriptName CellDoorHero
CreateTC CTCActionUseScriptedHook
Targetable
CTCUsableScriptedHook: Usable

It 100% work. You don't need write Q_PrisonEscapeRescurMother Section in tng.

For open this door you'll need OBJECT_PRISON_CELL_KEY (i think you might change item for open anywhere in script.bin or just change model and description).

[Updated on: Fri, 29 January 2010 08:39]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Region Entrance Point UIDs
Next Topic: Game crashes when i open a spawned chest
Goto Forum:
  


Current Time: Sun Nov 24 19:50:38 PST 2024

Total time taken to generate the page: 0.15837 seconds