Jump to content

Request/Idea Locking interior doors by creating invisible object to block doors


luffyboy

Recommended Posts

Posted

So one of the major annoyance in my playthroughs is that you cant prevent most npcs from going through interior doors such as those in inns. Its really weird when you are having some intimate moments and an npc walks through the door. (console command with lock doesnt work)

Would it be possible to create a mod that does 2 things upon activation of a door under a specific condition (such as equipping a custom item like a lock in your hand)

1. Creates an invisible barrier (set null textures on meshs) behind the door (the side you are not facing) that serves to block the npc from going through the door (and also opening it if possible)

2. Create another invisible barrier on your side of the door that when activated allows you to "unlocks" the door by removing the two barriers created.

This would be applicable in many other scenarios, from using it to block enemies to slave cages to just getting some privacy.

Posted

Something similar is possible.

You can have this set of things:

 

1) A PlayerCellDetector to understand when you are inside an interior cell

2) An item to wear (or a spell or whatever you want to trigger the locked doors)

3) A simple door mesh with the collision block and without the activator

4) A script that will be triggered when you equip the item (or cast the spell or whatever) that will scan the cell, and place this new invisible but obstacle item at the same place all doors are.

The ObjectReference will be deleted when you unequip/cast another spell.

 

 

Posted

Something similar is possible.

You can have this set of things:

 

1) A PlayerCellDetector to understand when you are inside an interior cell

2) An item to wear (or a spell or whatever you want to trigger the locked doors)

3) A simple door mesh with the collision block and without the activator

4) A script that will be triggered when you equip the item (or cast the spell or whatever) that will scan the cell, and place this new invisible but obstacle item at the same place all doors are.

The ObjectReference will be deleted when you unequip/cast another spell.

That is even better! Please make. I really enjoy your scent of sex mod and so I really hope you can make this too.

Posted

What? Are you asking me to do this mod?

 

It is not really complex, and probably I can do it in a couple of hours.

But why you don't try on your own?

Posted

Ah i guess try to create a mod just puzzles me as there is so much going on in the CK. Hmmm I do have some time in the summer, will try it then. can i approach you if i need help? :D

Posted

Ah i guess try to create a mod just puzzles me as there is so much going on in the CK. Hmmm I do have some time in the summer, will try it then. can i approach you if i need help? :D

 

Absolutely yes.

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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