|
Post by simadream on Mar 25, 2019 10:37:47 GMT -5
Hello, I have another object I'm working on. BB, thank goodness, and I'd like to add another effect to the current effects on the object.
Specifically, I'd like to add extra effects to the hot tub object. How can I do that? All I've found is tutorials for switching out the effect for something else. I tried just copy pasting the effect tuning right underneath the original effect tuning and switching it out for something else (anchored to another effect slot position) but it doesn't show up in game so I don't think that's right.
|
|
|
Post by simsi45 on Mar 25, 2019 11:18:52 GMT -5
Although I can't offer much help, I had a similar issue a while back for an aquarium I've been converting and wanted to add more fish FX in it (almost done with it but life has gotten quite busy) HERE is a similar thread of me and minimonster, basically explaining things to me. I would suggest taking a look at it (if you haven't already) for me it was very insightful. In the long run it turns out, that to add more FX, the tuning does have to be altered and add them manually. I wish I had the proper knowledge to explain how to do it, but I'm not very familiar with custom tunings and how they need to be properly structured in order to work. But I thought I'd let you know you have the right idea. One more thing: turns out all visual effects in the game are available for everyone (regardless if someone owns the required dlc or not.) Thought I'd let you know in case you weren't sure. Good luck!
|
|
|
Post by simadream on Mar 25, 2019 12:57:39 GMT -5
Although I can't offer much help, I had a similar issue a while back for an aquarium I've been converting and wanted to add more fish FX in it (almost done with it but life has gotten quite busy) HERE is a similar thread of me and minimonster , basically explaining things to me. I would suggest taking a look at it (if you haven't already) for me it was very insightful. In the long run it turns out, that to add more FX, the tuning does have to be altered and add them manually. I wish I had the proper knowledge to explain how to do it, but I'm not very familiar with custom tunings and how they need to be properly structured in order to work. But I thought I'd let you know you have the right idea. One more thing: turns out all visual effects in the game are available for everyone (regardless if someone owns the required dlc or not.) Thought I'd let you know in case you weren't sure. Good luck! Thank you so much, I'll go take a look at it :D
|
|
|
Post by simadream on Mar 27, 2019 22:28:23 GMT -5
I followed minimonster 's tutorial and I was able to add an extra effect to my items, which was great. However I needed like... 3 more, so I ended up just staring at the effect tunings and was able to see that you could just edit the object states to make them have an effect. One of them in particular is 'Generic FX' state that could be used with any item, no? Since I was working with a hot tub, I got rid of some of the stereo states and the broken state, I think, to add more effects and then just disabled those abilities by getting rid of the stereo upgrade and making it unbreakable so it doesn't cause problems.
I do wonder how one could *make* more states by duplicating these and giving them their own instance numbers. etc. I tried just changing it int he data panel, but the tuning gld wouldn't change with it, so I'm assuming there's another way to do that.
|
|
|
Post by minimonster on Mar 27, 2019 23:37:26 GMT -5
Hey simadream ! Me again... I confess that I am one of the Worst persons for not being able to sit through/read/learn much from a tutorial myself. I am a stubborn type who has to figure it all out for themselves before I truly understand something. The three tuning files that you are showing above are of themselves just a 'mechanism' that is given to the game engine for use in-game of the objects that we place and the persons who we populate our worlds with... They should Never be altered for any reason. As you already know, they are listed within your hot tub's tuning, and the "On" state lists which *single* effect to play when the item is activated. To be more precise, the game engine does not really know the difference in this case what "On" & "Off" are, they are simply pretty much just another two states to the game, but special ones used across almost all items. If, say, you wanted to have your hot tub have different FX when it is turned "Off", you could replicate the code under "On" and paste it into "Off". There are a couple of different ways to use *multiple* FX for an object's state, but the code is *slightly* different than the "single_effect", it is "multiple_effects", and sometimes several FX can be piled onto the same FX bone, sometimes one needs to create different FX bones for the extras... I do hope that made sense... Cheers! edit: I completely forgot to mention *exactly* what makes something be "Off" - it is the single line of state code without any FX/animation calls after it.
|
|
|
Post by simadream on Mar 28, 2019 9:39:30 GMT -5
Yes, that's kinda what I did. I also tried to use the multiple effects thing, but I could not get the format right so only one effect ever showed up. I looked though the XML for examples, but they ever only called one effect, though I think that it was an effect that maybe was linked to others?? I didn't understand, but since I wasn't getting anywhere with that then I just started using some of the existing states.
I did not mess with the actual object state tuning of generic xml, I just wondered if more of it could be created. The actual package just calls it, but does not edit it.
Would you like to take a look at it to test it out?
|
|