---
description: >-
  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.
---

# VScript

## 文件格式

**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.&#x20;

According to the Alien Swarm 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](../file-format/nut-and-gnut-squirrel).&#x20;

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](https://developer.valvesoftware.com/wiki/VScript)
{% endhint %}
