> For the complete documentation index, see [llms.txt](https://noskill.gitbook.io/titanfall2/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://noskill.gitbook.io/titanfall2/documentation/programming/vscript.md).

# VScript

## File Format

**VScript**, introduced in Left 4 Dead 2, is a virtual machine for scripting that acts as an abstract binding layer between the Source engine and external scripts.

According to the Alien Swarm SDK, the following scripting languages are, or could be supported in the near future are Lua (Used in Half Life: Alyx & Portal 2) Squirrel (Used by Titanfall, CS:GO, and Left for Dead 2), Gamemonkey (Which has no known implementations yet), and Python (Used by SFM).

{% hint style="info" %}
To learn more about **Squirrel in Respawn games**, check out [NUT - Squirrel](/titanfall2/documentation/file-format/nut-and-gnut-squirrel.md).

To learn more about **Squirrel in non-Respawn games**, check out [Squirrel - Valve Developer Community](https://developer.valvesoftware.com/wiki/Squirrel).
{% endhint %}

{% hint style="info" %}
Source: <https://developer.valvesoftware.com/wiki/VScript>
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://noskill.gitbook.io/titanfall2/documentation/programming/vscript.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
