xAranaktu / FC-24-Live-Editor

Live Editor for FC 24
GNU General Public License v3.0
94 stars 24 forks source link

Feature Request: Event Logging during Gameplay for Game Dynamics #107

Open dumbbond opened 5 months ago

dumbbond commented 5 months ago

I have a feature proposal that I hope would greatly enhance the gaming experience by adding a layer of immersive and dynamic audio responses to in-game events. I'm interested in the possibility of the Live Editor logging specific in-game events during gameplay in FC24, with the aim of using these logs to trigger external actions, such as playing team anthems or goal celebration songs beyond using a mod that replaces audio which is very limited.

Feature Description:

The idea is to have the Live Editor create a simple log file that records certain events during a FC game. This log would capture key moments such as game start, goals scored (including which team scored), halftime start and end, and the end of the game (full time). An example format for these log entries could be:

[timestamp] [process id] [INFO] [Event::Type] Event Details

Proposed Events:

Example Log Format:

[23:59:57.761] [12928] [INFO] [Game::Started::Home] Manchester United [23:59:57.761] [12928] [INFO] [Game::Started::Away] Liverpool [23:59:57.761] [12928] [INFO] [Game::Goal] Liverpool [23:59:57.761] [12928] [INFO] [Game::Goal] Liverpool [23:59:57.761] [12928] [INFO] [Game::Goal] Manchester United [23:59:57.761] [12928] [INFO] [Game::HalfTime] Started [23:59:57.761] [12928] [INFO] [Game::HalfTime] Done [23:59:57.761] [12928] [INFO] [Game::Goal] Manchester United [23:59:57.761] [12928] [INFO] [Game::Goal] Manchester United [23:59:57.761] [12928] [INFO] [Game::FullTime] Done

Use Case:

My goal is to build a companion program that reads this log file and plays specific songs/sounds based on in-game events. This would allow for:

Questions:

I believe this feature could add significant value to the FC24 gaming community, providing a more immersive and personalized experience. I'm looking forward to any feedback or thoughts on this proposal and can also take this discussion to discord.

xAranaktu commented 5 months ago

At this moment it's probably not possible, but I'm thinking about adding this kind of functionality soon to LE LUA API.