<?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_Entity_Definition</id>
	<title>Vehicle Scripting: Entity Definition - 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_Entity_Definition"/>
	<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=Vehicle_Scripting:_Entity_Definition&amp;action=history"/>
	<updated>2026-04-07T18:44:10Z</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:_Entity_Definition&amp;diff=1420&amp;oldid=prev</id>
		<title>192.168.0.142 at 16:48, 15 October 2007</title>
		<link rel="alternate" type="text/html" href="https://wiki.splashdamage.com/index.php?title=Vehicle_Scripting:_Entity_Definition&amp;diff=1420&amp;oldid=prev"/>
		<updated>2007-10-15T16:48:44Z</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;Talk about how the main definition hooks up the vscript, script, model, etc etc. Controls, sounds, effects.&amp;lt;includeonly&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{main|Vehicle Scripting: Entity Definition}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
&lt;br /&gt;
= Introduction = &lt;br /&gt;
&lt;br /&gt;
Entity definitions define spawnable entities. These are the things you can actually spawn in the game. In the case of vehicles these link together all the different parts of the vehicle's definition - the &amp;lt;tt&amp;gt;vehicleDef&amp;lt;/tt&amp;gt;, the script, the model, the effects, etc. There are a great many things configured using the vehicle's &amp;lt;tt&amp;gt;entityDef&amp;lt;/tt&amp;gt;, all of which are configured using key/value pairs.&lt;br /&gt;
&lt;br /&gt;
There are base definitions that can be inherited from to reduce the amount of repetition needed - for example &amp;lt;tt&amp;gt;vehicle_base_gdf&amp;lt;/tt&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
= Basics =&lt;br /&gt;
&lt;br /&gt;
First up there are the keys to set up the links between the major parts of the vehicle:&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;quot;spawnclass&amp;quot;&amp;lt;/tt&amp;gt; - This selects the code class used for the vehicle. The most common one used is &amp;lt;tt&amp;gt;&amp;quot;sdVehicle_RigidBody&amp;quot;&amp;lt;/tt&amp;gt;, but there are a couple of custom ones being the &amp;lt;tt&amp;gt;&amp;quot;sdWalker&amp;quot;&amp;lt;/tt&amp;gt; used by the Cyclops and the &amp;lt;tt&amp;gt;&amp;quot;sdJetPack&amp;quot;&amp;lt;/tt&amp;gt; used by the Icarus.&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;quot;scriptObject&amp;quot;&amp;lt;/tt&amp;gt; - The name of the script object used for the vehicle.&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;quot;vs_vehicleScript&amp;quot;&amp;lt;/tt&amp;gt; - The name of the &amp;lt;tt&amp;gt;vehicleDef&amp;lt;/tt&amp;gt; used.&lt;br /&gt;
* &amp;lt;tt&amp;gt;&amp;quot;model&amp;quot;&amp;lt;/tt&amp;gt; - The name of the &amp;lt;tt&amp;gt;model&amp;lt;/tt&amp;gt; to use.&lt;br /&gt;
&lt;br /&gt;
&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>