-
Posts
35 -
Joined
-
Last visited
Nexus Mods Profile
About Akarsil

Profile Fields
-
Country
Denmark
-
Currently Playing
Fallout 4
-
Favourite Game
TESV: Skyrim
Akarsil's Achievements
-
[LE] Random Item from Formlist Script
Akarsil replied to Akarsil's topic in Skyrim's Creation Kit and Modders
The debug notification fires, the "Debug.Notification("Gordon is trying to give you a book.")" Does actually show up, however the leveledlist script I made doesn't actually give a reward from the leveled list. Or anything at all. I tried the leveled list method you suggested after I ran the debug example code you gave me on the old formlist script, nothing showed up in the logs strangely enough. The new fragment I posted above is for the leveledlist solution I tried, not for the formlist one. -
[LE] Random Item from Formlist Script
Akarsil replied to Akarsil's topic in Skyrim's Creation Kit and Modders
I couldn't get much information from your example code unfortunately. :/ How would you go by making a script for adding an item via a leveledlist? I'm not having much luck with getting the formlist script to work unfortunately. I have no problem setting up the leveled list. I did enable papyrus logging, but the logs turned out empty for some reason. Alright I tried the leveledlist approach with a little googling around but that doesn't work either. EDIT The script was placed in the end fragment of the dialogue option and it seemingly does fire ingame. But no reward is given nor does an Added item message I wrote show up. I've filled out a custom leveled list and matched the criteria for vanilla quest rewards going by how MQ104 "Dragon Rising" handles it's quest rewards. I've tried recompiling the scripts. Nothing. New save game - Nothing. Just doesn't seem like this wants to work. -
[LE] Random Item from Formlist Script
Akarsil replied to Akarsil's topic in Skyrim's Creation Kit and Modders
Everybody's gotta start somewhere! Do you know how to use the debug log? It's very useful for stuff like this, since various runtime errors will can be spotted even without debug statements in your script itself (e.g. unfilled variables, out-of-bounds array accesses, stuff like that) and *with* debug statements can be used to see exactly what's going on with your script, complete with accurate timestamps. Some example code: ;BEGIN FRAGMENT CODE - Do not edit anything between this and the end comment ;NEXT FRAGMENT INDEX 3 Scriptname AAA_GordonGif_TIF__02005940 Extends TopicInfo Hidden ;BEGIN FRAGMENT Fragment_2 Function Fragment_2(ObjectReference akSpeakerRef) Actor akSpeaker = akSpeakerRef as Actor ;BEGIN CODE int n = GordonGiftCommon.GetSize() - 1 Debug.Trace("AKARSIL: List Length: " + n) n = utility.RandomInt(0, n) Debug.Trace("AKARSIL: Random: " + n) Form newItem = GordonGiftCommon.GetAt(n) Debug.Trace("AKARSIL: Form: " + newItem.GetName()) (game.GetPlayer()).AddItem(newForm) ;END CODE EndFunction ;END FRAGMENT ;END FRAGMENT CODE - Do not edit anything between this and the begin comment FormList Property GordonGiftCommon Auto (I assume your formlist actually has items in it?) EDIT: I should note however a simpler solution to this would be to create or use an existing LeveledItem list instead, which can be used in an AddItem call and will evaluate the leveled list at that time. This is how a lot of vanilla quest rewards are set up, for example. Thanks a lot for the time and effort :) I'll slap this in first thing in the morning and return to you! -
[LE] Random Item from Formlist Script
Akarsil replied to Akarsil's topic in Skyrim's Creation Kit and Modders
It does seem to fire alright, the debug message I put in does show up. Have you put in logging to see: 1. the length of the form list, 2. the value of n after getting a random number, 3. what form, if any, is retrieved from the formlist? I know very little scripting .. I'm not certain how I'd do that. :( -
[LE] Random Item from Formlist Script
Akarsil replied to Akarsil's topic in Skyrim's Creation Kit and Modders
It does seem to fire alright, the debug message I put in does show up. -
[LE] Random Item from Formlist Script
Akarsil replied to Akarsil's topic in Skyrim's Creation Kit and Modders
I did. Type: Formlist and then filled it in with my Formlist in properties. Edit: I've tried the script on both an old and a new savegame. :/ -
[LE] Random Item from Formlist Script
Akarsil replied to Akarsil's topic in Skyrim's Creation Kit and Modders
The potential reward is literally any book in the game, which would make properties a painfully long task. :( But the insight is is appreciated for a future script. -
Hi! I'm having a bit of trouble with getting a script to work. It's a script supposed to trigger at the end of a dialogue option to add a random item to the player's inventory from a Formlist I've made. I've already looked up various solutions on Google and on the forums but with little luck, as I know extremely little scripting. :sad: This is the very little I've gotten so far from my research but it doesn't work. Could anyone help me with such a script or maybe give me a little how-to? :smile:
-
Looking for someone to edit textures (telvanni hoods)
Akarsil replied to Deleted31005User's topic in Skyrim's Skyrim LE
Hello! I'm willing to take a look at this. :) -
Alright, but the thing is that the retextures I've made have required some tweaking of the meshes in nifskope. I'll wait it out and see if I can get an answer, if not then I'll simply just not upload. I did go through the permissions tab and it said that I always should ask for permission first. Thank you for the answers. :)
- 4 replies
-
- mod
- permission
-
(and 1 more)
Tagged with:
-
Hello everyone. :) Recently I've been working on a retexture of a mod on the Nexus. I've actively tried to contact the original modder, but I receive no answer. How long should I wait before uploading the mod? With credit granted to the original modder of course, or should I just refrain from uploading it at all? Cheers,
- 4 replies
-
- mod
- permission
-
(and 1 more)
Tagged with:
-
Mesh not appearing in CK, Working in Nifskope
Akarsil replied to Akarsil's topic in Skyrim's Skyrim LE
Alright, thanks. :) -
Mesh not appearing in CK, Working in Nifskope
Akarsil replied to Akarsil's topic in Skyrim's Skyrim LE
Thanks, that worked out for me! Much appreciated. :) -
I've recently taken my first step into making a small, very simple model for one of my own mods. But after hours and hours of going through other posts and tutorials on how to export meshes into Skyrim, I simply can't get this one to work. I know this topic have been around a lot of times before. And I do apologise. :facepalm: - The model appears perfectly fine in Nifskope, as it's supposed to. - The mesh is invisible in Creation Kit when trying to load it into an Armor Addon or preview it there. I've followed multiple tutorials on readying a mesh in 3Ds Max, I use the 2012 version. There I used the data from an already existing and working mesh from the case, to get the correct data transferred onto the mesh. I have gone through the shaders in Nifskope and the data of my own mesh is pretty much identical to the template mesh I used, except for the amount of Verts and triangles and so forth. :psyduck: I was hoping someone with experience in working with meshes for skyrim or anyone with knowledge of the subject to maybe look through the mesh I've made in Nifskope and help me by troubleshooting, maybe even potentially helping me with the fix. :pinch: I would be very grateful. Posted a link below to the archive containing the mesh. https://www.dropbox.com/s/ulvfztfjk3ez0dp/BrokenHorns.rar?dl=0
-
Nevermind, I found my solution to the problem and made a little workaround, For anyone needing help with this in the future, you can simply send me a message privately and I answer as quickly as possible.