OpenPreFirePrac: Unterschied zwischen den Versionen
Ckras (Diskussion | Beiträge) |
Ckras (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung |
||
(5 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 1: | Zeile 1: | ||
{{#seo: | #WEITERLEITUNG [[PreFire]]{{#seo: | ||
|title= | |title=Prefire CS2 Server - www.ckras.com - CKRAS WIKI | ||
|title_mode=append | |title_mode=append | ||
|keywords=ckras, wiki, cs2, gameserver, help, guide, webinterface, prefire, prac, opensource, training, control, gslt, area, wiki, help | |keywords=ckras, wiki, cs2, gameserver, help, guide, webinterface, prefire, prac, opensource, training, control, gslt, area, wiki, help | ||
Zeile 8: | Zeile 8: | ||
}} | }} | ||
[[Datei:Target.png|links|20x20px|PREFIRE]] | [[Datei:Target.png|links|20x20px|PREFIRE]] | ||
PreFire Practice for '''[[CS2]]''' is perfect tool to train prefire on competive maps, with '''PreFire''' Addon you can start the training scenarios with '''!prefire''' on the currently available maps as indicated in the menu. | PreFire Practice for '''[[CS2]]''' Gameserver is perfect tool to train prefire on competive maps, with '''PreFire''' Addon you can start the training scenarios with '''!prefire''' on the currently available maps as indicated in the menu. | ||
''<small>An open-source CounterStrikeSharp powered server-side practicing plugin for CS2. It provides multiple prefire practices on competitive map pool maps and support multiplayer practicing concurrently.</small>'' | ''<small>An open-source CounterStrikeSharp powered server-side practicing plugin for CS2. It provides multiple prefire practices on competitive map pool maps and support multiplayer practicing concurrently.</small>'' | ||
Zeile 14: | Zeile 14: | ||
{{infobig|Wir installieren dieses Addon auf Wunsch jederzeit für DIch, alternativ findest du den Link zu den Installationsdateien am Ende des Artikels}} | {{infobig|Wir installieren dieses Addon auf Wunsch jederzeit für DIch, alternativ findest du den Link zu den Installationsdateien am Ende des Artikels}} | ||
[[PreFire]] | |||
'''CURRENT MAPPOOL:''' | '''CURRENT MAPPOOL:''' | ||
Zeile 33: | Zeile 34: | ||
'''Wichtig:''' PreFire is still under development, if you have any questions or suggestions please contact us at any time. | '''Wichtig:''' PreFire is still under development, if you have any questions or suggestions please contact us at any time. | ||
== Customize Workshop Maps == | |||
For custom maps you can insert these commands<blockquote>'''pos_x pos_y pos_z ang_x ang_y ang_z''' | For custom maps you can insert these commands<blockquote>'''pos_x pos_y pos_z ang_x ang_y ang_z''' | ||
Zeile 42: | Zeile 45: | ||
The positions and facing rotations can be retrived from in-game get_pos command. But please notice that, the height values used in profiles should be the values returned by get_pos minus 65. I made a python script that does this calculation for you. You can stack the strings retured by get_pos and put them in a txt file, and pass the file to the python script as described below and the script will automatically print out the formatted bot positions.</blockquote> | The positions and facing rotations can be retrived from in-game get_pos command. But please notice that, the height values used in profiles should be the values returned by get_pos minus 65. I made a python script that does this calculation for you. You can stack the strings retured by get_pos and put them in a txt file, and pass the file to the python script as described below and the script will automatically print out the formatted bot positions.</blockquote> | ||
== Verfügbare Prefire Trainings == | |||
<code>aktuelle Competive Maps Trainings:</code> | |||
<code> | |||
* de_inferno | * de_inferno | ||
Zeile 87: | Zeile 89: | ||
Now the plugin supports loading default settings of difficulty and training mode from a json file. You can rename '''default_cfg.json.example to default_cfg.json''' and modify the value as you like. | Now the plugin supports loading default settings of difficulty and training mode from a json file. You can rename '''default_cfg.json.example to default_cfg.json''' and modify the value as you like. | ||
Erkärung der Werte: | |||
Difficulty | Difficulty |
Aktuelle Version vom 23. April 2024, 12:54 Uhr
Weiterleitung nach:
PreFire Practice for CS2 Gameserver is perfect tool to train prefire on competive maps, with PreFire Addon you can start the training scenarios with !prefire on the currently available maps as indicated in the menu.
An open-source CounterStrikeSharp powered server-side practicing plugin for CS2. It provides multiple prefire practices on competitive map pool maps and support multiplayer practicing concurrently.
|
Wir installieren dieses Addon auf Wunsch jederzeit für DIch, alternativ findest du den Link zu den Installationsdateien am Ende des Artikels |
CURRENT MAPPOOL:
✓ de_ancient |
✓ de_anubis |
✓ de_dust2 |
✓ de_inferno |
✓ de_mirage |
✓ de_overpass |
Das Addon ist ein Open-Source-Projekt und befindet sich derzeit noch in der Entwicklung. Zusätzliche Maps und Wege werden regelmäßig aktualisiert. PreFire benötgt CSS.
Befehle
- !prefire (Startet Prefire mode und öffnet das Menü)
- !1 - 4 folge den Menüanweisungen
PreFire ist kompatibeln mit unseren CKRAS BOT
Wichtig: PreFire is still under development, if you have any questions or suggestions please contact us at any time.
Customize Workshop Maps
For custom maps you can insert these commands
pos_x pos_y pos_z ang_x ang_y ang_z The first 3 floating numbers are the position and the other 3 are the rotation.
pos_x pos_y pos_z ang_x ang_y ang_z is_crouching The rest lines describe how to place bots. The first 3 numbers is position, following 3 numbers of the rotation. The 7th value is either True of False indicating whether the bot is crouching.
python3 calculate_height.py [PATH TO YOUR FILE] The positions and facing rotations can be retrived from in-game get_pos command. But please notice that, the height values used in profiles should be the values returned by get_pos minus 65. I made a python script that does this calculation for you. You can stack the strings retured by get_pos and put them in a txt file, and pass the file to the python script as described below and the script will automatically print out the formatted bot positions.
Verfügbare Prefire Trainings
aktuelle Competive Maps Trainings:
- 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_ancient
- B ramp to B site
- B house to B site
- Mid to A site
- A main to A site
- Retake A 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
- 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)
- de_dust2
- Attack A site from A long
- Attack A site from A short
- 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
Settings
Now the plugin supports loading default settings of difficulty and training mode from a json file. You can rename default_cfg.json.example to default_cfg.json and modify the value as you like.
Erkärung der Werte:
Difficulty 0: No healing. 1: Init hp 500 with no healing. 2: +25hp for each kill. 3: +100hp for each kill. 4: +500hp for each kill. Training Mode 0: Random mode, randomly spawn some targets. 1: Full mode, all targets.
Entwicklung
TODO:
- Create prefire profiles for all maps.
- Draw guiding lines on the floor.
- Improve bot logic.
- Improve localization support (The supporting framework is done. Submitting translations is warmly welcomed.).
- Reroute saperate logs into one gathered place for better debug experience.
Source: https://github.com/lengran/OpenPrefirePrac
Download: https://github.com/lengran/OpenPrefirePrac/releases
CS2 Server: https://www.ckras.com/
(PreFire needs CounterStrikeSharp)