Jump to content

Littlebigpeach

Members
  • Posts

    19
  • Joined

  • Last visited

Nexus Mods Profile

About Littlebigpeach

Littlebigpeach's Achievements

Apprentice

Apprentice (3/14)

  • First Post
  • Collaborator Rare
  • Conversation Starter
  • Week One Done
  • One Month Later

Recent Badges

0

Reputation

  1. So if I create a new quest, how would I run it? It still needs to coincide with the old mechanics (talking to Nocturnal, activating one of the moon crests in Twilight Sepulcher) And even if I did add all three powers to the player ("game().GetPlayer().AddSpell( Name of Spell)") I'd still have to modify the original mod script to prevent removing the powers again when player revisits the crests. i.e. When player first completes Darkness Returns they should get All three Power spells (I could add these to the original quest script; in whatever part comes after talking to Nocturnal, I guess).When player afterwards chooses a Crest (Half Moon, Full Moon, Crescent Moon) NOTHING HAPPENS TO THE POWERS (which would normally be (partially) removed), but they get one new passive.The player can then switch Moon Crest once per day (or week?), removing any previous passives and adding a new one. But retaining all the active power spells. Edit: I might just be in over my head here. I've never really tried scripting before (except for one, very simple mod where I had an On-Game-Start quest that added a bunch of perks to player permanently, but that was much simpler than this dynamic back and forth Nightingale system).
  2. Ah, okay. I also found TG09ShadowScript, -strifescript, -subterfugescript. They look like this: I don't get when/where the game defines pTG09Spell though. I need the Cleanupspells (which I assume removes all three powers) to instead remove 3 custom buffs, and the new added ability should be a new custom ability that I made. However; I still want the player to get (and permanently keep) all three powers somehow. I'm guessing now: In TGNQuestScript I change the lines Function CleanUpSpells() Game.GetPlayer().RemoveSpell(pNightingaleShadowPerkSpell) Game.GetPlayer().RemoveSpell(pNightingaleSubterfuge) Game.GetPlayer().RemoveSpell(pNightingaleStrife)to Function CleanUpSpells() Game.GetPlayer().RemoveSpell(pShadowNewPassive) Game.GetPlayer().RemoveSpell(pSubterfugeNewPassive) Game.GetPlayer().RemoveSpell(pStrifeNewPassive) But how do I define these new objects? And how do I make the game also add the old powers (and not remove them again) I'm not sure which bits to edit where... -Also, sorry for the late reply.
  3. Hi Nexus! I'm getting more confident with the Object Manager, but am still new to scripts. First off; I want to make it so that a player can have all three Nightingale Powers from the Thieves Guild Quest line at the same time, and instead switch between a trio of passives (like they switch between a selection of powers now). I can deduce that the powers are controlled through a quest: TGNightingalePowerHandler This quest has little info beyond two scripts, which I've copied below (inelegantly). And I've had a look at the TGNQuestScript It seems to be that the TGNQuestScript removes all the powers... ? But in that case how is the proper one added afterwards? To be concise How do I let players pick up all powers simultaneously, and never lose them. What would I have to change/replicate to let players switch between a (new) set of passives, but always keep all 3 active powers? If anyone can help me clear this up, it'd be much appreciated.
  4. Set items are a pretty cool concept, but Skyrim only has a few. In fact, as far as I can tell, the base game has just two armor sets with "set bonuses"; The Dark Brotherhood and Nightingale sets both grant a little bonus armor, when wearing all four pieces. But I don't understand exactly how this works. In the Creation Kit, I can see the "Dbfullset" spell, and simply enough it checks if the player has 4x Keyword: Darkbrotherhood gear. And I can recreate this effect, by just putting an enchantment on an item with similar conditions, I could use the Wuuthrad script to add a perk which did the same. But what I'm trying to understand is how the Dark Brotherhood and Nightingale set bonuses work. They're spells with conditions, but when are the spells added to players? I can't tell, looking at any of the armor pieces, that they should add the spell. It seems to come out of nowhere and check if the player has the enough set pieces. When is this spell added to the player? What am I missing? Thanks for reading, and I hope you can elucidate the issue a bit. (And no, I don't strictly *need* to do it this way, there are several other methods. But I'd still like to understand it)
  5. Hi Nexus I recently made a mod for changing racial passives. The mod adds a set of perks and abilities to the Player, and only enables some of them, based on conditions. It all works fine except for one bit; that one of the perks works for *all* races, not just the one conditioned. To elaborate... I add a perk called "Cat's Reflexes" to the Player, regardless of race. The Perk checks if the Player is Khajiit and, if they are, gives them the "Quick Reflexes" perk (Time slows down when blocking an enemy's power attack). But the game seems to entirely ignore the "GetRace == Khajiit" condition. I even added the condition twice! Does anyone have a clue why this, somehow, works for all races? My dunmer character, for example, still gets the Slow Time effect when blocking a power attack. (And no; it's not that he has the Quick Reflexes perk himself, blocking skill is only at 20). Any advice much appreciated, thank you.
  6. Thanks a thousand for all your help! I managed to get the whole thing working smoothly now, and I'm just about ready to release my mod, now that I've tested everything works. You're swell!
  7. Okay, my code is now Scriptname RacialAddPerk extends ReferenceAlias {Documentation: This script is used for adding a perk.} Perk Property newPerk Auto Event OnInit() GetActorRef().AddPerk(newPerk) EndEvent And I can add a perk when editing properties. But, last question I swear, how do I add more than one perk? The script just has one property which picks one perk. But I have 10 or so I wish to add - and I can't add the script in multiple times. Please tell me it's not adding the same 4 lines of script nine times over? That seems... wrong.
  8. I managed to fix the first error (of not recognizing the Extends script) - apparently all scripts had been compiled into a .rar file?? And I had to extract it back into the data\scripts\source folder. Now, however, I run into a different issue. I copied the code snippet you gave me, but now the script fails to compile. I feel the GetRef() is the issue. I found an alternate script on the web which goes Actor Property PlayerRef Auto Perk Property newPerk Auto event OnInit() PlayerRef.AddPerk(newPerk) endEvent This seems to be independent of the "extends refenrecealias". But as for properties, there is both a "PlayerRef" and "newPerk" property. The latter is fairly simple, but I imagine the first arises from using PlayerRef instead of an "extends alias"? For the PlayerRef property... Could I leaveit as "Default Script Value" - as it seems to be made for "pointing" to the player? I feel that, with all your help, I'm so damn close. But just not quite there yet.
  9. Thanks a tonne for all this (very thorough!) explanation. I still have two questions/problems though: 1. Do I have to create a quest for every possible race? I.e. one quest checks if player is Redguard... adds perks/spells if they are, a second quest checks for dunmer... and so on. Is there any smart way to combine them all in one quest? Or do I just make 10 quests? (Not that it would be much of a problem... Duplicate!) 2. I seem to run into an error when trying to create a new script with Extends: ReferenceAlias
  10. Hi, sorry for the late reply. First time making a quest.Getting it to run on game start seems simple enough, but how does one "fill alias" and add perks based on race? Under "Quest Aliases" I can add a new quest alias, and get some reference to the player.. but I'm unsure what to do with the various menues. The QuestData seems simple enough But in this tab below, I don't know what to fill. I'm not even sure if adding "New Reference Alias" under "Quest Aliases" is the right thing to do... ? Or do I need to add a script, which somehow adds the "spell" to players? Any assistance much appreciated
  11. So if I wanted to make a script so that Bosmer had, say, a 50% chance to gain 1 extra hide from looted animals... I would have to create a new leveled list for every animal, apply that to their loot table. And then make a script which checks for GlobalBosmer"Luck" or whatever, and... Well this is a bit over my head, I'm afraid :( - really a "noob" when it comes to Skyrim modding.
  12. Hi Nexus I'm still relatively new to modding, and do not understand the nature of some "script effect" archetypes in the Creation Kit. For example; the Imperial Luck ability (chance to find extra gold). I can see the RaceImperial ability, which is inherent to imperials, and applies the RaceImperialLuckEffect (so far, so good) But in the effect, I don't see how it works. I see no perks to apply, no papyrus scripts, no magnitudes or anything. The only things to identify it is "Constant Effect - Self - and Effect Archetype: Script" So how does it work exactly? What's the script it activates, and how can I see it/Imitate it? (The end product here is I want to create a similar effect where Bosmer have a chance to harvest extra pelts from animals) P.s. The Dragonborn priest masks have a similar way of adding their Fire/Shock/Frost damage bonuses, where I can only see an empty, no-magtiude "script archetype" effect. Any help much appreciated, thank you.
  13. So it wouldn't work on an already-started game, right? Also; player race is actually decided a while after the game starts, isn't it? - You have to go through race menu first..
  14. Yikes I've never done any scripting with Skyrim's creation kit (exclusively just edited objects), so I might be in over my head here. I don't want to make a faulty mod, which leaves nasty bits of bad script somewhere in peoples' data folders.
  15. Hi Nexus In a mod I've made, I modify the attributes of various races*, but these changes, of course, also affect NPCs For example: My mod gives Nords the Unbreakable passive, granting +50 base health. But on legendary difficulty, this tranlates into +150 health for enemy Nords (which is most NPCs in the game...), and the mod inadvertedly makes the game a lot harder. My question: is there a way to only apply racial bonuses to Players, and not NPCs of the same race? Thanks for reading! ------------------------------------------------------------------------------------------------------------------------------------ *(I found it unfair that Altmer get +50 Magicka, and all other races start with standard 100/100/100)
×
×
  • Create New...