Player Resource Consortium


Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - Mindflayer

Pages: [1] 2 3 4
General Discussion / Re: Question and constructive feedback
« on: October 31, 2018, 08:57:59 PM »
Unfortunately, it's impossible to give standard spellbooks to classes. Maybe the EE will change that eventually.

General Discussion / Re: Leadership Cohort Level Issues
« on: October 17, 2018, 06:17:25 PM »
My code comprehension level is not quite high enough to pinpoint the exact point where the interaction of inc_ecl.nss and prc_inc_leadership.nss causes your cohort to first remain at lvl 2 and then get lowered when your level is raised.

General Discussion / Re: Leadership Cohort Level Issues
« on: October 11, 2018, 08:35:23 PM »
I always assumed this was due to races like Rakshasa having high effective character levels(ecls) since it doesn't really happen with human and other low ecl races as cohorts. It also stops happening when your character gets to really high leadership values, in my experience.

General Discussion / Re: personal_switch.2da questions
« on: June 08, 2018, 07:19:59 AM »
0/1 are equivalent to false/true in C programming languages so you can't go wrong with using 0 for false and 1 for true, although technically any number that isn't 0 has the boolean value of true but if you have doubts about stuff, I would recommend using windows grep to search the (extracted from the haks) script files.

This is is from the ft_poweratk.nss :
<Ornedan> And a bunch of switches to control it:
<Ornedan> PRC_POWER_ATTACK - 3 values:
<Ornedan> -1 -- Disabled. Never apply the PRC PA feats to hide
<Ornedan> 0 -- Default. As it is now, you can't go higher than the equivalent BW feat you have
<Ornedan> 1 -- Full PnP. Ignores the BW IPA
<Ornedan> 0 - Default. Allow people to use both at the same time
<Ornedan> 1 - Add the BW effects in when limiting to BAB

From prc_inc_switch.nss :

* A possible value of PRC_POWER_ATTACK.
 * If this is used, PRC Power Attack is completely disabled. The feats will
 * not be granted to players and even if they somehow gain access to the feats,
 * they will have no effect.

PRC_POWER_ATTACK_DISABLED is a defined constant int value that you can apply to the PRC_POWER_ATTACK switch, so you need to set PRC_POWER_ATTACK to -1 for disabled, or 1 for full PNP or leave it for the default functionality at 0.

General Discussion / Re: What i need to make my own Prestige class?
« on: June 08, 2018, 06:51:37 AM »

There is a guide for "PrC Making" in the manual.

In my experience, it's usually spell resistance that helps the most against the prismatic sphere.

Glad I could be of help even if it's not quite a perfect solution.

Help / Re: Arcane Wrath / Adding hacked feats to radials
« on: May 10, 2018, 11:42:41 AM »
1/3)I would just add a top hak (i.e. on the top of the list in the toolset) and add the modified version of the 2da (and any other changes) to that hak. The order of the list determines priority of content with multiple instances without making it a pain to revert or risking to make the prc haks incompatible with other modules using the prc.

You can also just install the prc normally and later swap the contents of haks with modifications you made.

2) Sounds like it should work.

Also, it's possible that the feat itself has some limitations to only work with the class it was written for. I think this one does it with local variables in the tob_jpm_*.nss files inside the prc_newspellbook.hak. Those local variables are set in the tob_jpm_spell.nss so it's possible that it won't be a problem.

3) You don't need to make a fresh copy, you can add haks in the toolset or juse nwhak.exe at any time to change the already installed haks. The only problem is that some changes don't register in old save games and you need to restart the game to check if changes are working. At least that is my experience.

I just tested the Duskblade and it seems to work if you attack within a certain timeframe after storing the spell. I don't quite understand where that duration is derived from, though.

it might be in the x2_inc_spellhook.nss include (which makes it a pain since you might have to recompile a bunch of scripts if you want to change it).

float fDelay = 60.0;
DelayCommand(fDelay, DuskbladeCleanUp(oItem, nMax));

EDIT: Also try activating DEBUG mode (PRC OPTIONS in your special abilities radial -> alter code switches -> PRC_DEBUG) and look at what it says when you put a spell on your weapon and try to attack with it.

EDIT2: the 13+ lvl version of this works sort of. It slightly bugs out by stopping the automatic new target acquisition when you kill with the on-hit spell and it just has a counter how many times it can be triggered(i.e. extra attacks above 5 per round will not trigger it despite the description saying it will hit each target hit in that round), it also triggers each time you hit the same target.

As for prismatic sphere, it's one of those spells that were really sloppily implemented. It would probably take a greater effort to make a proper version that actually works somewhat like the pnp version. I made the "banishing" effect temporary for a high power module I was playing previously but I am not sure to what degree the spell should be changed to be "balanced".

Spells, Feats, and Skills / Re: Swordsage Leveling issue with feats
« on: April 05, 2018, 08:03:03 AM »
What module are you playing? I haven't really played the class but at least I never got my feats at the wrong level. That I can't pick a second insightful strike at lvl 12 happens for me, too, though. Looking at the code in prc_enforce_feat.nss, I can't quite figure out why.

int Swordsage(object oPC = OBJECT_SELF)
    int nClass = GetLevelByClass(CLASS_TYPE_SWORDSAGE, oPC);

        int nWF = GetHasFeat(FEAT_SS_DF_WF_DW, oPC)
                + GetHasFeat(FEAT_SS_DF_WF_DM, oPC)
                + GetHasFeat(FEAT_SS_DF_WF_SS, oPC)
                + GetHasFeat(FEAT_SS_DF_WF_SH, oPC)
                + GetHasFeat(FEAT_SS_DF_WF_SD, oPC)
                + GetHasFeat(FEAT_SS_DF_WF_TC, oPC);

        if(nWF > 1)
            FloatingTextStringOnCreature("You may only have one Discipline Focus (Weapon Focus). Please reselect your feats.", oPC, FALSE);
            return FALSE;

        if(nClass > 3)
            int nIS = GetHasFeat(FEAT_SS_DF_IS_DW, oPC)
                    + GetHasFeat(FEAT_SS_DF_IS_DM, oPC)
                    + GetHasFeat(FEAT_SS_DF_IS_SS, oPC)
                    + GetHasFeat(FEAT_SS_DF_IS_SH, oPC)
                    + GetHasFeat(FEAT_SS_DF_IS_SD, oPC)
                    + GetHasFeat(FEAT_SS_DF_IS_TC, oPC);

            if((nIS > 1 && nClass < 12)
            || (nIS > 2 && nClass > 11))
                FloatingTextStringOnCreature("You do not have the correct amount of Discipline Focus (Insightful Strike). Please reselect your feats.", oPC, FALSE);
                return FALSE;

        if(nClass > 7)
            int nDS = GetHasFeat(FEAT_SS_DF_DS_DW, oPC)
                    + GetHasFeat(FEAT_SS_DF_DS_DM, oPC)
                    + GetHasFeat(FEAT_SS_DF_DS_SS, oPC)
                    + GetHasFeat(FEAT_SS_DF_DS_SH, oPC)
                    + GetHasFeat(FEAT_SS_DF_DS_SD, oPC)
                    + GetHasFeat(FEAT_SS_DF_DS_TC, oPC);

            if((nDS > 1 && nClass < 16)
            || (nDS > 2 && nClass > 15))
                FloatingTextStringOnCreature("You do not have the correct amount of Discipline Focus (Defensive Stance). Please reselect your feats.", oPC, FALSE);
                return FALSE;
    return TRUE;

Help / Re: Need Craft Rod Fix
« on: April 03, 2018, 07:10:54 AM »
Recipe option? You mean the "Examine recipe and craft item"? Afaik that's just a remnant of an old version and doesn't work in general because recipes were removed. At least it doesn't do anything when I try to use it, maybe your module has a custom recipe script?

What I fixed was explicitly the same as that old thread, i.e. the conversation crafting. Now you can use "craft item" on a rod and choose from a list or just cast your spell on the rod to craft it (which worked already).

General Discussion / Re: Can't patch PRC into OC
« on: March 31, 2018, 07:41:57 AM »
Do you have all the prc files in the right folders in your nwn directory?

General Discussion / Re: The Enhanced Edition
« on: March 30, 2018, 11:50:54 AM »
I haven't tested it but shouldn't the manual installation through the toolset (as described in the manual unter installation) work fine?

If anyone still wants a fix for Skirmish with ranged weapons (actually, it worked with darts etc.), I found what was wrong with the script.

oItem          = GetSpellCastItem();

GetWeaponRanged() function doesn't recognize projectiles so I added another condition to account for all ranged projectile weapons, throwing weapons and melee weapons:

if(GetLocalInt(oPC, "ScoutSkirmish") && ( GetWeaponRanged(oItem) || IPGetIsProjectile(oItem) || IPGetIsMeleeWeapon(oItem)) ) 

I had to add functions to make the damage type change adapt to the ammo/base weapon type (it was going for magical damage due to ammo not having a damage type itself) but there might be more elegant ways to do that and anything else I did but for now all the weapon types I tested (slings, crossbow, bow, dart and a handaxe) worked fine.

I also applied the Eventscript to each ammunition slot (was too lazy to do if conditions for each case):

AddEventScript(oAmmo, EVENT_ITEM_ONHIT, "prc_scout", TRUE, FALSE);

I am not sure how important it is to remove each instance of the EventScript at the end so I left it out for now, that might be something to look out for.

Help / Re: Need Craft Rod Fix
« on: March 29, 2018, 07:36:45 AM »
Okay, I tested it and the convo rod crafting did work. The problem wasn't just that it called for the wand function instead of rod, the line was even //'d out.

Help / Re: Need Craft Rod Fix
« on: March 28, 2018, 06:21:19 PM »
What do you mean when you say it's corrupt? Did you follow the steps and try to add it to the prc_scripts hak?

I checked the .nss file and assume that the problem is that the issue is that it tries to do CICraftCheckCraftWand instead of CICraftCheckCraftRod for rods. If that's all, it would be relatively simple to compile the fixed script.

Pages: [1] 2 3 4