Welcome to
Mod The Sims
Online: 2410
News:
Have an account? Sign in:
pass:
If you don't have an account, why not sign up now? It's free!
Other sites: SimsWiki
Reply  Replies: 14 (Who?), Viewed: 3030 times.
Search this Thread
Old 7th Sep 2010, 03:08 PM Change Effects in Custom Objects #1
Naus Allien
Original Poster

Test Subject

Join Date: Jun 2009
Posts: 33
1 Achievements


Hello everyone! I'm trying to make nice objects. I started with basic items such as chairs or tables, but since there are many of them everywhere, I decided to create something new.
I made a stove and stereo. The problem with both objects, and the question for this post is about the effects. Is there any way to change the position of the effects, like the echo of the stereo and notes, and a way to change the effect itself (I want to change the effect of the expensive stove for a traditional fire to my mesh)?
As far as I know, I think effects are stored in the main script of the OBJK, but I don't where to start to edit an script. I only need to change the type of effect, not anything else in the script.

Someone can teach me how to change effects?

I thank you in advance for your help.
Old 7th Sep 2010, 11:33 PM #2
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71736 in 81 Posts
25 Achievements


Re: Stereo

First you'll need to download and install atavera's wrappers for s3pe:
Quote:
Extract into your S3PE folder. The RIG Resource wrapper requires granny2.dll. You can download it for free at http://www.radgametools.com/granny/download.html it is included in the "Granny Crowd Scene Demo". This must be placed in your S3PE directory.

Once you got that, open the stereo in S3PE and select the RIG resource. Open it in Grid, go to Rig Data/Skeleton/Bones and find the bone named "_FX_0_musicEffects". Then go to Local Transform/Position and enter the coordinates where you want the effects to appear. Press OK, Commit, and save the package.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 8th Sep 2010, 12:38 AM #3
Naus Allien
Original Poster

Test Subject

Join Date: Jun 2009
Posts: 33
1 Achievements


Mmm... I did everything as you said, but everytime I try to commit my changes to the RIG File, the S3PE crashes. I cannot figure out what's wrong. Thanks for your help. I still wonder how change the Effect model...
Old 8th Sep 2010, 05:03 AM #4
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71736 in 81 Posts
25 Achievements


Do you have the latest version of s3pe?

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 8th Sep 2010, 05:50 AM #5
Naus Allien
Original Poster

Test Subject

Join Date: Jun 2009
Posts: 33
1 Achievements


Actually, I have the lastest (1008.29.21.37653) and the previus version (1007.24.10.17745). I install the granny2.dll file in both, the s3pi in both and the RIG Resource wrapper in both. But IN BOTH it crashes everytime I try to commit, or even if I try to export the RIG file. So I think there's something wrong with the wapper.
I attach an imagen showing the information about the crash.
Again, thanks for your help.
Screenshots
Click image for larger version

Name:  Crash.jpg
Views: 0
Size:  231.6 KB  
Old 8th Sep 2010, 06:29 PM #6
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71736 in 81 Posts
25 Achievements


Did you install all of atavera's wrappers or just the RIG wrapper?

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 8th Sep 2010, 10:12 PM #7
Naus Allien
Original Poster

Test Subject

Join Date: Jun 2009
Posts: 33
1 Achievements


I've installed everything in the download file. Anyway, I'm talking with Atavera to find why my problem happens. Maybe s/he find a way to fix it and make the files work in my computer. Thanks for your help, cmomoney. If you also know how you change the model effect, please let me know.
Old 8th Sep 2010, 11:06 PM #8
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71736 in 81 Posts
25 Achievements


It really depends on what effect you're trying to change and how you want to change it. Either way, you'll probably have to give the object it's own script class and change it there.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 8th Sep 2010, 11:35 PM #9
Odistant
Field Researcher

Join Date: Jul 2009
Posts: 259
Thanks: 998 in 5 Posts
7 Achievements


Working perfectly fine for me.

Try uninstalling S3PE, re-installing it and then add in the plugins again. Make sure you extract ALL files into the main S3PE folder. You probably missed the Helper folder, or a vital .DLL file.
Old 8th Sep 2010, 11:57 PM #10
Naus Allien
Original Poster

Test Subject

Join Date: Jun 2009
Posts: 33
1 Achievements


Actually I did it. I tried some old versions, the newest one... but the wrapper don't want to work. I suspect that this can be because of my OS (Windows 7), but of course I'm not sure.
cmomoney, I want to change the fire effect of the EXPENSIVE STOVE (my stove was clone from this one) to the normal fire effect. It annoys me a lot that a normal stove has some kind of electronic fire, but I also want the effects that has the expensive stove (like faster 'cooking' learning). So, I only NEED to replace the effect of the expensive stove for the cheap stove, but preserving the other bonus features.
Old 9th Sep 2010, 01:01 AM #11
cmomoney
Who wants to play video games?



Join Date: Dec 2008
Posts: 1,693
Thanks: 71736 in 81 Posts
25 Achievements


The expensive stove class uses the "stoveBurnerFlattopFx"and the cheap one uses the "stoveBurnerElectricFx". You would probably have to have your own script class derived from the Expensive one that uses the "stoveBurnerElectricFx", I think.

"Part of being a mesher is being persistent through your own confusedness" - HystericalParoxysm
Have you seen my Simple E Modern Bed @Leefish
| (• ◡•)| (❍ᴥ❍ʋ) [◕ ‿ ◕]
Old 9th Sep 2010, 02:18 AM #12
Naus Allien
Original Poster

Test Subject

Join Date: Jun 2009
Posts: 33
1 Achievements


Sorry for my lack of knowledge, but how can I get the script file? I can only see the script as a reference in the OBJK. I tried to load some .packages from the base game, but I cannot find out where the scripts are stored. Again, sorry if I bother you.
Old 9th Sep 2010, 09:12 PM #13
Odistant
Field Researcher

Join Date: Jul 2009
Posts: 259
Thanks: 998 in 5 Posts
7 Achievements


Quote:
Originally Posted by Naus Allien
Sorry for my lack of knowledge, but how can I get the script file? I can only see the script as a reference in the OBJK. I tried to load some .packages from the base game, but I cannot find out where the scripts are stored. Again, sorry if I bother you.


The scripts are stored inside .DLL files written in C#. This guide will teach you how to view those files and to write your own script, though it is a bit outdated, but useful information.

http://linna.modthesims.info/showthread.php?t=362488
Old 10th Sep 2010, 08:38 AM #14
desecrate
Field Researcher

Join Date: Sep 2009
Posts: 221
Thanks: 4660 in 158 Posts
11 Achievements


You could just change the script field on the OBJK to "Sims3.Gameplay.Objects.Appliances.Mimics.StoveCheap".
Then it should behave just like a cheap stove (probably without the cooking and food bonus of the expensive stove, although you might be able to override this by tunning).

If you want some of the properties of the expensive stove, and others of the cheap stove without going into tunning, you would need to make a script for your object as Odistant and cmomoney said.
Old 10th Sep 2010, 07:15 PM #15
Naus Allien
Original Poster

Test Subject

Join Date: Jun 2009
Posts: 33
1 Achievements


I think this it's too hard for me. I don't know why, but when I save a package with S3PE, no matter what changes I did, and put it in my mods/packages folder, the object didn't show up in the game.
BTW, all my framework is correctly installed.
Last edited by Naus Allien : 14th Sep 2010 at 03:16 PM.
Reply


Section jump:


Powered by MariaDB Some icons by http://dryicons.com.