conversations
list | source
string | stack
string |
---|---|---|
[
{
"from": "system",
"value": "Make sure final releases log properly\n"
},
{
"from": "human",
"value": "//---------------------------------------------------------------------------------------\n// FILE: CHXComGameVersion.uc\n// AUTHOR: X2CommunityCore\n// PURPOSE: Version information for the Community Highlander. \n//\n// Issue #1\n// \n// Creates a template to hold the version number info for the Community Highlander\n// XComGame replacement. This version is incremented separately to the Long War\n// Game Version to express our own releases to mods depending on them.\n//\n//---------------------------------------------------------------------------------------\nclass CHXComGameVersion extends X2StrategyElement;\n\nstatic function array<X2DataTemplate> CreateTemplates()\n{\n\tlocal array<X2DataTemplate> Templates;\n\tlocal CHXComGameVersionTemplate XComGameVersion;\n\t`log(\"Creating CHXCOMGameVersionTemplate...\", , 'X2WOTCCommunityHighlander');\n\t`CREATE_X2TEMPLATE(class'CHXComGameVersionTemplate', XComGameVersion, 'CHXComGameVersion');\n\t`log(\"Created CHXCOMGameVersionTemplate with version\" @ XComGameVersion.MajorVersion $ \".\" $ XComGameVersion.MinorVersion $ \".\" $ XComGameVersion.PatchVersion, , 'X2WOTCCommunityHighlander');\n\tTemplates.AddItem(XComGameVersion);\n\n\treturn Templates;\n}\n"
},
{
"from": "gpt",
"value": "//---------------------------------------------------------------------------------------\n// FILE: CHXComGameVersion.uc\n// AUTHOR: X2CommunityCore\n// PURPOSE: Version information for the Community Highlander. \n//\n// Issue #1\n// \n// Creates a template to hold the version number info for the Community Highlander\n// XComGame replacement. This version is incremented separately to the Long War\n// Game Version to express our own releases to mods depending on them.\n//\n//---------------------------------------------------------------------------------------\nclass CHXComGameVersion extends X2StrategyElement;\n\nstatic function array<X2DataTemplate> CreateTemplates()\n{\n\tlocal array<X2DataTemplate> Templates;\n\tlocal CHXComGameVersionTemplate XComGameVersion;\n\tclass'X2TacticalGameRuleset'.static.ReleaseScriptLog(\"X2WOTCCommunityHighlander: Creating CHXCOMGameVersionTemplate...\");\n\t`CREATE_X2TEMPLATE(class'CHXComGameVersionTemplate', XComGameVersion, 'CHXComGameVersion');\n\tclass'X2TacticalGameRuleset'.static.ReleaseScriptLog(\"X2WOTCCommunityHighlander: \"Created CHXCOMGameVersionTemplate with version\" @ XComGameVersion.MajorVersion $ \".\" $ XComGameVersion.MinorVersion $ \".\" $ XComGameVersion.PatchVersion\");\n\tTemplates.AddItem(XComGameVersion);\n\n\treturn Templates;\n}\n"
}
] | unrealscript | chosen |
README.md exists but content is empty.
Use the Edit dataset card button to edit it.
- Downloads last month
- 3