Jump to content

nhguy03276

Members
  • Posts

    24
  • Joined

  • Last visited

Everything posted by nhguy03276

  1. I'm no Expert, and am actually having a sort of similar issue, So I'll share what I think is happening... The problem from what I can tell, is that Armors are not placed over the current body, but are replacing it. So if your armor does not have the body in it, them when the armor is placed on the body, the arms and legs are blank. Here is a NifSkope image of the Vanilla Heavy Hide Armor, note the body is still in there. I have looked at most of the vanilla armors and found the same... I actually found this out as I'm trying to use a Slim body with a shirtless armor for a Satyr mod I'm working on, but when I put the armor on him, he buffs up... I'm still looking to find a way around it, but it is looking like I'm going to have to make specific armors for the Satyr Race if I want to keep the slim body... It is important to note as well, often the body parts in the armor often have several unneeded Polygons removed...
  2. Well... After additional testing, it wasn't the cleanup script that's causing the problem... But I have no clue as to what is causing the issue... Anyways, I found a bug with my Serana's Folly Mod. The basics (if you haven't seen it posted) is that when Serana complains about the weather, she Explodes into flames, is struck by lightning, or has a bunch of random junk dropped on her (hence the need for the cleanup). So after some trial and error, the best way for me to get Serana to react to the "Damage" without actually damaging her, was to use a lowgrade unrelenting force effect with a empty projectile. this makes it look like she's being damages, while doing very little actual damage. To get it to work, I place said shout effect on a localized activator, and the visuals on a secondary activator... Works well.... unless I return to Dimhollow Cave. Going in the Front Door and leaving by the front door again causes no issue, but going in the back door after initially leaving the cave,or going in the front door, and leaving the back door again cause what appears to be the activators not to reattach to Serana like they should, and she no longer reacts to the effects being applied. I can go anyplace else, and so far only had the issue after leaving the Back Door of Dimhollow Cave a second time, and so far the only solution I can find is to uninstall the mod, clean save, and reinstall it... Timing made me think it was the ceanup Fragment, but definitely not the case, as I had several test runs where this happened even without having the fragment. Anyways: The Fragment to call the code is Serana.PickWho(akSpeaker, X) attached to the dialogue (X is actually the INT I assigned to the conversation) Is my Main Code. Any thoughts as to why this would work everyplace except after coming out Dimhollow cave, or anything you can see in it would be appreciated.
  3. I'm trying to fix a issue I accidentally put into my mod, where when a bunch of items spawn, the only way to remove them is to manually pick up all 60 items... I was hoping it would be as simple as Event OnCellDetach() self.delete() endEvent and attach that to the item... Sadly it works for removing the item, but breaks other things... Any ideas on how I should be removing the items?
  4. The Bad New... The way Solitude is put together, it can be done, but will require you to edit the .nif file in a 3d editor program such as 3dsmax or Blender. This is not impossible to do, but is a lot of work if you are just learning. and since you only want to level your smelter, I'd recommend just faking it, and put your smelter in and find static object such as rocks/platforms to place in the gaps. It's a pain I know, I just had to deal with this myself, as I am trying to place my art gallery into Solitude, and the place I want to put it had some issues like you had... quickest way to fix a few was to pile a couple rocks.
  5. Kludgy... Probably the best description of Papyrus I've heard yet. I've been a hobby programmer off and on since the time of Commodore 64 basic, (no expert programmer, but know enough to know there it a right way, a wrong way, and a nuckin kludgy way to write script...) and Papyrus has got to be one of the worst languages I've ever had to work with. It seems Bethesda took great pleasure in creating a language replete with "you can't get there from here" functions, and making things that should be straight forward simple the most complicated headache possible. As for the Jcontainers, I'll start looking into them... I think they might be that piece I felt was missing. As for those of you complimenting what I did in my posted script, Thank you.
  6. I had the same problem with the shields dragging at my feet until I changed the NiStringExtraData node's String Data to "SHIELD". I'm pretty sure this is the node that tells the game where to attach you nif. As for the Wearable Lanterns Mod NexusComa linked, I can fully endorse it, as I've been using it for a while now and love it. I actually thought maybe you were already using it as your base, but simply wanted to change a Lantern mesh.
  7. I'm no expert here, but I did something similar, in that I created custom "Shield" out of some paintings, so I could hang painting on various shield racks and move them around at I got bored with the layout, found one I like better, etc. Almost all the work needed to make it work was done in Nifskope. First thing I had to do was remove the collider data from the .nif, and then using chunkmerge, and in my case a shield for the template (you'll likely need the working lantern from the mod) set the collision data. (is this really necessary, I'm not sure, but it worked) Then in Nifskope, open a second Nifskope window, loaded both my painting.nif and the shield.nif, I went line by line through the nodes/flags making sure that the painting.nif had all the same flags, and nodes as the working shield. make sure the strings also match. At this point the only things that shouldn't match are the NiTriShape nodes. once those matched, it was simply a case of firing up CK, duplicating a shield, changing the .nif, and finding a place to put it. It was a lot of trial and error at first, but it isn't too difficult, if you have a functioning lantern .nif to use as a base. http://i.imgur.com/mlir293.png
  8. I have the need to Display 26 items from a Formlist of 60 items, and I want each time they are displayed, for the display to pick a random 26 from the list, without them repeating... It took me the better part of the day to figure out a way to do it, but it seems highly convoluted, and there has to be a simpler method of getting a list of non-repeating numbers... However, The following does work. Function SelectPaintingstoDisplay() int i = Pas_CanBeDisplayed.getsize() int k = 0 while k < i Pas_IsBeingDisplayed.addform(Pas_CanBeDisplayed.GetAt(k)) k +=1 EndWhile int J = 0 While J < 26 int L = Pas_IsBeingDisplayed.getsize() L -=1 int Jindex = utility.randomInt(0,L) Form kReference = Pas_IsBeingDisplayed.GetAt(Jindex) As Form AddBooks(kReference, 1) Pas_IsBeingDisplayed.RemoveAddedForm(kReference) J +=1 Endwhile Pas_IsBeingDisplayed.Revert() EndFunction Does anyone know of a way that doesn't take the long way?
  9. I might be wrong, but it looks like you have a issue with your UV map. Many programs will allow you to move vertices/polygons without causing issues with UVmaps (texture stretch can occur), but deleting vertices/polygons will often require you to remap. If you have indeed remapped your model, make sure the textures have been properly re-aligned, as they might not be in the same location as they were. I use Blender 2.7, so I'm not that familiar with 3ds max, but I found this tutorial https://www.darkcreations.org/forums/topic/10525-blender-27-nif-exporter-tutorial/ helpful when I was getting started on mesh export/imports. It still requires tweeks in nifskope, and you'll likely need to figure out where the settings are in 3ds, but it might be helpful.
  10. I'm not sure why you are having issues with them, I downloaded them, loaded them into gimp and saved them in DXT1 compression, (and set mipmaps to generate). I didn't have a issue. I've attached them below for you. If I had to guess, I'd say you probably don't have the DDS Plugin installed correctly. I'd try redownloading and reinstalling that in case you have a corrupt file someplace. Also verify you have the current version of both. I'm using Gimp 2.8.18. Also of note: Keep this link handy: https://aarmstrong.org/content/aspect_ratio_calc.php For some reason, if I compressed a DDS that had a pixel count that didn't match a number in either the height or width (it didn't matter if both numbers came from the same column or not), It would cause CK to crash when you tried to load it. for a 504 x 504 would work, and a 352 x 189 would work, but a 352 x 190 would cause CK to crash. (They would load fine if you loaded then in a .nif file or if you didn't compress them, however) It took me the better part of a day to get that all worked out... This list is incomplete as it only goes to 1280, but it can really help when dealing with smaller non n^2 sizes. Your files: https://www.dropbox.com/s/p7fd47ytajpmmk5/PicsArt_10-29-05.54.33.dds?dl=0 https://www.dropbox.com/s/v8bhkz81lxj4ghq/PicsArt_11-06-10.33.53.dds?dl=0 https://www.dropbox.com/s/lec0ne76j40lcxa/PicsArt_11-12-08.56.07.dds?dl=0
  11. Always fun modding skyrim... I spend 5 days trying to get a function call to work... just to find out I missed a reference link in a fragment... 10 second fix to a 5 day issue...
  12. I am using Skyrim Script Compiler Pro by LuJoSoft http://www.nexusmods.com/skyrim/mods/60575/? and for the most part like it... However the auto line formatting is driving me nuts. Normally it isn't too bad, but I'm trying to clean up a area of nested code (which I don't like to begin with, difficult to follow) and each time I try to make a minor change, the auto format moves things around, making it even more difficult to read.... I'm spending more time putting things back to where I want them than I am actually coding... It's annoying me to no end. Anyways I've turned off all Auto functions such as autocomplete and autoindent, but it's still happening... does anyone know if there is any way to stop it from moving things? I'm about to go back to notepad and just code in that...
  13. Thanks, I do plan on using the text override and changing it to "Hang Painting" eventually, but I haven't gotten that far yet.
  14. Thanks for that... I had a feeling it was something like that, but still learning the way things work here in skyrim.. However, now it is decision time... Initially I liked the thought of the lights being automatic... but for test purposes, after not getting it to work properly, I separated the light trigger from the painting trigger, so you have to manually turn the lights on and off.. This works well, and the more I think about it, the more I think I may end up going that route as simply there may be times when the Highlight light might make things look worse and you'll want to turn them off... ( right now, the main lights and Ambient lights are turned off to make it easier to see the highlights, but I could see over saturation issues could occur when they are back on.... Downfall, two triggers in a area instead of one... guess this is just something I'll need to decide....
  15. I'm working on a "Art Gallery" mod, where the player can collect, buy, or steal artworks from across Tamreil and display them in their own private Gallery. By Making the painting shields, I can use Shield racks to allow players to re-arrange the paintings at will. Tired of that Van Gogh over the fireplace, switch it out with something else, even that shield you like. This has been working out quite well so far. Now onto the next step, lighting. Since this is a gallery, I want to use highlight lighting like most galleries do, to really make the painting pop, but I really don't want the lighting on if there isn't a item in that location. So I attached two simple scripts, one to the trigger, the other to the activator. So when you place a shield on the rack, the light turns on, and when you take it, the light turns off. A couple screen shots of it in action can be found here http://imgur.com/a/zxejI This works great, until you leave the cell. Upon returning to the cell, all lights are off, even the racks that have items in them. The light on script Attached to the "White Box" of the shield rack Scriptname PaintingLight extends ObjectReference ObjectReference Property PLight Auto Event OnActivate(ObjectReference akActorRef) Plight.enable() EndEvent The light off script attached to the "dot" of the shield rack Scriptname PaintingLightsOff extends ObjectReference ObjectReference Property PLight Auto Event OnTriggerLeave(objectReference triggerRef) Plight.disable() EndEvent I knew it couldn't be that simple, and I'm clearly missing something to check whether the item is in the slot or not, when the cell loads... However, I'm also wondering if it would simply be better to put a separate trigger box, not referenced to the rack, over the area where the shield will be and attach a single light toggle script to that instead. I'm just concerned with two triggers on a single item. Any thoughts?
  16. I don't yet know enough to help you, but it sounds like a issue with LOD not being set correctly. (LOD - Level of Detail) LOD is useful for when you are at a certain distance away, a much lower Polygon mesh is use (as you don't need the details until you are closer) and as you get closer a higher Polygon count mesh is swapped in. I wish I could help more, but I haven't done anything with LOD in skyrim yet, but I'd start there... I did use LOD in Unity, and it saves a ton of unneeded calculations.
  17. Hello all, I'm currently working on a Dovahkiin Personal Grand Library, to store all the book and book related stuff... I decided I wanted some art pieces in the Library as well. After some looking around, I wasn't very happy with the "Art" mods, and while I like "Immersive Artwork", it still needed something... So, I started my own. Anyways I want to be able to move the paintings around to different points at will, in game, and after a bit of thinking, I came up with the idea of making the painting shields, that way I can use the shield racks to place the paintings and to move them around. So far, I've gotten it to almost work but am having a issue with breaking the shield racks. Google has indicated this is not a uncommon problem, but I'm really hoping there is something I've missed in my .NIF file that will keep the shield racks from breaking. I can place the Painting on the rack once without a issue, (there isn't any wall clipping, I may even need to go back into blender and move the center point so they are closer to the wall) but once I take the painting off the shield rack, it doesn't clear. Anyways, here's what it looks like equipped, I don't know why you'd want to use a Van Gogh as a shield, but it could be fun, especially if I retexture a steel sword as a paintbrush.... Edit: I guess I should mention, I'm using the Original Edition Skyrim, and have not yet gone to SSE. http://i.imgur.com/mlir293.png http://i.imgur.com/q7rMzRO.png
  18. I know I can Export/Scale/Reimport objects if I must, but before I do, I'm just making sure I didn't miss a Scale X or Scale Y feature in CK. I'm remodling a house in CK, and need to shrink the width of a Wall Panel without affecting the height, and stretch length of a beam a little, to avoid overlap. I couldn't find anything on this when I tried to google it, so I'm guessing there isn't a way without playing in a editor, but I'm asking just in case I missed something. Thanks
  19. Well, in case someone stumbles across this thread in the future looking for a way to reduce XP for their own mods, here's what I did. As far as I can tell, there is no one line command to remove XP. I'm only a beginner, so I might still have missed something, but anything I've seen that comes close to actual XP removal looks very complicated. Not to mention, given they way XP is dealt with in skyrim, there are a bunch of possible issues that could come up when removing XP. The simplest solution seems to be a XP debt system that prevents further accrual of XP until the "debt" is paid. It might be far from Ideal, but it was far simpler than I initially thought. 1: In CK, set a new int property in your .esp file called "XPDebt" 2: in your script, set your reference to that property as normal 3: set a local Int XP 4: XP = (whatever calculations to have to assign XP, just make sure a negative XP is actually negative) XPDebt = XPDebt + XP game.AdvanceSkill("WhatEverskill", XPDebt) ; this only advances positive Ints, and ignores Negative ones. ;since you only want to store a negative XP, this clears out any positive XP it might have if XPDebt > 0 XPDebt = 0 endif
  20. Not Always. And this thread again highlights that. I was asking a simple Syntax Question, as Papyrus syntax is a bit... challenging.. to be polite. (I've never encountered a language with as much "you can't get there from here" coding...) I have a plan for a workaround, but before starting it, I wanted to make sure I simple didn't miss a one line command that would make that workaround unnecessary. That was all I really was looking for. Thank you, this answers my question. Actually, this might have even simplified my work-around. I have a plan at the moment, but I might just look into this...
  21. Not for not, but I deliberately did not give this information and kept the post as vague as possible, because in over 20 years of forum usage, there is near universal truth. If you give too much information when asking a question, people get bogged down in the details, and never answer the question asked, or worse tell you not to bother and just use some canned, off the shelf, Piece of Junk premade that doesn't do what you need. Offering Alternative is fine in my book as long as the original question gets answered as well... however it often gets lost in the details In this case, the Whys really don't matter, other than I'm trying to find a way to script XP loss, as XP loss is a bigger penalty than gold/items ever would be. So my question is How? game.advskill ("Skillname", 10) adds 10 to "skillname", but game.advskill("skillname", -10) does not remove 10 skill. I've encountered similar situations like this in other programming languages, where to use a float would require game.advskill("skillname", .5f) to add a .5 to a skill, and others would require game.Removeskill("skillname",10) to subtract skill as they can't handle a negative Int. since going to jail can cause some skill loss, clearly there is a way, but since I haven't yet found that code in the mass of source scripts, I'm asking to try and avoid hrs of searching lines of code. The alternative I am considering is going to require more scripting, in a already script heavy mod, adds a var that holds the "debt" and doesn't add new XP until the "debt" is paid. I don't find this solution to be ideal, so I was again asking if there is a better way. Anyways I can't be the only one who is interested in adding XP loss to their mod.
  22. I'm working on creating a risk/reward system for some mods I like that will make these mods more interesting than they currently are. To this end I'm writing a custom perk tree so that these mods can affect the game, yet not mess with other perks (using the Merged Thievery Skills mod to open up Lockpicking for my custom tree). So in my script, I add the line when adding XP Game.AdvanceSkill("Lockpicking", 10) But I also want to be able to subtract XP, Game.AdvanceSkill("Lockpicking", -10) Doesn't seem to do anything. Is there a different code for removing XP? Of course, I'm not even sure this is a good idea due to perks and skill leveling and all, so one alternative I've been thinking about it to place a hidden Var in the MCM script, to store the "Debt XP", and subtracting the positive XP from that. This way you don't actually lose XP or Levels, but you can't advance until your "debt" is payed off. Is this likely the best way or is there a better way to handle XP lose? I know that my overall plan is going to push the limits of Papyrus, and want to keep this as optimum as possible. Thanks for any help
×
×
  • Create New...