I want the player in my module could not see in login the class/level of the other pg in game.
And i want remove the info when you look in game the description of enemy (like immunity to, bonus..)
how could i do it?
I want the player in my module could not see in login the class/level of the other pg in game.
And i want remove the info when you look in game the description of enemy (like immunity to, bonus..)
how could i do it?
I don't know about the first part. But the second part can be changed in the server section of the nwnplayer.ini file:
Examine CR On Creatures=0
Examine Effects On Creatures=0
Thanks! for first i didn't know..the other is ok !!
There is the way to set it by script and no with ini file??
i Mean if i have:
5 point in Lore i could see others bonus stats or CR if they have my level -2.
10 = my level
15 = my level +3
20 = my level +5
25 = my level +10
etc..
You can make your own examine routine and update the creature's description with the appropriate information depending on lore skill etc of the PC doing the examine. It's a fair bit of work. But you still want to disable it with the Ini file. Check out ShadowM's HR_BASE module as it does something like this.
Is that using NWNX or similar?
Sorry Proleric, missed this question. No, it does not use NWNX. It turns off the CR and immunities with the ini and has a radial menu examine function which is scripted. It uses lore like checks to determine what you learn. You get the feedback via SendMessageToPC not the creature description window although it does open that up for you. Depending on how well you roll you get more info, creature type, relative challenge, immunities and special abilities.
I suspect you could modify the description with that info before opening the examine window and then clear it later somehow. Have not looked into that, The sendmessage way means it only goes to the PC doing the examine, whereas changing the description could be seen by others.
edit: forgot to mention that the system sets the name and built in description to something generic on spawn. It then restores these to their original values when passing the lore check. So if you just look using the default examine it does not show much.
You can use NWNX's OnExamine hooks to do this with the standard examine mechanic, rather than making a scripted feat to do it. Set the desired description for the creature using SetDescription().
Yes, but once you do that it won't work single player and it makes it harder to test. I may end up doing that in the end now that I've pulled in some of the HR stuff because I want to be able to add the new feats to the PC not skin. On the skin they don't get counted in the level up page. If only there was a pre-processor for
nwnscript...
The feat are added to the pc on creation. I just add them also to the skin for legacy characters, same reason bioware added a skin for horse mount / unmount feats.
If only there was a pre-processor for nwnscript...
Dunno if it has what you're looking for, but Skywing's compiler added some limited pre-processer capability. NWNTX hooks the toolset to use Skywing's compiler so you don't need a separate utility to get the features.
The feat are added to the pc on creation. I just add them also to the skin for legacy characters, same reason bioware added a skin for horse mount / unmount feats.
The ones that I was seeing that issue with are the ones added to rangers when taking a Combat Style. You get rapid shot or whatever, but can still select it in the level up menu as if you did not have it and it does not count when required by another feat. I did not mean that is an issue with this examine feat, but more generally with the ones added later, but outside of the normal level up mechanism.
Dunno if it has what you're looking for, but Skywing's compiler added some limited pre-processer capability. NWNTX hooks the toolset to use Skywing's compiler so you don't need a separate utility to get the features.
Interesting, I may look into that. That's a little complicated though because I do most of my scripting on linux without access to windows or wine. I'd need a stand alone linux version that can point to an include directory of all the bioware scripts. I do toolset on a different system using wine and I think I have gotten that to work when started as NWNTX but I have not verified that it actually did pick up the new compiler.
My current plan is to pull in the NWNX includes and the put a wrapper around them that I can conditionalize the same way I do the persistence interface, so I can flip between multiplayer and single player for testing etc. e.g. if (have_nwnx()) add feat to pc else add feat to pc skin etc. A little cumbersome, but once in place will work.
But this is getting a little off the original topic ![]()
well...but was interesting know your opinion and ideas!
for now ...only .ini file. i'm not good like you! ![]()
The ones that I was seeing that issue with are the ones added to rangers when taking a Combat Style. You get rapid shot or whatever, but can still select it in the level up menu as if you did not have it and it does not count when required by another feat. I did not mean that is an issue with this examine feat, but more generally with the ones added later, but outside of the normal level up mechanism.
Yeah I had way of it working a long time ago but lost the files and forgot how I did it, so I went with the skin way because of the dumb way they hardcoded the rangers feats. I was going to mention it in the other comment, but was thinking you were talking the examine. I go back and look at again at another time. Yeah I cannot do everything, in the next update I did include the nwnx nwn funct functions so you can easily transition to nwnx if you want or just delete the script or not use it.