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 - Atalsen

Pages: [1] 2 3
1
Prestige Classes / Re: Difficulty becoming Shifter (PNP)
« on: January 26, 2018, 06:42:03 PM »
For classes qualifying for PnP shifter via casting Polymorph Self, the PRC checks to see if you are *currently capable of casting it* - i.e. have at least one instance of it memorized and ready to go.

So when leveling, have one or more instances of Polymorph Self ready to go; You may need to rest (I think logging on and off will work too) to ensure the PRC/NWN recognizes the spell as ready.

2
Help / Re: Need little help/suggestion - Ita Admin
« on: January 26, 2018, 06:22:53 PM »
As a recap: the Spellhook script fires before the bulk of the spell script; if the Spellhook script returns false in the X2PreSpellCastCode function, then the origional script will not fire. In this way, you can 'intercept' a spell, do something else with it, and tell the original spell not to fire.

You have to define what script (what name your script will have) to fire for spellhooking, that is where setting the module variable via SetModuleOverrideSpellscript(string sScriptName) comes in. Pick a name like "my_spell_hook" and then use that name when you create your spellhook script. I don't remember off hand if the PRC has a default value set for a spellhooking script name that you can just use without the need to set anything.


I think you know this, and that you just need helm with how the spellhook sript works. If that's not it, then let me know.


Here is an example from my own spellhook script; however, my script compiles the PRC items in it using the NWNTX Loader.exe updated toolset you can find on the NWN vault. Without that you wont' be able to use any PRC includes or functions.

Here is a partial spellhook file example for simply disabling the Continual Flame spell:

Code: [Select]
//::///////////////////////////////////////////////
//:: Name: Spellhook script
//:://////////////////////////////////////////////
/*
Description:

This script handles all the spellhooking for various spells

*/
//:://////////////////////////////////////////////
//:://////////////////////////////////////////////

#include "x2_inc_switches"
// allows the use of:
// SetModuleOverrideSpellScriptFinished();
// which will kill the origional spell, if we need it not to run

// Include file for PCR Spell constants
#include "prc_spell_const"

// Include file for PCR Psionic Power constants
#include "psi_power_const"



//:://////////////////////////////////////////////
//:: Functions
//:://////////////////////////////////////////////

void main()
{

// Gather all useful info about the spell
    object oCaster =  OBJECT_SELF;                  // The caster of the spell is OBJECT_SELF
    object oMagicItem = GetSpellCastItem();         // if an item cast the spell, this function gets that item
    object oTarget =  GetSpellTargetObject();       // returns the targeted object of the spell, if valid
    location locTarget = GetSpellTargetLocation();  // returns the targeted location of the spell, if valid
    int iCasterClass = GetLastSpellCastClass();     // gets the class the PC cast the spell as
    int iCastLevel = GetCasterLevel(OBJECT_SELF);   // gets the level the PC cast the spell as
    int iSpellDC = GetSpellSaveDC();                // gets the DC required to save against the effects of the spell
    int iCasterAlignment = GetAlignmentGoodEvil(OBJECT_SELF);  // Returns the good/neutral/evil constant for the caster

    int iSpell = GetSpellId();                      // returns the SPELL_* constant of the spell cast



    switch (iSpell)
    {
//:://////////////////////////////////////////////
//:: Spells Section
//:://////////////////////////////////////////////


        case SPELL_CONTINUAL_FLAME:
                FloatingTextStringOnCreature(ColorString(C_RED, "The Continual Flame spell is currently disabled."), oCaster, FALSE);
                SetModuleOverrideSpellScriptFinished();
        break;


Basically, in the spellhook file you want to
1) Identify the spell via spell ID (GetSpellId())
2) Do something with the spell (script your own spell, call another script, whatever); in my example I play some floating text in the caster.
3) Tell the original spell NOT to fire (via SetModuleOverrideSpellScriptFinished() call)



My example just ends the spell, and doesn't do #2, but for a different fireball you could do this:


        case SPELL_FIREBALL:
                ExecuteScript("my_cust_fireball", OBJECT_SELF);
                SetModuleOverrideSpellScriptFinished();
        break;


And then you can write up your own fireball script in the "my_cust_fireball" scritp file.

3
Alternate Magic Systems / Re: Psychic Reformation Rebuild
« on: March 12, 2016, 09:57:47 PM »
Well, its not coded 'that way' when used on yourself.

The way it works is that it goes back 1 level, +1 for each augment. Which effectively means you can always regress to ~7th level, but not before that. You can overchannel to get back to 6th 5th or 4th depending on what level of overchannel you can get to.

I'm considering submitting a conversation based re-write as the way it is coded now is not the way it works in Table Top, and PRC usually goes with table top rules. The conversation would simply be a quick way to state how many levels to go back, and give a confirm and the XP cost, etc. I'd probably also add an 'is this ok' to the target, if its not the caster.

4
General Discussion / Re: Question about switches
« on: March 02, 2016, 07:36:17 PM »
Ok i surrender to heal potions, it can be also a good thing for players, but someone can help me disable devastating critical?

5
Builders / Disguise Self & Alter Self not set to allow crafted items?
« on: February 11, 2016, 01:06:04 PM »

6
Builders / Re: Latest PRC Files Repository?
« on: February 09, 2016, 03:34:55 PM »
Send me the files you corrected - i'll update the SVN. Thanks in advance.

Since text is extracted from the tlk  file, I've quickly updated the attached tlk XML file with all the Racial LA and hit dice info, for those races that have LA/racial HD (as taken from the latest ECL.2da).

I've always thought it odd the manual didn't have that info, so now it can. :)


The attached tlk file does also have the talk entries for the Psionic Slayer class, so if you do not want to include them, they are at entry id="60550" thru entry id="60596".

7
Base Classes / Re: Warblade tips please
« on: February 08, 2016, 12:28:19 PM »
White Raven Tactics is broken in PnP, but doesn't seem to work in NWN (I didn't test it very thoroughly though).

The very latest code repostory has the fix for WRT. :)

8
Builders / Re: Latest PRC Files Repository?
« on: February 05, 2016, 07:15:56 PM »
Awesome, thanks!


Is there any sort of repository for the manual pages?

There are a few text errors I've encountered over the time I've used the PRC, and if I run into them again while I'm working with the code, I wanted to see if I could correct them. I was wondering if there was a way to update manual pages?

I think some portion of the manual is drawn from the code or tlk file automatically?

9
Other Features / Re: Fatal Error with JavaCC
« on: February 02, 2016, 11:23:54 PM »
What module are you attempting to use, and is is updated to use the PRC?

For example there are steps you need to take to update the campaign to use PRC successfully, or any module not built with the PRC initially.

Seeing PRC classes as "barbarian" is common if the tlk file is not installed properly (or if not used by the module, which would be a problem with not updating the module to work with PRC).

10
Character Builds / Re: Arcane Trickster, how?
« on: February 02, 2016, 05:08:35 PM »
Any idea of other combos that could work?
Ninja/Warmage? :P

Any combo of classes that give you the requirements will work, so since Ninja gives Sneak Attack (and skills) and Warmage gives arcane casting, that will work too.

Fair warning on Warmage, its often hard to know exactly how many spells you have left - its not like Sorcerer where your remaining spells are shown on the bar: you have to watch the messages ("You have X remaining Y-Level spells" messages that come up ever time you cast). {They do not show on the bar due to technical limitations of NWN}

Quote
Also, when I'm ready to take an AT level. How do I do that?


Once you meet the prerequisites of any prestige class, that class will be "highlighted" using white text instead of gray text. So just scroll down the list till you find AT, and when you qualify, select that instead of your other classes.

Classes are shown in the order they are in the 2da file which is basically the order in which they were added to the game (give or take), not in alphabetical order, so sometimes it takes a bit of hunting to locate any class in that long list.

11
Character Builds / Re: Arcane Trickster, how?
« on: February 02, 2016, 12:04:19 PM »
Well, if you have not done it so far, head over to the manual to check out Arcane Trickster: http://www.athasreborn.com/prc/manual/

There you can see the prerequisites for the AT PrC:
REQUIREMENTS:
Alignment: Non Lawful
Skills: Lore 4 ranks, Disable Trap 7, Pick Lock 7.
Sneak Attack: 2d6
Spells: Must be able to cast at least 3rd level Arcane spells.


Obviously if you pick one of the Lawful alignments you can't get in, so don't do that.

Then you need to pick up the listed skills. Earliest there is 3rd level (Rogue), which also gets you the sneak.
Then 5th level caster gets you the casting.

So Rogue 3 / Wizard 5 / AT X 

12
Other Features / Re: Next PRC Update requests
« on: January 28, 2016, 12:19:32 PM »
It is not possible to level all the way up in the Shaman Class.  It fails eventually.
any of the feats it has, or it might even be possible to previously TAKE all the feats (from multiclassing), and have nothing left to select. At that point you are screwed and cannot take anything, and cannot level.

I guess I'd solve this by giving it some feat chain that has no prerequisites and can be taken multiple times, like the Epic Toughness chain (not that I'm suggesting that, just top of my head thinking of a chain that qualifies). That way the class has a guaranteed selection available when receiving a bonus feat.


That said, if you are very careful in your build, and ensure you hit the prerequisites for bonus feats in time to take them, then the shaman should be able to level without issues.

13
Builders / Latest PRC Files Repository?
« on: January 12, 2016, 06:49:28 PM »
When I was last doing some edits I remember NOT grabbing files via CVS, and I'm wondering is that is still the case.

From searching the forum, I see the SVN repository is listed as:
https://daprc.svn.sourceforge.net/svnroot/daprc

Is this still the most recent? If not, what is the base way to grab the latest PRC files nowdays?


Thanks!

14
Other Features / Re: Next PRC Update requests
« on: December 30, 2015, 12:24:57 PM »
I would love to see this added, I will try and contact Atalsen and see if anything was ever created, and if not I will see what I can do.

Wow its been like 2 years since I last logged in here - life got and still is a bit crazy for me.

I did actually complete like 90% of the Slayer class in my own build of the PRC. Maybe you guys already have a version by now.

I can see if I can put together the changed files I have for Slayer and submit them; no promises at this point since my life is still not at a point I can devote much time to NWN.

15

Pages: [1] 2 3