updated md files

This commit is contained in:
2025-12-07 19:47:40 +01:00
parent 7e54fc2260
commit 23c68a7e6a
8 changed files with 467 additions and 33 deletions

View File

@ -1,3 +1,48 @@
# Lua Hook Spec v0.2
# Lua Hook Spec v0.3
...
## Ziel
Minimaler Listener für Dialoge in BGEE.
---
# Dateien
```
lua-hook/
bg1ee_tts_hook/
dialog.lua
mod.ini
```
Installation:
- Linux: ~/.local/share/.../override/
- Windows: Documents/Baldur's Gate - Enhanced Edition/override/
---
# Lua API
### OnDialogStart()
Wird ausgelöst, wenn ein Dialog beginnt.
### OnDialogNodeChange(nodeID)
Wird ausgelöst, wenn die Dialogzeile wechselt.
---
# Beispiel
```lua
function OnDialogStart()
Infinity_Log("Dialog started")
end
function OnDialogNodeChange(node)
Infinity_Log("Node: " .. tostring(node))
end
```
---
# Hinweis
Noch **keine** API-Calls, kein TTS, nur Logging.