x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

[Closed] Duplicated assets, asset names, and file names

Hi all,

I have a quick question (for once!) from our art team who are languishing under our current workflow which involves a lot of by-hand typing to create new art assets (and I know there's a number of solutions, but would like to hear if there is a best practice known to you guys):

Right now we have hundreds of pieces of armor for our characters in game (we love having people grind for unique gear/loot) and currently to not have to do a bunch of blueprint setup every time, our Sr. Artist working on this takes, say, one helmet, duplicates it in the editor, renames it in the editor, and then changes the unique things for it (typically texture, maybe a different material instance, etc.) This is a lot of hand-typing of names that follow a strict naming convention, it generates redirectors all over the place, and any typo means runtime look-up of an item may fail (for example, if BP_Aztec_R_DD.uasset file-name and its asset name aren't found as "BP_Aztec_R_DD.BP_Aztec_R_DD" we fall-back to a default item to avoid crashing).

Said artist tried copying files outside the editor, but then this has the problem of items in the same folder with different filenames sharing the same asset-name, and only one shows up (first one loaded) to even try to edit.

My recommendation is we just make an external tool that generates the name, copies an existing file, and then renames the asset-name inside the .uasset somehow. Trying this as an experiment just using Notepad made the file I modified no longer load in the Editor.

Is it viable to use an external tool to modify .uasset files like this? Are there other best ideas? Thanks!

Product Version: Not Selected
Tags:
more ▼

asked May 22 '16 at 06:53 PM in Using UE4

avatar image

Answers.Archive STAFF
2k 212 318 699

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

The question has been closed May 22 '16 at 06:53 PM by AndrewHurley for the following reason:

The question is answered, right answer was accepted


1 answer: sort voted first

Hi Matt,

Creating an external tool would be quite laborious. IMO it's not worth it. Probably an easier (but still laborious) approach would be to create an in-editor command for the task. See IAssetTools, it expose many useful functions.

Have you considered Data Table? One can import and export data table to .csv format. Sometimes a single Data Table could replace a set of data-only blueprints (of the same class).

Cheers,
M

more ▼

answered May 22 '16 at 06:53 PM

avatar image

Answers.Archive STAFF
2k 212 318 699

avatar image Answers.Archive STAFF May 22 '16 at 06:53 PM

Yeah, we already use Data Tables in a number of places, I imagine we could do something similar here if we have time--the reason this came to our attention is that it is a poor use of a Sr. Artist's time to simply duplicate (with a high potential for errors) these similar assets the way he is currently doing. ;)

I'll check back with the team and definitely check out IAssetTools as our one other alternative was (or rather, "is") a plan to make a plugin for the Editor also. My main goal here was to see if there was an existing way people easily create huge numbers of similar assets and/or to rule out my idea of an external tool (simply opening files and doing string replace or whatever). It sounds like we probably should rule that out. Thanks for the reply!

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question