Dependencies

Slapshot136

Divide et impera
Can someone explain to me how SC2 dependencies work - I feel like I am missing some fundamentals or something as I keep getting errors related to them

what (think) I know:
Dependencies can be local or from B.net, local ones are typically stored under C:\Program Files (x86)\StarCraft II\Mods

Dependencies for maps are downloaded along with the map when played on B.net and share the same .s2ma filetype, and thus can be found under C:\ProgramData\Blizzard Entertainment\Battle.net\Cache typically (sorting by timestamp helps), and the file name is some sort of hash of the real name

What I run into: in order to change a map's dependency so that I can use a local file as opposed to a B.net file, I need to open up the map - that's fine, I get the warning that the dependency could not be loaded, etc. (no longer exists on B.net) - so I go and fix it - but then if I save the map, I save it with the fixed dependency, but with the stuff from the dependency not loaded (and I get all sorts of param values instead of text for example)

P.S. - aside from models/music/art, what else can be stored in dependencies? trigger libraries? units? terrain? is there anything to prevent a map from being a "shell" or a "skin" to a dependency?

And since they share the same extension when downloaded (.s2ma), what really is the difference between a sc2 map and a sc2 dependency?
 
Last edited:

X-maul

AKA: Demtrod
I've retracted to become quite the lurker as I'm waiting for LotV before I wanna return to modding. I choose to believe that this is the case with a few other people here.

Dependencies: I have not worked with custom dependencies, and honestly I can not really see the benefit of doing so?
So sadly I cannot even point you in the right direction. The only thing I can think of, is to ask on SC2 Mapster, or the official forums o_O
 

Dave312

Censored for your safe viewing
As far as I'm aware, SC2 map files use the extension SC2Map while mod/dependency files have the extension SC2Mod. I think the s2ma extension is something special that is only used by the cache.
Can you use the SC2 Editor to download the mod file then save it in your Mod folder? You can open file from battle.net by going File -> Open then clicking on the battle.net tab
 

Slapshot136

Divide et impera
Can you use the SC2 Editor to download the mod file then save it in your Mod folder? You can open file from battle.net by going File -> Open then clicking on the battle.net tab
can't seem to find it there, but it does get downloaded as part of the map from B.net, thus the cache thing (s2ma) and me attempting to get it from there (which I can get/open up), but then combining the map + the extension is something that doesn't work (or I don't know how) - yes, they are a PITA, but I think the main feature is that the can act like a "library" and thus you can share them across multiple maps - i.e. say you have a scoreboard dependency, and when you update it due to LOTV breaking it, you can fix it in one place and leave the rest the way it is - or if you want to have a shared bank file across multiple maps, etc.
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Ghan Ghan:
    We can fix that.
  • Ghan Ghan:
    Chat should show on the sidebar when not logged in now.
  • Ghan Ghan:
    (You'll still need to log in to post messages)
  • Ghan Ghan:
    Test!
  • tom_mai78101 tom_mai78101:
    I must be in a test server.
  • tom_mai78101 tom_mai78101:
    Nice, Twitter tweets embedding now works
  • Wizard Wizard:
    Yup.
  • Ghan Ghan:
    Excellent.
  • Ghan Ghan:
    @tom_mai78101 Hello there.
  • Ghan Ghan:
    Tagging works in the chat too.
  • tom_mai78101 tom_mai78101:
    @Ghan Missed it.
  • Wizard Wizard:
    Still fixing things here and there. Added widgets to the portal, will make it match the ones here on the forum index tomorrow.
  • Ghan Ghan:
    The venerable World Editor Tutorials site has been converted to HTTPS at last.
  • jonas jonas:
    cool
  • jonas jonas:
    and I can even edit my messages, nice
  • seph ir oth seph ir oth:
    GENERAL CHIT CHAT, YOU ARE A BOLD ONE
  • Ghan Ghan:
    Hello there
  • The Helper The Helper:
    this new chatbox is great and the forum software update is great too
    +1
  • The Helper The Helper:
    upgrade has fixed forum registration spam problem
  • tom_mai78101 tom_mai78101:
    Something tells me we might be able to customize the chatbox a bit, considering that there's a gap under every message.
  • Wizard Wizard:
    Going to deploy a fix soon, just had to take some time for myself this weekend.
  • Varine Varine:
    Unbelievable. Time for yourself? How dare you!
  • Wizard Wizard:
    xD

    Members online

    No members online now.

    Affiliates

    Hive Workshop
    Top