I am having some trouble getting hidden spells and abilities to work. I have a line of abilities and a line of spells that I don't want to show up in the character sheet until the PC completes quests.
Everything is set up in the appropriate 2das (GUIType and all) - they used to show up on the character sheets.
I added hidden abilities as prerequisites for each spell/ability. That worked because the abilities and spells no longer appear on the character sheet.
THe problem is that when the PC completes the quest and gets the spell i give him both the hidden ability prereq and the actual spell, but nothing shows up on the character sheet. The PC gets a message that he or she gained the ability or spell.
Is there a step I'm missing? Just to recap, here's what's happening:
1. Spells and abilities are all in the 2da - hidden ability listed as prereq
2. PC completes quest - script gives him hidden ability prereq and spell.
3. PC gets message that he has gained ability (system is generating this, not me)
4. Nothing changes in the character sheet - why?
Thanks for any help!
Questions about hidden abilities
Débuté par
PavelNovotny
, mars 27 2010 09:33
#1
Posté 27 mars 2010 - 09:33
#2
Posté 28 mars 2010 - 02:31
Did you set the showinchargen column to 0 for the abilities by any chance?
#3
Posté 28 mars 2010 - 05:08
I have showinchargen set to 7 for everything - spells, abilities, and hidden abilities, although for the life of me I can't find what that means anywhere. :-)
I tried changing it to 1 just for the non-hidden ones, and left it as 7 for the hidden ones (that are prereqs for the non-hidden) but it didn't change anything.
What do those values mean?
I put a copy of my ABI base.xls file on my project page - http://social.biowar...ject/517/#files
Here's the code I use in my script to assign the ability
case SS_TRAINED_WITH_BOGDAN:
{
// First add hidden ability then the actual ability
AddAbility(oPC, 600508);
AddAbility(oPC, 600500);
break;
}
I tried changing it to 1 just for the non-hidden ones, and left it as 7 for the hidden ones (that are prereqs for the non-hidden) but it didn't change anything.
What do those values mean?
I put a copy of my ABI base.xls file on my project page - http://social.biowar...ject/517/#files
Here's the code I use in my script to assign the ability
case SS_TRAINED_WITH_BOGDAN:
{
// First add hidden ability then the actual ability
AddAbility(oPC, 600508);
AddAbility(oPC, 600500);
break;
}
Modifié par PavelNovotny, 28 mars 2010 - 08:23 .
#4
Posté 29 mars 2010 - 07:55
Tried it without the hidden abilities and everything seems to work fine. For some reason if I put the hidden ability as a prereq the ability never show up on the char page.





Retour en haut






