Help needed: Make Spell vendor recognize my higher skill lev

Post » Sun Nov 18, 2012 8:50 pm

I am having a problem testing my mod.

I created a new spell and a spellbook for it. It is an Expert Alteration spell.

I added the spellbook to one of the Leveled Lists sold by Tolfdir (LItemSpellTomes75AllAlteration). I then loaded my test character, and moved Tolfdir to him. I opened Tolfdir's shop inventory, but he was only selling Novice- and Apprentice-level books.

I then used console command player.setav Alteration 100. Now my alteration skill is 100. I waited 48 hours, and opened Tolfdir's shop inventory again. But he still wouldn't sell Adept and Expert books to me.

Funnily enough, if I used setstage MGRitual05 200 (complete Alteration Ritual Quest), in 48 hours Tolfdir started selling Master Alteration books. But still he does not sell Adept and Expert books.

What gives? I'm 100% sure there are no mod conflicts.

Help appreciated.
User avatar
Darren Chandler
 
Posts: 3361
Joined: Mon Jun 25, 2007 9:03 am

Post » Sun Nov 18, 2012 9:52 am

Have a look at the scripts in the MGRitual05 Quest.

My guess is that somewhere around there (in it, or in a related alias-script, or something similar) there is a scripted-change to the ACTIIVE levelled-list of the spell-books Tolfdir sells.

(As in he starts selling "GimpedList" and - after that quest is complete - switches to "NotGimpedList")

?
User avatar
Britta Gronkowski
 
Posts: 3475
Joined: Mon Apr 09, 2007 3:14 pm

Post » Sun Nov 18, 2012 10:32 am

If that's indeed the case, is there a quest somewhere that manipulates the availability of Adept and Expert books from College vendors? Because I can't find one for sure.
User avatar
Melis Hristina
 
Posts: 3509
Joined: Sat Jun 17, 2006 10:36 pm

Post » Sun Nov 18, 2012 10:40 am

Vendor lists work off your level, not any individual skill.
User avatar
kasia
 
Posts: 3427
Joined: Sun Jun 18, 2006 10:46 pm

Post » Sun Nov 18, 2012 5:00 pm

Not sure about that, I tried setlevel 50 and no change.

However, when I used "advskill #####" command and advanced my skills that way to appropriate levels, the spellbook appeared. So I guess that's the right way to proceed.
User avatar
Undisclosed Desires
 
Posts: 3388
Joined: Fri Mar 02, 2007 4:10 pm

Post » Sun Nov 18, 2012 2:33 pm

Story Manager has a "Level Up", (or something very similar) event.

Have you looked at the Nodes under that event to see if one is "unlocking things" when skillUp happens?

I don't see why setLevel and Advskill produce different results unless the latter is somehow being picked up as an event, but the former is not.

Check it out?
User avatar
TRIsha FEnnesse
 
Posts: 3369
Joined: Sun Feb 04, 2007 5:59 am

Post » Sun Nov 18, 2012 11:22 am

When the player's skill advances (and only when it increases naturally), a global value is changed to 0. Simply set that global to 0 and let his vendor list reset to buy your new book.
User avatar
Keeley Stevens
 
Posts: 3398
Joined: Wed Sep 06, 2006 6:04 pm


Return to V - Skyrim