• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

Help me find a tool

Status
Not open for further replies.
Level 6
Joined
Apr 20, 2016
Messages
215
Hello fellow hiver's I know some of you are tired also of renaming file paths in the Import manager one-by-one, well I tried using War3object editor, I was hoping you can post a link for a tool that can change file paths at the same time what Im talking about is deleting war3import\ at the same time
 
Level 15
Joined
Aug 7, 2013
Messages
1,338
Could you show an example of what you want to do?

For imports the editor I used supported a special syntax to import models, textures, etc. into a map. See below:

JASS:
//*************************************
//***** Monster Master (Male) *********
//*************************************
//bttn
//! external FileImporter C:\Imports\\units\\RPGHeroVillager\BTNMonsterMaster.blp BTNMonsterMaster.blp
//disbtn
//! external FileImporter C:\Imports\\units\\RPGHeroVillager\DISBTNMonsterMaster.blp ReplaceableTextures\CommandButtonsDisabled\DISBTNMonsterMaster.blp
//model
//! external FileImporter C:\Imports\\units\\RPGHeroVillager\RPGHeroVillager.mdx RPGHeroVillager.mdx
//texture
//! external FileImporter C:\Imports\\units\\RPGHeroVillager\RPGHeroVillager.blp Textures\RPGHeroVillager.blp
//portrait
//! external FileImporter C:\Imports\\units\\RPGHeroVillager\RPGHeroVillager_Portrait.mdx RPGHeroVillager_Portrait.mdx

I would save this as a jass script file and then save the map, and re-open it. Afterwards my imports would be available.

I created a separate Python script that would automatically update this for me: it read all the files in my C:\Imports folder and generated the appropriate import syntax.

I don't know if the current world editor (JNGP or whatever) supports this.
 
Status
Not open for further replies.
Top