Sid Meier's Alpha Centauri: Difference between revisions

From LANCommander
(Created page with "Category:Games {{Game.InfoBox |Cover = cover.jpg |Developers = {{Game.InfoBox.Developer|Firaxis Games}} |Publishers = {{Game.InfoBox.Publisher|Loki Software}} {{Game.InfoBox.Publisher|Electronic Arts}} {{Game.InfoBox.Publisher|Aspyr Media}} |Release Date = {{Game.InfoBox.ReleaseDate|Windows|February 12, 1999}} |Genres = {{Game.InfoBox.Genre|Simulator}} {{Game.InfoBox.Genre|Turn-based strategy (TBS)}} {{Game.InfoBox.Genre|Strategy}} | PCGamingWiki = Sid_Meier%27s_Alph...")
 
No edit summary
 
Line 5: Line 5:
{{Game.InfoBox.Developer|Firaxis Games}}
{{Game.InfoBox.Developer|Firaxis Games}}
|Publishers =
|Publishers =
{{Game.InfoBox.Publisher|Loki Software}}
{{Game.InfoBox.Publisher|Loki Software}}{{Game.InfoBox.Publisher|Electronic Arts}}{{Game.InfoBox.Publisher|Aspyr Media}}
{{Game.InfoBox.Publisher|Electronic Arts}}
{{Game.InfoBox.Publisher|Aspyr Media}}
|Release Date =
|Release Date =
{{Game.InfoBox.ReleaseDate|Windows|February 12, 1999}}
{{Game.InfoBox.ReleaseDate|Windows|February 12, 1999}}
|Genres =
|Genres =
{{Game.InfoBox.Genre|Simulator}}
{{Game.InfoBox.Genre|Simulator}}{{Game.InfoBox.Genre|Turn-based strategy (TBS)}}{{Game.InfoBox.Genre|Strategy}}
{{Game.InfoBox.Genre|Turn-based strategy (TBS)}}
|PCGamingWiki = Sid_Meier%27s_Alpha_Centauri}}
{{Game.InfoBox.Genre|Strategy}}
| PCGamingWiki = Sid_Meier%27s_Alpha_Centauri
}}


{{Game.ActionBox
{{Game.ActionBox
|Actions =  
|Actions =  
{{Game.ActionBox.Row|Name = Sid Meier's Alpha Centauri - Alien Crossfire|Path = terranx.exe|Arguments = |WorkingDirectory = |Primary = False}}
{{Game.ActionBox.Row|Name = Sid Meier's Alpha Centauri - Alien Crossfire|Path = {InstallDir}\terranx.exe|Arguments = |WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Sid Meier's Alpha Centauri|Path = terran.exe|Arguments = |WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Sid Meier's Alpha Centauri|Path = {InstallDir}\terran.exe|Arguments = |WorkingDirectory = |Primary = True}}
{{Game.ActionBox.Row|Name = Faction Editor|Path = facedit.exe|Arguments = |WorkingDirectory = |Primary = False}}
{{Game.ActionBox.Row|Name = Faction Editor|Path = {InstallDir}\facedit.exe|Arguments = |WorkingDirectory = |Primary = False}}
}}
}}


{{Game.SaveBox
 
|Paths =  
{{Game.Scripts.NameChange
{{Game.SaveBox.Row|Type = File|Path = saves}}
|Name = Name Change Script
|Description =  
|RequiresAdmin = False
|Contents =
<syntaxhighlight lang="powershell" line>
# Use regex to replace text within a file. Quotes are escaped by double quoting ("")
Write-ReplaceContentInFile -Pattern '^Net Name=(.+)' -Substitution "Net Name=$NewPlayerAlias" -FilePath "$InstallDirectory\Alpha Centauri.Ini"
</syntaxhighlight>
}}
}}

Latest revision as of 21:55, 8 January 2024

Developers
Firaxis Games
Publishers
Loki SoftwareElectronic ArtsAspyr Media
Release Date
Windows: February 12, 1999
Genres
SimulatorTurn-based strategy (TBS)Strategy
View at PCGamingWiki

Actions

Name Path Arguments Working Directory Primary
Sid Meier's Alpha Centauri - Alien Crossfire {InstallDir}\terranx.exe True
Sid Meier's Alpha Centauri {InstallDir}\terran.exe True
Faction Editor {InstallDir}\facedit.exe False

Name Change Script

# Use regex to replace text within a file. Quotes are escaped by double quoting ("")
Write-ReplaceContentInFile -Pattern '^Net Name=(.+)' -Substitution "Net Name=$NewPlayerAlias" -FilePath "$InstallDirectory\Alpha Centauri.Ini"