Using imported files

Discussion in 'Starcraft 2 (SC2) Editor Help' started by ROTS19, Apr 25, 2010.

  1. ROTS19

    ROTS19 TH.net Regular

    Ratings:
    +11 / 0 / -0
    I imported a .wav sound, and it let me preview it in the editor. But in the Sound Data editor I can't find an Imported Sound folder, and I can't find a way to access the file I imported with triggers. How can I do this?
     
  2. ROTS19

    ROTS19 TH.net Regular

    Ratings:
    +11 / 0 / -0
    Just wondering.
     
  3. ROTS19

    ROTS19 TH.net Regular

    Ratings:
    +11 / 0 / -0
    Anyone know?
     
  4. Ancanus

    Ancanus [ancanus@TheHelper.net]# _

    Ratings:
    +54 / 0 / -0
    Sorry ROTS, I imported an mp3 to my map and was unable to find it as well. Tried setting the folder hierarchies to match the existing Assets one, but to no avail.

    I'll keep looking.
     
  5. bobby5589

    bobby5589 Member

    Ratings:
    +14 / 0 / -0
    Imported files don't show up in the file trees.

    Go to view->view raw data (ctrl + D) and then enter the file location manually.
     
    • Like Like x 1
  6. ROTS19

    ROTS19 TH.net Regular

    Ratings:
    +11 / 0 / -0
    How do I enter the file location?
     
  7. bobby5589

    bobby5589 Member

    Ratings:
    +14 / 0 / -0
    Um, Sorry I guess I'm wrong on this one or I dare say it's either a mistake or on purpose by Blizzard.

    It seems that while viewing the raw data for sounds it still brings up the edit window (which I believe it shouldn't since the raw data view shows all the fields in that edit window separately).

    I was figuring it would like you change the file path for "CSound_AssetArray_File" like it would for images on units, buttons, etc.
     
  8. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    I've found that I can only find the file if I have saved the map after importing it.
     
  9. bobby5589

    bobby5589 Member

    Ratings:
    +14 / 0 / -0
    Does that actually work Dave312? I've yet to have that happen with images.


    Also, if nothing else, you should still be able to overright files like in WC3.
     
  10. Dave312

    Dave312 Censored for your safe viewing

    Ratings:
    +269 / 0 / -0
    Well yeah I just tried importing an mp3 and changing one of the sounds to it. I couldn't find the mp3 until I saved the map. Although when you select the file, you might need to go View > Check for External Files.
     
    • Like Like x 1
  11. ROTS19

    ROTS19 TH.net Regular

    Ratings:
    +11 / 0 / -0
    That worked.

    However, one problem I'm frequently encountering is that if you move an imported file to the path of an existing, it will often turn into no sound and have its size reduced to 0.
     
  12. bobby5589

    bobby5589 Member

    Ratings:
    +14 / 0 / -0
    I havn't done any sounds, but I've gotten that with images. I've noticed that the way in which you have your "/" are important. Try "Assets/Textures/", doing it with no preceding "/" has worked for me.
     
  13. ROTS19

    ROTS19 TH.net Regular

    Ratings:
    +11 / 0 / -0
    Both Assets/Sounds/Uni/Doodads/ and Assets/Sounds/Uni/Doodads have not worked.

    I assume you meant something like that.
     
  14. bobby5589

    bobby5589 Member

    Ratings:
    +14 / 0 / -0
    That's what I meant, this seems to be darn fickle 'cause now moving to textures isn't working for me, but I can move to Music.

    Try "Assets/" just to test, that seems to work everytime.
    _____

    Other ways to get them to load are to move something to create that folder and then just import to there.

    Or if you set your directory to something like "C:/Users/MyIcons" and inside MyIcons have "Assets" and in there "Textures" the file tree will show folders and the files in them. If you import from one of these sub-folders it will create them inside the import editor.
     
  15. ROTS19

    ROTS19 TH.net Regular

    Ratings:
    +11 / 0 / -0
    So is there a good way to do this yet?

    Or, do you just have to make a new data entry for it?
     

Share This Page