Link: Copy link
Currently you can not modify the materials from UE4 Editor, you can make some changes only via HexEditor.fatihG_ wrote:Hey TerryXX, nice work man!
I just played around with the materials a bit myself for the characters, from what I could tell everything is in the correct place.
However when I try to run the game with the mod on it freezes before the capcom logo appears.
When the game freezes, what is usually the cause? Missing references?
OH my gosh! That's the main thing I cite when people ask why I think SFIII's animation is superior. this is incredibly exciting.Bloody Rain wrote:@PFunk
OMG the applications for this are endless! We could make Ryu's gi move fluidly like SFIII (would likely be hardware demanding, but still )
good job!PFunk wrote:Here comes SuperCammy
The following is all I know about authoring Apex cloth with the standalone tool (that is to say : not using the Max or Maya plugins) :
- The tool is called "ClothingToolCHECKED.exe", part of the Nvidia Physx tools. I've only used the 32bit version as per a suggestion I saw online - I have no idea if the 64bit version actually works (it probably has bugs ?).
- Since Apex cloth is tied to material slots, there are a few weird things about the system. For instance, the main character FBX (used for the main import in UE) might or might not need to have the cloth polygons in it (I am getting conflicting results on my tests about this - I feel like the cloth bits do not necessarily have be in the main FBX, but the non-cloth bits seem to be required in the sim FBX. It's weird !). However one thing is certain : you need to make sure that the main model has at least some polygons assigned to the material eventually linked to the cloth sim file, because if not it the required material slot won't show up in UE on import in the first place.
- Steps to generate cloth sim in the standalone tool :
1 - Import the FBX used for sim (not your whole character - only the parts that match the material slot you will dedicate to Apex simulation in UE.)
2 - Painting max distance values (that tells how far each vert can travel, about 1.0 meter max for a cape/trench coat). Right-click erases. Set the max value to 1, scale to 1, and then put the paint slider to the strength you want to paint (here I used 1.0 at the bottom of a cape, and 0.1 at the shoulders). Once done click smooth once to smooth everything nicely.
3 - Painting slave latching. This tells which inner verts are going to be driven by outer verts, thus avoiding interpenetration. Make sure that you paint slave latching all the way to the edge of the fabric, if not it will flip on itself during sim.
4 - Running a first test sim to see if everything is fine, adjusting fabric properties if needed
5 - Save your workspace !
6 - Working on collision volumes. This is tricky, and a bit buggy. I've only been able to generate volumes based on bones initially present in the weighting of the model, meaning that even though a cape is not supposed to be weighted to an arm, I had to make sure that at least some verts were weighted to that bone ; if not, the program seemed to refuse to generate collision from these bones, even though they show up in the armature tree. And in order for collision volumes to show up at a predictable location I had to include thin polygon strips coming from, say, the surface of the arms and legs. Not necessary, but it saves me some time when it comes to positioning collision capsules.
7 - Tweaking fabric properties
8 - Generating a final sim, calculating tangents, generating the cloth mesh, saving the asset. This creates the .apx file for UE
I am getting an odd UV/material issue on Cammy's leotard here, probably an oversight on my end at some point in the process. It is probably not relevant to sim anyways but that might need to be double-checked.
That's about it !
I think Moddah has posted once or twice that it is the same as texture modding, but I'm not sure. Perhaps you could show some of the steps, since you're doing the vFx mod for Evil Ryu? I'm rather interested in it.dronehunter3000 wrote:@fadedrevolution
There is no tutorial on vfx editing. I think I am the only one working on it.
You can the example on how to use the tag on this mod post by Bloody Rain.wrote:Skeletal (Mesh):
Mod overwrites a skeletal mesh, applies to player characters and NPC's
Mod overwrites or injects a static mesh, applies to props and other background elements.
Mod overwrites selectable character color palettes, applies to player characters.
Mod overwrites the diffuse texture map of a character or prop, (applies to anything that uses image textures).
Mod overwrites the normal map (RGB dictate relief details) of a character or prop.
Mod overwrites the SRMA map (Specular, Roughness, Ambient Occlusion) of a character or prop.
Mod overwrites the Mask texture (RGB values dictate material placement) of a character or prop.
Mod overwrites the SSS map (subsurface scattering) of a character.
Mod overwrites a material instance constant (MIC), these are the "sub" materials that come packaged with characters and props.
Mod overwrites or injects a Master material into the game, these are "parent" materials that are referenced by other items in the game.
Mod overwrites a animation of a character, applies to actions the character performs (including win poses, attacks, etc.)
Mod overwrites Camera motion, this applies to special camera angles and camera hacks
Mod overwrites a physics asset (used for providing characters with simulated physics like hair, cloth, breasts, bellies, etc.)
VFX & Trails:
Mod overwrites a visual effects file, such as Hadouken's or paint motion trails.
Mod overwrites a music file, BGM and things in the like.
Mod overwrites a character voice, applies to all in game speech from characters.
Mod overwrites sound effects, such as explosions or punch sounds.
Mod injects or overwrites something that doesn't fit in any other category, typically system tweaks or ini files.