User Tools

Site Tools


character:prefabs

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
character:prefabs [2019/11/22 03:42]
Mistermind
character:prefabs [2022/11/02 15:06] (current)
FreedTerror
Line 2: Line 2:
 Here you will select the 3D model that represents this character. This model musts be encapsulated into a [[https://docs.unity3d.com/Manual/Prefabs.html|Prefab]] and it must have the following attached components: Here you will select the 3D model that represents this character. This model musts be encapsulated into a [[https://docs.unity3d.com/Manual/Prefabs.html|Prefab]] and it must have the following attached components:
  
-  * (SOURCE VERSION) Hit Boxes Script (''.\UFE\Scripts\Core\HitBoxesScript.cs'')+  * (SOURCE VERSION) Hit Boxes Script (''.\UFE\Scripts\Core\Physics\HitBoxesScript.cs'')
   * (OTHER VERSIONS) Hit Boxes Script (''.\UFE\Plugins\UFE.dll\HitBoxesScript'')   * (OTHER VERSIONS) Hit Boxes Script (''.\UFE\Plugins\UFE.dll\HitBoxesScript'')
   * [[https://docs.unity3d.com/Manual/class-Animation.html|Animation]]/[[https://docs.unity3d.com/Manual/class-Animator.html|Animator]] (Unity Component)   * [[https://docs.unity3d.com/Manual/class-Animation.html|Animation]]/[[https://docs.unity3d.com/Manual/class-Animator.html|Animator]] (Unity Component)
Line 19: Line 19:
 {{ :character:character_prefab_drag.jpg?nolink |}} {{ :character:character_prefab_drag.jpg?nolink |}}
  
-Now drag your newly created prefab to the //Default Prefab// under the Character Prefabs panel. Once you have your character in, you can select the prefab under [[character:hitbox|HitBox Setup]] to see and edit your character'hit boxes.+Now drag your newly created prefab to the //Default Prefab// under the Character Prefabs panel. Once you have your character in, you can select the prefab under [[character:hitbox|HitBox Setup]] to see and edit your character'hitboxes.
  
 +If you are using ''Resources Folder'' as your loading method, write the path to the prefab file starting from the Resources folder. Example: If your character is located under ''Resources\Characters\MyCharacter'', you should write ''Characters\MyCharacter''.
 +
 +{{ :character:character_resources.png?nolink |}}
  
 ---- ----
Line 32: Line 35:
   * If you are using [[:animationtypes|Mecanim]], all prefabs **must** use the same [[http://docs.unity3d.com/Documentation/Manual/ConfiguringtheAvatar.html|avatar]] (set under [[character:movesets|Move Sets]] option).   * If you are using [[:animationtypes|Mecanim]], all prefabs **must** use the same [[http://docs.unity3d.com/Documentation/Manual/ConfiguringtheAvatar.html|avatar]] (set under [[character:movesets|Move Sets]] option).
   * UFE automatically attempts to load the first alternative costume listed if both players select the same character. Currently UFE does not have an UI template that allows for custom selection of alt costumes, but we hope to add that in the future. In the meantime feel free to create your own solutions using the open source GUI templates (''.GUI\UI Prefabs\CharacterSelectionScreen.prefab'' and ''.Scripts\UI\Templates\DefaultCharacterSelectionScreen.cs'') selectable under [[global:gui|GUI Options]].   * UFE automatically attempts to load the first alternative costume listed if both players select the same character. Currently UFE does not have an UI template that allows for custom selection of alt costumes, but we hope to add that in the future. In the meantime feel free to create your own solutions using the open source GUI templates (''.GUI\UI Prefabs\CharacterSelectionScreen.prefab'' and ''.Scripts\UI\Templates\DefaultCharacterSelectionScreen.cs'') selectable under [[global:gui|GUI Options]].
-  * I strongly recommend engaging with the [[http://www.ufe3d.com/forum/viewforum.php?id=7|community]] to find solutions on how to interact and apply your custom costumes. I'll even post the link here if someone makes a good tutorial about it!+  * I strongly recommend engaging with the [[http://www.ufe3d.com/forum/viewforum.php?id=7|community]] to find solutions on how to interact and apply your custom costumes. 
 +  * Use Resources Folder as your loading method if your game is consuming too much memory (often happens on games with large rosters). 
  
  
character/prefabs.1574412143.txt.gz · Last modified: 2019/11/22 03:42 by Mistermind