<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.thedarkmod.com/index.php?action=history&amp;feed=atom&amp;title=Custom_Scripts</id>
	<title>Custom Scripts - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.thedarkmod.com/index.php?action=history&amp;feed=atom&amp;title=Custom_Scripts"/>
	<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Custom_Scripts&amp;action=history"/>
	<updated>2026-05-03T07:55:34Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Custom_Scripts&amp;diff=13373&amp;oldid=prev</id>
		<title>Greebo: New page: In TDM there is one central .script which is loaded at game startup time: tdm_main.script. It takes care of including and parsing all important script files needed by inventory items, maps...</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Custom_Scripts&amp;diff=13373&amp;oldid=prev"/>
		<updated>2011-09-09T11:56:11Z</updated>

		<summary type="html">&lt;p&gt;New page: In TDM there is one central .script which is loaded at game startup time: tdm_main.script. It takes care of including and parsing all important script files needed by inventory items, maps...&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;In TDM there is one central .script which is loaded at game startup time: tdm_main.script. It takes care of including and parsing all important script files needed by inventory items, maps, GUIs, etc. &lt;br /&gt;
&lt;br /&gt;
It may be stressed here that &amp;#039;&amp;#039;&amp;#039;editing and including tdm_main.script itself is not an option&amp;#039;&amp;#039;&amp;#039; in any situation. Doing so will most likely cause mission breakage in the future as TDM further evolves. However, starting with TDM 1.07 it&amp;#039;s possible to add your .script files in the inclusion chain by adding a &amp;#039;&amp;#039;&amp;#039;tdm_custom_scripts.script&amp;#039;&amp;#039;&amp;#039; file to your mission PK4. This file will override the empty file with the same name  in the base TDM installation, redirecting the Doom 3 script parser to your mission script.&lt;br /&gt;
&lt;br /&gt;
Place the file in the directory script/tdm_custom_scripts.script and pack it into your mission. The contents might look like this:&lt;br /&gt;
&lt;br /&gt;
 // greebo: This is an example on how to include a .script file of yours to be loaded at game startup&lt;br /&gt;
 #include &amp;quot;script/my_custom_stuff.script&amp;quot;&lt;br /&gt;
&lt;br /&gt;
{{scripting}}&lt;/div&gt;</summary>
		<author><name>Greebo</name></author>
	</entry>
</feed>