|
Post by SACRIFICIAL on Jul 5, 2018 15:17:17 GMT -5
Hello, this is something that I've been struggling with since a very long time and I never understood how it worked. I'm attempting to add a "Routing Slot" to an object where sims would start the interaction after routing to that specific slot, I've looked at the "Photography Studio" object that came with get to work & it has multiple routing slots in it but I couldn't figure out how to add it/make it work for my own object. The regular constrains that are added to some interactions are not very precise and they mostly don't work for what I'm trying to achieve. Is there any tutorials on how to implement routing slot based interactions? that would be much appreciated. Thank you very much
|
|
|
Post by SACRIFICIAL on Jun 21, 2018 15:57:52 GMT -5
Hello, unfortunately the pose player doesn't play effect events, you'll have to add the animation to an interaction for the effect to show up.
|
|
|
Post by SACRIFICIAL on May 27, 2018 14:01:51 GMT -5
You need to copy the object's definition instance found in the "Key" section of the object's definition tuning & then using the hash generator paste the instance in the "Hexadecimal" box to get the "Decimal" instance. Then copy that and paste it in the definition line of the reward loot
<V t="specific_reward"> <V n="specific_reward" t="object_definition"> <U n="object_definition"> <T n="definition">78249<!--sitBarstool_EP01GENtask_set1 (Restless Thankless Medical Stool)--></T> </U> </V> </V>
|
|
|
Post by SACRIFICIAL on Apr 30, 2018 10:06:49 GMT -5
hello sorry its off topic, but i can't download extreme violence mod, it says the link has been disabled..can u help please? thanks.... Here's the latest version, 1.5.4 which works with Game version 1.40 and up. simfil.es/496548/
|
|
|
Post by SACRIFICIAL on Apr 29, 2018 16:12:24 GMT -5
여보세요. 나는 한국에서 심즈 4 사용자이다. 영어가 능숙하지 않아 흐름이 부드럽 지 않다는 것을 이해하고 번역 신청서로 도움을주십시오. 내가 좋아하는 유명 인사 모드에서 블로그를 다운로드하는 링크를 사용하고 있었지만 교통 위반으로 거의 일주일 동안 다운로드 할 수 없었습니다. 기타 한국어 사용자는 이러한 문제를 공유하거나 그들에게 오류를 수정하는 방법에 대한 몇 가지 조언을 제공하지만, sims4studio.com/post/85791에 갈 사람을 기다리고 있습니다 당신이하기로되어 있기 때문에 당신은 공유를 얻을 수 없다 다운로드 해. 해당 페이지에서 다운로드 링크를 클릭하면 트래픽이 많아 다운로드 할 수 없으므로 해결 방법이 없습니다. 귀찮게해서 죄송하지만 다운로드 할 수있는 방법이 있습니까?드롭 박스에서 일일 트래픽 초기화 시간을 기다린 다음 다운로드를 눌러 다운로드 하지 마십시오. 바쁘다해도 나중에 대답 해 주시면 감사하겠습니다. 나는 그것을 어떻게 태그할지 모른다. 좋은 하루 되세요.
orangemittens help me .. Hello, the download link has been updated. www.simfileshare.net/download/496547/
|
|
|
Post by SACRIFICIAL on Apr 25, 2018 5:25:40 GMT -5
Update: The code @basemental provided worked perfectly! I think my mistake was mixing the spacing from the other script which looked like this (InteractionID, InteractionID, InteractionID, ) instead of Basemental provided (InteractionID,InteractionID,InteractionID)
Thank You so much for the code, this will help A LOT
Additional notes: there's no need to change the interaction's ID to FNV32, the FNV64 also works.
|
|
|
Post by SACRIFICIAL on Apr 19, 2018 14:38:33 GMT -5
OMG!!! I've been waiting for this feature! Thank You soooooooooo much ♥
|
|
|
Post by SACRIFICIAL on Apr 19, 2018 13:30:14 GMT -5
Unfortunately it still didn't work for me, I'm going to create a script for each interaction for now until I find a solution for this. Thank You so much for Your help ♥
|
|
|
Post by SACRIFICIAL on Apr 13, 2018 18:38:24 GMT -5
These are for mixer interactions, though. Are you using social mixer interactions? Yes I'm injecting "Social Mixer Interactions" sorry that I wasn't more clear. I tried Basemental 's script above and it worked for me. I just added 3 renamed copies of one of the other mean mixer interactions. Did you get a lastException.txt when you tried it? In my case it only injected the first interaction in the list (, , ,) I'm working with "Social Mixer Interactions & I didn't get any lastException errors.
|
|
|
Post by SACRIFICIAL on Apr 13, 2018 5:44:36 GMT -5
Try this out, mate import injector import sims4.resources from sims4.tuning.instance_manager import InstanceManager from sims4.resources import Types import services
sacrificalExample_SNIPPET_ID = (24511) sacrificalExample_MIXER_ID = (4211343912,352439002,12345678)
@injector.inject_to(InstanceManager, 'load_data_into_class_instances') def sacrificalExample_add_mixer_to_snippet(original, self): original(self) if self.TYPE == Types.SNIPPET: key = sims4.resources.get_resource_key(sacrificialExample_SNIPPET_ID, Types.SNIPPET) snippet_tuning = self._tuned_classes.get(key) if snippet_tuning is None: return for m_id in sacrificialExample_MIXER_ID: affordance_manager = services.affordance_manager() key = sims4.resources.get_resource_key(m_id, Types.INTERACTION) mixer_tuning = affordance_manager.get(key) if mixer_tuning is None: return if mixer_tuning in snippet_tuning.value: return snippet_tuning.value = snippet_tuning.value + (mixer_tuning, ) Unfortunately this didn't work, it still injected a single interaction instead of multiple.
|
|
|
Post by SACRIFICIAL on Apr 12, 2018 12:09:40 GMT -5
@basemental Thank You so much! I'm going to try that soon.
Much appreciated ♥
|
|
|
Post by SACRIFICIAL on Apr 11, 2018 6:56:24 GMT -5
Hello, I'm trying to inject multiple interactions to a snippet using python. I've used "Scumbumbo's" code which worked on a "Single Interaction" only, adding more than one interaction to the "Mixer Id" didn't work.
import injector
import sims4.resources
from sims4.tuning.instance_manager import InstanceManager
from sims4.resources import Types
import services
SNIPPET_ID = 24511
MIXER_ID = 13984173314801262715
@injector.inject_to(InstanceManager, 'load_data_into_class_instances')
def add_mixer_to_snippet(original, self):
# Let the original function finish up its work
original(self)
# This function gets called once for each tuning type, so by only running this if we're specifically
# working on the snippets, we can just get that snippet directly using the key rather than looping
# through all the instances to and checking the guids. The same tactic works for getting the tuning
# straight for the mixer interaction directly from the affordance manager.
if self.TYPE == Types.SNIPPET:
# Get the snippet tuning
key = sims4.resources.get_resource_key(SNIPPET_ID, Types.SNIPPET)
snippet_tuning = self._tuned_classes.get(key)
# Check that we found it....
# If we were running in a loop, we'd probably want to skip to the next iteration
# rather than just returning if the snippet id is invalid.
if snippet_tuning is None:
return
# Get the mixer from the affordance manager
affordance_manager = services.affordance_manager()
key = sims4.resources.get_resource_key(MIXER_ID, Types.INTERACTION)
mixer_tuning = affordance_manager.get(key)
if mixer_tuning is None:
return
# Add the mixer tuning to the snippet's value (a tuple)
snippet_tuning.value = snippet_tuning.value + (mixer_tuning, ) How can I modify this to make it accept more than one interaction in the "MIXER_ID" ?
Thank You very much.
|
|
|
Post by SACRIFICIAL on Mar 21, 2018 10:44:19 GMT -5
Thank You so much, I am flattered ♥ I have used interactions called "SocialSuperInteraction" You can extract an interaction called "si_touching_Greetings_Hug" using the extract tuning.
after extracting it You'll have to make the interaction visible because it's set to invisible by default, go to the interaction's xml tab. then to make it visible You'll have to change this code to true
<T n="visible">False</T> TO <T n="visible">True</T>
You'll find this code at the bottom of the interaction's XML
In order to add this interaction to "Sims" without using python "For Testing Purposes Only"
Extract an object tuning called "Object_Sim" and add Your custom interaction to the "<L n="_super_affordances"> " list found inside the "Object_Sim"
Good luck!
|
|
|
Post by SACRIFICIAL on Mar 21, 2018 6:50:48 GMT -5
Here's a tutorial I've made a long time ago to add interactions to an OBJECT. Adding something to a Sim can work in a similar way but it's not mentioned in this video. I suggest learning the basics from here:
|
|
|
Post by SACRIFICIAL on Mar 17, 2018 15:14:01 GMT -5
I'm assuming that You rotated the sim laying on the left side using the "b__ROOT__" Bone. As far as I remember this bone doesn't move Your sim inside the game, only in blender. I suggest removing the keyframes of the "b__ROOT__" & using the "b__ROOT_bind__" instead.
|
|