Aller au contenu

Photo

Restricting who can see VFX


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

#1
Kurziel

Kurziel
  • Members
  • 14 messages
Is there a way to restrict who can see a visual effect placed on a creature?  Basically, I'm looking to mimic a new visual mode.  I realize it's not really possible to truely create a new mode.

I'm working on an alternate vision type that would allow the user to see auras on the creatures around him.  Ideally these auras should only be visible to the caster.  I've looked at the scripts for ultravision and lowlight, but these just seem to be the spells to gain the mode, nothing documenting the mode itself.

I do see there is VFX_DUR_ULTRAVISION, which can be used by EffectVisualEffect(VFX_DUR_ULTRAVISION).  However, at the moment I don't really have the capability to test whether it's possible to manipulate this effect to display to a specific player.


--Kurziel

Modifié par Kurziel, 12 février 2012 - 06:10 .


#2
MasterChanger

MasterChanger
  • Members
  • 686 messages
I've asked some of these questions before (can't find the threads now). As far as I've been able to tell, it seems like it would have to be done through NWNX or something similar.

Being able to customize what different players are able to see on their screens, as well as what PCs and NPCs can perceive in-game, would be very useful.

#3
dethia

dethia
  • Members
  • 146 messages
yah sadly requires nwnx but no one round with both ability and desire to add the functionality

http://www.nwnx.org/...opic.php?t=1730

#4
Kurziel

Kurziel
  • Members
  • 14 messages
ok, that's kind of what I was expecting. For now, I'll have to find a way to adjust the explanation of the ability to explain why everyone can see the auras.

#5
MasterChanger

MasterChanger
  • Members
  • 686 messages
Good to know, Dethia.

Kurziel, if what you are going for is to affect what the player sees (rather than what the PC perceives) perhaps it would be possible to fake something with a GUI-based solution.

You could try using a highly-transparent UI Scene laid over the world. A UI Scene element is what is used to show the character on the level-up screen. I don't know all that much about UI Scenes specifically, but perhaps it would be possible to show a bit colored mist over the location where the target is (complicated, to be sure). I'm thinking of something like the Detect Life effect in TES IV: Oblivion, which is a hazy purple outline over living creatures.

#6
Kurziel

Kurziel
  • Members
  • 14 messages
That's an interesting possibility.  For now I'm going to shift the concept from Astral Sense to Astral Reveal, to justify it functioning the way it is.  I'll revist the concept and ability after I've got more of the world done and the time investment on this ability makes more sense.

Modifié par Kurziel, 12 février 2012 - 08:48 .