• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

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,337
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