require scripts from other mods

Place to get help with not working mods / modding interface.
Post Reply
Bleda
Long Handed Inserter
Long Handed Inserter
Posts: 98
Joined: Sun Feb 02, 2014 6:58 pm
Contact:

require scripts from other mods

Post by Bleda »

hi

I was trying to make a custom tight-spot map. Is there a way to require/link the scripts and locales from the tightspot mod from my control.lua? Can I define some kind of dependency?

User avatar
FreeER
Smart Inserter
Smart Inserter
Posts: 1266
Joined: Mon Feb 18, 2013 4:26 am
Contact:

Re: require scripts from other mods

Post by FreeER »

As far as I know, you can not require files from other mods (but I've never actually tried either), you can create 'dependencies' but that doesn't include their information/code in your mod only making sure that your mod will not run without all dependencies installed (and enabled).

hm...Normally I'd say copy the campaign/scenario/mod and edit it as desired (with original modder's permission), then upload to forum, but since it's part of an account upgrade I can't really recommend that (unless you are not going to upload, only use it yourself).

Bleda
Long Handed Inserter
Long Handed Inserter
Posts: 98
Joined: Sun Feb 02, 2014 6:58 pm
Contact:

Re: require scripts from other mods

Post by Bleda »

yes, that was my thought too. That's why I wanted to not include the scripts. However, I don't know if I will ever publish something, so for the time being I can just copy the files.

Or maybe somebody else knows a way...

Post Reply

Return to “Modding help”