• 🏆 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!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

Trigstr?

Status
Not open for further replies.
Level 2
Joined
Jul 25, 2018
Messages
8
I don't know why, but every single custom item i made was suddenly named to TRIGSTR_(number) for no apparent reason. Is there a reason for this? Is there a fix?
 
What patch are you running on? And is this happening in the object editor or in the trigger editor? Did anything strange happen when you last saved your map? (e.g. did your PC crash?)

I don't think there is an automatic way to fix it, but I'd suggest following these steps:
  • Download an MPQ editor/viewer
  • Open your map and extract the war3map.wts file. Then make sure to close the MPQ editor.
  • Each string is declared like so:
    C++:
    STRING 0 {
        <stuff>
    }
  • For each of your objects, find the correct string (the numbers should match) and just copy and paste from the wts file to your object in the object editor
  • When you're done, make sure you backup your map! :( And backup your map often. If anything ever happens, you can usually just fall back to a backup.
 
Status
Not open for further replies.
Top