Exemplo n.º 1
0
 public UndeadGameSettings()
 {
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(NUMBER_OF_GAME_ROUNDS, "Number of rounds", 2, 1, 10, 1));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(STARTING_UNDEAD, "Number of players starting as undead", 1, 1, 7, 1));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(UNDEAD_RESPAWN_TIME_IN_SECONDS, "Respawn time", 1, 0, 5, 1));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(ALIVE_KILL_POINTS, "Points for killing when alive", 1, 1, 5, 1));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(UNDEAD_KILL_POINTS, "Points for killing when undead", 2, 1, 5, 1));
 }
 public BasicWeaponsSettings()
 {
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(FIRE_RATE, "Main weapon fire rate per second", 4, 1, 10, 1));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(FIRE_DAMAGE, "Main weapon damage", 10, 5, 30, 5));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(BOMB_DAMAGE, "Bomb damage", 50, 10, 100, 10));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(BOMB_MAX_LIFETIME, "Bomb max lifetime", 10, 0, 30, 5));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(BOMB_PAUSE_TIME, "Time between bomb drops", 2, 0, 10, 1));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(BOMB_EXPLOSION_RADIUS, "Bomb explosion radius", 70, 40, 100, 15));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(BOMB_EXPLOSION_ACCELERATION, "Bomb explosion acceleration", 10000, 5000, 30000, 5000));
 }
Exemplo n.º 3
0
 public BasicGameSettings()
 {
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(PLAY_TIME, "Max play time", 90, 30, 300, 30));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(HEALTH, "Health", 100, 10, 300, 10));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(SPEED, "Speed", 200, 50, 400, 25));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(MAX_ACCELERATION, "Max acceleration", 500, 100, 1500, 100));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(BOOST_SPEED, "Boost speed", 500, 250, 1000, 50));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(BOOST_DURATION, "Boost duration in seconds", 2, 1, 5, 1));
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(BOOST_PAUSE, "Time between boosts", 2, 0, 10, 1));
 }
Exemplo n.º 4
0
 public FreeForAllGameSettings()
 {
     settings.Add(KeyValueWithOptionsSetting.NumberedValue(MAX_SCORE, "Winning score", 5, 5, 50, 5));
 }