Editing Initial Character Properties

# Course Introduction

If a game is about climbing stairs, it would be unfair if someone could climb four steps at a time when others could climb only two. In any game, it's important that all players start from even footing. Let's learn how to edit properties using model properties.

# Editing the Player's Basic Properties

You can change basic properties in the Player model.

  1. Select Workspace - BaseEnvironment - NativeModel - Player.
  2. Change the property value of Player.
  3. Press  [Start] to see the changes.



The properties of the Player model are shown below. In cases where the original property names match, some model property names have been changed.

[png](16357503109659b1496c0a9e84d899b57ed7a46c12439)

[{"Model Property Name":"speed","Original Component Original Property Name":"MovementComponent InputSpeed","Explanation":"Sets the player's default movement speed. The bigger the value, the faster the movement.The default value is 1.2."},{"Model Property Name":"jumpForce","Original Component Original Property Name":"MovementComponentJumpForce","Explanation":"Sets the player's default jump height. The bigger the value, the higher the jump.The default value is 1."},{"Model Property Name":"walkAcceleration","Original Component Original Property Name":"RIgidbodyComponentWalkAcc","Explanation":"Sets movement acceleration and deceleration values. The higher the value, the faster the player will reach maximum speed.Default value is 1."},{"Model Property Name":"gravity","Original Component Original Property Name":"RIgidbodyComponentGravity","Explanation":"Gravity value applied to the player. The higher the value, the faster the fall.Default value is 1."},{"Model Property Name":"cameraDeadZone","Original Component Original Property Name":"CameraComponentDeadZone","Explanation":"If the player avatar moves within the input value range, the camera stays still.If the value for X or Y is 0, the camera will move to match all movement of player avatar."},{"Model Property Name":"cameraSoftZone","Original Component Original Property Name":"CameraComponentSoftZone","Explanation":"Sets SoftZone area. If target enters the frame area, the camera will shift direction to DeadZone."},{"Model Property Name":"cameraDamping","Original Component Original Property Name":"CameraComponentDamping","Explanation":"Camera will follow player avatar moving out of the DeadZone.In that case, the camera's movement will be more natural and smooth.The higher the value, the smoother the movement."},{"Model Property Name":"cameraScreen","Original Component Original Property Name":"CameraComponentScreenOffset","Explanation":"Sets the centerpoint location of the DeadZone on the screen.X and Y values can range from (0,0) to (1,1).."},{"Model Property Name":"cameraDutch","Original Component Original Property Name":"CameraComponentDutchAngle","Explanation":"Sets the rotation angle of the camera.The higher the value, the more the screen will rotate clockwise.The camera can also rotate counterclockwise depending on the input value."},{"Model Property Name":"cameraOffset","Original Component Original Property Name":"CameraComponentCameraOffset","Explanation":"Adjusts camera location according to input value.X and Y coordinates are absolute values. The camera will move according to the input value to track the player avatar."},{"Model Property Name":"message","Original Component Original Property Name":"ChatBalloonComponentMessage","Explanation":"Contains the content of the chat balloon for the player avatar."},{"Model Property Name":"chatModeEnabled","Original Component Original Property Name":"ChatBalloonComponentChatModeEnaled","Explanation":"Text entered into the chat window is simultaneously displayed in a chat balloon. The function is disabled by default."},{"Model Property Name":"nameTag","Original Component Original Property Name":"NameTagComponentName","Explanation":"You can attach or detach the player's name tag.Disable by unticking the Enable checkbox of NameTagComponent."},{"Model Property Name":"damageSkinId","Original Component Original Property Name":"DamageSkinSettingComponentDamageSkinld","Explanation":"Enter the ID value to determine the damage skin type."},{"Model Property Name":"damageDelayPerAttack","Original Component Original Property Name":"DamageSkinSettingComponentDelayPerAttack","Explanation":"Enter the delay speed (in seconds) between damage values when they are displayed multiple times."},{"Model Property Name":"triggerBodyBoxsize","Original Component Original Property Name":"TriggerComponentBoxSize","Explanation":"Set coordinates to indicate the size of the box where the player senses shock."},{"Model Property Name":"triggerbodyBoxOffset","Original Component Original Property Name":"TriggerComponentOffset","Explanation":"Set coordinates to indicate the location of the box where the player senses shock."},{"Model Property Name":"maxHp","Original Component Original Property Name":"PlayerComponentMaxHP","Explanation":"Sets player's maximum HP.Default value is 1,000."}]

# Deactivating Model Property

A creator can choose to deactivate unnecessary model properties. For example, if you'd like to deactivate NameTag, find NameTagComponent from the Property Editor and uncheck Enable.

[png](1634115527034a6cafbd8f68a4de49a827121df6f7a9c)

# Deleting DefaultPlayer's Basic Components

If you'd like to extend an existing component to use it, you need to delete the basic components of DefaultPlayer. It is recommended that you use a single component, as multiple components with the same foundation often lead to malfunctions.

> Tip You can use multiple extended components depending on the component property.

> Tip Please refrain from just deactivating it, as different components operate in different ways. Though there is a slim chance for malfunction, it may lead to confusion between components or errors when writing scripts.

  1. Select Workspace - BaseEnvironment - NativeModel - Player.
  2. In the Model Property window, choose the components to delete.
  3. Open the context menu and click Remove Component.



[png](1659574418759c11cbf083bd3472893c15be435fbe1f5)

# Summary

You can adjust model property values to create all kinds of fun. Try comparing basic settings and your own settings to come up with the best player properties for your game.