RTS
https://www.youtube.com/watch?v=X5fzG8U_xWA&list=PLwFl5pGzKd2ihfRtbTYMxf-dOZQKHMK-K&index=1
22챕터까지 구현
------------------------------------------------------------------------------------
(참고)SkyLight 설정 : 밤에도 완전히 검지 않고 푸르스름한 빛이 보이게 하기
Real Time Capture 을 체크해제
Source Type : SLS Specified Cubemap
Cubemap 에 daylight 를 설정
------------------------------------------------------------------------------------
*Player Controller : BP_PlayerController
Get Player Pawn
Player Controller.Show Mouse Cursor
Gate
(Widget)-Set Input Mode Game And UI
Convert Mouse Location To World Space
Line Trace By Channel
------------------------------------------------------------------------------------
*Pawn : BP_CameraPawn
(SpringArm).Target Arm Length
(CurveFloat).Get Float Value
Line Trace By Channel
Get Actor Location
Set Actor Location
Vector Length
Nearly Equal
------------------------------------------------------------------------------------
*BPC_PawnMovementComp
(Pawn) - Add Actor Local Offset
Lerp
Set Actor Rotation
Combine Rotators
Make Rotator
Get Player Controller - Get Mouse Position
Get Viewport Size
------------------------------------------------------------------------------------
*GameStateBase : BP_GameState
DateTime (structure)
Division(Whole and Remainder)
Floor : 숫자 버림 1.6 -> 1
Days In Month
Get All Actors Of Class : 성능에 영향을 주므로 tags를 이용하는 것이 더 좋다.
For Each loop with Break
------------------------------------------------------------------------------------
*Widget : WBP_GameTime
SetText(Text)
Format Text
To Text(Integer)
(Button) - Set Is Enabled
------------------------------------------------------------------------------------
*BPC_BuldingManager
Spawn Actor from Class
Is Valid
Set Timer by Function Name
(TIme Handle) - Clear and Invalidate Timer by Handle
(TIme Handle) - Is Timer Active by Handle
(TIme Handle) - Is Valid Timer Handle
Get Game State
Bind Event to Game Speed Control : State가 가진 Game Speed Control 이벤트에 현재 BP의 이벤트를 Bind 함
------------------------------------------------------------------------------------
*BP_BuildingMaster
Get Data Tables Row
(Static mesh) - Get Local Bounds : 응용해서 collison의 vector를 만듬
(Collison box) - Set Box Extent
(Collison box) - Gett Scaled Box Extent
Attach Component To Component
(Static Mesh) - Get Num Materials : 메시의 머티리얼 개수
(Material Instance) - Set Material
(Material Instance) - Create Dynamic Material Instance
AddUnique : 배열에 동일한 항목이 있으면 추가하지 않는다
Set Wolrd Location - Set Actor Location
Set Actor Rotation
Get Foward Vector
Get Overlapping Actors
Line Trace By Channel
Box Trace By Channel
Set Vector Parameter Value : 매터리얼 블루프린트에 쓰여진 벡터의 이름에 값을 지정. 예: "Color"
'개발 > 언리얼 Unreal' 카테고리의 다른 글
UE5 / FloatingPawnMovement 컴포넌트 (0) | 2025.02.12 |
---|---|
UE5 / Walking 모드에 Z축 이동 코드 추가하기 (0) | 2025.02.12 |
UE5 / 블루프린트 메모_디아블로식 액션RPG (0) | 2025.02.12 |
UE5 / TSet (0) | 2025.02.04 |
UE5 / Dot Product (0) | 2025.02.04 |