8000 GitHub - Ansimist/cs2typescript: This program is designed to convert files from the vts format to vts_c for CS2 (SourceTS)
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Ansimist/cs2typescript

Repository files navigation

CS2 TypeScrip 7918 t Converter

CS2 TypeScript Converter is a tool for converting files from the .vts format to .vts_c. These files are TypeScript scripts that can be used in the game Counter-Strike 2 (CS2) to create custom logic for your maps.

Features

  • Automatically converts .ts or .vts files to .vts_c.
  • Real-time updates to game folder whenever changes are made.
  • Simplifies map scripting with TypeScript.

Download


How to Use

  1. Place the path to your addon's content folder inside the config.json file.
  2. Launch the program.
  3. Create a .ts or .vts file in the scripts folder of your addon.
  4. Modify the code in this file; the program will automatically generate and update corresponding files in the game folder.

How to Include a Script in a Map

To include a script in your CS2 map:

  1. Add an entity of class point_script to your map.
  2. Set the script key to the path of your generated file.
  3. Set the targetname key to the name of the entity.

Below is an example:

point_script Example


Example Addon

Explore an example addon that demonstrates how to use scripts with this program:

Download the Example Addon

Example Addon Preview


Notes

  • Ensure your config.json file is correctly configured before starting the program.
  • The program monitors changes in your .ts or .vts files and updates corresponding .vts_c files in real-time.

About

This program is designed to convert files from the vts format to vts_c for CS2 (SourceTS)

Resources

Stars

Watchers

Forks

Contributors 2

  •  
  •  

Languages

0