Author Topic: Just a few questions  (Read 331 times)

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Just a few questions
« on: January 24, 2013, 11:08:14 pm »


               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
               
               

               
            

Legacy_Shadooow

  • Hero Member
  • *****
  • Posts: 7698
  • Karma: +0/-0
Just a few questions
« Reply #1 on: January 24, 2013, 11:53:17 pm »


               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.
               
               

               
            

Legacy_Failed.Bard

  • Hero Member
  • *****
  • Posts: 1409
  • Karma: +0/-0
Just a few questions
« Reply #2 on: January 25, 2013, 02:21:26 pm »


               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.
               
               

               
            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
Just a few questions
« Reply #3 on: January 25, 2013, 06:08:26 pm »


               

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 .
                     
                  


            

Legacy_FunkySwerve

  • Hero Member
  • *****
  • Posts: 2325
  • Karma: +0/-0
Just a few questions
« Reply #4 on: January 25, 2013, 07:03:07 pm »


               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
               
               

               
            

Legacy_ShadowM

  • Hero Member
  • *****
  • Posts: 1373
  • Karma: +0/-0
Just a few questions
« Reply #5 on: January 25, 2013, 10:17:42 pm »


               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. '<img'>
               
               

               


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