SlideShare a Scribd company logo
1 of 9
Download to read offline
Locomotion Setup
Each Locomotion Script do not get executed via their own Update(),
But through LocomotionManager instead
UnitSetupEditor should do this automatically for you.
If you want to set this up Manually,
In Locomotion List, increase the size According to what you wanted,
And Plug The Locomotion Script to Locomotion List.
Last Updated in 2.0
Character will use the Locomotion based on the current
equipped weapon.
Inside EnumCollection.cs
Float Value LocomotionType is determined by
WEAPONCONTROLTYPE * 10
+ ( MELEETYPE or FIREARMTYPE )
This apply to all of states that require Weapon Specific
motions
Weapon Base Locomotion Type
Last Updated in 2.5
Locomotion Type1 – Face Input Direction
Camera
Unit
Character will move to face the Direction of input
perpendicular to Camera View
Horizontal Input = 1
Camera
Unit
Horizontal Input = 1Vertical Input = 1
Last Updated in 2.0
Inside Animation Controller
Character will move and blend Walking Motions base on
moveSpeed Parameter
moveSpeed value is determined by the magnitude of
Vector2, Input Vertical and Input Horizontal values.
Locomotion Type1 – Face Input Direction
Last Updated in 1.0
If you prefer your Character to move Perpendicular to
Camera while always facing Forward from Camera
If both are On, Hold Right Click to Activate MoveAim
Camera will be Move to AimCamPos_Stand Transform
If BiPolarMovement is on
But BiPolarWontOverride is off
Face Input Direction Movement will be override
Vertical Input = 1
Camera
Unit
Horizontal Input = 1
Locomotion Type2 – Bi-Polar Movement
Last Updated in 2.0
Crouching motion work the same way as Standard Locomotion,
only doing it while crouching instead.
While Laying, Unit can Rotate, but won’t be able to move while
in BiPolar Mode.
Locomotion Type3 – Crouching
Last Updated in 2.3
Crouch Control
Last Updated in 2.5
This can be edit in InputModule_Player
public LOCOSTATE LocoInput( LOCOSTATE currentLoco )
By Default, Crouch Button is mapped to C Key, or Right Analog Press on XBox360
When Crouch Button is pressed + while no Movement input is made,
Locomotion State Change will be toggle
Quickly press button will be abbreviate as 1:
Holding for a bit then release, will be abbreviate as 2:
While Stand
1: Crouch
2: Laying
While Crouch
1: Stand
2: Laying
While Laying
1: Crouch
2: Stand
While Laying
Last Updated in 2.3
This will be further explained in ReadMePDF_V2_5_07_01RangeWeaponControl
Certain Weapons cannot be Aim while Laying.
When enter Aiming Mode,
they will enter Crouching State
To Edit which Weapon can Aim while Laying,
Use Pistols Setup as Template,
Add Motions accordingly
Inside UnitControl_WeaponManager
Edit function public bool IsCurrentWeaponAttackableWhileLaying()
Override Control
By Default, when Character is in a state that the Player shouldn’t be able to control the Character,
Locomotion Control will be ignore.
If you want to add States that the Player Shouldn’t be able to control Character,
Inside UnitControl_Base Script, => IsInUncontrollableState()
Anything that return true will override Locomotion Control
Last Updated in 2.0

More Related Content

More from Matumit Sombunjaroen

「ティルズ・オブ・アライズ」のスキットは スキットの劣化である
「ティルズ・オブ・アライズ」のスキットは スキットの劣化である「ティルズ・オブ・アライズ」のスキットは スキットの劣化である
「ティルズ・オブ・アライズ」のスキットは スキットの劣化であるMatumit Sombunjaroen
 
ヒストリカ・ファンタジア 日本語版ゲーム制作 20210319
ヒストリカ・ファンタジア 日本語版ゲーム制作 20210319ヒストリカ・ファンタジア 日本語版ゲーム制作 20210319
ヒストリカ・ファンタジア 日本語版ゲーム制作 20210319Matumit Sombunjaroen
 
Historica Fantasia devblog10 Level Design Prototype
Historica Fantasia devblog10 Level Design PrototypeHistorica Fantasia devblog10 Level Design Prototype
Historica Fantasia devblog10 Level Design PrototypeMatumit Sombunjaroen
 
Historica Fantasia devblog09 Odin iInspector
Historica Fantasia devblog09 Odin iInspectorHistorica Fantasia devblog09 Odin iInspector
Historica Fantasia devblog09 Odin iInspectorMatumit Sombunjaroen
 
Historica Fantasia Devblog 8 Protype Units
Historica Fantasia Devblog 8 Protype UnitsHistorica Fantasia Devblog 8 Protype Units
Historica Fantasia Devblog 8 Protype UnitsMatumit Sombunjaroen
 
Historica Fantasia, Development Blog 07, PathFindingExperiment
Historica Fantasia, Development Blog 07, PathFindingExperimentHistorica Fantasia, Development Blog 07, PathFindingExperiment
Historica Fantasia, Development Blog 07, PathFindingExperimentMatumit Sombunjaroen
 
Historica Fantasia, Development Blog 06, ShaderForge Character Shader
Historica Fantasia, Development Blog 06, ShaderForge Character ShaderHistorica Fantasia, Development Blog 06, ShaderForge Character Shader
Historica Fantasia, Development Blog 06, ShaderForge Character ShaderMatumit Sombunjaroen
 
Historica Fantasia, Development Blog 05, Prototype Cost Estimation
Historica Fantasia, Development Blog 05, Prototype Cost EstimationHistorica Fantasia, Development Blog 05, Prototype Cost Estimation
Historica Fantasia, Development Blog 05, Prototype Cost EstimationMatumit Sombunjaroen
 
Historica Fantasia, Development Blog 04, Narrative Contents
Historica Fantasia, Development Blog 04, Narrative ContentsHistorica Fantasia, Development Blog 04, Narrative Contents
Historica Fantasia, Development Blog 04, Narrative ContentsMatumit Sombunjaroen
 
Historica Fantasia, Development Blog 03, Specific GamePlay Design Base on Fea...
Historica Fantasia, Development Blog 03, Specific GamePlay Design Base on Fea...Historica Fantasia, Development Blog 03, Specific GamePlay Design Base on Fea...
Historica Fantasia, Development Blog 03, Specific GamePlay Design Base on Fea...Matumit Sombunjaroen
 
Historica Fantasia, Development Blog 02 Deconstruct Ogre Battle & Improvise G...
Historica Fantasia, Development Blog 02 Deconstruct Ogre Battle & Improvise G...Historica Fantasia, Development Blog 02 Deconstruct Ogre Battle & Improvise G...
Historica Fantasia, Development Blog 02 Deconstruct Ogre Battle & Improvise G...Matumit Sombunjaroen
 
Historica Fantasia, Development Blog 01 Introduction
Historica Fantasia, Development Blog 01 IntroductionHistorica Fantasia, Development Blog 01 Introduction
Historica Fantasia, Development Blog 01 IntroductionMatumit Sombunjaroen
 
タイ人オタクが艦これ聖地山を巡った話 第3話1章 和歌山 新宮市 熊野川
タイ人オタクが艦これ聖地山を巡った話 第3話1章 和歌山 新宮市 熊野川タイ人オタクが艦これ聖地山を巡った話 第3話1章 和歌山 新宮市 熊野川
タイ人オタクが艦これ聖地山を巡った話 第3話1章 和歌山 新宮市 熊野川Matumit Sombunjaroen
 
タイ人オタクが艦これ聖地山を巡った話 第2話 神戸 摩耶
タイ人オタクが艦これ聖地山を巡った話 第2話 神戸 摩耶タイ人オタクが艦これ聖地山を巡った話 第2話 神戸 摩耶
タイ人オタクが艦これ聖地山を巡った話 第2話 神戸 摩耶Matumit Sombunjaroen
 
タイ人オタクが艦これ聖地山を巡った話 第1話 京都 高雄~愛宕山
タイ人オタクが艦これ聖地山を巡った話 第1話 京都 高雄~愛宕山タイ人オタクが艦これ聖地山を巡った話 第1話 京都 高雄~愛宕山
タイ人オタクが艦これ聖地山を巡った話 第1話 京都 高雄~愛宕山Matumit Sombunjaroen
 
สาเหตุที่ไม่ควรเอา JLPT N1...N2.... มาเป็นจุดเป้าหมายในการเรียนภาษาญี่ปุ่น
สาเหตุที่ไม่ควรเอา JLPT N1...N2.... มาเป็นจุดเป้าหมายในการเรียนภาษาญี่ปุ่นสาเหตุที่ไม่ควรเอา JLPT N1...N2.... มาเป็นจุดเป้าหมายในการเรียนภาษาญี่ปุ่น
สาเหตุที่ไม่ควรเอา JLPT N1...N2.... มาเป็นจุดเป้าหมายในการเรียนภาษาญี่ปุ่นMatumit Sombunjaroen
 
タイ人オタクが日本でモバイルゲーム制作を諦めた経緯の話
タイ人オタクが日本でモバイルゲーム制作を諦めた経緯の話タイ人オタクが日本でモバイルゲーム制作を諦めた経緯の話
タイ人オタクが日本でモバイルゲーム制作を諦めた経緯の話Matumit Sombunjaroen
 
เรื่องเกี่ยวกับ โรงเรียนวิชาชีพ ในญี่ปุ่น
เรื่องเกี่ยวกับ โรงเรียนวิชาชีพ ในญี่ปุ่นเรื่องเกี่ยวกับ โรงเรียนวิชาชีพ ในญี่ปุ่น
เรื่องเกี่ยวกับ โรงเรียนวิชาชีพ ในญี่ปุ่นMatumit Sombunjaroen
 
Idol Master Platinum Stars アイマス プラチナスターズ Game Review
Idol Master Platinum Stars アイマス プラチナスターズ Game ReviewIdol Master Platinum Stars アイマス プラチナスターズ Game Review
Idol Master Platinum Stars アイマス プラチナスターズ Game ReviewMatumit Sombunjaroen
 

More from Matumit Sombunjaroen (20)

「ティルズ・オブ・アライズ」のスキットは スキットの劣化である
「ティルズ・オブ・アライズ」のスキットは スキットの劣化である「ティルズ・オブ・アライズ」のスキットは スキットの劣化である
「ティルズ・オブ・アライズ」のスキットは スキットの劣化である
 
ヒストリカ・ファンタジア 日本語版ゲーム制作 20210319
ヒストリカ・ファンタジア 日本語版ゲーム制作 20210319ヒストリカ・ファンタジア 日本語版ゲーム制作 20210319
ヒストリカ・ファンタジア 日本語版ゲーム制作 20210319
 
Historica Fantasia devblog10 Level Design Prototype
Historica Fantasia devblog10 Level Design PrototypeHistorica Fantasia devblog10 Level Design Prototype
Historica Fantasia devblog10 Level Design Prototype
 
Historica Fantasia devblog09 Odin iInspector
Historica Fantasia devblog09 Odin iInspectorHistorica Fantasia devblog09 Odin iInspector
Historica Fantasia devblog09 Odin iInspector
 
Historica Fantasia Devblog 8 Protype Units
Historica Fantasia Devblog 8 Protype UnitsHistorica Fantasia Devblog 8 Protype Units
Historica Fantasia Devblog 8 Protype Units
 
Historica Fantasia, Development Blog 07, PathFindingExperiment
Historica Fantasia, Development Blog 07, PathFindingExperimentHistorica Fantasia, Development Blog 07, PathFindingExperiment
Historica Fantasia, Development Blog 07, PathFindingExperiment
 
Historica Fantasia, Development Blog 06, ShaderForge Character Shader
Historica Fantasia, Development Blog 06, ShaderForge Character ShaderHistorica Fantasia, Development Blog 06, ShaderForge Character Shader
Historica Fantasia, Development Blog 06, ShaderForge Character Shader
 
Historica fantasia 企画書
Historica fantasia 企画書Historica fantasia 企画書
Historica fantasia 企画書
 
Historica Fantasia, Development Blog 05, Prototype Cost Estimation
Historica Fantasia, Development Blog 05, Prototype Cost EstimationHistorica Fantasia, Development Blog 05, Prototype Cost Estimation
Historica Fantasia, Development Blog 05, Prototype Cost Estimation
 
Historica Fantasia, Development Blog 04, Narrative Contents
Historica Fantasia, Development Blog 04, Narrative ContentsHistorica Fantasia, Development Blog 04, Narrative Contents
Historica Fantasia, Development Blog 04, Narrative Contents
 
Historica Fantasia, Development Blog 03, Specific GamePlay Design Base on Fea...
Historica Fantasia, Development Blog 03, Specific GamePlay Design Base on Fea...Historica Fantasia, Development Blog 03, Specific GamePlay Design Base on Fea...
Historica Fantasia, Development Blog 03, Specific GamePlay Design Base on Fea...
 
Historica Fantasia, Development Blog 02 Deconstruct Ogre Battle & Improvise G...
Historica Fantasia, Development Blog 02 Deconstruct Ogre Battle & Improvise G...Historica Fantasia, Development Blog 02 Deconstruct Ogre Battle & Improvise G...
Historica Fantasia, Development Blog 02 Deconstruct Ogre Battle & Improvise G...
 
Historica Fantasia, Development Blog 01 Introduction
Historica Fantasia, Development Blog 01 IntroductionHistorica Fantasia, Development Blog 01 Introduction
Historica Fantasia, Development Blog 01 Introduction
 
タイ人オタクが艦これ聖地山を巡った話 第3話1章 和歌山 新宮市 熊野川
タイ人オタクが艦これ聖地山を巡った話 第3話1章 和歌山 新宮市 熊野川タイ人オタクが艦これ聖地山を巡った話 第3話1章 和歌山 新宮市 熊野川
タイ人オタクが艦これ聖地山を巡った話 第3話1章 和歌山 新宮市 熊野川
 
タイ人オタクが艦これ聖地山を巡った話 第2話 神戸 摩耶
タイ人オタクが艦これ聖地山を巡った話 第2話 神戸 摩耶タイ人オタクが艦これ聖地山を巡った話 第2話 神戸 摩耶
タイ人オタクが艦これ聖地山を巡った話 第2話 神戸 摩耶
 
タイ人オタクが艦これ聖地山を巡った話 第1話 京都 高雄~愛宕山
タイ人オタクが艦これ聖地山を巡った話 第1話 京都 高雄~愛宕山タイ人オタクが艦これ聖地山を巡った話 第1話 京都 高雄~愛宕山
タイ人オタクが艦これ聖地山を巡った話 第1話 京都 高雄~愛宕山
 
สาเหตุที่ไม่ควรเอา JLPT N1...N2.... มาเป็นจุดเป้าหมายในการเรียนภาษาญี่ปุ่น
สาเหตุที่ไม่ควรเอา JLPT N1...N2.... มาเป็นจุดเป้าหมายในการเรียนภาษาญี่ปุ่นสาเหตุที่ไม่ควรเอา JLPT N1...N2.... มาเป็นจุดเป้าหมายในการเรียนภาษาญี่ปุ่น
สาเหตุที่ไม่ควรเอา JLPT N1...N2.... มาเป็นจุดเป้าหมายในการเรียนภาษาญี่ปุ่น
 
タイ人オタクが日本でモバイルゲーム制作を諦めた経緯の話
タイ人オタクが日本でモバイルゲーム制作を諦めた経緯の話タイ人オタクが日本でモバイルゲーム制作を諦めた経緯の話
タイ人オタクが日本でモバイルゲーム制作を諦めた経緯の話
 
เรื่องเกี่ยวกับ โรงเรียนวิชาชีพ ในญี่ปุ่น
เรื่องเกี่ยวกับ โรงเรียนวิชาชีพ ในญี่ปุ่นเรื่องเกี่ยวกับ โรงเรียนวิชาชีพ ในญี่ปุ่น
เรื่องเกี่ยวกับ โรงเรียนวิชาชีพ ในญี่ปุ่น
 
Idol Master Platinum Stars アイマス プラチナスターズ Game Review
Idol Master Platinum Stars アイマス プラチナスターズ Game ReviewIdol Master Platinum Stars アイマス プラチナスターズ Game Review
Idol Master Platinum Stars アイマス プラチナスターズ Game Review
 

Read mepdf v3_0_05locomotion

  • 1. Locomotion Setup Each Locomotion Script do not get executed via their own Update(), But through LocomotionManager instead UnitSetupEditor should do this automatically for you. If you want to set this up Manually, In Locomotion List, increase the size According to what you wanted, And Plug The Locomotion Script to Locomotion List. Last Updated in 2.0
  • 2. Character will use the Locomotion based on the current equipped weapon. Inside EnumCollection.cs Float Value LocomotionType is determined by WEAPONCONTROLTYPE * 10 + ( MELEETYPE or FIREARMTYPE ) This apply to all of states that require Weapon Specific motions Weapon Base Locomotion Type Last Updated in 2.5
  • 3. Locomotion Type1 – Face Input Direction Camera Unit Character will move to face the Direction of input perpendicular to Camera View Horizontal Input = 1 Camera Unit Horizontal Input = 1Vertical Input = 1 Last Updated in 2.0
  • 4. Inside Animation Controller Character will move and blend Walking Motions base on moveSpeed Parameter moveSpeed value is determined by the magnitude of Vector2, Input Vertical and Input Horizontal values. Locomotion Type1 – Face Input Direction Last Updated in 1.0
  • 5. If you prefer your Character to move Perpendicular to Camera while always facing Forward from Camera If both are On, Hold Right Click to Activate MoveAim Camera will be Move to AimCamPos_Stand Transform If BiPolarMovement is on But BiPolarWontOverride is off Face Input Direction Movement will be override Vertical Input = 1 Camera Unit Horizontal Input = 1 Locomotion Type2 – Bi-Polar Movement Last Updated in 2.0
  • 6. Crouching motion work the same way as Standard Locomotion, only doing it while crouching instead. While Laying, Unit can Rotate, but won’t be able to move while in BiPolar Mode. Locomotion Type3 – Crouching Last Updated in 2.3
  • 7. Crouch Control Last Updated in 2.5 This can be edit in InputModule_Player public LOCOSTATE LocoInput( LOCOSTATE currentLoco ) By Default, Crouch Button is mapped to C Key, or Right Analog Press on XBox360 When Crouch Button is pressed + while no Movement input is made, Locomotion State Change will be toggle Quickly press button will be abbreviate as 1: Holding for a bit then release, will be abbreviate as 2: While Stand 1: Crouch 2: Laying While Crouch 1: Stand 2: Laying While Laying 1: Crouch 2: Stand
  • 8. While Laying Last Updated in 2.3 This will be further explained in ReadMePDF_V2_5_07_01RangeWeaponControl Certain Weapons cannot be Aim while Laying. When enter Aiming Mode, they will enter Crouching State To Edit which Weapon can Aim while Laying, Use Pistols Setup as Template, Add Motions accordingly Inside UnitControl_WeaponManager Edit function public bool IsCurrentWeaponAttackableWhileLaying()
  • 9. Override Control By Default, when Character is in a state that the Player shouldn’t be able to control the Character, Locomotion Control will be ignore. If you want to add States that the Player Shouldn’t be able to control Character, Inside UnitControl_Base Script, => IsInUncontrollableState() Anything that return true will override Locomotion Control Last Updated in 2.0