|
Post by johndoe81 on Jan 20, 2017 6:12:07 GMT -5
Greetings Everyone!
I have a question if i can. May someone explain me how add a EffectEvent to an animations ? Where can i get BoneNameHash, SlotName and all other things for adding a working EffectEvent ? I made some test but when i click save S4S return me an error window instead of saving. Can someone help me ?
Many thanks in advance, and sorry about my english it isn't my primary language! :D
|
|
|
Post by linamints on Jan 20, 2017 6:52:28 GMT -5
Hello, can you please give more detail on what you wish to accomplish? it may also help to upload files that you are working on so others can help identify the problem.
|
|
|
Post by johndoe81 on Jan 20, 2017 11:16:56 GMT -5
Hello, can you please give more detail on what you wish to accomplish? it may also help to upload files that you are working on so others can help identify the problem. Hi linamints thanks for your answer. I'm working on animations for WickedWhims and i know that is possible adding even EffectEvent apart SoundEvent to the animations, but my problem is that i'm trying to put effectEvent but without results.
|
|
|
Post by linamints on Jan 20, 2017 11:46:41 GMT -5
Ah, I think I understand now. I'm sorry to say though that I cannot help you with this issue as I am not familiar with this. Good luck with your project though ^^. Have a lovely day!
|
|
|
Post by johndoe81 on Jan 20, 2017 15:58:16 GMT -5
Ah, I think I understand now. I'm sorry to say though that I cannot help you with this issue as I am not familiar with this. Good luck with your project though ^^. Have a lovely day! Thanks anyway linamints i really appreciate your time. But a basic explanations of how it works ? i Only need understand how set up the effectEvent i mean what go inside "SlotName" or how i can obtain the "BoneNameHash".
|
|
|
Post by SACRIFICIAL on Jan 21, 2017 5:37:51 GMT -5
Hello, I'm going to give You some basics here to help You out with the effect event ActorNameHash = 050C5D67 "The hash of the object's name; in this case it's the -Actor- Sim & - 050C5D66 - " for the target sim BoneName = "for example" 0xCEB0355B "The hash of the bone's name" check out this page www.modthesims.info/showthread.php?t=561554, read the "Fourth" comment by simmythesim & click on show spoiler, it will give You all the names of the bones & their hashes. Note : You can put for example : 0xCEB0355B for the BoneName & CEB0355B for the BoneNameHash BoneNameHash = "for example" CEB0355B" I explained this in the BoneName section EffectName = "for example" s40_Sim_social_mischief_throwdrink_facehit , this is the name of the effect -to get effects names go to " Game File Cruiser" in the studio & tick the ' Clip' box to get all the clips, then select the clip that You want to get the effect name from & look at the events tab of that clip Header1 = I'm not 100% how to sort numbers in this tab but it's usually 00000001 for effect 1 , 00000002 for effect 2 , etc .... Header2 = this is always 00000000 SlotName = "for example" facehit , "This is the slot name used for the effect itself, you can add whatever name you want for each effect but make sure to have a unique name for each effect that you add, for example: "facehit0" "facehit1" "facehit2" etc..... Timecode = the time that You want the effect to appear at Type = Effect UI = 0000000000000000 <-- this is always like this after You finish editing, save the file & look in the events tab of the "ClipHeader" that is associated with Your clip & make sure that the events have changed there as well, if they didn't automatically change; save the package, close it then re-open it & check if they changed NOTE: if You add more than 2 events in event tab make sure to change the number in the "IkTargets to match the number of the events You have You'll find the IkTargets tab 3 lines under the events tab in the IkTargets change the number in the last bone b__L_HandDangle_slot from 2 to "The amount of events You have in the events tab" for example You have 8 events in the events tab , replace the number 2 with 8 This part is no longer required. Good luck & I hope this helps, I didn't have success getting all of the effects to work, not sure if I'm doing something wrong in Header1 or if the game has a glitch in the events since the toddlers patch, because also all sims in game stopped lip syncing. but this should get Your effects to work properly
|
|
|
Post by johndoe81 on Jan 21, 2017 10:04:27 GMT -5
Hello, I'm going to give You some basics here to help You out with the effect event ActorNameHash = 050C5D66 "The hash of the object's name; in this case it's the -Actor- Sim & - 050C5D67- " for the target sim BoneName = "for example" 0xCEB0355B "The hash of the bone's name" check out this page www.modthesims.info/showthread.php?t=561554, read the "Fourth" comment by simmythesim & click on show spoiler, it will give You all the names of the bones & their hashes. Note : You can put for example : 0xCEB0355B for the BoneName & CEB0355B for the BoneNameHash BoneNameHash = "for example" CEB0355B" I explained this in the BoneName section EffectName = "for example" s40_Sim_social_mischief_throwdrink_facehit , this is the name of the effect -to get effects names go to " Game File Cruiser" in the studio & tick the ' Clip' box to get all the clips, then select the clip that You want to get the effect name from & look at the events tab of that clip Header1 = I'm not 100% how to sort numbers in this tab but it's usually 00000001 for effect 1 , 00000002 for effect 2 , etc .... Header2 = this is always 00000000 SlotName = "for example" facehit , "This is the slot name used for the effect itself, & it's linked to it, when You copy the effect name from the game's clips copy the slotname for it as well Timecode = the time that You want the effect to appear at Type = Effect UI = 0000000000000000 <-- this is always like this after You finish editing, save the file & look in the events tab of the "ClipHeader" that is associated with Your clip & make sure that the events have changed there as well, if they didn't automatically change; save the package, close it then re-open it & check if they changed NOTE: if You add more than 2 events in event tab make sure to change the number in the " IkTargets to match the number of the events You have You'll find the IkTargets tab 3 lines under the events tab in the IkTargets change the number in the last bone b__L_HandDangle_slot from 2 to "The amount of events You have in the events tab" for example You have 8 events in the events tab , replace the number 2 with 8. Good luck & I hope this helps, I didn't have success getting all of the effects to work, not sure if I'm doing something wrong in Header1 or if the game has a glitch in the events since the toddlers patch, because also all sims in game stopped lip syncing. but this should get Your effects to work properly Thanks a lot dramaticgamer! :D Now i manged to insert the effectevent in the clip but sadly when importing the clip in S4PE don't read the Clip well any advice ? :D
|
|
|
Post by SACRIFICIAL on Jan 21, 2017 14:21:56 GMT -5
You're welcome I don't use s4pe that much since Sims 4 studio covers almost everything. I'm thinking of a few things : 1. did You export the associated "Clip Header" and import it to s4pe as well ? 2. did You export the "STBL" file that has the clips names and descriptions and import it to s4pe ? 3. did You export the clips "Snippet" and import it to s4pe ? I'm not sure if doing the above would fix the issue but that's all I can think about Good luck
|
|
|
Post by orangemittens on Jan 21, 2017 19:12:29 GMT -5
My advice would be to not use s4pe for creating this type of project. Like dramaticgamer said, Sims 4 Studio is able to do this and it is constantly updated. The same cannot be said of s4pe. Further, if you're working on your project and run into something Studio isn't able to do or could do more efficiently, we have a suggestions thread where you can let us know what's needed. We actively incorporate community suggestions into Studio's code.
|
|
|
Post by johndoe81 on Jan 22, 2017 8:10:39 GMT -5
Such a beautiful community! Thanks to everyone! About s4pe i use it because i must import inside a .package: an XML, all Clip and ClipHeader and The STBL file(export to all language) if there is a way to doing so with sims4studio i am really happy to test it! :D
|
|
|
Post by SACRIFICIAL on Jan 22, 2017 9:01:50 GMT -5
thank You & You're right; it is a beautiful community Sims 4 studio already creates a .package file when You create a clip pack & it contains all the files You've mentioned. If You have a different package that You want to import the animation files to try exporting them Using sims 4 studio via "Batch Export" & then import them to the other package using "Batch Import" Or You can use the "Merge Packages" feature in the studio to merge those 2 packages together, It's the first option in the tools tab
|
|
|
Post by orangemittens on Jan 22, 2017 9:04:02 GMT -5
Hi johndoe81, Sims 4 Studio's Warehouse is a full resource and package editor. Studio has a bulk import feature that simply adds things to a .package and an individual import feature that replaces a resource with the new resource you're importing. You can edit things like tuning resources directly in the .package using the resource editor that is built into the Warehouse, or you can export them and edit them in your editor of choice. One thing to be aware of with s4pe, is that the tool is largely abandoned and receives very limited updates, and then only sporadically. It has no real support. No coder interested in tuning, animation, or effects is working on s4pe and there is no reason to use it for this type of project. For advanced modding, you're better off using Studio. Open your .package using Studio and click the Warehouse tab to view the contents of your .package, import/export resources, and edit existing ones. If you run into questions from there feel welcome to ask.
|
|
|
Post by johndoe81 on Jan 23, 2017 13:21:10 GMT -5
Many many thanks to both of you dramaticgamer and orangemittens! :D i will make some test and trying using only S4S this time :D
|
|
|
Post by jmem0 on Apr 4, 2017 10:31:19 GMT -5
Hi, I hope this isn't considered 'necro'-ing a thread, but I thought since my question was directly related, this would be the best place to ask.
How do I find the slotname for an effect that isn't linked to any sim interaction? Like fountain effects? How, for example, would I find the slotname for 'sp08_fountain_frog'? I saw it in game and found the effect from the list that came with Andrew's Effect Player. I only have the effect name as a result.
Thanks!
|
|
|
Post by SACRIFICIAL on Apr 6, 2017 13:47:23 GMT -5
Hi, I hope this isn't considered 'necro'-ing a thread, but I thought since my question was directly related, this would be the best place to ask. How do I find the slotname for an effect that isn't linked to any sim interaction? Like fountain effects? How, for example, would I find the slotname for 'sp08_fountain_frog'? I saw it in game and found the effect from the list that came with Andrew's Effect Player. I only have the effect name as a result. Thanks! Hello, after tinkering for a bit It turns out that "Slot Name" is not actually linked to the "Effect Name" it just has to be a unique name if many effects are in the same clip. I tried using the "Obj_fountainGCW" Effect, & for the "slot name" I added "slot after the effect's name, so it looked like this "Obj_fountainGCWSlot" <-- Invented custom name. Trying adding a random word in the "Slot Name" box and it should work. make sure that You've followed all the other steps as well. Good luck and tell me if this actually worked, I only tried it once.
|
|