TheLoverLabCriminal Posted December 10, 2020 Posted December 10, 2020 Hello guys I made a speech gain json for when u have sex I suggest u for the command to put it slso orgasm with 37 % chance, do whatever you like the command that my suggestion Speech Gain.json 1
TheLoverLabCriminal Posted December 11, 2020 Posted December 11, 2020 I have a question Is there an option to select if vampire pc race ?? If yes can you tell me ?
Fotogen Posted December 11, 2020 Author Posted December 11, 2020 12 hours ago, TheLoverLabCriminal said: I have a question Is there an option to select if vampire pc race ?? If yes can you tell me ? I never tried, but there is a function "actor_haskeyword". In CK, vampires have keywords: ActorTypeNPC, ActorTypeUndead and Vampire.
TheOrcInHeels Posted December 15, 2020 Posted December 15, 2020 I managed to make a script to heal over time: { "cmd" : [ [":", "heal"], ["av_restore", "$self", "Health", "1"], ["av_restore", "$self", "Magicka", "1"], ["av_damage", "$self", "Stamina", "5"], ["sl_isin", "$self"], ["if", "$$", "=", "0", "end"], ["util_wait", "1"], ["goto", "heal"], [":", "end"], ["msg_notify", "Sex healed me"] ] }
TheOrcInHeels Posted December 16, 2020 Posted December 16, 2020 And a better one: { "cmd" : [ [":", "loop"], ["av_get", "$self", "Magicka"], ["if", "$$", "<", "3", "wait"], ["av_get", "$self", "Health"], ["set", "$0", "$$"], ["av_getmax", "$self", "Health"], ["if", "$0", "<", "$$", "heal"], ["av_get", "$self", "Stamina"], ["set", "$0", "$$"], ["av_getmax", "$self", "Stamina"], ["if", "$0", "<", "$$", "heal"], ["goto", "wait"], [":", "heal"], ["av_damage", "$self", "Magicka", "3"], ["av_restore", "$self", "Health", "1"], ["av_restore", "$self", "Stamina", "1"], [":", "wait"], ["util_wait", "1"], ["sl_isin", "$self"], ["if", "$$", "=", "1", "loop"] ] } 2
TheLoverLabCriminal Posted December 19, 2020 Posted December 19, 2020 On 12/11/2020 at 5:12 PM, Fotogen said: I never tried, but there is a function "actor_haskeyword". In CK, vampires have keywords: ActorTypeNPC, ActorTypeUndead and Vampire. sorry for late message but I tried partner undead is only work for npc but player undead doesnt is not there I tried actor race undead nothing it seem it doesnt detect my pc as a vampire or there is no command for player undead
Vallarie Posted December 19, 2020 Posted December 19, 2020 Does anyone have a json file that would arrow for spell learning? Just like learning a perk but instead learning a random spell.
Fotogen Posted December 19, 2020 Author Posted December 19, 2020 8 hours ago, TheLoverLabCriminal said: sorry for late message but I tried partner undead is only work for npc but player undead doesnt is not there I tried actor race undead nothing it seem it doesnt detect my pc as a vampire or there is no command for player undead In MCM settings, Player is allways "Player". In MCM there is no check for "Player Vampire". In command script, you can check if actor has a specific keyword, like ActorTypeUndead.
TheLoverLabCriminal Posted December 19, 2020 Posted December 19, 2020 7 hours ago, Fotogen said: In MCM settings, Player is allways "Player". In MCM there is no check for "Player Vampire". In command script, you can check if actor has a specific keyword, like ActorTypeUndead. so that mean there isnt player vampire ? only player race ? wich mean it work for normal pc without being vampire ?
Vallarie Posted December 23, 2020 Posted December 23, 2020 Sorry to bring this up another time but does anyone know how to make file that will teach you a random spell? Just like random perk but it's a random spell.
ck2modfan Posted December 26, 2020 Posted December 26, 2020 Looking for some help. Looking for when victim (define in trigger), reduce the relation between aggressor and victim by 1. So if relation is 0 (acquaintance), new relation is -1 (rival). Need to set floor of -4 (arch nemesis) I see there are actor_getrelation and actor_setrelation but would like help in creating the script logic. Also, I don't see any Morality adjusting commands (maybe specific to SLHH?). Using SL Horrible Harrassment and it uses Morality (e.g. 0=Any Crime, 3=No Crime) value for its triggering of harassment. Would also like to try to reduce by 1 for each time a victim. Any help in form of command would be much appreciated. EDIT: My attempt at lowering relationship for anyone interested or if anyone has suggestion on making better. { "cmd" : [ ["actor_getrelation", "$self", "$partner"], ["if", "$$", ">", "3", "EXIT"], ["if", "$$", "=", "3", "ALLY"], ["if", "$$", "=", "2", "CONFIDANT"], ["if", "$$", "=", "1", "FRIEND"], ["if", "$$", "=", "0", "ACQUAINTANCE"], ["if", "$$", "=", "-1", "RIVAL"], ["if", "$$", "=", "-2", "FOE"], ["if", "$$", "=", "-3", "ENEMY"], ["if", "$$", "=", "-4", "ARCHNEMESIS"], ["goto", "EXIT"], [":", "ALLY"], ["actor_setrelation", "$self", "$partner", "2"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from ALLY to CONFIDANT for $$"], ["goto", "EXIT"], [":", "CONFIDANT"], ["actor_setrelation", "$self", "$partner", "1"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from CONFIDANT to FRIEND for $$"], ["goto", "EXIT"], [":", "FRIEND"], ["actor_setrelation", "$self", "$partner", "0"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from FRIEND to ACQUAINTANCE for $$"], ["goto", "EXIT"], [":", "ACQUAINTANCE"], ["actor_setrelation", "$self", "$partner", "-1"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from ACQUAINTANCE to RIVAL for $$"], ["goto", "EXIT"], [":", "RIVAL"], ["actor_setrelation", "$self", "$partner", "-2"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from RIVAL to FOE for $$"], ["goto", "EXIT"], [":", "FOE"], ["actor_setrelation", "$self", "$partner", "-3"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from FOE to ENEMY for $$"], ["goto", "EXIT"], [":", "ENEMY"], ["actor_setrelation", "$self", "$partner", "-4"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from ENEMY to ARCHNEMESIS for $$"], ["goto", "EXIT"], [":", "ARCHNEMESIS"], ["actor_name", "$partner"], ["msg_notify", "Relationship already ARCHNEMESIS for $$"], [":", "EXIT"] ] }
TheOrcInHeels Posted December 27, 2020 Posted December 27, 2020 On 12/26/2020 at 4:46 AM, ck2modfan said: Looking for some help. Looking for when victim (define in trigger), reduce the relation between aggressor and victim by 1. So if relation is 0 (acquaintance), new relation is -1 (rival). Need to set floor of -4 (arch nemesis) I see there are actor_getrelation and actor_setrelation but would like help in creating the script logic. Also, I don't see any Morality adjusting commands (maybe specific to SLHH?). Using SL Horrible Harrassment and it uses Morality (e.g. 0=Any Crime, 3=No Crime) value for its triggering of harassment. Would also like to try to reduce by 1 for each time a victim. Any help in form of command would be much appreciated. EDIT: My attempt at lowering relationship for anyone interested or if anyone has suggestion on making better. { "cmd" : [ ["actor_getrelation", "$self", "$partner"], ["if", "$$", ">", "3", "EXIT"], ["if", "$$", "=", "3", "ALLY"], ["if", "$$", "=", "2", "CONFIDANT"], ["if", "$$", "=", "1", "FRIEND"], ["if", "$$", "=", "0", "ACQUAINTANCE"], ["if", "$$", "=", "-1", "RIVAL"], ["if", "$$", "=", "-2", "FOE"], ["if", "$$", "=", "-3", "ENEMY"], ["if", "$$", "=", "-4", "ARCHNEMESIS"], ["goto", "EXIT"], [":", "ALLY"], ["actor_setrelation", "$self", "$partner", "2"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from ALLY to CONFIDANT for $$"], ["goto", "EXIT"], [":", "CONFIDANT"], ["actor_setrelation", "$self", "$partner", "1"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from CONFIDANT to FRIEND for $$"], ["goto", "EXIT"], [":", "FRIEND"], ["actor_setrelation", "$self", "$partner", "0"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from FRIEND to ACQUAINTANCE for $$"], ["goto", "EXIT"], [":", "ACQUAINTANCE"], ["actor_setrelation", "$self", "$partner", "-1"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from ACQUAINTANCE to RIVAL for $$"], ["goto", "EXIT"], [":", "RIVAL"], ["actor_setrelation", "$self", "$partner", "-2"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from RIVAL to FOE for $$"], ["goto", "EXIT"], [":", "FOE"], ["actor_setrelation", "$self", "$partner", "-3"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from FOE to ENEMY for $$"], ["goto", "EXIT"], [":", "ENEMY"], ["actor_setrelation", "$self", "$partner", "-4"], ["actor_name", "$partner"], ["msg_notify", "Relationship reduced from ENEMY to ARCHNEMESIS for $$"], ["goto", "EXIT"], [":", "ARCHNEMESIS"], ["actor_name", "$partner"], ["msg_notify", "Relationship already ARCHNEMESIS for $$"], [":", "EXIT"] ] } I don't really understand what kind of help you request. The script is cool.
TheOrcInHeels Posted December 27, 2020 Posted December 27, 2020 I just finished this script, for a succubus like character, to heal and get stronger by sex. I have reduced the HMS gain at every level up with the uncapper too. { "cmd" : [ [":", "loop"], ["rnd_list", "0.01", "0.01", "0.01", "0.01", "0.01", "0.00", "0.00", "0.00"], ["av_mod", "$self", "Stamina", "$$"], ["rnd_list", "0.01", "0.01", "0.01", "0.01", "0.00", "0.00", "0.00", "0.00"], ["av_mod", "$self", "Health", "$$"], ["rnd_list", "0.01", "0.01", "0.01", "0.00", "0.00", "0.00", "0.00", "0.00"], ["av_mod", "$self", "Magicka", "$$"], ["rnd_list", "0.05", "0.04", "0.03", "0.02", "0.01", "0.00", "0.00", "0.00"], ["av_mod", "$self", "CarryWeight", "$$"], ["rnd_int", "0", "3600"], ["if", "$$", "!=", "0", "skip perk"], ["perk_addpoints", "1"], [":", "skip perk"], ["av_get", "$self", "Magicka"], ["if", "$$", "<", "3", "skip heal"], ["av_get", "$self", "Stamina"], ["if", "$$", "<", "1", "skip heal"], ["av_get", "$self", "Health"], ["set", "$0", "$$"], ["av_getmax", "$self", "Health"], ["if", "$0", ">=", "$$", "skip heal"], ["av_damage", "$self", "Magicka", "3"], ["av_damage", "$self", "Stamina", "1"], ["av_restore", "$self", "Health", "1"], [":", "skip heal"], ["util_wait", "1"], ["sl_isin", "$self"], ["if", "$$", "=", "1", "loop"] ] }
Vallarie Posted January 3, 2021 Posted January 3, 2021 I put every single spell tome into a random list, however ITEM_ADDUSE isn't working as expected. While it will create and use a potion, it will not create and use a spell book. It will create it, just not use it. Debug message says it's trying to equip it. If anyone else can take a stab at it, by all means go for it. { "cmd" : [ ["rnd_list", "skyrim.esm:647847", "skyrim.esm:665322", "skyrim.esm:665319", "skyrim.esm:863054", "skyrim.esm:665321", "skyrim.esm:1001879", "skyrim.esm:665314", "skyrim.esm:906822", "skyrim.esm:647848", "skyrim.esm:665320", "skyrim.esm:665316", "skyrim.esm:665315", "skyrim.esm:665317", "skyrim.esm:1085714", "skyrim.esm:665318", "skyrim.esm:665326", "skyrim.esm:647849", "skyrim.esm:665325", "skyrim.esm:665329", "skyrim.esm:665334", "skyrim.esm:67218106", "skyrim.esm:1113440", "skyrim.esm:647851", "skyrim.esm:738807", "skyrim.esm:665324", "skyrim.esm:665327", "skyrim.esm:665328", "skyrim.esm:665337", "skyrim.esm:665335", "skyrim.esm:665336", "skyrim.esm:665338", "skyrim.esm:665339", "skyrim.esm:647850", "skyrim.esm:665323", "skyrim.esm:665330", "skyrim.esm:642388", "skyrim.esm:665340", "skyrim.esm:665357", "skyrim.esm:665352", "skyrim.esm:665341", "skyrim.esm:665344", "skyrim.esm:665356", "skyrim.esm:665350", "skyrim.esm:665347", "skyrim.esm:642385", "skyrim.esm:642386", "skyrim.esm:665348", "skyrim.esm:665345", "skyrim.esm:665342", "skyrim.esm:665351", "skyrim.esm:1112051", "skyrim.esm:1112052", "skyrim.esm:665343", "skyrim.esm:665349", "skyrim.esm:665346", "skyrim.esm:665358", "skyrim.esm:642387", "skyrim.esm:1112053", "skyrim.esm:665353", "skyrim.esm:665354", "skyrim.esm:665355", "skyrim.esm:665371", "skyrim.esm:665361", "skyrim.esm:1046481", "skyrim.esm:647853", "skyrim.esm:665362", "skyrim.esm:665364", "skyrim.esm:647852", "skyrim.esm:665370", "skyrim.esm:665372", "skyrim.esm:665365", "skyrim.esm:665369", "skyrim.esm:665359", "skyrim.esm:665367", "skyrim.esm:665363", "skyrim.esm:665368", "skyrim.esm:906823", "skyrim.esm:665384", "skyrim.esm:1111629", "skyrim.esm:665373", "skyrim.esm:906819", "skyrim.esm:665378", "skyrim.esm:1039995", "skyrim.esm:647855", "skyrim.esm:665374", "skyrim.esm:665383", "skyrim.esm:647854", "skyrim.esm:665381", "skyrim.esm:665382", "skyrim.esm:665376", "skyrim.esm:665385", "skyrim.esm:665375", "skyrim.esm:665377"], ["set", "$1", "$$"], ["item_adduse", "$self", "$1", "1", "0"] ] } 1
Fuzzy_Fox Posted January 22, 2021 Posted January 22, 2021 I am trying to get the bimbo curse from SL Hormones to fire either through a mod event or by giving my character a potion. These are the two scripts I have that are not working, and I am at a loss. Namely what do the numbers represent after the Skyrim.esp as can be seen? These are not Form IDs, nor are they in the game console commands. { "cmd" : [ ["util_sendevent", "SLHCastBimboCurse"], ["util_sendmodevent", "_SLH_ME_PolymorphBimbo [MGEF:CE015C5D]"], ] } This is the one I made from scratch using the rules as provided. This is the one I adpated, everything works apart from the bimbo section. In this one I am trying to give my character a potion from the Hormones .esp file. But the numbers for appel pie do not show up in game or in TESEdit. { "cmd" : [ ["rnd_list", "skyrim.esm:412464", "skyrim.esm:412483", "skyrim.esm:412477", "SexLab_Hormones.esp:CE03E88A" ], ["set", "$1", "$$"], ["item_adduse", "$self", "$1", "1", "0"] ] } I know I am missing something, but for the life of me I can't see it.
Tin22 Posted January 26, 2021 Posted January 26, 2021 Hello. I am new here. How should i begin creating my own effects with SL Triggers ? or maybe first i should learn some programming language ?
kevanlol Posted February 14, 2021 Posted February 14, 2021 When you are adding an item, how do you get the ID? I see for example this: "skyrim.esm:412483" The first part is obviously the mod file, but where do you get the number from? Like, for example if you wanted to equip an item from Cursed Loot. { "cmd" : [ ["rnd_list", "Deviously Cursed Loot.esp:[HOW DO I FIND THIS]" ], ["set", "$1", "$$"], ["item_equip", "$self", "$1", "0", "1"], ["actor_qnnu", "$self"], ["util_waitforend", "$self"], ["item_unequipex", "$self", "$1", "0"], ["item_remove", "$self", "$1", "1", "1"] ] } Is it just the FormID in SSEdit? Do you include the load order prefix on the formid of the item?
jap2015 Posted February 14, 2021 Posted February 14, 2021 4 hours ago, kevanlol said: When you are adding an item, how do you get the ID? Is it just the FormID in SSEdit? Do you include the load order prefix on the formid of the item? Yes, SSEdit, or get it from console command while in game, or in CK. You do not use the load order prefix. FormID is in Hexadecimal, so you'll need to convert it to Decimal Refer to post #260, on page 11
Fuzzy_Fox Posted February 14, 2021 Posted February 14, 2021 I am trying to call for a mod event that will increase a stat in the MCM. As I under stand it this should work. { "cmd" : [ ["util_sendevent", "_SLH_fHormoneLactation", "rnd_int", "5", "15"], ["util_sendmodevent", "_SLH_fHormoneLactation", "rnd_int", "5", "15"], ["util_sendevent", "_SLH_fHormoneFemale", "rnd_int", "5", "15"], ["util_sendmodevent", "_SLH_fHormoneFemale", "rnd_int", "5", "15" ] ] } But for some reason it doesn't want to fire.
GoldenTrash Posted February 14, 2021 Posted February 14, 2021 would it be possible to hide nearby npcs, or atleast stop them somehow from running into the scene? or is there already a mod for this?
kevanlol Posted February 20, 2021 Posted February 20, 2021 Is it possible to apply slavetats via triggers?
r3L4xr3L4x Posted February 27, 2021 Posted February 27, 2021 Hi guys, big thanks to developer for making this mod! Few days I'm playing with this mod and cannot figure out one thing. My problem is after any animation, partner refuses to fast. Maybe someone have json file to delay redressing?
stallion74 Posted March 3, 2021 Posted March 3, 2021 can someone make a command that works with slen relationship increase so that i can learn the slen shout faster?
MaskeDemon Posted March 6, 2021 Posted March 6, 2021 Hi I need some help with creating a bound hands and ankle cuffs to trigger to use on my character when Fuzzybiz animation occurs. By far, this is what i found in this thread, but it only equips wrist cuffs. I would like to add a matching ankle cuff to go with it. The code is too complex for me to make sense of. Greatly appreciate if someone can help Spoiler { "cmd" : [ ["util_wait","10"], ["sl_hastag","Bound"], ["if", "$$", "=", "0", "end"], ["msg_notify","You are bound"], ["set", "$0", "ZaZAnimationPack.esm:206854"], ["item_addex", "$self", "$0", "1", "1"], ["item_equipex", "$self", "$0", "0", "1"], ["actor_qnnu", "$self"], ["util_waitforend", "$self"], ["item_unequipex", "$self", "$0", "0"], ["item_remove", "$self", "$0", "1", "1"], [":","end"] ] } EDIT: I've managed to find out the decimal of the rest of the items to add them and was able to. but now instead of have 3 same script with the same code but different sl_hastag, i tried to combine into one below. Basically i would like to have those restraints put on to my character whenever a Nibbles or FunnyBizness or Billyy animation tag plays. Apparently putting them as a parameter in this ["sl_hastag", "Nibbles", "FunnyBizness","Billyy"] parameter does not work. Appreciate if anyone can tell me how can i put in the OR operator in the ["sl_hastag", "Nibbles", "FunnyBizness","Billyy"], line. I can't get it to work. Apologies for being noob. I don't have much knowledge on json scripting Spoiler { "cmd": [ ["util_wait", "3"], ["sl_hastag", "Nibbles", "FunnyBizness","Billyy"], ["if", "$$", "=", "0", "end"], ["msg_notify", "You are bound"], ["set", "$0", "ZaZAnimationPack.esm:33558534"], ["set", "$1", "ZaZAnimationPack.esm:33570821"], ["set", "$2", "ZaZAnimationPack.esm:33574924"], ["set", "$3", "ZaZAnimationPack.esm:33574920"], ["item_addex", "$player", "$0", "1", "1"], ["item_addex", "$player", "$1", "1", "1"], ["item_addex", "$player", "$2", "1", "1"], ["item_addex", "$player", "$3", "1", "1"], ["item_equipex", "$player", "$0", "0", "1"], ["item_equipex", "$player", "$1", "0", "1"], ["item_equipex", "$player", "$2", "0", "1"], ["item_equipex", "$player", "$3", "0", "1"], ["actor_qnnu", "$player"], ["util_waitforend", "$player"], ["item_unequipex", "$player", "$0", "0"], ["item_unequipex", "$player", "$1", "0"], ["item_unequipex", "$player", "$2", "0"], ["item_unequipex", "$player", "$3", "0"], ["item_remove", "$player", "$0", "1", "1"], ["item_remove", "$player", "$1", "1", "1"], ["item_remove", "$player", "$2", "1", "1"], ["item_remove", "$player", "$3", "1", "1"], [":", "end"] ] }
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