Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # this is a commment
- # String are case sensitive
- # all item (e.g. mapName) are not case sensitive
- # REPLAY HEADER
- replayID = 121564 ; # long: ID of the replay (UNIQUE, defined by danchan website)
- mapName = "DSD" ; # String: name of the map
- numberOfTeam = 4; # int: number of team
- timeStep = 10000 ; # int: time step in ms (10e-3 sec)
- # LIST OF TEAMS
- team{
- teamID=0; # int: id of the team go from 0 till numberOfTeam-1 : UNIQUE
- numberOfPlayer=5; # int: number of player in the team
- player0 = 0; # int : player id in the replay : UNIQUE
- player1 = 1; # int : player id in the replay : UNIQUE
- player2 = 2; # int : player id in the replay : UNIQUE
- player3 = 3; # int : player id in the replay : UNIQUE
- player4 = 4; # int : player id in the replay : UNIQUE
- };
- team{
- teamID=1; # int: id of the team go from 0 till numberOfTeam-1 : UNIQUE
- numberOfPlayer=1; # int: number of player in the team
- player0 = 6; # int : player id in the replay : UNIQUE
- };
- team{
- teamID=2; # int: id of the team go from 0 till numberOfTeam-1 : UNIQUE
- numberOfPlayer=1; # int: number of player in the team
- player0 = 7; # int : player id in the replay : UNIQUE
- };
- team{
- teamID=3; # int: id of the team go from 0 till numberOfTeam-1 : UNIQUE
- numberOfPlayer=2; # int: number of player in the team
- player0 = 8; # int : player id in the replay : UNIQUE
- player0 = 9; # int : player id in the replay : UNIQUE
- };
- # LIST OF PLAYERS
- player{
- playerID=0; # int: id of the player go from 0 till sum(numberOfPlayer,0,numberOfTeam-1) : UNIQUE
- accountID=453431; # int: id of the account of the player : UNIQUE according to
- playerName ="Iamster"; # string : current plaer name ;
- countrycode="FR" ; # String : country code ; TOD: define type
- side="ARM" ; # String : ARM or CORE; TODO: define type
- springrank= 3; # int rank given by spring
- hostrank= 3; # int rank given by the autohost
- cpu = 2100 ; # int CPU frequency (Mhz) approximated to an int
- };
- ...
- ...
- ...
- ...
- ...
- ...
- player{
- playerID=9; # int: id of the player go from 0 till sum(numberOfPlayer,0,numberOfTeam-1) : UNIQUE
- accountID=4q4653431; # int: id of the account of the player : UNIQUE according to
- playerName ="Iwut"; # string : current plaer name ;
- countrycode="NL" ; # String : country code ;
- side="ARM" ; # String : ARM or CORE;
- springrank= 3; # int rank given by spring
- hostrank= 3; # int rank given by the autohost
- cpu = 2160 ; # int CPU frequency (Mhz) approximated to an int
- };
- # VARIABLES HEADER FOR DOUBLE
- variables{ damageDeath , damageReceived , metalUsed , metalProduced , metalExcess, metalSend , metalGiven , energyUsed , energyProduced , energyExcess, energySend , energyGiven , unitActive , unitProduced , unitKilled , unitRecieved , unitSend , unitCaptured , unitStolen , buildpower , firepower
- }; # variables order does matter, the reason for that is for latter retro compatibility in case new variable appear latter
- # DATA: order follow the same order than in the variable field. no ";" at the eol
- data{
- 546 5 456 4 64 5 464 545 3 5 54 354 54 54 354 543 54 543 4 53 45 13 515311 35151 35 13515 # DATA at time t = 0
- 546 5 456 4 64 5 464 545 3 5 54 354 54 54 354 543 54 543 4 53 45 13 515311 35151 35 13515 # DATA at time t = 0 + 1 * Delta_t
- 546 5 456 4 64 5 464 545 3 5 54 354 54 54 354 543 54 543 4 53 45 13 515311 35151 35 13515 # DATA at time t = 0 + 2 * Delta_t
- ...
- ...
- ...
- ...
- 546 5 456 4 64 5 464 545 3 5 54 354 54 54 354 543 54 543 4 53 45 13 515311 35151 35 13515 ; # DATA at time t = 0 + N * Delta_t
- }
- # VARIABLES HEADER FOR DOUBLE ARRAY
- variablesArray{ damageDeath , damageReceived , metalUsed , metalProduced , metalExcess, metalSend , metalGiven , energyUsed , energyProduced , energyExcess, energySend , energyGiven , unitActive , unitProduced , unitKilled , unitRecieved , unitSend , unitCaptured , unitStolen , buildpower , firepower
- }; # variables order does matter, the reason for that is for latter retrocompatibility in case new variable appear latter
- # obviously, those variable will only be present in either "variablesArray" or "variables"
- # order still matter but NxN array are store looping over row then column
- # since matrix are symmetric, only row_index > col_index are stored (and N/A for row_index == col_index )
- # DATA FOR DOUBLE ARRAY : order follow the same order than in the variable header for double array
- dataArray{
- 546 5 456 4 64 5 464 545 3 5 54 354 54 54 354 543 54 543 4 53 45 13 515311 35151 35 13515 ; # DATA at time t = 0
- 546 5 456 4 64 5 464 545 3 5 54 354 54 54 354 543 54 543 4 53 45 13 515311 35151 35 13515 ; # DATA at time t = 0 + 1 * Delta_t
- 546 5 456 4 64 5 464 545 3 5 54 354 54 54 354 543 54 543 4 53 45 13 515311 35151 35 13515 ; # DATA at time t = 0 + 2 * Delta_t
- ...
- ...
- ...
- ...
- 546 5 456 4 64 5 464 545 3 5 54 354 54 54 354 543 54 543 4 53 45 13 515311 35151 35 13515 ; # DATA at time t = 0 + N * Delta_t
- }
Advertisement
Add Comment
Please, Sign In to add comment