• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • ✅ The POLL for Hive's Texturing Contest #33 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!

Using MPQ Editors to Import Files

Status
Not open for further replies.
Level 5
Joined
Aug 12, 2010
Messages
149
Importing files with the World Editor can be pretty slow.

Is it possible to use MPQ editing software to import files or alter paths for already-imported files?

I've tried but haven't been having any luck.
 
Level 16
Joined
Aug 7, 2009
Messages
1,403
I'm using this, this is really fast and easy to use:

JASS:
//: ================================================
//:                I M P O R T S
//: ================================================ 
//! textmacro ImportIcon takes NAME
    //! external FileImporter maps\IID\import\$NAME$.blp ReplaceableTextures\CommandButtons\$NAME$.blp
    //! external FileImporter maps\IID\import\DIS$NAME$.blp ReplaceableTextures\CommandButtonsDisabled\DIS$NAME$.blp
//! endtextmacro

//! runtextmacro ImportIcon("BTNINV_Chest_Chain_12")
//! runtextmacro ImportIcon("BTNINV_ThrowingKnife_03")
//! runtextmacro ImportIcon("BTNMagical")
//! runtextmacro ImportIcon("BTNMarchers")
//! runtextmacro ImportIcon("BTNANA_One")
//! runtextmacro ImportIcon("BTNANA_Two")
//! runtextmacro ImportIcon("BTNANA_Three")
//! runtextmacro ImportIcon("BTNANA_Four")
//! runtextmacro ImportIcon("BTNINV_Bracer_07")
//! runtextmacro ImportIcon("BTNINV_Gauntlets_18-S")
//! runtextmacro ImportIcon("BTNObsidianKukri")
//! runtextmacro ImportIcon("BTNFlipLeft")
//! runtextmacro ImportIcon("BTNFlipRight")

You should also create a folder for imports and use FileImporter. Create a new trigger for imports, import everything that you need, save and reopen then map and turn off this trigger. Easy as hell.
 
Status
Not open for further replies.
Top