prinyo Posted May 4, 2016 Posted May 4, 2016 Is it possible for the game (FO4 or/and Skyrim) to read and write to local files in real time - while the game is running and without requiring loading screens? Imagine a scenario where the player opens a terminal and makes a choice. This choice is then written by the game in a local file on the computer. Some external process can read that and provide another file with a response that then can be read by the game and displayed on the terminal. There is a post in the Skyrim forum about is it possible to create advanced AI for NPCs. The game engine itself is not suitable enough to handle the calculations and the database processing needed to make more advanced AI decisions. But if it has a way to process external information in real time it opens doors for different possibilities.
Mastodon Posted May 4, 2016 Posted May 4, 2016 Sounds vague. I think the Script Extender is what you're looking for.
prinyo Posted May 4, 2016 Author Posted May 4, 2016 I don't know how to rephrase it... You make a choice in the game. The game writes it to a file on the local computer (query.json). External process reads it and writes another file (reply.json) The game reads it and displays the content or reacts to it in other ways. The question is can this be done, is it at all possible, in real time. It seems to me the game runs as a "black box" between the loading screens and everything that should be read from the file system is been read at the loading screen. But I can be wrong about this. Is it possible for the game to handle files in real time.
Akzyra Posted May 4, 2016 Posted May 4, 2016 Yes, in Skyrim people have done that to store MCM settings with SKSE. See FISS. F4SE is still in its early stages. Not sure what you need exactly, but coding a custom F4SE plugins seems very necessary. You could even connect to a database I would think, you just need to code it.
prinyo Posted May 4, 2016 Author Posted May 4, 2016 Yes, in Skyrim people have done that to store MCM settings with SKSE. See FISS. F4SE is still in its early stages. Not sure what you need exactly, but coding a custom F4SE plugins seems very necessary. You could even connect to a database I would think, you just need to code it. Thanks! Seems it is indeed possible.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.