CharacterController Version 5.0.0 and higher

If you want to replace the model with a reaaaallly good looking one, here is what’s to do…
SinglePlayer
- Move to the path Assets–>NononCharController–>Prefabs–>Player
- Duplicate the PlayerPrefab –> Duplicate, because this will be altered!
- Duplicate the player model you want to add –> Duplicate, because this will be altered!
- Delete the robot.blend from the PlayerPrefab (old model)
- Make sure the new playermodel has an animator on it with an avatar assigned (bones will be collected from this)
- Drag the two prefabs into Player prefab* and Playermodel prefab*

- Press “Add model to player
If everything run correctly all is attached to the PlayerPrefab

- Adjust the Capsule Collider, that it fits the new character
- Adjust the HealthBarCanvas and the Namebar Canvas
- Adjust the FollowPlayerTarget to the right position.
Replace the character in the scene
- Choose Tools –> Nonon Zone –> Single Player Nonon Zone Editor
- Drag the new prefab in the field “Player Prefab”
- Add all the objects to the scene
If you already have the components in the scene, you need to switch the prefab in the “NononZoneGameController” component.

Explore the world with your new character

Multiplayer
- Move to the path Assets–>NononCharController–>Prefabs–>Player
- Duplicate the PlayerPrefabNetwork 1 –> Duplicate, because this will be altered!
- Duplicate the player model you want to add –> Duplicate, because this will be altered!
- Delete the robot.blend from the PlayerPrefabNetwork 1 (old model)
- Make sure the new playermodel has an animator on it with an avatar assigned (bones will be collected from this)
- Drag the two prefabs into Player prefab* and Playermodel prefab*

If everything run correctly all is attached to the PlayerPrefabNetwork 1 1
- Adjust the Capsule Collider, that it fits the new character
- Adjust the HealthBarCanvas and the Namebar Canvas
- Adjust the FollowPlayerTarget to the right position.
Replace the character in the scene
- Choose Tools –> Nonon Zone –> Multi Player Nonon Zone Editor
- Add all the objects to the scene
When all components are in the scene, then you need to replace the Player Prefab at multiples places:
- Select “NononNetworkManager” from the scene.
- Replace the PlayerPrefabNetwork1 with the new prefab in the NetworkManager Section

- Select the “NononZoneGameController” Network from the scene
- Replace the PlayerPrefabNetwork1 with the new prefab in the GameController Network Section
Start server and client and have fun


0 Comments