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

Pages: [1]
1
Help / Stuck: Spell script 'unlearn spell' loop :(
« on: December 22, 2013, 01:59:44 AM »
Unfortunately I've already bumped into another problem.. When trying to level up (to 8th level duskblade) it will complete and then, once finished leveling, it will prompt if I want to unlearn a spell. If I choose yes, my only optino is level 0. Unlearning it has me  then immediately relearn it, then closes the unlearn window. Then it opens back up and repeats, indefinitely.

If I select no, same deal. Something seems mucked up with the unlearn/spell script, as 8th level duskblade should get a new selection of a spell and such, but it is not offered.. Anyone have any thoughts? It loops forever, so I can't do anything because of the constant dialogue popup and all, and also am not prompted for spells to learn, just the unlearn over and over and over.

I tried, just on a whim, setting the prc_unlearn_spell_maxnr to 0 before and after leveling but that didn't stop it, so I'm kinda at a loss. If anyone with some inkling of how the script is put together and why it might be acting up so I'd appreciate the help!

2
Help / Re: Breath Weapon from Tiamat, cooldown stuck?
« on: December 19, 2013, 05:25:23 AM »
The breath getting stuck would make sense if you used your breath, then changed module while it was still recharging. I suppose the same thing might happen if you exported a character with it used and then loaded yourself into a different module. Depending on how Bioware implemented DelayCommand, it might happen if you just save and then load a game with it used, but I would hope that they wouldn't have messed up quite like that.

You should be able to unstick it by using the debug console. Press ` (the key below escape) then  type "DebugMode 1", then enter. Then type "SetVarInt UsedTalonBreath 0", hit enter and click on yourself. You will probably want to turn that off again afterwards as it reveals all traps and trigger areas in module - "DebugMode 0" or just "DebugMode" will do that.

As for the auras, I'm not quite so sure, but doing the above with PRC_SwiftActionUsed instead of UsedTalonBreath may work. The cause would be the same, really: reloading a module within a round of using something that needs a swift action.

Wonderful I'll give those a try.. I was hoping there was some variable someplace that could just be toggled.. thanks a ton! :)

Both worked! Breath is working and auras are active.. Many many thanks.

3
Help / Breath Weapon from Tiamat, cooldown stuck?
« on: December 16, 2013, 04:36:40 AM »
So I have a level of Talon of Tiamat with the cone of cold breath weapon, which has a 1d4 cooldown.

Unfortunately, somehow it seems to have gotten stuck! It doesn't ever finish cooling down. Anytime I try to use it the game simply reports "Your breath is still recharging," but never finishes doing so.

Is there something I can edit or some kinda reset or variable I can fiddle to fix it? Resting doesn't help, nor does zoning/restarting the game!

Thanks.

Edit: Also, my draconic auras seem to have spontaneously quit working, too.. Clicking their buttons does nothing, neither activate nor deactivate. :( Is there some kinda generic 'reset' stuff command or button or something? It seems weird to have a few things getting all funky suddenly, especially with version 3.5 of the prc it seems to have been working splendidly.

4
Help / Quick PRC upgrade question
« on: December 15, 2012, 04:41:57 PM »
If one is playing the NWN original campaigns with the PRC 3.3 installed into it, is it safe to simply install the PRC 3.5 into the modules to upgrade, or will it likely break any save games/characters?

Thanks! :)

5
Help / Re: Character Creator and GOG.com
« on: December 15, 2012, 04:30:06 PM »
If yer on 64bit XP it may be kinda wonky anyway, I don't recall support for it being super widespread, and it could be that the PRC uses 32bit java stuff or some such? Just a shot in the dark thought there, honestly.

That said - I'm running Win7 64bit and the GoG version of NWN Diamond and the PRC Creator works like a top. Be sure that youare, of course, running the RUN_CC.BAT and not the CharacterCreator.exe itself or whatnot!

6
Help / Re: Need help with ArcaneSpellFailure - please!
« on: December 15, 2012, 04:26:33 PM »
Thanks for the reply!

As far as I can tell the script for the armored mage for Warmage *should* just reduce ASF pretty much universally, as it adjusts the spell failure downwards by checking the type of armor and shield, rather than using another system altogether, I just can't, for the life of me, figure out why it doesn't automatically work and, when I run the script manually, why it'd stop working after I rested!

Never the less, I'll grab the file you attached here and will see where that leaves me! I see in the code you just added it straight to the oskin thing via the property const itself.. I'll load those scrips into the prc_scripts.hak (I assume!) and hopefully that will do it. :)

Again, thank you very much!

7
Help / Need help with ArcaneSpellFailure - please!
« on: December 15, 2012, 04:04:18 AM »
Okay, so.. I typed up a big ol' message and I THOUGHT I had it, but turns out I don't quite.

Here's the short version, I am playing for the umpteenth time and tried to make a character who gets sneak attack + magic (arcane trickster) but also armored mage (warmage.) The problem is that I forgot NWN only allows 3 classes, not four, so I got stuck as wiz/rog/warm kinda dead in the water.

So I figure okay, no problem, I'll just slap the warmage feats onto Rogue. Let me say here I have done no real NWN modding of any kind - I don't fully understand how it all ties together or works at all, so I was totally fudging my way throguh things by means of awkward intuition alone. I managed to pull out the rogue's class feats 2da, grab the lines from the warmage, bring 'em over, make sure the columns were renumbered right, and loaded in and, lo and behold, the feats were there. However, I quickly realized it didn't work.

Next step I poked around some more, noticed the 2das had no actual code/instruction, so poked at the prc_scripts, pulled the .hak for that open and grabbed the warmage script. I tried changing the GetLevelByClass to _ROGUE instead of _WARMAGE but that didn't work. I played with it a bit and, ultimately, I just can't get anything that works.

I DID manage to get a temporary solution by having the server (who is my friend) turn DebuMode on so I can run dm_runscript prc_warmage, which will actually remove the ASF, but when I rest it comes right back.

I did try using the skin method via the script:
#include "x2_inc_itemprop"
void main()
{
 object oPC   = OBJECT_SELF;

 object oSkin = GetItemInSlot (INVENTORY_SLOT_CARMOUR, oPC);

 itemproperty ipSkin = ItemPropertyBonusFeat (IP_CONST_FEAT_KNOCKDOWN);

 IPSafeAddItemProperty(oSkin, ipSkin, 0.0f, X2_IP_ADDPROP_POLICY_KEEP_EXISTING, FALSE, FALSE);
}

Which I found by googling. however, I obviously had to change it as ASF is not a feat, so I swapped it around to replace the itemproperty line above with the two following, I found via the lexicon for NwScript:

 int nModLevel = IP_CONST_ARCANE_SPELL_FAILURE_MINUS_45_PERCENT;

 itemproperty ipSkin = ItemPropertyArcaneSpellFailure(nModLevel);

I named it asf and then used the tlkedit to put it into prc_scripts.hak, not knowing how else to get it available within the game. Lo and behold this also worked but, much the same, disappeared after resting!

I ALSO attempted, as a last ditch effort, a totally different angle. I figured, okay, maybe it'd be easier to just quickly strip the spell failure from any light armor I get, and I used the example from http://www.nwnlexicon.com/index.php/ItemPropertyArcaneSpellFailure to attempt that. However, when I run the script is simply does nothing, the ASF remains the same.

I would LOVE a much more elegant, permanent and un-awkward solution than where I ended up, so if anyone can help with a simple solution I'd appreciate it a lot!

Pages: [1]