Skip to content

Commit

Permalink
allmeat fraglimit
Browse files Browse the repository at this point in the history
  • Loading branch information
Brain-dawg committed Jan 28, 2025
1 parent b79211a commit 30b79f1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,8 @@ If not specified, the default values can be found in `cfg/config.nut`

- `koth_cap` - the spawn point of the capture point
- If this is not specified, the last index in the map spawn config will be used as the capture point
- `start_time_red` - the time at which the red team can start capturing the point in seconds, defaults to KOTH_START_TIME_RED in `cfg/config.nut`
- `start_time_blu` - the time at which the blue team can start capturing the point in seconds, defaults to KOTH_START_TIME_BLUE in `cfg/config.nut`
- `start_time_red` - starting time for red team, defaults to KOTH_START_TIME_RED in `cfg/config.nut`
- `start_time_blu` - starting time for blue team, defaults to KOTH_START_TIME_BLUE in `cfg/config.nut`
- `koth_capture_point_radius` - the radius of the capture point in hammer units, defaults to KOTH_CAPTURE_POINT_RADIUS in `cfg/config.nut`
- `koth_capture_point_max_height` - the maximum height of the capture point in hammer units, defaults to KOTH_CAPTURE_POINT_MAX_HEIGHT in `cfg/config.nut`
- `koth_decay_rate` - the rate at which the capture point decays when not being capped in seconds, defaults to KOTH_DECAY_RATE in `cfg/config.nut`
Expand Down Expand Up @@ -154,7 +154,6 @@ All chat commands can be prefixed with any of these characters: `/\.!?`
| stats | view your stats breakdown
| language | change your language, this will read your `cl_language` setting by default
| handicap | set a handicap for yourself, example: `!handicap 100` will set your HP to 100
| addbots/removebots | NOT IMPLEMENTED
| top5 | NOT IMPLEMENTED
| leaderboard | NOT IMPLEMENTED

Expand Down
1 change: 1 addition & 0 deletions mge/cfg/config.nut
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ const TURRIS_REGEN_TIME = 5.0
const ENDIF_HEIGHT_THRESHOLD = 250

const ALLMEAT_DAMAGE_THRESHOLD = 0.85
const ALLMEAT_DEFAULT_FRAGLIMIT = 5

//damage values here do not account for rampup/falloff
//this effectively means we are only counting shots that hit every single pellet
Expand Down
2 changes: 1 addition & 1 deletion mge/functions.nut
Original file line number Diff line number Diff line change
Expand Up @@ -1966,7 +1966,7 @@
}
function allmeat() {
LoadSpawnPoints(arena_name)
arena.fraglimit = fraglimit / 2
arena.fraglimit = ALLMEAT_DEFAULT_FRAGLIMIT
return
}
}
Expand Down

0 comments on commit 30b79f1

Please sign in to comment.