Post by Galaxy on Sept 3, 2016 19:07:36 GMT -5
Hi guys!
I'm working on a bidet now. I created it with the improved hygiene instead the bladder, removed "flush" interaction and the toilet water and now i want replace the "pee" sound with the sound of flowing water (from a sink, for ex.). And i don't know how i can do it. I looked through all files with "toilet" interactions and i didn't find any links to audio files. So i thought in this moment that audio maybe is included in the animation file. So then i found the appropriate animation and it really contains the sound i need to replace: toilet_pee_sitting. So i think i can replace the link to this sound with link to needed sound. And then to replace the link contains "toilet" animation with my changed animation with the right sound. But i have no idea how to replace the link to the animation file in that:
<L n="_animation_data">
<U>
<E n="key">HUMAN</E>
<U n="value">
<T n="_asm_key" p="InGame\StateMachines\Toilet_UseSeated_Posture.statemachine">02d5df13:00000000:D27C23963074D58A</T>
<T n="_enter_state_name">useSeated_start</T>
<U n="_idle_animation">
<T n="factory">12119<!--Toilet_Use_Use_Looping_basic--></T>
</U>
<T n="_state_name">Toilet_Sit_Posture</T>
<T n="_target_name">sitTemplate</T>
</U>
</U>
</L>
How to replace this link correctly?
<T n="_asm_key" p="InGame\StateMachines\Toilet_UseSeated_Posture.statemachine">02d5df13:00000000:D27C23963074D58A</T>
___________
Update!
I found all connected files and figured out how and where to replace all links, but i'm still looking for right answer, 'cause it's not working. The sim can't use this object now. He doesn't understand what i want from him.
Maybe the reason why he doesn't understand what to do, 'cause my statemachine file is not in game? I mean i included it in my file, but the way to any statemachine files starts with "InGame\StateMachines\...". I understand that like this file must be inside game files, like all animations that i found and etc. Am i right? Or maybe the reason is in a script (that connected with the animation file), but i even don't know how to find it. Or maybe i just missed something?
Btw i'm not a programmer, so i see all of that the first time.
Maybe someone knows how to do it right? I'll be glad to any help.
I'm working on a bidet now. I created it with the improved hygiene instead the bladder, removed "flush" interaction and the toilet water and now i want replace the "pee" sound with the sound of flowing water (from a sink, for ex.). And i don't know how i can do it. I looked through all files with "toilet" interactions and i didn't find any links to audio files. So i thought in this moment that audio maybe is included in the animation file. So then i found the appropriate animation and it really contains the sound i need to replace: toilet_pee_sitting. So i think i can replace the link to this sound with link to needed sound. And then to replace the link contains "toilet" animation with my changed animation with the right sound. But i have no idea how to replace the link to the animation file in that:
<L n="_animation_data">
<U>
<E n="key">HUMAN</E>
<U n="value">
<T n="_asm_key" p="InGame\StateMachines\Toilet_UseSeated_Posture.statemachine">02d5df13:00000000:D27C23963074D58A</T>
<T n="_enter_state_name">useSeated_start</T>
<U n="_idle_animation">
<T n="factory">12119<!--Toilet_Use_Use_Looping_basic--></T>
</U>
<T n="_state_name">Toilet_Sit_Posture</T>
<T n="_target_name">sitTemplate</T>
</U>
</U>
</L>
How to replace this link correctly?
<T n="_asm_key" p="InGame\StateMachines\Toilet_UseSeated_Posture.statemachine">02d5df13:00000000:D27C23963074D58A</T>
___________
Update!
I found all connected files and figured out how and where to replace all links, but i'm still looking for right answer, 'cause it's not working. The sim can't use this object now. He doesn't understand what i want from him.
Maybe the reason why he doesn't understand what to do, 'cause my statemachine file is not in game? I mean i included it in my file, but the way to any statemachine files starts with "InGame\StateMachines\...". I understand that like this file must be inside game files, like all animations that i found and etc. Am i right? Or maybe the reason is in a script (that connected with the animation file), but i even don't know how to find it. Or maybe i just missed something?
Btw i'm not a programmer, so i see all of that the first time.
Maybe someone knows how to do it right? I'll be glad to any help.