Jump to content

AngelDeath82

Members
  • Posts

    8
  • Joined

  • Last visited

Nexus Mods Profile

About AngelDeath82

Profile Fields

  • Country
    None

AngelDeath82's Achievements

Rookie

Rookie (2/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

1

Community Answers

  1. UPDATE: If you update LSLib/Divine to v1.19.4, you will need to install Microsoft .NET Desktop Framework v8 for Vortex to properly function with BG3 mods.
  2. I'm experiencing an odd behaviour in Vortex where it is downloading Extensions for games which I'm not playing, and it will re-download them even if I uninstall and remove them. An example of this is the extension for Stardew Valley. I've uninstalled it, and deleted the download, but when I re-launch Vortex it will re-download and install it on it's own, even though I don't even have the game.
  3. Thank you very much, cdcooley. Your assistance was greatly appreciated. With regards to the PlayerRef declaration, I went with your recommended option #2. I finally had a chance to test this (once I determined what you meant by 'filled your script's properties in the CK'), and it is functioning properly. I do find it interesting that you need to manually declare the Perk Property lines in the script, cite the specific perks in the AddPerk lines in the script, and yet you also have to set the individual properties within your mod in CK on the script attached to the book... very curious indeed. The next step I think for this will be instead of having it be a book you must read, to have it be something which will occur automatically after the character creation step of the game. But, that's a task for another day. :)
  4. Hello, I'm looking for some further assistance with my mod which is designed to add skills and perks to the player upon reading a book. I've gotten past a few issues, including a CTD from cloning the wrong book, working out how to properly get the player character's name, and getting If statements functioning properly. What remains is why Perks are failing to add to the character. Here's the relevant portions of my code: ScriptName _LearnStuff extends ObjectReference Actor Property pPlayerRef Auto Perk Property RestorationNovice00 Auto Perk Property Regeneration Auto ... Event OnRead() pPlayerRef = Game.GetPlayer() pPlayerRef.AddPerk(RestorationNovice00) pPlayerRef.AddPerk(Regeneration) And here's the output I get from Papyrus.log [02/25/2017 - 05:12:46PM] Error: Attempted to add invalid perk to the actor stack: [ (00000014)].Actor.AddPerk() - "<native>" Line ? [Item 2 in container (00000014)]._LearnStuff.OnRead() - "_LearnStuff.psc" Line 53 [02/25/2017 - 05:12:47PM] Error: Attempted to add invalid perk to the actor stack: [ (00000014)].Actor.AddPerk() - "<native>" Line ? [Item 2 in container (00000014)]._LearnStuff.OnRead() - "_LearnStuff.psc" Line 54 Thanks in advance. :smile:
  5. Aha, no more crash to desktop. Note to self: if you need to clone a book, DO NOT clone the DummyBook... :sad:
  6. Thanks for the input. I've now gotten to where the script compiles, but I'm getting a crash to desktop upon reading the book. I've added: Debug.Trace("Character name = " + SFTarget,1) and updated my Skyrim.ini file to enable Papyrus logging, but I'm not getting any output from that Debug call in the logs. I've even tried removing the entire set of If statements from it to test, and still get a crash to desktop on reading it.
  7. Either version will work. The difference is that the Offline installer will download a large file, then install everything directly, whereas the online web installer will download a small file, then download the requisite components during the install process.
  8. The goal of my mod script: a book with an OnRead script call which will both advance skill levels for certain skills, as well as add a few traits, but doing so based on matching the character's name. This will tie into a pair of PC presets I've built (and tested) based on the Nord Race. ScriptName _LearnStuff extends ObjectReference Actor Property pPlayerRef Auto Perk Property Regeneration Auto Perk Property Recovery30 Auto Perk Property Recovery50 Auto Perk Property MagicResistance30 Auto Perk Property MageArmor30 Auto Perk Property DestructionDualCasting Auto String SFTarget = akTarget.GetLeveledActorBase().GetName() ;Return character name based on https://forums.nexusmods.com/index.php?/topic/817658-player-name-capture/ ;Below commands are based on https://forums.nexusmods.com/index.php?/topic/2207184-add-player-perks-with-book-script/ Event OnRead() If (SFTarget == "CharName1") Game.AdvanceSkill("Sneak",5) Game.AdvanceSkill("Speechcraft",5) Game.AdvanceSkill("Alteration",5) Game.AdvanceSkill("Conjuration",5) Game.AdvanceSkill("Destruction",15) Game.AdvanceSkill("Restoration",10) Game.GetPlayer().AddPerk(Regeneration) Game.GetPlayer().AddPerk(Recovery30) Game.GetPlayer().AddPerk(Recovery50) Game.GetPlayer().AddPerk(MagicResistance30) Game.GetPlayer().AddPerk(MageArmor30) Game.GetPlayer().AddPerk(DestructionDualCasting) ElseIf (SFTarget == "CharName2") Game.AdvanceSkill("OneHanded",10) Game.AdvanceSkill("Marksman",15) Game.AdvanceSkill("Block",5) Game.AdvanceSkill("LightArmor",10) Game.AdvanceSkill("Sneak",10) Game.AdvanceSkill("Speechcraft",10) Game.GetPlayer().AddPerk(Regeneration) Game.GetPlayer().AddPerk(Recovery30) Game.GetPlayer().AddPerk(Recovery50) Game.GetPlayer().AddPerk(MagicResistance30) EndIf endEvent What I get when I attempt to compile the script using Creation Kit v1.9.32.0, however, is: Starting 1 compile threads for 1 files... Compiling "_LearnStuff"... E:\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\_LearnStuff.psc(11,18): no viable alternative at input 'akTarget' E:\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\_LearnStuff.psc(11,26): required (...)+ loop did not match anything at input '.' E:\Steam\SteamApps\common\Skyrim\Data\Scripts\Source\_LearnStuff.psc(11,7): Unknown user flag akTarget No output generated for _LearnStuff.psc, compilation failed. Batch compile of 1 files finished. 0 succeeded, 1 failed. Failed on _LearnStuff.psc I've also tried using pPlayerRef in place of akTarget on line 11, but to no avail. I've tried looking up the errors in question, but they presently have me stymied. Any assistance in helping to resolve this issue would be greatly appreciated. Thank you.
×
×
  • Create New...