Soldat
Developers | |
---|---|
Transhuman Design | |
Publishers | |
Transhuman Design | |
Release Date | |
Windows: May 9, 2002 | |
Genres | |
IndieShooter | |
View at PCGamingWiki |
Actions
Name | Path | Arguments | Working Directory | Primary |
---|---|---|---|---|
Play | {InstallDir}\soldat.exe | True |
Name Change Script
# Trim a string down to a specified amount of characters
if ($NewPlayerAlias.Length -gt 24) {
$NewPlayerAlias = $NewPlayerAlias.Substring(0, 24);
}
# Use regex to replace text within a file. Quotes are escaped by double quoting ("")
Write-ReplaceContentInFile -Pattern '^Name=(.+)' -Substitution "Name=$NewPlayerAlias" -FilePath "$InstallDirectory\soldat.ini"