Aller au contenu

Photo

Enhanced Vision / Darkvision / Low-light Vision


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

#1
Lance Botelle

Lance Botelle
  • Members
  • 1 480 messages
Hi All,

I'm not sure if this is the correct forum to post this, but I'll try anyway ....

In the game mode panel, there is an option for dwarves (etal) to enable their "enhanced vision" (Darkvision).

In testing my own module in a dark area (at least I thought it was dark), I enabled this "racial feat" to see the difference. I did not notice any difference and I did not even receive any ingame feedback to say that anything had even happened, unlike it does on every other function. E.g. Track says "Tracking Enabled" or something to that effect.

My questions are:

1) Does this feat work?
2) What script does it fire? (Maybe a question for the scripting forums.)
3) Is there a specific environment where / when this works.

My own example was a dark interior.

So, does it only work on exteriors for example?

Many Thanks.

Lance.

#2
Guest_Chaos Wielder_*

Guest_Chaos Wielder_*
  • Guests
It works on my end. It should create a blue circle like effect centering around the activating character. Have you tried it with anyone besides a dwarf?

#3
MasterChanger

MasterChanger
  • Members
  • 686 messages
Darkvision/low-light vision (as a feat) does indeed work: you can toggle it to see a blueish circle of illumination appear around your character (no text feedback).

A known bug is that the illumination tends to not display after transition, but toggling it off-on will usually work. I'm pretty sure the Client Extension fixes this, and maybe Kaedrin's as well. I was going to say that it probably is hard-coded, not scripted, but if Kaedrin alters it then it might be (though maybe he just added an ImpactScript, I don't know).

Most modes are actually hard-coded, as far as I've been able to tell. Altering them even by overridng seems tricky, since combatmodes.2da is coded very strangely. I think Kaedrin must have figured out some way to alter them, since his Deadly Defense feat adds a damage component to Combat Expertise.

#4
Lugaid of the Red Stripes

Lugaid of the Red Stripes
  • Members
  • 955 messages
Shadows might be obscuring the effect. In the NWN2 engine, shadows aren't the absence of light, but rather swaths of darkness painted down by lights. If the shadow intensity is at 1 or greater, they can overwhelm any kind of light.

#5
Lance Botelle

Lance Botelle
  • Members
  • 1 480 messages
Hi All,

Thanks for ll the feedback. I will try to look at this again then ... in different areas ... and under different shadows to see if that makes a difference. I will report if I get it working and (if I can) what stopped it. I can say that toggling on and off did not start it.

I just tried a different race (elf) and a different area - still does not work at the moment. :(

I just tried a different module with the same PC and it does work. So, something is preventing it from working inside my mod. Most strange.

I just tried the same dwarf in the same area loaded into a new mod and it worked there too.

I just removed all entry scripts, spell hook scripts, etc and it still does not work! Posted Image I even tried removing all possible 2da and xml edits that may have affected it. Still nothing.

FOUND IT! .... I tracked it down to a copy of an SEF file (low light vision) in my campaign folder that I had copied to look at in the future from another module. It was a SEF that had been altered to prevent low light vision in a module.

Lance.

Modifié par Lance Botelle, 11 janvier 2011 - 10:12 .


#6
dunniteowl

dunniteowl
  • Members
  • 1 559 messages
You know what they say, there is none so blind as those who cannot see (in low light.)

:)

dno