<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.splashdamage.com/index.php?action=history&amp;feed=atom&amp;title=Vehicle_Scripting%3A_Basic_Overview</id>
	<title>Vehicle Scripting: Basic Overview - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.splashdamage.com/index.php?action=history&amp;feed=atom&amp;title=Vehicle_Scripting%3A_Basic_Overview"/>
	<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=Vehicle_Scripting:_Basic_Overview&amp;action=history"/>
	<updated>2026-04-07T20:05:16Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.0</generator>
	<entry>
		<id>https://wiki.splashdamage.com/index.php?title=Vehicle_Scripting:_Basic_Overview&amp;diff=1417&amp;oldid=prev</id>
		<title>192.168.0.142 at 16:47, 15 October 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=Vehicle_Scripting:_Basic_Overview&amp;diff=1417&amp;oldid=prev"/>
		<updated>2007-10-15T16:47:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;This article gives a basic overview of the relationship between the entityDef, vehicleDef and script used to define the vehicle.&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{main|Vehicle Scripting: Basic Overview}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
There are three major parts to a vehicle's configuration:&lt;br /&gt;
* [[Vehicle_Scripting:_Basic_Overview#Vehicle_Definition|The Vehicle Definition]]&lt;br /&gt;
* [[Vehicle_Scripting:_Basic_Overview#Script|The Script]]&lt;br /&gt;
* [[Vehicle_Scripting:_Basic_Overview#Entity_Definition|The Entity Definition]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
=== Vehicle Definition ===&lt;br /&gt;
&lt;br /&gt;
The [[Vehicle_Scripting:_Vehicle_Definition|vehicle definition]] is generally stored in a .vscript file in the base/vehicles directory. This defines much of the configuration of the vehicle:&lt;br /&gt;
&lt;br /&gt;
* Physical characteristics &lt;br /&gt;
** Size&lt;br /&gt;
** Shape&lt;br /&gt;
** Wheels &amp;amp; suspension&lt;br /&gt;
** Boosters&lt;br /&gt;
** etc..&lt;br /&gt;
* Player positions&lt;br /&gt;
** Positioning&lt;br /&gt;
** Associated weapons&lt;br /&gt;
** Camera views&lt;br /&gt;
* Inverse Kinematics (IK)&lt;br /&gt;
&lt;br /&gt;
=== Script ===&lt;br /&gt;
&lt;br /&gt;
This C++/Java like script controls the behaviour of the vehicle in various situations, and is generally stored in the base/script/vehicles directory. These can be used to add complex scripted behaviours to the vehicle, for example the MCP. There is a base vehicle script that the other vehicles derive from. The base script contains most of the behaviour needed, for example creating the damage effects. The vehicle-specific scripts do things like configuring weapon selection.&lt;br /&gt;
&lt;br /&gt;
=== Entity Definition ===&lt;br /&gt;
&lt;br /&gt;
This definition links all the definitions together into one name that can be spawned in the game. entityDefs for vehicles generally live in base/def/vehicles.&lt;br /&gt;
&lt;br /&gt;
These are just some of the many things that are configured in a vehicle's entity definition:&lt;br /&gt;
* Vehicle definition&lt;br /&gt;
* Script &lt;br /&gt;
* Control style &amp;amp; context&lt;br /&gt;
* Health&lt;br /&gt;
* Visual model&lt;br /&gt;
* Sounds&lt;br /&gt;
* Effects&lt;br /&gt;
&lt;br /&gt;
[[Category:Vehicles]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>192.168.0.142</name></author>
		
	</entry>
</feed>