Jump to content

[HELP] Mesh with one-way visibility?


gdarknight

Recommended Posts

Is there a way to make a mesh that is opaque from one angle, and transparent from another. I want to place a mesh around an opponent that blocks their vision, but the mesh is invisible to the player.

 

Is it possible?

Link to comment
Share on other sites

Requires meshing software like blender to flip the mesh normals (not normal maps). But it still won't keep the NPC from seeing the player, at best it will just create a sort of background behind the NPC wherever the player is looking at them. NPCs can see through walls. The only way to make them ignore the player or their environment is through scripting.

 

http://cs.elderscrolls.com/constwiki/index.../ToggleActorsAI

http://cs.elderscrolls.com/constwiki/index.php/SetRestrained

http://cs.elderscrolls.com/constwiki/index.../SetUnconscious

http://cs.elderscrolls.com/constwiki/index...batAlarmOnActor

http://cs.elderscrolls.com/constwiki/index.php/SetDestroyed

 

All have various limitations and uses based on what you are ultimately trying to do.

Link to comment
Share on other sites

Requires meshing software like blender to flip the mesh normals (not normal maps). But it still won't keep the NPC from seeing the player, at best it will just create a sort of background behind the NPC wherever the player is looking at them. NPCs can see through walls. The only way to make them ignore the player or their environment is through scripting.

 

http://cs.elderscrolls.com/constwiki/index.../ToggleActorsAI

http://cs.elderscrolls.com/constwiki/index.php/SetRestrained

http://cs.elderscrolls.com/constwiki/index.../SetUnconscious

http://cs.elderscrolls.com/constwiki/index...batAlarmOnActor

http://cs.elderscrolls.com/constwiki/index.php/SetDestroyed

 

All have various limitations and uses based on what you are ultimately trying to do.

 

Ahh...I didn't realize they could see through walls. I was hoping it would affect detection.

Link to comment
Share on other sites

Ahh...I didn't realize they could see through walls. I was hoping it would affect detection.

Well, it isn't all the time seeing through walls, it's mostly in the cases of combat, conversation, and a few other things. Essentially, what it comes down to is what you are looking to use this sort of thing for. It is also, not so much a wall with an opaque face, but rather an opaque face, and collision (meaning that you can't hit them with anything, or activate them).

Link to comment
Share on other sites

Is it possible to do? Yes.

 

Can the whole thing be made to be 100% the way you want it designed? Probably not.

 

You can create (in a 3D modeling program) a single sphere with the normals (textures) facing outward...thus allowing the 3rd person view to see the player encased in a circle but because the sphere does not have textures facing inward, the sphere would be invisible. This would be no more than just pure eye-candy because the creatures / NPCs would still have the ability to detect your presence so you would also need a script that would dummify the NPCs / Creatures. Or cast a spell that grants 100% invisibility and chameleon.

 

LHammonds

Link to comment
Share on other sites

Archived

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

  • Recently Browsing   0 members

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