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"

Character classes animations best practice

Hi,

not sure my title is clear, I'm creating an rpg with a character creation menu where the player can choose a race, gender and a class. The gender would influence the character's exploration animations like walking/running, while the class would influence the combat animations and the race has no affect on them since they're all humanoid.

I wonder what would be the best practice? Do I change their anim BP or their Skeleton? Probably better to make enums but I'm not sure which to change. I also wonder if there should be a different skeleton or anim BP for each gender AND class or make an array for the gender inside unique class anim BPs or skeletons according to the players selection.

FYI we actually have 4 races and 4 classes, looking forward to adding 1 or 2 classes before launch and are trying to make this system easy to modify, so we would always have the option of adding races and classes in the future (patch or DLC).

Product Version: UE 4.19
Tags:
more ▼

asked Mar 22 '18 at 06:21 PM in Blueprint Scripting

avatar image

FredPoissant
60 4 10 17

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

1 answer: sort voted first

Never having done anything quite that elaborate myself I can only speculate but I would say you probably want some kind of hybrid of the 2.

If they are all humanoid keeping them on the same skeleton will benefit you greatly in animation iteration, so I would definitely only use multiple skeletons if they are vastly different. (If race doesn't affect the animation, I'm guessing they're pretty similar)

I would probably do an animation blueprint for each class (these can be derived from a base class so you can save yourself some work and only change what you need). You could then put a gender switch within each class and run only the animation that is relevant to whatever gender the character is.

alt text

Again this is fairly speculative as I haven't done it myself and possibly can't foresee future pitfalls, but I think it's probably fairly robust.

blendposes.png (129.6 kB)
more ▼

answered Mar 22 '18 at 11:10 PM

avatar image

Ruffhaus Games
663 13 9 23

avatar image FredPoissant Mar 23 '18 at 05:26 AM

This is actually what I think would be the best way to save time. Create a template that I could than duplicate for all the classes and an enum for the gender. Thanks for confirming my thoughts!

(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