Aller au contenu

Photo

Just a few questions


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

#1
ShadowM

ShadowM
  • Members
  • 768 messages
Just some questions.
1. Is there some function with nwnx or other way to set a item with x item property to ignore concealment on creatures. Like a sword that ghost touched?
2. I think I remeber you guys mention a way to hide effect icons by combining them or something and take one away or something. How do you do that again? Thanks

#2
Shadooow

Shadooow
  • Members
  • 4 474 messages
ad1: not public afaik, HG has this feature but I dont think this is published publicly in svn, there is some conceal code inside nwnx_defenses plugin but nonfunctional and of course linux only, i already tried to hook that myself as I would like to add this possibility into true seeing spell but so far no luck

ad2: here is a nwscript method, I also developed a nwnx method that is more user friendly, sent to Terra777 but he didnt merged it yet inside his release.

#3
Failed.Bard

Failed.Bard
  • Members
  • 774 messages
nwnx has an effect override option in one of the plug ins. If the weapons OnHit script fired before the attack, instead of after the hit, you could check for conceal, and override it if present.
I'm not sure if there's a plugin that hooks OnAttack, but it would definitely be doable if there is. It'd just be a matter of getting the timing down for removing and reapplying the effect.

#4
FunkySwerve

FunkySwerve
  • Members
  • 1 308 messages

ShaDoOoW wrote...

ad1: not public afaik, HG has this feature but I dont think this is published publicly in svn, there is some conceal code inside nwnx_defenses plugin but nonfunctional and of course linux only, i already tried to hook that myself as I would like to add this possibility into true seeing spell but so far no luck

ad2: here is a nwscript method, I also developed a nwnx method that is more user friendly, sent to Terra777 but he didnt merged it yet inside his release.

I just checked, and there's no nwscript exposure for it in our mod. So it's definitely engine level (as you assumed it was), and I have no idea if he shared it in the repo, sorry. We have a few things we kept as proprietary, but not many. I'll ask if he wants to share it, but, with the exception of our 'optional hak' architecture, I can't think of any hacks he didn't share wtihout some reason other than wanting to keep them to ourselves.

Funky

Modifié par FunkySwerve, 25 janvier 2013 - 06:10 .


#5
FunkySwerve

FunkySwerve
  • Members
  • 1 308 messages
Here's acaos' response on the listen functionality:

it's in nwnx_defenses/local/l_GetConcealmentCheckResult.c - it's compiled out for non-HG worlds, but it wouldn't be that hard to make it globally available

Funky

#6
ShadowM

ShadowM
  • Members
  • 768 messages
Sorry for replying so late. Thanks shadooow for the custom function, it working great with the stuff I have tested it with. Failed.Bard I was thinking along the same lines and see if I can figure a work around without nwnx, I do use the on-hit on all my weapons. Thanks FunkySwerve, I look into that too. Thank everyone for get me going in the right direction. :)

Modifié par ShadowM, 25 janvier 2013 - 10:24 .