-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
7 changed files
with
90 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
class MapVoteInfoMsg extends LocalMessage; | ||
|
||
var config string InfoMessage; | ||
var config string MidGameVoteMessage; | ||
|
||
static function string GetString( | ||
optional int Switch, | ||
optional PlayerReplicationInfo RelatedPRI_1, | ||
optional PlayerReplicationInfo RelatedPRI_2, | ||
optional Object OptionalObject | ||
) | ||
{ | ||
switch(Switch) { | ||
case 0: | ||
return Default.InfoMessage; | ||
break; | ||
case 1: | ||
return Default.MidGameVoteMessage; | ||
break; | ||
|
||
} | ||
return ""; | ||
} | ||
|
||
defaultproperties | ||
{ | ||
InfoMessage="INFO: Press F5 to open the Map Vote Menu" | ||
MidGameVoteMessage="Mid-Game Voting has been started! Press F5 to vote for your map!" | ||
bIsSpecial=False | ||
bIsUnique=True | ||
Lifetime=10 | ||
DrawColor=(B=0,G=255,R=255,A=255) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
class MapVoteResultMsg extends LocalMessage; | ||
|
||
var config string ResultMessage; | ||
|
||
static function string GetString( | ||
optional int Switch, | ||
optional PlayerReplicationInfo RelatedPRI_1, | ||
optional PlayerReplicationInfo RelatedPRI_2, | ||
optional Object OptionalObject | ||
) | ||
{ | ||
return Default.ResultMessage $ MapVoteReplicationInfo(OptionalObject).MapList[Switch].Title; | ||
} | ||
|
||
defaultproperties | ||
{ | ||
ResultMessage="Vote ended! Upcoming map: " | ||
bIsSpecial=False | ||
bIsUnique=True | ||
Lifetime=10 | ||
DrawColor=(B=0,G=255,R=255,A=255) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters