Regarding modding another mod's events

Discuss and distribute tools and methods for modding. Moderator - Grognak
Post Reply
Kiloku
Posts: 66
Joined: Mon Nov 19, 2012 5:52 pm

Regarding modding another mod's events

Post by Kiloku »

I've been trying to mod Sleeper Service's amazing CE mod, specifically in the Trade events. I'm doing okay, but I'm editing his files directly. That could be pretty problematic when the mod gets updated. How does appending work? If an event already exists, how do I add an option to the same event but from another file?
Image
English Narwhal
Posts: 402
Joined: Tue Dec 03, 2013 9:12 pm

Re: Regarding modding another mod's events

Post by English Narwhal »

Kiloku wrote:I've been trying to mod Sleeper Service's amazing CE mod, specifically in the Trade events. I'm doing okay, but I'm editing his files directly. That could be pretty problematic when the mod gets updated. How does appending work? If an event already exists, how do I add an option to the same event but from another file?
One: Why mod another's mod when you can make something wholly new.
Two: Refer to this post.
Image
Kiloku
Posts: 66
Joined: Mon Nov 19, 2012 5:52 pm

Re: Regarding modding another mod's events

Post by Kiloku »

Because my idea is related to the CE's Trade Events. I was talking about my idea in CE's thread a few days ago, it would add something new to the mod, but would probably be conflicting if I made it "standalone".

Regardless, thanks a lot, that's exactly what I needed. SMM is powerful! I thought it just loaded the files!
Image
User avatar
Sleeper Service
Posts: 2275
Joined: Sun Mar 24, 2013 8:49 pm

Re: Regarding modding another mod's events

Post by Sleeper Service »

If you put your mod after Captains Edition, then it will override any events previously introduced by CE as long as you use the same event IDs. Just make sure you only have the events in your mod that you actually want to alter, else you'll override other CE stuff with possibly outdated stuff.
Image
Working on a sci-fi deckbuilder nowadays.
Other games I made.
Russian Rockman
Posts: 816
Joined: Fri Jan 10, 2014 11:43 pm

Re: Regarding modding another mod's events

Post by Russian Rockman »

Not sure if this was the answer you were looking for but SMM has some special mod: tags that can override only certain parts of events or blueprints. Read the modders read-me for more information or ask Vhati.
Post Reply