Jump to content

Darklocq

Premium Member
  • Posts

    134
  • Joined

  • Last visited

Nexus Mods Profile

About Darklocq

Profile Fields

  • Website URL
    https://elderscrolls.fandom.com/wiki/User:Darklocq
  • Discord ID
    Darklocq#6385
  • Country
    United States
  • Currently Playing
    Skyrim
  • Favourite Game
    Morrowind (with graphics mods), and Skyrim

Darklocq's Achievements

Collaborator

Collaborator (7/14)

0

Reputation

  1. Ah so! Thank you! I would not have thought to stack up ".GetReference().GetBaseObject()" in a row like that. I learned a lot from this, including that you can do local variables in Papyrus fragments to avoid repetitive long strings. Ironically, I think I'm going to remove this gear-swapping part and just have the player manually give the (non-quest-flagged) gear to the NPC, since the gear is found right next to an armoring bench, and if someone smiths it up they'll be frustrated that the transferred version loses the improvements. Plus it occurs to me that different follower frameworks handle follower-worn gear completely differently (put in inventory, put in special inventory, build outfit, etc.). But I needed to learn this basic "get item away from player and into NPC inventory" process anyway, since I'll need it for a journal transfer later. So, thanks again. :-)
  2. Made some progress. I left "getowningquest().setstage(40)" there and moved the rest to the quest stage itself. In there, I got a compile error, that "DrqMango_ArmorDraugrCuirass" was undefined. So, I clearly do not know how to have a script give a reference-alias NPC a generic item. Your suggestion from earlier, to do somethign like "AliasOFTheOneGettingTheObject.EquipItem(AliasOfTheObjectToRemove)" wouldn't work here, as that's the quest-flagged version I just removed from the player. I'm trying to add the generic, non-quest-flagged version to the NPC. I tried the following in the quest stage 40's fragment, and it compiled: SetObjectiveCompleted(30) ;;Remove scripted quest version from player (and from game): Game.GetPlayer().RemoveItem(Alias_MangoCuirAlias.GetRef(), 1) ;;The next line should be redundant: ;Alias_MangoAlias.GetActorRef().AddItem(Alias_MangoCuir2Alias.GetRef(), 1) ;;Have her equip the non-quest version: Alias_MangoAlias.GetActorRef().EquipItem(Alias_MangoCuir2Alias.GetRef()) Alias_MangoAlias.GetActorRef().SetRelationshipRank(Game.GetPlayer(), 3) CompleteQuest() Stop() The removal worked! Progress! Having the NPC equip the replacement did not work. In this case, I had created a new "MangoCuir2Alias" property and "Alias_MangoCuir2Alias" alias to it, for the generic non-quest-flagged cuirass, using the NPC as the "container" for it, since I don't know another way. This is probably wrongheaded. I imagine there's a simple way to tell Alias_MangoAlias to EquipItem some generic thing by RefID. Maybe it's a "Game.Get...something" I don't know about. I didn't get as far as testing whether the SetRelationshipRank worked. Maybe there's even a simple way to remove the quest flag from the same item without swapping it out, and just transfer the item from PC to NPC. Beats-a me. I'm a graphics and meshes and xEdit patches modder. This quest scripting stuff is a whole new thing for me. :-/ I did add CompleteQuest() and Stop() at the end of stage 40 here, as someone at another forum recommended those for the final quest stage.
  3. Maybe I should be doing this via Quest Stage 40 instead, since the properties are already defined in the quest.
  4. Thanks for the suggestions. I'll try changing the code to be more like what you said above, IsharaMeradin.
  5. Here's the Topic Info from the existing alpha version: And the Papyrus fragment that hasn't been working: getowningquest().setstage(40) ;;The following stuff can also be done via Quest Stage 40 itself. ;;Remove scripted quest version from player (and from game): Game.GetPlayer().RemoveItem(Alias_MangoCuirAlias.GetRef(), 1) ;;The next line should be redundant: ;Alias_MangoAlias.GetActorRef().AddItem(DrqMango_ArmorDraugrCuirass, 1) ;;Have her equip the non-quest version: Alias_MangoAlias.GetActorRef().EquipItem(DrqMango_ArmorDraugrCuirass) Alias_MangoAlias.GetActorRef().SetRelationshipRank(Game.GetPlayer(), 3)
  6. PS: I strongly suspect it's not a mod conflict that xEdit will help find (or I would have already, being "someone who is knowledgeable with TES5Edit" already). It's probably an SKSE plugin that is the culprit, but I can't just start disabling them, since many of them are dependencies for something(s) else or I wouldn't have them in the first place. Or it may be a script in a mod. I've been over stuff in xEdit and not found anything that looks like the problem.
  7. I can't for the life of me seem to get this right. I've tried a dozen variations, over a few months of frustration, and it just is never working. I've taken an old open-permissions basic follower mod (Mango) and started adding stuff to it, including new XVASynth dialogue. I've started with a simple "find my lost gear" micro-quest (right in the same dungeon). The quest starts. The marker works. Finding the gear updates the quest (only the cuirass is required from the chest the stuff is found in). The dialogue when you return to the quest-giver is there, but then when you trigger it to give the gear, nothing happens and the quest is stuck forever. What's supposed to happen is when you tell her you got her gear for her, it takes the quest-flagged cuirass from you and equips the non-quest-flagged variant on the NPC. Sounds dirt simple. Here's the mod in its presently broken alpha state. Can anyone please help fix this? I think if I get this working and see why it works and my older attempts failed, I'll be able to proceed with the rest of the "real" quests I have in mind without any further serious problems. https://mega.nz/file/4ZIzjQCR#gR0aJmQ3hI3YAF8SD1sHnAk7VGlu7NDp5ZtWsJneLlA NSFW: The follower NPC doesn't have an outfit on when you find her, so if your game has nude textures instead of vanilla underwear textures, she'll show up nude. For expedient testing: Clear out Embershard mine, and save. Install the alpha mod, and go back into Embershard. The follower NPC, Mango, is chained to the wall across from the locked bandit armory room in the middle of the dungeon. The dialogue is very simple and self-explanatory. The Heirloom Nordic Cuirass to find is in the chest on the table near the bandits' forge and armoring table in the cavern a bit further inside the dungeon.
  8. Yeah, I've tried manual-saving before and after that autosave (whatever triggers it), and no dice. Even tried coc to a merchant location seconds before the autosave (which still fires off) and the merchant doesn't work.
  9. I've had a problem for some time now: after an autosave, of the quick kind, the "What have you got for sale?" dialogue option vanishes from all merchants. I have more mods than God and no easy way to figure out which is the culprit or what to do to fix it. My workaround so far is to turn off autosaves in the game settings, and turn them off in MCMs that do them, and only do manual saves with the console. However, I've found that the game itself forces a quick autosave right after your first, lengthy conversation with Paathurnax, so basically I cannot do the main quest, except as the last thing in my game after I have so much gold and gear and ingots and so on that I never need a merchant again. This problem is affecting both my LE and SE/AE game, but I have many, many mods in common between the two setups. Anyone else encountered this problem before and know how to resolve it?
  10. So, here's the basic script I have for "you've fetched this quest item". It is one that will next be taken from player inventory and put into follower inventory, to close out the quest: Scriptname DrqMgGearQstGetCuir extends ObjectReference Quest Property DrqMgGearQstGetCuirProp Auto Event OnContainerChanged(ObjectReference newContainer, ObjectReference oldContainer) If (newContainer == Game.GetPlayer()) DrqMgGearQstGetCuirProp.SetObjectiveDisplayed(30) DrqMgGearQstGetCuirProp.SetStage(30) EndIf EndEvent But it may re-enter player inventory, e.g. to temper it and give it back to the follower, at any time thereafter. Do I need to do anything in here to test for that, or is it all going to be irrelevant because the quest is already closed as soon as you hand the cuirass (for the first time) to the follower who had you go fetch it? I'm concerned about the SetObjectiveDisplayed and whether that would spam the player with on-screen notices about an already-closed quest. My suspicion is that I have to declare a variable of some sort, then set it to DrqMgGearQstGetCuirProp.GetStage(), then test whether that is < 30. But I don't want to have to do that if it'll just be wasted code. Maybe an alternative is having two versions of the gear, and removing the quest one from the player and putting the non-quest one in the follower inventory, so the quest one disappears from the game after initial delivery. There's probably a "best practices" way to handle this sort of thing, but I'm new to this corner of modding.
  11. Having the damnedest problem, a "grey forehead bug". I've done a repair job on the LE mod "Chao's Illia" which had several problems, and it's working, except the forehead/brow part of the head is grey, and it looks like the tintmask isn't being loaded in-game either. The FaceGen head looks fine in NIFSkope. I've re-exported the head and re-merged parts with NIFMerge several times, and I keep getting the same problem, including with a new game (via Live Another Life, so I don't have to sit through the cart ride). Wondering if A) this happens for others or it's just something messed up in my own setup; and B) if anyone knows the fix. Here's the mod, properly packaged for MO2: https://mega.nz/file/oFgWxCRS#_QzKJMjuiSjR9zL9qpfWtX1QDB0EWID3cVHC6cqlk8A The NPC RefID is 0004B22E (i.e., one can do prid 4B22E then moveto player to see what she looks like). Attached pic shows what I'm getting.
  12. jvilleseche, if I may necro a necro of a necro: Did you get that working? If not, has anyone figured out if various "undress to get in the pool/bath" scripts from nudie mods can be adapted to this? It IS kind of stupid that all these NPCs have sleep outfits defined, then go to bed in their plate armor. Hopefully there's just some mod to fix this, but for the follower mod I'm working on, I would like to build this feature in as a script so it's not dependent on someone having a particular mod.
  13. Followup note: It seems that the best way to get two separate installations of Skyrim (either version), for playing and for development, is to tell Steam to create a second Steam Library, and install the other copy in that new library. This requires that the system have at least two SSDs/HDDs; modern versions of Steam will not allow you to create an alternative Steam Library on the C: drive, for no apparent reason. While Skyrim LE's CK seems to work fine in simple copies of the game (e.g. Desktop/Skyrim_Dev, or whatever), Skyrim SE's CK requires that it be launched with Steam, and Steam is only going to recognize one of its own installations of the game, so just copying it won't work. It has to be a Steam-installed copy. PS: I've said elsewhere that one should not allow Steam to install Skyrim Script Extender, but you should install it manually from http://skse.silverlock.org/ instead. Otherwise, Steam can update it on the fly, which tends to break a lot of mods that need to be updated for a new version of SKSE/SKSE64, and this in turn renders your existing savegames unusable (unless you successfully revert to the older version of SKSE). And it will overwrite any SKSE scripts, some of which might have been customized by later installations of things. That by itself may result in some Papyrus compilation failures, depending on exactly what you're doing. This "changing out from under you" problem seems to affect SE more than LE, but still – better safe than sorry. Don't update SKSE after playing until you are ready to start a new playthrough, and are aware of any mods that need to be upgraded to deal with SKSE changes, and any that need to be reinstalled because they overwrite one of SKSE's default scripts. The safest bet is to remove any existing SKSE from your Steam application's LIbrary list, so you can never install it that way even by accident.
  14. Yeah, I figured something like that would have to be done, so two don't try to use it at once for different things. I think it'll be faster for me to just replace some of the benches with custom beds that look like benches or something that might be around a pool.
×
×
  • Create New...