[API] Chat Window API

The place to discuss scripting and game modifications for X4: Foundations.

Moderators: Moderators for English X Forum, Scripting / Modding Moderators

Post Reply
SirNukes
Posts: 546
Joined: Sat, 31. Mar 07, 23:44
x4

[API] Chat Window API

Post by SirNukes » Sun, 14. Jun 20, 05:19

X4 Chat Window API

This adds support for working with the chat window. Can be used to listen to player entered chat text, set up custom commands and callback cues, and print new text.

Notable features:
- Register new chat commands and their callback cues in md.
- Shortened stock command names: /rmd, /rai, /rui.
- Listen to refresh events in scripts as a quick way to reset/update state during development.

Full documentation:
https://github.com/bvbohnen/x4-projects ... dow_API.md

This is integrated with the Mod Support APIs extension. Primary development is on github. Download links:
https://github.com/bvbohnen/x4-projects/releases
https://steamcommunity.com/sharedfiles/ ... 2042901274
https://www.nexusmods.com/x4foundations/mods/503

kuertee
EGOSOFT
EGOSOFT
Posts: 789
Joined: Sun, 14. Dec 03, 13:05
x4

Re: [API] Chat Window API

Post by kuertee » Thu, 13. Aug 20, 04:07

Ahhh ... cool tool. Register_Command *thumbs up*
Mods: RPG: Reputations and Professions, Social Standings and Citizenships, Crime has Consequences, Alternatives to Death. Missions/NPCs: Emergent Missions, NPC Reactions, Mod Parts Trader, High-sec Rooms are Locked, Hacking Outcomes, More Generic Missions, Waypoint Fields for Deployment. Others: Auto-cam, Friendly Fire Tweaks, Teleport From Transporter Room, Wear and Tear. QoL: Trade Analytics, Loot Mining, Ship Scanner, Signal Leak Hunter, Station Scanner, Surface Element Targeting, etc.

Post Reply

Return to “X4: Foundations - Scripts and Modding”