2026-03-08 14:18:29 -05:00
2026-03-08 14:04:19 -05:00
2026-03-08 14:04:19 -05:00
2026-03-08 14:18:29 -05:00

FoC GameManager

A Lua framework for Star Wars: Empire at War: Forces of Corruption that hijacks GameScoring.lua to create game manager states for each game mode type.

Features

  • In-game time display in tactical modes
  • Skirmish spectating with team credits display
  • Coming soon Spectator unit list display of per-team reinforcement pool, active units, and killed units

Installation

  • Copy the Data/Scripts/Miscellaneous folder into your mod.
  • That's it.

Important Considerations

If your mod has made changes to GameScoring.lua, this framework will not work without some extra care. I have essentially entirely re-written GameScoring.lua as most all of the scoring functions within it are deprecated post-GameSpy era. If you had other stuff that you were doing in there, you may want to consider adding it to one of these files as serviced functions:

  • GalacticGameClass.lua
  • TacticalGameClass.lua
  • SkirmishGameClass.lua

Alternatively, you can create your own game class using one of these as the template to service your own custom scripts. Just make sure to add it into GameScoring.lua as a game manager when your particular game mode is initialized.

FAQ

Q: Data/Scripts/Library is included in the repository. Do I need to include those files as well?

A: No. I included these files so that the Lua language server would identify issues in the framework code files. There are no changes to these files and they already exist in the core game, so there is no need to include them.

Description
No description provided
Readme Unlicense 194 KiB
Languages
Lua 100%