- Site Map >
- Modding and Creation >
- Sims 3 Creation >
- Modding Discussion >
- Merging scripts from different objects?
- Site Map >
- Modding and Creation >
- Sims 3 Creation >
- Modding Discussion >
- Merging scripts from different objects?
Replies: 8 (Who?), Viewed: 4005 times.
#1
26th Mar 2017 at 10:33 PM
Posts: 8
Merging scripts from different objects?
Hello everyone! I know absolutely nothing about scripting and such, but i do know how to edit OBJK's to change what script an object is using. Like making an ordinary shelf work as a savvy seller shelf and such.
Now, the biggest thing that bothers me in s3 right now is the fact that i have to have 3 different stoves in my kitchen if i want to cook, bake and make preserves. What i would like is ONE single stove with ALL the interactions (I obviously have the baker station and the canning station installed already ).
My question; Is that possible?
If this is the wrong place for this question, please direct me to the right place to ask. Thank you!
Advertisement
#2
27th Mar 2017 at 2:18 AM
Posts: 5,656
Thanks: 1035 in 5 Posts
Not sure if it's exactly what you're looking for, but look at what was uploaded here just now.
insert signature here
( Join my dumb Discord server if you're into the whole procrastination thing. But like, maybe tomorrow. )
( Join my dumb Discord server if you're into the whole procrastination thing. But like, maybe tomorrow. )
#3
27th Mar 2017 at 3:34 AM
Posts: 8
Quote: Originally posted by GrijzePilion
Not sure if it's exactly what you're looking for, but look at what was uploaded here just now. |
Thanks! Hopefully it can add multiple scripts to one object as well as keep the original script. :D
Field Researcher
#4
27th Mar 2017 at 10:40 AM
Posts: 224
Thanks: 992 in 7 Posts
The recipes from the store objects were added to the normal stove with this mod: http://modthesims.info/download.php?t=523004 Maybe this will help you^^
I don't think you can give an object more than one script.. you could try making a new script and deriving it from all the others...
I don't think you can give an object more than one script.. you could try making a new script and deriving it from all the others...
#5
27th Mar 2017 at 3:02 PM
Posts: 3,860
Thanks: 8537 in 67 Posts
The mod Grijzepilion linked is basically a mod that adds a script to the mesh (Or well, edits the OBJD file), but only one script. 2 scripts at once would be impossible, unless you linked them in some sort of way which isn't possible with the sims 3 unless you script it in a certain way that's beyond my scripting knowledge >.< So you either want to alter the script itself and include some of the strings used in the other code to make it functionable.
#6
27th Mar 2017 at 5:24 PM
Posts: 5,656
Thanks: 1035 in 5 Posts
Quote: Originally posted by Greenplumbbob
The mod Grijzepilion linked is basically a mod that adds a script to the mesh (Or well, edits the OBJD file), but only one script. 2 scripts at once would be impossible, unless you linked them in some sort of way which isn't possible with the sims 3 unless you script it in a certain way that's beyond my scripting knowledge >.< So you either want to alter the script itself and include some of the strings used in the other code to make it functionable. |
And, I assume, giving an object two classes would cause major conflicts as well. I can't imagine that would work without major, manual, modifications to the code.
insert signature here
( Join my dumb Discord server if you're into the whole procrastination thing. But like, maybe tomorrow. )
( Join my dumb Discord server if you're into the whole procrastination thing. But like, maybe tomorrow. )
#7
27th Mar 2017 at 9:49 PM
Posts: 3,860
Thanks: 8537 in 67 Posts
Exactly! Although maybe somehow adding the interactions to the stove script(which I guess, in someway might be possible?) would do the job? I wouldn't copy/paste random lines in it though, since they're all built up in a way to make it readable for the game :P
#8
28th Mar 2017 at 12:00 AM
Posts: 8
Quote: Originally posted by Greenplumbbob
The mod Grijzepilion linked is basically a mod that adds a script to the mesh (Or well, edits the OBJD file), but only one script. 2 scripts at once would be impossible, unless you linked them in some sort of way which isn't possible with the sims 3 unless you script it in a certain way that's beyond my scripting knowledge >.< So you either want to alter the script itself and include some of the strings used in the other code to make it functionable. |
I thought so, asked the creator but haven't gotten an answer yet. But like i said, i know how to change/add a script using S3PE so that mod might be redundant.
I was thinking that making a new script was an option, but i wasn't sure since i'm a complete novis in the scripting department.
Reading myself to knowledge is a bit hard because english isn't my first language, but man maybe i should try.
Thanks for the reply btw!
#9
28th Mar 2017 at 12:02 AM
Posts: 8
Quote: Originally posted by KittyTheSnowcat
The recipes from the store objects were added to the normal stove with this mod: http://modthesims.info/download.php?t=523004 Maybe this will help you^^ I don't think you can give an object more than one script.. you could try making a new script and deriving it from all the others... |
I actually have this mod, i think. I guessif i do i never actually tried it out enough to realise.
I wonder if it also has the canning station interactions.
If not i have an unconventional idea. :P
Who Posted
|