12월 3일(미국 동부시간)까지 최대 70% 할인된 가격으로 만나보시고, 마켓플레이스 쿠폰을 받아보세요!

Runtime DataTable

Jared Therriault - 2019/10/23

This plugin will load a text csv or download a public Google Sheet and add parsed values to a matching FStructs or UObjects at Runtime. All data types supported by the built-in UE4 DataTable are supported by this plugin.

  • 지원 플랫폼
  • 지원 엔진 버전
    4.23 - 4.27
  • 다운로드 유형
    엔진 플러그인
    이 제품은 코드 플러그인과 함께 미리 빌드한 바이너리와 언리얼 엔진에 통합되는 모든 소스 코드를 포함하고 있으며 원하시는 엔진 버전에 설치하여 프로젝트에 따라 활성화할 수 있습니다.

This plugin includes easyCSV in full.


Big Island update (object array support, variable name matching, local export) is live! See changelog here


Runtime Data Table or “RDT” is a plugin for Unreal Engine 4 that loads a Comma-Separated Values or CSV document at runtime with an FStruct’s or UObject's variables in text form and fills an array of that type with the appropriate values, converting text into the appropriate type.


RDT can be likened to the Data Table system built into UE4, but while that system works only at design time, this plugin is made to work while the game is running. Additionally, variables on objects can be manipulated directly without needing to make a struct.


The system works by downloading a public Google Sheet or loading a CSV from disk and attempts to update an array of FStructs or UObjects with values loaded and converted from the CSV. After the attempt is made, the plugin will call a function defined by the user to signal that the plugin has finished its duties.


The plugin also now supports CSV export converting an array's values into text that can later be loaded in the same way. You can even pick and choose which members to export.

기술적 세부사항

Features:

  • Runtime parsing of Data Tables
  • Automatic update of FStructs or UObjects
  • Connectivity with Google Sheets - edit values on the fly, no need to reimport CSVs manually at design time
  • Export CSV from game data to a local file on disk

Code Modules:

  • Runtime Data Table: A runtime module that handles the download, parsing and struct/object updates


Number of Blueprints: 26

C++ Classes: 3

Network Replicated: No

Supported Development Platforms: Win64, Mac

Supported Target Build Platforms: Win32, Win64, Android, Mac, iOS (+tvOS as of 4.25)


Manual

Discussion (changelog also found here)

Project Files

Demo: Includes a TestStruct.csv (WindowsNoEditor\CSV_Test\Saved) that can be edited with the results showing in-game on-demand when 'Execute It' is clicked.


Video: What Is Runtime Data Table