PreFire

From CKRAS Wiki

Revision as of 20:24, 23 March 2026 by Ckras (talk | contribs)


PreFire Practice

Train prefire routes on competitive and workshop maps instantly on your CKRAS CS2 server.
Quick Start: Type !prefire in-game to open the training menu.

PreFire Practice is a training addon for CS2 that helps you improve prefire routes on competitive and custom maps. On CKRAS, PreFire is fully integrated into your server setup and available to all customers free of charge.

Quick Start

Start training in under 10 seconds:

  1. Join your server
  2. Open chat
  3. Type !prefire
  4. Select a map and route
  5. Start practicing

Note: PreFire is available only on supported maps shown in the in-game menu.

Available Maps

de_ancient de_anubis de_dust2 de_inferno de_mirage de_nuke de_overpass de_vertigo de_train (NEW)

Why PreFire on CKRAS

With PreFire you can quickly train common site entries, crosshair placement and timing on realistic routes. CKRAS integrates the plugin directly into the webpanel, so installation and updates are simple and fast.

Included by default: PreFire is available for every CKRAS customer and can be installed with one click after CSS has been activated.

Commands

Use these commands directly in-game to start and control PreFire training.

Basic Commands

Command Description
!prefire Opens the PreFire menu.
!prefire help Shows the help menu.
!prefire exit Stops the current PreFire session.

Training Commands

Command Description
!prefire prac [number] Starts the selected training route.
!prefire map [map name] Switches to another available map.

Settings Commands

Command Description
!prefire df [1-5] Sets the difficulty level.
!prefire mode [rand/full] Sets training mode to random or full.
!prefire bw [rand/ump/ak/sct/awp] Sets the weapons used by bots.
!prefire lang [en/pt/zh] Changes the language.

Installation

PreFire requires CounterStrikeSharp and Metamod. Install Metamod first in the webpanel, then activate CounterStrikeSharp and install PreFire.

Requirement: PreFire needs CounterStrikeSharp to run.

1
Install Metamod
Install Metamod
Install and activate Metamod in the webinterface first.
2
Install CounterStrikeSharp
Install CounterStrikeSharp
After Metamod is active, install CounterStrikeSharp (CSS).
3
Install PreFire
Install PreFire Practice
Click Install, restart the server and start practicing with !prefire.

Update PreFire

To update PreFire, click the Update button in the webpanel.

Update PreFire Plugin

Practice Routes

Available scenarios depend on the map. Each route is designed to simulate realistic entries, clears or retakes.

de_ancient

  • B ramp to B site
  • B house to B site
  • Mid to A site
  • A main to A site (modified)
  • Retake A from CT spawn

de_anubis

  • Attack B site from B main
  • Attack B site from mid (B connector)
  • Attack B site from water
  • Attack A site from mid (A connector)
  • Attack A site from A main
  • Aggressive CT push from A main
  • Aggressive CT push from B main

de_dust2

  • Attack A site from A long
  • Attack A site from A short
  • Attack B site from tunnel
  • Attack B site from mid
  • CT aggressively push from lower tunnel
  • CT aggressively push top mid

de_inferno

  • A short to A site
  • A long to A site
  • A apartments to A site
  • Banana to B site
  • Retake B from CT spawn

de_mirage

  • Attack A site from A ramp (to CT spawn)
  • Attack B site from B apartments
  • Attack A site from A palace (to jungle)
  • Attack B site from mid
  • Attack A site from underpass
  • Retake B site from CT spawn
  • CT aggressively push A Palace

de_nuke

  • Attack A site from hut
  • Attack B site from ramp
  • Entrance of lobby (T side)
  • From radio to ramp
  • Attack A site from Ramp/J-Hall
  • From T-side outside to secret
  • Attack B site from secret
  • Fast pace rush MINI from Silo
  • Attack A site from MINI

de_overpass

  • Attack B site from B long
  • Attack B site from B short
  • Clear underpass and go upwards to mid
  • Clear underpass and go towards B short
  • Attack A site from A long
  • Attack A site from A short (mid)
  • Retake B site from CT spawn

de_vertigo

  • Attack B site from stairs
  • From mid to CT spawn
  • Attack A site from A ramp
  • Attack A site from scaffold
  • Retake B site from elevator

de_train

  • Attack A site from ladder room
  • Attack A site from A main
  • Attack A site from ivy
  • Retake B site from CT spawn

Advanced Configuration

Config File
default_cfg.json

Rename default_cfg.json.example to default_cfg.json and adjust the default values.

Difficulty

0 = No healing
1 = 500 HP, no healing
2 = +25 HP per kill
3 = Reheal to 100 HP after kill
4 = +100 HP per kill
5 = +500 HP per kill

Training Mode

0 = Random mode
1 = Full mode

Bot Weapon

0 = Random
1 = UMP45
2 = AK47
3 = Scout
4 = AWP

Aim Lock

0 = Native CS2 bot behavior
1 = CSS-based aim lock
2 = Behavior-tree aim lock

Custom Maps

For custom maps, you can define player and bot positions manually.

Position format:
pos_x pos_y pos_z ang_x ang_y ang_z

Bot format:
pos_x pos_y pos_z ang_x ang_y ang_z is_crouching

The first 3 floating point values define the position. The next 3 values define the rotation. The last value defines whether the bot is crouching: True or False.

Tip: Use the in-game get_pos command to retrieve positions. The height value used in profiles should be the returned value minus 65.

You can use the helper script:

python3 calculate_height.py [PATH TO YOUR FILE]

This script converts exported position strings into formatted bot positions automatically.

Development

Planned improvements:

  1. Create prefire profiles for all maps
  2. Apply behavior trees to improve bot AI logic
  3. Improve localization support
  4. Reorganize files and code structure
  5. Reroute logs into one central location for easier debugging

Related Links

You want to play Workshop maps? Check this Guide.

Resources

Source: https://github.com/lengran/OpenPrefirePrac Download: https://github.com/lengran/OpenPrefirePrac/releases CS2 Server: https://www.ckras.com/

(PreFire needs CounterStrikeSharp)

index.php?title=Category:CS2 index.php?title=Category:CS2