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"

Help!How can I create massive blueprints class automatically?

Hello, all. Here I have a question about blueprints class: I have created a blueprint class manually, and I want to automatically generate massive of Blueprints with the same function structure as my manually-created blueprint but with different value(example: different vertices Triangles and so on) from outside(may be the values from a excel file), how can I do that ? Is anybody has some experience or advise?

Many thanks. alt text

Product Version: UE 4.18
Tags:
more ▼

asked Oct 16 '18 at 07:41 PM in Blueprint Scripting

avatar image

JohnnsQuandt
12 2 2 5

avatar image JohnnsQuandt Oct 18 '18 at 09:27 AM

Thanks all! But here is what I want to have in very early : I have list of hard coded coordinate points,To create a massive of static mesh depend on these points: every four points makes a plane,and the plane I want to set it as a static mesh and save it. Is there any way to do it automatically?

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

1 answer: sort voted first

Use object oriented programming to your advantage, First of all it's impotent for you to understand that Blueprint is a class same as C++, not some magical actor and it inference code of class that it is basic it, not just C++ but also blueprints as they are also classes. Watch this if you don't understand what im saying:

https://www.youtube.com/watch?v=R9QIIBB_qVc

Now knowing that, make a base class blueprint for all your stuff and turn all those hardcoded arrays to variables, which i other blueprints based of that class you would set in defaults.

more ▼

answered Oct 16 '18 at 09:02 PM

avatar image

Shadowriver
35.9k 929 169 1105

avatar image Everynone Oct 16 '18 at 09:45 PM

from outside(may be the values from a excel file), how can I do that ? Is anybody has some experience or advise?

First of all. What the gent above suggested. Once you have that going, consider looking into Data Tables which can load data from csv files Excel can spit out for you.

avatar image ThompsonN13 Oct 17 '18 at 02:11 PM

you can also read csv files by using ramas victory plugin. theres not a specific node for doing this but it is possible and ive done it before.

avatar image JohnnsQuandt Oct 18 '18 at 09:27 AM

Thanks all! But here is what I want to have in very early : I have list of hard coded coordinate points,To create a massive of static mesh depend on these points: every four points makes a plane,and the plane I want to set it as a static mesh and save it. Is there any way to do it automatically?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

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

Answers to this question