Hi there! You are currently browsing as a guest. Why not create an account? Then you get less ads, can thank creators, post feedback, keep a list of your favourites, and more!
Quick Reply
Search this Thread
Test Subject
Original Poster
#1 Old 5th Sep 2020 at 3:23 AM Last edited by bonbonxoxx : 5th Sep 2020 at 3:43 AM.
Default What kind of modding do I need to learn?
Hey y'all I need your help.

I'm looking to create a "role-giving" object. I've never made a mod in my life except a radio station. I know this may be biting off more than I can chew but I'm feeling really determined and really want to learn how to do this.

So, I already have the object, what I need to learn is how to turn it into a role-giving object. (I should also mention that I already have the animations I want to add to the object for the role sim to perform as well). I'm not sure how to find "role" code from within my game. I was also originally was hoping to look at the code of perhaps a professional bar from late night to see how they integrated the role aspect but I'm unsure of where to find that file. I have S3PE so once I find the file I have no problem then looking at it.

If you know how to turn an object into a role-giving object that would be fantastic if you can help, but if all you can do is just tell me how to find the code for "roles" and an object like the "professional bar" that would be a great help too.

Also if you could point me in the right direction to a tutorial to learn the basic modding skills I will need that would be great. If its scripting, etc.

TIA
Advertisement
Virtual gardener
staff: administrator
#2 Old 5th Sep 2020 at 11:28 AM
Heya bonbonxoxx !

Back when I started out with script modding, my first idea was also to create a roll, but the reason why I couldn't get it to work was that I didn't exactly understand the API that the game uses or any C# knowledge. (although this was before I even tried web development :p). 

But! This is not meant to be a reply to demotivate  In fact, we can always help out! I would, however, recommend trying to do the following to really get a good grip of ts3's API: https://www.modthesims.info/showthr...414#post5666414

Now, what I usually do when I approach new features, is that I study an existing game roll first. The Pianist or the kissingBoothAttendant is a great example of how to do it  For that, we basically want to use ILspy, and check the DLL's that we extract. See: https://modthesims.info/t/612474 and the bottom of this post https://www.modthesims.info/showthr...733#post4014733

I think we might need to add the roles on a global level probably, although I'd honestly start spawning your role by cloning a tissue box or teddy bear and linking your code from there

For tutorials, I'd check out this page, that's how I learnt how to do scripting: https://www.modthesims.info/wiki.ph..._GeneralModding
Test Subject
Original Poster
#3 Old 5th Sep 2020 at 8:28 PM
Thank you so much! I will start with the things you mentioned. This was very helpful!! I’ll come back here with updates.
Back to top