CliftonJD Posted May 9, 2016 Posted May 9, 2016 this here: game.getplayer().unequipall() game.getplayer().setoutfit(sslv_slaveoutfit2) if you follow that with : game.getplayer().equip(sslv_slaveoutfit2) that might fix the bug with the cuffs only working the 1 time - the outfit was already set the first trip thru so setting it again for the player doesn't change it, the items need to be equipped "equip is not a function or does not exist" hmm... edit: equipitem. hopefully that works with outfits. i've seen references describing equipall or unequipall or equip a single item, but the 1 case i found of an outfit equip command had the outfit listed in the esp then referenced as a property in the script and was only usable within that function it was used for so altho its possible to equip outfits, i couldn't determine what in the function it was used for made that possible so i could transfer that to another script to set the outfit at other times as well
jfraser Posted May 9, 2016 Author Posted May 9, 2016 Yeah, you do need to set the outfit as a property, and it would only be callable by a script where that has happened. I didn't see a function called equipoutfit or anything like that, so hopefully it's not too pedantic about the word "item".
Bane Master Posted May 9, 2016 Posted May 9, 2016 this here: game.getplayer().unequipall() game.getplayer().setoutfit(sslv_slaveoutfit2) if you follow that with : game.getplayer().equip(sslv_slaveoutfit2) that might fix the bug with the cuffs only working the 1 time - the outfit was already set the first trip thru so setting it again for the player doesn't change it, the items need to be equipped "equip is not a function or does not exist" hmm... edit: equipitem. hopefully that works with outfits. It's worth trying to avoid game.getplayer() it's much slower (according to the wiki 1000x slower!!) than setting up an Actor Property pointing to the player and using that.
Content Consumer Posted May 9, 2016 Posted May 9, 2016 this here: game.getplayer().unequipall() game.getplayer().setoutfit(sslv_slaveoutfit2) if you follow that with : game.getplayer().equip(sslv_slaveoutfit2) that might fix the bug with the cuffs only working the 1 time - the outfit was already set the first trip thru so setting it again for the player doesn't change it, the items need to be equipped "equip is not a function or does not exist" hmm... edit: equipitem. hopefully that works with outfits. It's worth trying to avoid game.getplayer() it's much slower (according to the wiki 1000x slower!!) than setting up an Actor Property pointing to the player and using that. It's true about game.getplayer(). I prefer to use a reference whenever possible. However... Reference aliases are stuck on what the player race was at the time it was filled (when the quest starts). If the player changes race later on, that reference will be invalid (werewolf transformation or Bimbo curse for example). In other word, game.getplayer() will return a different value for the current race of the player. That probably won't affect your quests but it is good to know for other situations. I found out the hard way when the player stopped having sex animations after changing into a Bimbo because of heavy reliance on the SexLab.PlayerRef alias. Restarting sexlab after transformation fixed that issue for me. Since then, I have been trying to get rid of sexlab.playerRef in my mods. This is only a problem if you're changing your race. This appears to happen with mods like Hormones, but IIRC also things like vampirism.
jfraser Posted May 9, 2016 Author Posted May 9, 2016 I know aliases are better, but they never work for me. Last time I tried to use them, every bit of my dialogue disappeared. I avoid them as much as possible.
CliftonJD Posted May 9, 2016 Posted May 9, 2016 this here: game.getplayer().unequipall() game.getplayer().setoutfit(sslv_slaveoutfit2) if you follow that with : game.getplayer().equip(sslv_slaveoutfit2) that might fix the bug with the cuffs only working the 1 time - the outfit was already set the first trip thru so setting it again for the player doesn't change it, the items need to be equipped "equip is not a function or does not exist" hmm... edit: equipitem. hopefully that works with outfits. It's worth trying to avoid game.getplayer() it's much slower (according to the wiki 1000x slower!!) than setting up an Actor Property pointing to the player and using that. function for player: if !player player = Game.GetPlayer() EndIf example of the function in use: Function PlayerEquipWeapon(Weapon weapon_to_equip) If player.GetItemCount(weapon_to_equip) > 0 player.EquipItem(weapon_to_equip) player.DrawWeapon() EndIf EndFunction
Content Consumer Posted May 9, 2016 Posted May 9, 2016 My vocabulary is lacking, I think. To me: Reference = actor property. Or any property. A property reference. That thing you do in your script. Property = see reference. Alias = a damnable, horrible thing that I have never, not once, managed to get working properly without breaking something. I'm sure some of that is wrong, but I don't care. I know what I mean.
CliftonJD Posted May 10, 2016 Posted May 10, 2016 My vocabulary is lacking, I think. To me: Reference = actor property. Or any property. A property reference. That thing you do in your script. Property = see reference. Alias = a damnable, horrible thing that I have never, not once, managed to get working properly without breaking something. I'm sure some of that is wrong, but I don't care. I know what I mean. lol, that could very well be why the reliable stable code i have is built on the properties and references while the aliases tend to be unpredictable or just plain unstable kinda like your quote says there>> "perfectly stable except for the minor instabilities... lol, i love that
jfraser Posted May 10, 2016 Author Posted May 10, 2016 equipitem does not work on outfits. lesson learned.
CliftonJD Posted May 10, 2016 Posted May 10, 2016 equipitem does not work on outfits. lesson learned. ;--note this relies on a property or function to define the outfit clone.RemoveAllItems() Int i = original.GetNumItems() Form the_form While i > 0 i -= 1 the_form = original.GetNthForm(i) If !(defeatActive && the_form.HasKeyword(Keyword.GetKeyword("DefeatWornDevice"))) clone.AddItem(the_form, original.GetItemCount(the_form)) If the_form as Armor != None clone.EquipItem(the_form, true) EndIf EndIf EndWhile that code equips items to a clone, use this for player in place of clone for the integer value could try replace outfit there so: player.unequipall Int i = outfit.GetNumItems() Form the_form While i > 0 i -= 1 the_form = outfit.GetNthForm(i) If the_form as Armor != None player.EquipItem(the_form, true) EndIf EndWhile
special Posted May 10, 2016 Posted May 10, 2016 I have a bug...When the player is defeated and sent to auction house, she remains dead in the cell and is uncontrollable.I'm using the latest version of Simple Slavery, have performed a clean Skyrim install and am running a new save. I have also tried this which didn't fix the problem: In your DA settings, make sure the "Perc. Health Large Hit" is set to at least 600% and the "Perc. Health Threshold" is set to 15% . Any ideas on how to fix this?thanks,
torcher54 Posted May 11, 2016 Posted May 11, 2016 I have the very same problem as user special. When I get defeated and send to auction, my body is bugged in middle of the air/floor and cannot be controlled. I tried to spawn copy of myself (player placeatme 00000007) and after that, the auctioneer started speaking. (I cant control the copy of myself, so I remain bugged on the floor, I just found interesting that after spawning that copy, the auctioneer reacted) i(dot)imgur(dot)com/ycI7cyg(dot)jpg This is screenshot of how it looks like. I set that 600% and 15% in DA, but it didnt help at all. Any help would be cool, thanks. EDIT: removed sexlab submit and all works now...(edit2: no it doesn't - teleport to auction from alternative start works but teleport from alternative death doesnt)
jfraser Posted May 11, 2016 Author Posted May 11, 2016 Oh Lord, you're using submit? I don't think any version of that has been updated in a very long time. Which is a pity because I loved it. I was going to ask for load orders to try to find commonalities. @special, any chance you also have submit?
Morferous Posted May 11, 2016 Posted May 11, 2016 I kept Submit around for consensual sex dialogue, with other features disabled. Mod never caused any problems me like that. Of course, if features were active, then it is quite likely that it could clash with Simple Slavery.
torcher54 Posted May 11, 2016 Posted May 11, 2016 Well, It seems that it wasnt fixed after all... I think that there is problem with the Death Alternative mod. Because when I start new game and choose to start in auction, I get teleported there correctly. But when I'm teleported there with alternative death mod, I'm stuck and unable to move.
jfraser Posted May 11, 2016 Author Posted May 11, 2016 Make sure you have the latest DA. This was a problem with older versions. Try turning off Ragdoll - that was the fix back then.
CliftonJD Posted May 11, 2016 Posted May 11, 2016 Oh Lord, you're using submit? I don't think any version of that has been updated in a very long time. Which is a pity because I loved it. I was going to ask for load orders to try to find commonalities. @special, any chance you also have submit? Well, It seems that it wasnt fixed after all... I think that there is problem with the Death Alternative mod. Because when I start new game and choose to start in auction, I get teleported there correctly. But when I'm teleported there with alternative death mod, I'm stuck and unable to move. i see by jfraser's response above you're using submit with it - that would be the conflict, you'll have to choose submit or death alternative and submit doesn't feature simple slavery cuz submit is too old
torcher54 Posted May 11, 2016 Posted May 11, 2016 I think I somehow fixed it by removing some old mods and changeing load order of the mods a bit(moved the death alternative to the top)...However now I have issue that when I wear armbinder and start struggling, the struggle animations is played forever. There is text "you strungle until exhausted" or something like that, however after i confirm this message, the character keeps struglling....
CliftonJD Posted May 11, 2016 Posted May 11, 2016 I think I somehow fixed it by removing some old mods and changeing load order of the mods a bit(moved the death alternative to the top)...However now I have issue that when I wear armbinder and start struggling, the struggle animations is played forever. There is text "you strungle until exhausted" or something like that, however after i confirm this message, the character keeps struglling.... that particular bug i've experienced myself for some time, but haven't looked into it much, just found it easier to avoid using the tab key while the arms are bound and when i do use tab key avoid choosing struggle think the bug might be due to the animation being outdated likely dd is waiting for zap to update to fix that
WaxenFigure Posted May 11, 2016 Posted May 11, 2016 I kept Submit around for consensual sex dialogue, with other features disabled. Mod never caused any problems me like that. Of course, if features were active, then it is quite likely that it could clash with Simple Slavery. Same here. It was cleverly done, using voiced dialogue.
Nazzzgul666 Posted May 11, 2016 Posted May 11, 2016 I have a bug... When the player is defeated and sent to auction house, she remains dead in the cell and is uncontrollable. I'm using the latest version of Simple Slavery, have performed a clean Skyrim install and am running a new save. I have also tried this which didn't fix the problem: In your DA settings, make sure the "Perc. Health Large Hit" is set to at least 600% and the "Perc. Health Threshold" is set to 15% . Any ideas on how to fix this? thanks, I had this problem with almost every DA trigger, i've changed defeat settings to avoid DA, but didn't try the Simply Slavery connection of defeat yet. However, there is a workaround if we're talking about the same problem: wait, to get up takes a LOT of time. After that several things were still broken for me but could be fixed by enforcing an animation, pressing 'N' for 2 seconds to start sexlab masturbation usually worked.
jfraser Posted May 11, 2016 Author Posted May 11, 2016 Make sure you have Realistic Ragdolls and Force.
special Posted May 11, 2016 Posted May 11, 2016 Make sure you have Realistic Ragdolls and Force.I have this installed and am not using Sexlab Submit. I can't get the character to 'revive' after a DA defeat when player is sent to SS. I am using the latest DA. I never used to have this bug in previous versions, it's all started since zaz updated to 6.1, I'm not saying that is the cause but it was around that time the bug started.
special Posted May 11, 2016 Posted May 11, 2016 damn. blast. please post your load order. So I changed the DA setting from Bleedout + Ragdoll to just Bleedout and the problem went away. There is obviously something about DA and ragdoll which I do not know why is now broken, it used to work fine about a month ago (not played Skyrim much lately), in which time I have updated to Zaz 6.1 and DDi v3.0 beta. To my knowledge DA hasn't been updated in some time so I am still using what I believe to be the latest version of DA which is 6.1.8, I have also installed the 6.1.8 hotfix file provided by the DA dev and also the DA Captured 2.0.5 addon. I have attached my loadorder.txt for you to have a look at... I use the latest version of LOOT to set the order which has never let me down yet. loadorder.txt
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now