<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=Cockpit_Systems</id>
		<title>Cockpit Systems - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.hoggitworld.com/index.php?action=history&amp;feed=atom&amp;title=Cockpit_Systems"/>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=Cockpit_Systems&amp;action=history"/>
		<updated>2026-06-10T02:50:06Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.hoggitworld.com/index.php?title=Cockpit_Systems&amp;diff=1343&amp;oldid=prev</id>
		<title>Jeremy Smitherman: Created page with &quot;Cockpit systems are configured through a system of scripts.  The following scripts are required for Clickable cockpits to work:        clickabledata.lua    - As the name s...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.hoggitworld.com/index.php?title=Cockpit_Systems&amp;diff=1343&amp;oldid=prev"/>
				<updated>2018-05-17T20:45:54Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;Cockpit systems are configured through a system of scripts.  The following scripts are required for Clickable cockpits to work:        &lt;a href=&quot;/index.php?title=Clickabledata.lua&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Clickabledata.lua (page does not exist)&quot;&gt;clickabledata.lua&lt;/a&gt;    - As the name s...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;Cockpit systems are configured through a system of scripts.&lt;br /&gt;
&lt;br /&gt;
The following scripts are required for Clickable cockpits to work:&lt;br /&gt;
&lt;br /&gt;
      [[clickabledata.lua]]    - As the name says, it contains all of your clickable definitions for switches, buttons, etc in your cockpit.&lt;br /&gt;
      [[command_defs.lua]]     - This defines what &amp;quot;button&amp;quot; your commands are defined as.&lt;br /&gt;
      [[device_init.lua]]      - This initializes each of your devices and where the scripts for them are located&lt;br /&gt;
      [[devices.lua]]          - This defines the &amp;quot;number&amp;quot; your devices is assigned so the cockpit files can reference the device&lt;br /&gt;
      [[mainpanel_init.lua]]   - This defines gauges and anything else that you do not click on, and sort of ties all of the other scripts together.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
The Wunderluft, and BDGAM examples also include in the main scripts directory&lt;br /&gt;
&lt;br /&gt;
     adi.lua               - Simple ADI example device&lt;br /&gt;
     clock.lua             - Simple Clock example device  &lt;br /&gt;
     test_device.lua       - Simple Electrical example device&lt;br /&gt;
     weapon_system.lua     - Simple weapon system(contains nothing at this time) example device.&lt;br /&gt;
&lt;br /&gt;
You will also typically have folders holding scripts for devices. Typically if you only need one .lua file for it they go in the &amp;quot;Systems&amp;quot; folder. HUD and RADAR's have their own folder's as well, but as long as you load the folder in mainpanel_init you can have as many folders as you want.&lt;br /&gt;
&lt;br /&gt;
For the Wunderluft and BDGAM examples, you have a very simplified electric_system and weapon_system.&lt;br /&gt;
&lt;br /&gt;
-----&lt;br /&gt;
Back to EGDAM main page: [[EGDAM]]&lt;/div&gt;</summary>
		<author><name>Jeremy Smitherman</name></author>	</entry>

	</feed>