deus-ex-randomizer
deus-ex-randomizer copied to clipboard
method to detect which version of GMDX
need to be able to distinguish between v9, RSD, and v10, especially for the unbirth bingo event
could try to grab it out of here, and then save it to config
function ShowVersionInfo()
{
local TextWindow version;
local string gmdxtxt;
gmdxtxt = "GMDX v9.0.3";
version = TextWindow(NewChild(Class'TextWindow'));
version.SetTextMargins(0, 0);
version.SetWindowAlignments(HALIGN_Right, VALIGN_Bottom);
version.SetTextColorRGB(255, 255, 255);
version.SetTextAlignments(HALIGN_Right, VALIGN_Bottom);
version.SetText(player.GetDeusExVersion() @ gmdxtxt);
}