local database, sql?
Is it possible to have a database which contains only text and implement it in my game? I want to be able to query it in real time. I can't seem to find anything constructive on this subject with google searching. This database will contain item data, spell and ability data, etc.
I can do this in basic java or c++ code, write a simple SQLite database query program. Is SQLite or SQL in general able to be used in the engine? I can deal with a simple text database with csv, and parse that. i just know that SQL is more efficient, so either or would work.
asked Oct 03 '15 at 01:01 AM in Blueprint Scripting
Anything can be used with engine as everythign can be coded and any library can be used. There is SQLite module in UE4 but it seems to be forgotten and halt in devlopment, also it seems it does not build by default, you might try to investigate that (i think if you add module to depency in build script it might build that module too.... if it still builds)
If not you can use to learn how to access SQLite ThirdParty library that is in UE4
You also mentioned csv.... did you tried DataTables?
Also SQL is name of query language, and every database that use that name, only uses it but they have there own database implementation, but there is no SQL database, other known are open MySQL or commercial Oracle, but they are server databases. SQLite is server-less, so it's only one i know that is good to be used in end-user applications.
answered Oct 03 '15 at 01:27 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here