EgoBallistic Posted August 16, 2021 Author Posted August 16, 2021 3 hours ago, Dlinny_Lag said: Agreed, this makes sense as all information can be obtained from animation directly. Implementation will be a bit complicated, but it is not a problem. AAF uses "skeleton" value to link animation's actor and his race and I suspect that race itself insignificant, but "skeleton" has matter. Amount of possible races can be much larger than amount of skeletons, so it would be easier to base detection algorithm on skeleton, rather than on race The skeleton is important since hkx files move the skeleton bones to animate the actor. Each AAF animation definition has an optional "Skeleton" attribute, which defaults to "Human". AAF uses the racedata XML to map each race to a skeleton name in order to determine what animations are available for it. Note however that this skeleton name is just a label used by AAF and is not related to the race's actual skeleton. For example, both Deathclaw and Gulper meshes use the same skeleton, but the AAF XML use different skeleton names for them to allow animations to apply to only one of the two races. 3 hours ago, Dlinny_Lag said: And a question to you as a person who had a thinking about it. What way you would prefer to define "skeleton" type? by string constant or by integer constant? From my point of view integer values would work faster in Papyrus script, but probably there are other opinions. Obviously integer comparisons are much more efficient than string comparisons. But I don't know what your goal is, or what you mean by "detection algorithm", so it is difficult to answer.
Slorm Posted August 16, 2021 Posted August 16, 2021 Not sure if this is a bug or I'm just reading it wrong. I was over at the Revere Satellite Array (close to where the robot and caravan are) with aggro on one Super Mutant and two Mutant Hounds. In Violate the setting "Only combatants can be violators" is set to the default On and exhaustion at 8. To cut a long story short the mutant caught me with a couple of Molotov's and Violate kicked in. Although I had only three aggro'd I noticed that all the other Mutants in the base came over for some fun as well, though they were not in the original fight or showing red on the HUD. So does that setting cover the whole group of enemies whether or not engaged in the combat?
EgoBallistic Posted August 16, 2021 Author Posted August 16, 2021 1 hour ago, Slorm said: To cut a long story short the mutant caught me with a couple of Molotov's and Violate kicked in. Although I had only three aggro'd I noticed that all the other Mutants in the base came over for some fun as well, though they were not in the original fight or showing red on the HUD. So does that setting cover the whole group of enemies whether or not engaged in the combat? When you surrender, Violate first fills an alias called ClosestEnemy with the closest NPC that you are directly in combat with. Then, it tries to fill a ref collection alias called Enemies which has the conditions: - has loaded 3D - is in combat OR the "only combatants can be violators" setting is OFF - is hostile to the player - is not hostile to ClosestEnemy OR "allow mutually hostile aggressors" is ON I bet those extra Mutants were aggroed to something other than you, and therefore technically in combat, so they got pulled in. A lot of the Mutants at Revere are way up high, so they have great sight lines and aggro on everything in the area like the settlers at the nearby settlement, gunners in that field nearby, etc. So, technically it's a bug, but trying to fix it is problematic. Limiting the Enemies to NPCs who are directly in combat with the player could miss some NPCs who are in combat with your followers/allies, and making a "in combat with the player or their followers/allies" condition requires a script, and that would tank performance. 1
Slorm Posted August 16, 2021 Posted August 16, 2021 Thanks @EgoBallistic that makes sense and really not worth adding another script to handle it. 1
oblivionfs Posted August 17, 2021 Posted August 17, 2021 Is violate supposed to play a series of animations, or just a single one per assault? It seems to be picking at random and playing some from in the middle of animation sequences.
vaultbait Posted August 17, 2021 Posted August 17, 2021 23 minutes ago, oblivionfs said: Is violate supposed to play a series of animations, or just a single one per assault? It seems to be picking at random and playing some from in the middle of animation sequences. It picks scenes "at random" which satisfy particular tags, but it will draw from all the appropriately tagged animations you have installed. If you don't want mods to utilize unstaged scenes, remove their XMLs and potentially replace them with staged equivalents (some of the animation patch mods like Indarello's or UAP do this, I believe).
Slorm Posted September 1, 2021 Posted September 1, 2021 I'm not sure if this is a bug or not but easily reproducible (thinking about it as I write this I can see why it's there so not a bug). I noticed that if fitted with DD restraints any keys the pc has is removed by the Raider, but when you kill the Raider it also has keys (1 Chastity and 1 Restraint) so the pc's count of the keys keeps growing. Why does this matter, well there is not a mechanism for key destruct on use like in Skyrim, so in effect the pc just accumulates more and more keys. They also cannot be stored unlike Handcuff keys which are Misc items. I use SA myself so at present I use the console to manually destroy a key if I ever need to use one, but I can see why they may be necessary for a player dependent on them as I'm not sure they spawn in game any other way. But as they do not destruct the same applies after getting a set as they have infinite usage. I was wondering, if it's possible for a toggle to stop the keys spawning (sorry, I've rambled a bit with this one).
EgoBallistic Posted September 1, 2021 Author Posted September 1, 2021 2 minutes ago, Slorm said: I was wondering, if it's possible for a toggle to stop the keys spawning (sorry, I've rambled a bit with this one). Hmm, that makes sense. I can check whether the aggressor already has keys in their inventory (as they would if they robbed you) and only add one if none is found. DD devices do support a "DestroyKey" property which will cause the key used to open them to be destroyed, but using that is a bit more work as there is no simple way for a script to set the property when equipping a device. Violate would need to find all the devices on the actor and set the property on each individually. I'll look into making that an option, though, as it would make getting restrained in DDs more interesting. 1
Vasynda Posted September 2, 2021 Posted September 2, 2021 I tried to install Violate, but all the options for it are grayed out even though I have the mods/DLCs
Slorm Posted September 2, 2021 Posted September 2, 2021 14 hours ago, EgoBallistic said: Hmm, that makes sense. I can check whether the aggressor already has keys in their inventory (as they would if they robbed you) and only add one if none is found. DD devices do support a "DestroyKey" property which will cause the key used to open them to be destroyed, but using that is a bit more work as there is no simple way for a script to set the property when equipping a device. Violate would need to find all the devices on the actor and set the property on each individually. I'll look into making that an option, though, as it would make getting restrained in DDs more interesting. Unfortunately the FO4 version of DD is very basic, in Skyrim you can set the key to break in the MCM in the DD framework. Not sure if the same type of break mechanism exists in the FO4 version but would be a simpler way to handle it (i.e. key use automatically breaks key). This would just need a condition on the key rather than it interacting with specific devices. The problem with this approach is that it would also need a mechanism for the pc to find (or make) keys or make them a lot cheaper from the Kimy NPC, otherwise the pc will be permanently bound unless they use a mod like SA or one of the follower mods.
Slorm Posted September 3, 2021 Posted September 3, 2021 (edited) Bug Report I thought I'd noticed this before but have definite proof as I got lucky. Lost all my stuff in BADTFL and on recovery ended up with 3 Tinker Tom Specials rather than just the one I started with. At a guess I think I looted a couple of Hunting Rifles (which TTS is a derivative) and it's lost track of what I had exactly. Inventory screenie below Spoiler EDIT: @EgoBallistic I'll add this here rather than a separate message. I had a very bad run in with the Forged who nicked all my stuff. It will be a long long time until I'm at a level to take them on (with all the fire damage - I hate those things) and as the Robbery will only fire once until it's cleared means that when I acquire new gear I can no longer be robbed. Is there a way to abandon the gear that was stolen via console? Might be a useful additional switch in the Debug menu for events like these (or add a toggleable timer). It's not for everyone as some players get really attached to their gear for some reason, so best left as an option I would have thought Edited September 4, 2021 by Slorm
aiXee2oj Posted September 6, 2021 Posted September 6, 2021 hi. there was a problem with the fact that when they put on collars from Real Handcuffs an error occurs with trying put on harness from dd. does we have any way to change order? also have a problem with order plugs/belts.
vaultbait Posted September 6, 2021 Posted September 6, 2021 3 hours ago, pp2233 said: hi. there was a problem with the fact that when they put on collars from Real Handcuffs an error occurs with trying put on harness from dd. does we have any way to change order? also have a problem with order plugs/belts. This problem arises even without RH, since DD devices tend to get applied in a random order by various mods you'll frequently see one or more devices fail to get equipped and just wind up dumped into your inventory. Also sometimes, and I can't figure out why, when a mod tries to lock you into a device you get the dialogue you would see if you were equipping it on yourself (where it gives you the option to manipulate the locks, et cetera).
EgoBallistic Posted September 8, 2021 Author Posted September 8, 2021 7 hours ago, pp2233 said: i attach fix. If you need it, you can just replace Scripts/FPV_OnHit.pex. Please don’t post patches without asking permission first. Also, you should install the DD compatibility option from Real Handcuffs. It changes the cuffs to use the same slots as DD hand restraints, so they won't conflict with vaginal plugs / vibrators. And it adds DD keywords to all the restraints so they will be detected properly.
eicosa Posted September 9, 2021 Posted September 9, 2021 My Violate frequently (but not always) leave the player stuck in 'dead' pose on the floor after AAF scenes complete, Unable to move, open pipboy etc. Player does have some HP, like 25 % ish, more than the surrender threshold. Stuckness persists after hostiles leave or stop being hostile. EPC command doesnt seem to do anything. In ufocam i can still look around. I have knockout framework installed but disabled for player. I have sexual harassment installed, but have set it to disable knockdown pose. Papyrus log is so full of warnings im not even sure what to look for Any troubleshooting tips or commands i can use to get unstuck?
emwolf94 Posted September 9, 2021 Posted September 9, 2021 Hey all, can't seem to get the mod to show up in MCM. Tried vcheck patcher and got the same thing. Thought it might have been the fact that I loaded the mod into a mid-game save, but when I did the "coc RedrocketExt" from main menu test environment and had the same problem. When I run off and go get killed it doesn't seem to trigger, so as far as I can tell the whole mod isn't doing anything. Pretty sure I installed it right and have been running other mods with the same dependencies without issue, so I'm kind of stumped. Anything else I should check?
emwolf94 Posted September 9, 2021 Posted September 9, 2021 16 minutes ago, emwolf94 said: Hey all, can't seem to get the mod to show up in MCM. Tried vcheck patcher and got the same thing. Thought it might have been the fact that I loaded the mod into a mid-game save, but when I did the "coc RedrocketExt" from main menu test environment and had the same problem. When I run off and go get killed it doesn't seem to trigger, so as far as I can tell the whole mod isn't doing anything. Pretty sure I installed it right and have been running other mods with the same dependencies without issue, so I'm kind of stumped. Anything else I should check? Should have waited an extra 10 minutes before posting... If anyone else gets this, here was my issue: The AAF_Violate.ini in [Main Mod Folder]/AFF_Violate_V1.54 FOMOD/MCM/Settings was weird and only had like 5 lines in it. I found the version in [Main Mod Folder]\AAF_Violate_V1.54 FOMOD\MCM\Config\AAF_Violate and copy-pasted everything but the [Forewarning] section and it worked like a charm!
EgoBallistic Posted September 9, 2021 Author Posted September 9, 2021 6 hours ago, eicosa said: My Violate frequently (but not always) leave the player stuck in 'dead' pose on the floor after AAF scenes complete, Unable to move, open pipboy etc. Player does have some HP, like 25 % ish, more than the surrender threshold. Stuckness persists after hostiles leave or stop being hostile. EPC command doesnt seem to do anything. In ufocam i can still look around. I have knockout framework installed but disabled for player. I have sexual harassment installed, but have set it to disable knockdown pose. Papyrus log is so full of warnings im not even sure what to look for Any troubleshooting tips or commands i can use to get unstuck? Well there are a number of possible things that could put you in that idle. FPSH and KOF both use it. Another possibility is you are being damaged due to Sex Attributes' "Fucked to death" mechanism, and something has made the player Essential, so you are going into bleedout instead of dying. In any case, to get out of the idle, run the console commands prid 14 playidle InitializeMTGraphInstant Your character should immediately stand up and be controllable after that. If your controls are still stuck, run the console command "diel" then look for any input layers that have active effects listed (i.e. not "None"). If there is one, run the command "riel X" where X is the input layer number. 2
eicosa Posted September 9, 2021 Posted September 9, 2021 2 hours ago, EgoBallistic said: Well there are a number of possible things that could put you in that idle. FPSH and KOF both use it. Another possibility is you are being damaged due to Sex Attributes' "Fucked to death" mechanism, and something has made the player Essential, so you are going into bleedout instead of dying. In any case, to get out of the idle, run the console commands prid 14 playidle InitializeMTGraphInstant Your character should immediately stand up and be controllable after that. If your controls are still stuck, run the console command "diel" then look for any input layers that have active effects listed (i.e. not "None"). If there is one, run the command "riel X" where X is the input layer number. Awesome response and quick too ? Those commands dont seem to be helping, weirdly. I do think the player is going into bleedout instead of dying, although FPSH and Attributes are not causing it. The problem only occurs when being shot to 'death' then triggering Violate. Thanks for your time! And i like your mods
EgoBallistic Posted September 9, 2021 Author Posted September 9, 2021 2 hours ago, eicosa said: Awesome response and quick too ? Those commands dont seem to be helping, weirdly. I do think the player is going into bleedout instead of dying, although FPSH and Attributes are not causing it. The problem only occurs when being shot to 'death' then triggering Violate. Hmm. If those commands didn't work, try this instead: prid 14 pa ActionBleedoutStop 1
archiemerch Posted September 10, 2021 Posted September 10, 2021 whenever i surrender the npc just stands there and im frozen and cant exit, this happens with every npc. i have everything installed and idk how to fix it. can someone help?
EgoBallistic Posted September 10, 2021 Author Posted September 10, 2021 21 minutes ago, archiemerch said: whenever i surrender the npc just stands there and im frozen and cant exit, this happens with every npc. i have everything installed and idk how to fix it. can someone help? Q: I can surrender to enemies, they surround me, but then no animations play and everyone stands in place forever. A: This means AAF did not respond to an animation request. Violation scenes depend on AAF sending event messages back to Violate. If AAF is not running or experiences a fatal error, it won't send any events and Violate will be stuck waiting forever. There are two possibilities: AAF is not working at all. You should verify that AAF works in your game by using the Home key to select actors and play animations. If that doesn't work, your AAF installation has a problem. Playing animations in Violate will therefore not work. AAF tried to play an animation that caused it to crash. Some animation packs or XML patches with incorrectly formatted XML can cause this. You should make sure that your animation packs are correctly installed and that any patches (The One Patch, Patch for Animations, AJ's Various XML, etc) and their required mods are installed in the right order. You can force a stuck violation to end by holding down the surrender hotkey for 5 seconds and releasing it. This will allow you to continue playing, but AAF will probably remain stuck.
Slorm Posted September 11, 2021 Posted September 11, 2021 I was wondering if it would be possible to add another option possibly to the Bad End ending. At the moment it's either Never, HL Enemies or Always. Would it be possible to add a "Random" option chance to that (say 50%) so that there's a chance any hostile could sent the pc to Purgatory? 1
JonX67 Posted September 11, 2021 Posted September 11, 2021 2 hours ago, Slorm said: I was wondering if it would be possible to add another option possibly to the Bad End ending. At the moment it's either Never, HL Enemies or Always. Would it be possible to add a "Random" option chance to that (say 50%) so that there's a chance any hostile could sent the pc to Purgatory? Mmh... Isn't that already given if you set the overall chance of "Bad End" to 50% and then select "Always"? I interpreted that in a way that every hostile that violated the Vault Dweller could possible send them to the Purgatory. And the chance this would happen would be 50% (independent from the kind of hostile NPC). Or did I get that wrong? (which wouldn't surprise me much, really )
vaultbait Posted September 11, 2021 Posted September 11, 2021 (edited) 51 minutes ago, JonX67 said: Mmh... Isn't that already given if you set the overall chance of "Bad End" to 50% and then select "Always"? I interpreted that in a way that every hostile that violated the Vault Dweller could possible send them to the Purgatory. And the chance this would happen would be 50% (independent from the kind of hostile NPC). Or did I get that wrong? (which wouldn't surprise me much, really ) I think the suggestion was to have a random percentage of Bad Ending scenes be deadly, rather than either a random chance to have a non-deadly Bad Ending or a random chance to have a deadly Bad Ending. That way you'd sometimes get a deadly one and sometimes get a non-deadly one. Edited September 11, 2021 by vaultbait
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