<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.thedarkmod.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Happycheeze</id>
	<title>The DarkMod Wiki - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.thedarkmod.com/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Happycheeze"/>
	<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Special:Contributions/Happycheeze"/>
	<updated>2026-04-18T07:47:29Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.45.3</generator>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Known_System_Configurations&amp;diff=9001</id>
		<title>Known System Configurations</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Known_System_Configurations&amp;diff=9001"/>
		<updated>2009-09-22T23:21:28Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;This page should be used to collect feedback about user system and the performance or problems they have been experiencing. Be sure to mention your CPU, amount of RAM, graphics card and operating system in the specs. (Don&#039;t post unimportant things like power supply or what type of case you have.). For performance feedback, specify an average FPS you&#039;ve been getting, the video settings you&#039;re using and (important!) the FM you&#039;ve been playing. Feel free to post a free-form description of your experience. In case of display problems, the graphics driver version might be of interest.&lt;br /&gt;
&lt;br /&gt;
* greebo&lt;br /&gt;
** CPU: Intel Core 2 Duo T9400 (2.4 GHz)&lt;br /&gt;
** RAM: 4 GB&lt;br /&gt;
** GPU: nVidia 9700M GT&lt;br /&gt;
** OS: Vista x64&lt;br /&gt;
** Performance: I can run and dmap just about any map. I&#039;m usually capping at 60 FPS, the larger maps with lots of AI tickle around 30 FPS. I have my video setting at 1920x1200, no anti-aliasing, 4x anisotropy, Standard ambient and High Quality interaction shaders.&lt;br /&gt;
** DarkRadiant: no problem.&lt;br /&gt;
&lt;br /&gt;
* SneaksieDave (1)&lt;br /&gt;
** CPU: Intel Pentium 4 1.4 GHz&lt;br /&gt;
** RAM: 1 GB&lt;br /&gt;
** GPU: nVidia 6800&lt;br /&gt;
** OS: Windows XP SP1&lt;br /&gt;
** Performance: no problem running TDM missions in general, and usually decent to good framerates.  A mission like Saint Lucia gets at least 15 FPS in the worst areas, and 40 FPS in simple areas.  Running at 800x600, no AA, std ambient.  Launching (first time only) and compiling missions can take a few minutes.&lt;br /&gt;
** DarkRadiant: no problems.&lt;br /&gt;
&lt;br /&gt;
* SneaksieDave (2)&lt;br /&gt;
** CPU: Intel Pentium 4 3.0 GHz&lt;br /&gt;
** RAM: 1 GB&lt;br /&gt;
** GPU: onboard Intel 82915G/GV/910GL Express&lt;br /&gt;
** OS: Windows XP SP2&lt;br /&gt;
** Performance:  framerate is usually poor due to onboard video:  5-15 fps in most areas, higher in only simplest areas.  Running at 800x600, no AA, std ambient.&lt;br /&gt;
** DarkRadiant: no renderer mode but otherwise fine.&lt;br /&gt;
&lt;br /&gt;
* SneaksieDave (3, original configuration)&lt;br /&gt;
** CPU: Intel Core 2 Duo 2.66 GHz&lt;br /&gt;
** RAM: 2 GB&lt;br /&gt;
** GPU: onboard Intel Express chipset&lt;br /&gt;
** OS: Windows XP SP2&lt;br /&gt;
** Performance:  framerate is usually not great due to onboard video, but noticeably better than configuration 2 above:  12-20 fps in most areas, higher in simple areas.  Running at 800x600, no AA, std ambient.&lt;br /&gt;
** DarkRadiant: no renderer mode but otherwise fine.&lt;br /&gt;
&lt;br /&gt;
* SneaksieDave (4, updated configuration of 3)&lt;br /&gt;
** CPU: Intel Core 2 Duo 2.66 GHz&lt;br /&gt;
** RAM: 2 GB&lt;br /&gt;
** GPU: nVidia GeForce 7600 GT&lt;br /&gt;
** OS: Windows XP SP2&lt;br /&gt;
** Performance:  In all areas of trainer and Saint Lucia with vsync disabled, framerate tops out and stays at 60FPS.  Running at 1024x760, 2x AA, std ambient.&lt;br /&gt;
** DarkRadiant: no problems.&lt;br /&gt;
&lt;br /&gt;
* Mortem Desino (1)&lt;br /&gt;
** CPU: Intel Pentium 4 2.4 GHz&lt;br /&gt;
** RAM: 1.25 GB&lt;br /&gt;
** GPU: ATI Radeon 9600 Pro (128 Mb)&lt;br /&gt;
** OS: Windows XP Professional&lt;br /&gt;
** Performace: Running at 1440x900 No AA, No AF, std ambient, Saint Lucia hovers around 15 fps outdoors and 30-40 fps indoors. &lt;br /&gt;
***If I wanted to have Anti-Aliasing, I had to use the utility packaged with my Graphics Card, the &amp;quot;ATI Catalyst Control Center&amp;quot;, because Doom 3&#039;s 4x AA was significantly slower than ATI&#039;s 4x AA.&lt;br /&gt;
** DarkRadiant: no problems.&lt;br /&gt;
&lt;br /&gt;
*Mortem Desino (2)&lt;br /&gt;
** CPU: Intel Core 2 Duo 3.2 GHz&lt;br /&gt;
** RAM: 4.0 GB&lt;br /&gt;
** GPU: ATI Radeon 4850 HD (1 GB model)&lt;br /&gt;
** OS: Windows XP Professional&lt;br /&gt;
** Performance: Running at 1920x1080, 8x AA, 8x AF, std ambient, Saint Lucia hovers at 30 fps outdoors and 60 fps indoors. Large maps with lots of AI usually get no less than 30 fps.&lt;br /&gt;
** DarkRadiant: no problems.&lt;br /&gt;
&lt;br /&gt;
*HappyCheeze&lt;br /&gt;
**CPU:Intel Q6600 Quadcore 2.4 GHz&lt;br /&gt;
**Ram: 4.0 GB&lt;br /&gt;
**GPU: Nvidia 8800GT&lt;br /&gt;
**OS: Windows XP and Windows 7 RC&lt;br /&gt;
**Performance: Running at 1280x1024, all max except for AA. I get around 60 FPS indoor and usually 30s outdoors. For some reason, I cannot run maximum AA. It drops the FPS sharply. I am unsure as to why this is. I can run maxed out AA on other games such as TF2 and Oblivion (with clip plane low of course). If I can run source engine games maxed out, than I am confused as to why an older engine cannot be run the same way.&lt;br /&gt;
**DarkRadiant: No problems. I use two monitors. Really helps.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Category:Troubleshooting]]&lt;br /&gt;
[[Category:Gameplay]]&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=7647</id>
		<title>Objectives Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=7647"/>
		<updated>2009-01-23T16:13:23Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: /* Tutorial */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;Written by HappyCheeze and Fidcal&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to win the level. The opposite is also true, the author can set restrictions that the player must adhere to, or will fail the mission.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Adding Objectives Entities==&lt;br /&gt;
To access the objectives editor once inside Darkradiant, click the pull-down menu Map&amp;gt;Objectives... &lt;br /&gt;
[[Image:Objmenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upon clicking you will see a separate window that looks like this. &lt;br /&gt;
[[Image:Objedblank.png|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
To start things off, click the &lt;br /&gt;
[[Image:%2Badd.png]]Button&lt;br /&gt;
&lt;br /&gt;
[[Image:Msnobjadd.png]]&lt;br /&gt;
&lt;br /&gt;
This will create an Entity that stores all of the objectives information that will you be editing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;ve spawned our objectives entity,&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Objentity.png]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Notice the numbers in the “[]”&#039;s. Those are the entities&#039; coordinates on the map. These numbers will most likely be different from yours.  When the objectives entity spawns it is placed randomly around the origin (As of 0.9.7 this is how it is, it might change in future versions, but for now this is how it is).&lt;br /&gt;
&lt;br /&gt;
 *Note:Be mindful that sometimes this entity will spawn outside your map and into the void. This will cause a leak, so look around the origin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Adding Objectives==&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re ready to start adding some objectives.&lt;br /&gt;
&lt;br /&gt;
Click the second [[Image:%2Badd.png]] Button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Newobj1.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
Under Objectives you&#039;ll notice there&#039;s a new Objective. You can add more as needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Editing Objectives==&lt;br /&gt;
&lt;br /&gt;
Click an objective in the list than click [[Image:Edit.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will bring up this window.&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Editobj.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re editing our first objective. It may seem a little confusing at a first glance but a lot of it is self explanitory and a little practice will take you a long way.&lt;br /&gt;
&lt;br /&gt;
So what do all these various lines and checkboxes do? &lt;br /&gt;
They effect the objective components at the bottom.&lt;br /&gt;
&lt;br /&gt;
What do they all mean?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;: This what the player will read in the objectives menu. For example: “Steal the scepter”, “Don&#039;t kill any guards”, “Get back to where you entered the warehouse”. Its explaining what you want to player read so he/she knows what to do. A good rule to follow is to make them short and to the point.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Difficulty&#039;&#039;&#039;:These refer to Easy/Medium/Hard difficulty levels. If the author wishes, they can be different for each difficulty. For example: on Hard difficulty the player will have to avoid being seen. On Easy the player will only have to steal 200 gold at the minimum. All Levels means that the objectives that are checked under this will be there regardless of difficulty. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Initial State&#039;&#039;&#039;:This is the condition of the objective at mission start. There are four options. Complete, Incomplete, Invalid, Failed. Typically the objective will be incomplete and the player has to complete it in-game to fulfil the objective.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flags&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Mandatory&#039;&#039; means the objective in question is necessary to complete the game. If it is unchecked than the objective will be optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ongoing&#039;&#039; means that the objective won&#039;t show completion until the end of the mission. Use this with do NOT type objectives, eg, do NOT kill.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039; means that once the objective is done it will not UNcheck even if logically in the game it becomes no longer true. Example: get a special object. If the player later drops it normally the objective will then UNcheck because the player no longer has got it. But sometimes you don&#039;t want it to reverse. Example: get magic skull. New objective: throw it in magic pool. Player no longer has &#039;got&#039; the skull so normally it would then UNcheck the objective. Make it irreversible and it won&#039;t. Another example is to go to a location. If the player then leaves it would UNcheck so make it irreversible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Visible&#039;&#039; means that objective will be visible in the objectives menu ingame. If unchecked than there will be no objective shown. (The objective will still work, it just won&#039;t show up in the menu).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enabling Objectives:&#039;&#039;&#039;&lt;br /&gt;
These are other objectives that must be completed before this objective can be done. Example: &#039;&#039;&amp;quot;When you have completed your main objectives, escape from the castle.&amp;quot;&#039;&#039; So, those main objectives would be the enabling objectives and if the player escapes the castle without doing them first then the escape objective does not check off either.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Logic Success:&#039;&#039;&#039;&lt;br /&gt;
These are only needed if you have more than one type component. For example, if you can escape the castle by either of two routes this would be an objective with two go to &#039;&#039;location&#039;&#039; components. These components would be numbered 1 and 2 so the logic success would be 1 OR 2 since either would work. If however you wanted say the player to escape the castle via a special corridor then the player has to go to both corridor location and exit castle location so that would be logic success 1 AND 2. Those components need not necessarily be the same type - the player might be required to pull a lever AND escape for example (even though he could escape without pulling the lever but you don&#039;t want him to.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Scripts&#039;&#039;&#039;: Under Construction&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components&#039;&#039;&#039;: These are the type of objective you want, eg, steal, kill - or rather &#039;types&#039; because each objective can have more than one (eg, go to exit A or go to exit B or it could be go to exit A AND go to exit B! - see logic success) These type components are used by the editor to specify what objectives need to be done. The map author can choose from a variety of options under &#039;&#039;&#039;Type&#039;&#039;&#039; with varying degrees of specification. For example: Knocking out an AI named &amp;quot;Roy&amp;quot;. Not being seen by the ANY enemy. (less examples, should cover this in the coming up tutorial.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components Flags&#039;&#039;&#039;:Components have their own special flags as well. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Satisfied at Start&#039;&#039;:For some objectives it makes sense to have them done at start. For example: Not killing anyone.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039;:One the objective has reached a certain state, it will stay that way and not change. (more elaboration, an example?)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boolean NOT&#039;&#039;:Adds &amp;quot;NOT&amp;quot; to your component so the player has to do the opposite of said objective. For example: Do NOT kill any AI on team 2.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Player Responsible&#039;&#039;:The player MUST follow through with the objective himself. For example:The player must kill the zombie to complete the objective, instead of letting something else take care of it.&lt;br /&gt;
&lt;br /&gt;
Now it might seem a bit crazy trying to take all of this in at once, so lets start with something easy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
&lt;br /&gt;
 *Note:This tutorial is assuming you&#039;ve learned the basics for using Darkradiant.&lt;br /&gt;
&lt;br /&gt;
You should already be in Darkradiant. Start a new map if you&#039;re in an existing one. &lt;br /&gt;
&lt;br /&gt;
We&#039;ll start with the basic cube room. Nothing fancy, just make a room, stick in a player start, a light and plaster on some textures.&lt;br /&gt;
[[Image:cube.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
For this tutorial, our player is going to have to knock out a guard and steal a trophy.&lt;br /&gt;
&lt;br /&gt;
So lets start with adding the AI, I chose atdm:ai_citywatch. Select him, go into the entity editor (&amp;quot;N&amp;quot;) and change his NAME to &amp;quot;Roy&amp;quot; (without quotes).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now its time to open up our objectives editor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Objmenu.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Now as you just learned, click add, click the target_tdm_addobjectives_1 and click add again.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;Edit Objective&#039;&#039; window should be open now. Clear the text under &#039;&#039;&#039;Description&#039;&#039;&#039; and type in &amp;quot;Knock out the guard&amp;quot;. Set the initial state to &#039;Complete&#039;. Check the &#039;&#039;&#039;Mandatory&#039;&#039;&#039; and &#039;&#039;&#039;Visible&#039;&#039;&#039; flags.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Time for a new step, click the [[Image:%2Badd.png]] button under &#039;&#039;&#039;Components&#039;&#039;&#039; and the word &amp;quot;Kill&amp;quot; should appear. Select it and you will see some more options. Under &#039;&#039;&#039;Type&#039;&#039;&#039; select &amp;quot;AI is knocked out&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
under &#039;&#039;&#039;Knockout target:&#039;&#039;&#039; select &amp;quot;Name of single entity&amp;quot; and type in the box to the right of it, &amp;quot;roy&amp;quot; (without quotes). Set amount to 1.&lt;br /&gt;
&lt;br /&gt;
Now compare your screen to this, it should be the same.&lt;br /&gt;
[[Image:Editprogress.png|left|]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
If all looks good than click OK.&lt;br /&gt;
&lt;br /&gt;
Its always a good idea to test things to make sure everything is running right. So save your map, get into TDM and load your map.&lt;br /&gt;
&lt;br /&gt;
First, hit ESC and click &#039;&#039;Objectives&#039;&#039;. You should see your objective onscreen.&lt;br /&gt;
[[Image:Onjyes.png]]&lt;br /&gt;
 *NOTE:If you don&#039;t see it on screen, you probably forgot to check the &#039;&#039;&#039;Visible&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
Now its time to test your objective. Exit out of the objectives menu and launch a gas arrow or use the blackjack on poor Roy. When he goes down you should see the words &amp;quot;Objective Complete&amp;quot; appear onscreen and since thats the only objective we&#039;ve added so far you&#039;ll win the mission.&lt;br /&gt;
 *NOTE:If you don&#039;t win nor see the on screen message, go back and try to figure what you did wrong.&lt;br /&gt;
&lt;br /&gt;
If all is well than its time to move on. Exit TDM and go back into Darkradiant. &lt;br /&gt;
&lt;br /&gt;
Now it is time to add the trophy. In your map add a trophy somewhere, I used the entity loot&amp;gt;atdm:loot_trophy_old&lt;br /&gt;
change its name to &amp;quot;trophy&amp;quot; and go back into objectives editor.&lt;br /&gt;
&lt;br /&gt;
Add another objective and edit it. &lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039; should be &#039;&#039;Steal the Trophy&#039;&#039;. State is &#039;&#039;Complete&#039;&#039;, &#039;&#039;&#039;Flags&#039;&#039;&#039; should be &#039;&#039;Mandatory&#039;&#039; and &#039;&#039;Visible&#039;&#039;. Click ADD and select &#039;&#039;&#039;Player possesses item&#039;&#039;. Change &#039;&#039;&#039;Item:&#039;&#039;&#039; to &#039;&#039;Name of single entity&#039;&#039; and type in the box to right, &amp;quot;trophy&amp;quot;. Change the amount to &amp;quot;1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Your objective should look like this.&lt;br /&gt;
[[Image:Trophyedit.PNG|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Since this is a tutorial this map is very small and very basic so we are tossing all pre-thought and planning for the objectives out the window. As maps get bigger, more elaborate, complex, so too will the objectives be to suit the level. You might want to the trophy in a vault. Maybe the guards will be patrolling. &lt;br /&gt;
&lt;br /&gt;
Save your map and load it up in TDM. Look at the objectives menu to see if the fresh addition is there. And than take it and see if it completes the objective.&lt;br /&gt;
&lt;br /&gt;
Congratulations!&lt;br /&gt;
&lt;br /&gt;
You now have a basic understanding of how the objectives editor works. For more advanced work, look for more tutorials in the future or go on the forums.&lt;br /&gt;
&lt;br /&gt;
== FAQs &amp;amp; Examples ==&lt;br /&gt;
&lt;br /&gt;
===KO objective but AI already dead!===&lt;br /&gt;
&lt;br /&gt;
;*If I kill the guard I don&#039;t fail the mission, but I can&#039;t complete it either.&lt;br /&gt;
:Answer: I&#039;ll quote Ishtvan for this one. &lt;br /&gt;
:&#039;&#039;&amp;quot;The system is not smart enough to know automatically that someone who&#039;s killed can&#039;t be KO&#039;d later, so if you want it to fail when they&#039;re killed, you have to put that in specifically. Note that this doesn&#039;t have to be a whole &#039;nother objective, it can be a component of the KO objective, so you have two components, KO them, and don&#039;t kill them. We could potentially make this automatic later on, but that&#039;s the way it is right now.&amp;quot;&#039;&#039;&lt;br /&gt;
:Until this is fixed, I&#039;d recommend making a knockout objective optional, unless you want to put in the kill component.&lt;br /&gt;
&lt;br /&gt;
===Kill objective thwarted by another AI===&lt;br /&gt;
&lt;br /&gt;
;*I put a monster in my map and he killed the guard, yet I still passed/failed the objective.&lt;br /&gt;
: Answer: Check the &#039;&#039;&#039;Player Responsible&#039;&#039;&#039; Flag, this means that the player MUST do it himself in order to get credit.&lt;br /&gt;
&lt;br /&gt;
===Leak caused by Objectives Entity===&lt;br /&gt;
&lt;br /&gt;
;*Help! My objectives entity is outside the map and I have a leak! I can&#039;t find it! I even used the pointfile!! help!!!!&lt;br /&gt;
: Answer: The objectives entity is a very small, yellow cube that is spawned around the origin. Its about the size of a light entity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to directly trigger an objective or component to complete===&lt;br /&gt;
If the actions that the player has to do in a mission are not directly covered by the normal objectives properties, for example, the player must open a door, then objectives can be triggered to complete by any target entity.&lt;br /&gt;
&lt;br /&gt;
In the objectives editor, to your objective add a component type : custom script. (this might just say &#039;custom&#039; or similar.) The objective now just awaits some external trigger or script in the game to set it complete. To do this with a trigger...&lt;br /&gt;
&lt;br /&gt;
* Create a new entity : &#039;&#039;target_tdm_setobjectivestate&#039;&#039;&lt;br /&gt;
* Give it the properties/values...&amp;lt;br&amp;gt;obj_idN O &amp;lt;br&amp;gt;... where O is the objective number and N is simply the obj_id number if you want several on the same entity. Just use obj_id1 if you only want one.&amp;lt;br&amp;gt; obj_state 1&lt;br /&gt;
&lt;br /&gt;
You must then target that from some triggering entity like a button, lever, door (see [[Doors]]) or you can trigger it from stims &amp;amp; responses or from a custom script.&lt;br /&gt;
&lt;br /&gt;
In a similar way, you can trigger individual components using entity target_tdm_setobjective_component_state. In this give it the properties/values...&lt;br /&gt;
&lt;br /&gt;
* Create a new entity : target_tdm_setobjective_component_state&lt;br /&gt;
* Give it the properties/values...&amp;lt;br&amp;gt;comp_idN C&amp;lt;br&amp;gt;... where N is just this ID number and C is the component number.&amp;lt;br&amp;gt;obj_state 1&lt;br /&gt;
&lt;br /&gt;
Again, trigger that as above.&lt;br /&gt;
&lt;br /&gt;
===How to make my invisible objective become visible to the player later===&lt;br /&gt;
&lt;br /&gt;
To make an invisible objective visible later....&lt;br /&gt;
&lt;br /&gt;
* Create a new entity : &#039;&#039;target_tdm_setobjective_visibility&#039;&#039;&lt;br /&gt;
* Give it the properties/values...&amp;lt;br&amp;gt;obj_idN O &amp;lt;br&amp;gt;... where O is the objective number and N is simply the obj_id number if you want several on the same entity. Just use obj_id1 if you only want one.&lt;br /&gt;
&lt;br /&gt;
You must then target that from some triggering entity like a button, lever, door (see [[Doors]]) or you can trigger it from stims &amp;amp; responses or from a custom script. It will by default then become visible. You can do it the other way round and make an objective become invisible (remember it is still active by default. by changing the spawnarg value 1 to...&lt;br /&gt;
&lt;br /&gt;
obj_visibility 0&lt;br /&gt;
&lt;br /&gt;
===Completing Objective Components in a Certain Order===&lt;br /&gt;
&lt;br /&gt;
Suppose you want the player to complete two or more parts of an objective but in a certain order. Example : &amp;quot;Close the office door then open the safe.&amp;quot; In that example you want the player to close the door first not just do both in any order. If you just make the two components they default to a Success Logic of 1 AND 2 which means the player must do both to complete the objective but it does not matter which order. So if the player opens the safe and then closes the office door then the objective will check off - perhaps not what you want. This is how to do it if you want to force the order in which the player does the components...&lt;br /&gt;
&lt;br /&gt;
There are two possible outcomes :&lt;br /&gt;
&lt;br /&gt;
If you want the mission to &#039;&#039;&#039;fail&#039;&#039;&#039; set the failure logic for that objective to&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOT(1) AND 2&#039;&#039;, i.e., door is open AND safe is open.&lt;br /&gt;
&lt;br /&gt;
But if you just want the objective to not complete (so the player can try again)...&lt;br /&gt;
&lt;br /&gt;
Make &#039;&#039;&#039;two&#039;&#039;&#039; objectives, both using the door and safe components - the first is invisible but still active:&lt;br /&gt;
&lt;br /&gt;
# Objective 1: success logic: Door closed, safe not open = 1 AND NOT(2)&lt;br /&gt;
# Objective 2: success logic: Door closed, safe open = 1 AND 2&amp;lt;br&amp;gt;(Objective 2 enabling objectives = 1)&lt;br /&gt;
&lt;br /&gt;
===Technical info===&lt;br /&gt;
&lt;br /&gt;
;*I have some other questions about objectives&lt;br /&gt;
: Answer:This article talks about more specific, more technical and advanced work. [[Objectives]]&lt;br /&gt;
&lt;br /&gt;
{{tutorial-editing}} {{darkradiant}}&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=7646</id>
		<title>Objectives Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=7646"/>
		<updated>2009-01-23T16:11:10Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: /* Editing Objectives */&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;Written by HappyCheeze and Fidcal&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to win the level. The opposite is also true, the author can set restrictions that the player must adhere to, or will fail the mission.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Adding Objectives Entities==&lt;br /&gt;
To access the objectives editor once inside Darkradiant, click the pull-down menu Map&amp;gt;Objectives... &lt;br /&gt;
[[Image:Objmenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upon clicking you will see a separate window that looks like this. &lt;br /&gt;
[[Image:Objedblank.png|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
To start things off, click the &lt;br /&gt;
[[Image:%2Badd.png]]Button&lt;br /&gt;
&lt;br /&gt;
[[Image:Msnobjadd.png]]&lt;br /&gt;
&lt;br /&gt;
This will create an Entity that stores all of the objectives information that will you be editing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;ve spawned our objectives entity,&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Objentity.png]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Notice the numbers in the “[]”&#039;s. Those are the entities&#039; coordinates on the map. These numbers will most likely be different from yours.  When the objectives entity spawns it is placed randomly around the origin (As of 0.9.7 this is how it is, it might change in future versions, but for now this is how it is).&lt;br /&gt;
&lt;br /&gt;
 *Note:Be mindful that sometimes this entity will spawn outside your map and into the void. This will cause a leak, so look around the origin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Adding Objectives==&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re ready to start adding some objectives.&lt;br /&gt;
&lt;br /&gt;
Click the second [[Image:%2Badd.png]] Button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Newobj1.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
Under Objectives you&#039;ll notice there&#039;s a new Objective. You can add more as needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Editing Objectives==&lt;br /&gt;
&lt;br /&gt;
Click an objective in the list than click [[Image:Edit.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will bring up this window.&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Editobj.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re editing our first objective. It may seem a little confusing at a first glance but a lot of it is self explanitory and a little practice will take you a long way.&lt;br /&gt;
&lt;br /&gt;
So what do all these various lines and checkboxes do? &lt;br /&gt;
They effect the objective components at the bottom.&lt;br /&gt;
&lt;br /&gt;
What do they all mean?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;: This what the player will read in the objectives menu. For example: “Steal the scepter”, “Don&#039;t kill any guards”, “Get back to where you entered the warehouse”. Its explaining what you want to player read so he/she knows what to do. A good rule to follow is to make them short and to the point.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Difficulty&#039;&#039;&#039;:These refer to Easy/Medium/Hard difficulty levels. If the author wishes, they can be different for each difficulty. For example: on Hard difficulty the player will have to avoid being seen. On Easy the player will only have to steal 200 gold at the minimum. All Levels means that the objectives that are checked under this will be there regardless of difficulty. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Initial State&#039;&#039;&#039;:This is the condition of the objective at mission start. There are four options. Complete, Incomplete, Invalid, Failed. Typically the objective will be incomplete and the player has to complete it in-game to fulfil the objective.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flags&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Mandatory&#039;&#039; means the objective in question is necessary to complete the game. If it is unchecked than the objective will be optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ongoing&#039;&#039; means that the objective won&#039;t show completion until the end of the mission. Use this with do NOT type objectives, eg, do NOT kill.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039; means that once the objective is done it will not UNcheck even if logically in the game it becomes no longer true. Example: get a special object. If the player later drops it normally the objective will then UNcheck because the player no longer has got it. But sometimes you don&#039;t want it to reverse. Example: get magic skull. New objective: throw it in magic pool. Player no longer has &#039;got&#039; the skull so normally it would then UNcheck the objective. Make it irreversible and it won&#039;t. Another example is to go to a location. If the player then leaves it would UNcheck so make it irreversible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Visible&#039;&#039; means that objective will be visible in the objectives menu ingame. If unchecked than there will be no objective shown. (The objective will still work, it just won&#039;t show up in the menu).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enabling Objectives:&#039;&#039;&#039;&lt;br /&gt;
These are other objectives that must be completed before this objective can be done. Example: &#039;&#039;&amp;quot;When you have completed your main objectives, escape from the castle.&amp;quot;&#039;&#039; So, those main objectives would be the enabling objectives and if the player escapes the castle without doing them first then the escape objective does not check off either.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Logic Success:&#039;&#039;&#039;&lt;br /&gt;
These are only needed if you have more than one type component. For example, if you can escape the castle by either of two routes this would be an objective with two go to &#039;&#039;location&#039;&#039; components. These components would be numbered 1 and 2 so the logic success would be 1 OR 2 since either would work. If however you wanted say the player to escape the castle via a special corridor then the player has to go to both corridor location and exit castle location so that would be logic success 1 AND 2. Those components need not necessarily be the same type - the player might be required to pull a lever AND escape for example (even though he could escape without pulling the lever but you don&#039;t want him to.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Scripts&#039;&#039;&#039;: Under Construction&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components&#039;&#039;&#039;: These are the type of objective you want, eg, steal, kill - or rather &#039;types&#039; because each objective can have more than one (eg, go to exit A or go to exit B or it could be go to exit A AND go to exit B! - see logic success) These type components are used by the editor to specify what objectives need to be done. The map author can choose from a variety of options under &#039;&#039;&#039;Type&#039;&#039;&#039; with varying degrees of specification. For example: Knocking out an AI named &amp;quot;Roy&amp;quot;. Not being seen by the ANY enemy. (less examples, should cover this in the coming up tutorial.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components Flags&#039;&#039;&#039;:Components have their own special flags as well. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Satisfied at Start&#039;&#039;:For some objectives it makes sense to have them done at start. For example: Not killing anyone.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039;:One the objective has reached a certain state, it will stay that way and not change. (more elaboration, an example?)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boolean NOT&#039;&#039;:Adds &amp;quot;NOT&amp;quot; to your component so the player has to do the opposite of said objective. For example: Do NOT kill any AI on team 2.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Player Responsible&#039;&#039;:The player MUST follow through with the objective himself. For example:The player must kill the zombie to complete the objective, instead of letting something else take care of it.&lt;br /&gt;
&lt;br /&gt;
Now it might seem a bit crazy trying to take all of this in at once, so lets start with something easy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
&lt;br /&gt;
 *Note:This tutorial is assuming you&#039;ve learned the basics for using Darkradiant.&lt;br /&gt;
&lt;br /&gt;
You should already be in Darkradiant. Start a new map if you&#039;re in an existing one. &lt;br /&gt;
&lt;br /&gt;
We&#039;ll start with the basic cube room. Nothing fancy, just make a room, stick in a player start, a light and plaster on some textures.&lt;br /&gt;
[[Image:cube.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
For this tutorial, our player is going to have to knock out a guard and steal a trophy.&lt;br /&gt;
&lt;br /&gt;
So lets start with adding the AI, I chose atdm:ai_citywatch. Select him, go into the entity editor (&amp;quot;N&amp;quot;) and change his NAME to &amp;quot;Roy&amp;quot; (without quotes).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now its time to open up our objectives editor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Objmenu.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Now as you just learned, click add, click the target_tdm_addobjectives_1 and click add again.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;Edit Objective&#039;&#039; window should be open now. Clear the text under &#039;&#039;&#039;Description&#039;&#039;&#039; and type in &amp;quot;Knock out the guard&amp;quot;. Set the initial state to &#039;Complete&#039;. Check the &#039;&#039;&#039;Mandatory&#039;&#039;&#039; and &#039;&#039;&#039;Visible&#039;&#039;&#039; flags.&lt;br /&gt;
&lt;br /&gt;
 *Note: Although Initial state refers to the state the objective is at start, it is reversed right now and in the&lt;br /&gt;
 process of being fixed. So for now, you have to set the state to what you want the outcome to  be. 9/6&lt;br /&gt;
&lt;br /&gt;
Time for a new step, click the [[Image:%2Badd.png]] button under &#039;&#039;&#039;Components&#039;&#039;&#039; and the word &amp;quot;Kill&amp;quot; should appear. Select it and you will see some more options. Under &#039;&#039;&#039;Type&#039;&#039;&#039; select &amp;quot;AI is knocked out&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
under &#039;&#039;&#039;Knockout target:&#039;&#039;&#039; select &amp;quot;Name of single entity&amp;quot; and type in the box to the right of it, &amp;quot;roy&amp;quot; (without quotes). Set amount to 1.&lt;br /&gt;
&lt;br /&gt;
Now compare your screen to this, it should be the same.&lt;br /&gt;
[[Image:Editprogress.png|left|]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
If all looks good than click OK.&lt;br /&gt;
&lt;br /&gt;
Its always a good idea to test things to make sure everything is running right. So save your map, get into TDM and load your map.&lt;br /&gt;
&lt;br /&gt;
First, hit ESC and click &#039;&#039;Objectives&#039;&#039;. You should see your objective onscreen.&lt;br /&gt;
[[Image:Onjyes.png]]&lt;br /&gt;
 *NOTE:If you don&#039;t see it on screen, you probably forgot to check the &#039;&#039;&#039;Visible&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
Now its time to test your objective. Exit out of the objectives menu and launch a gas arrow or use the blackjack on poor Roy. When he goes down you should see the words &amp;quot;Objective Complete&amp;quot; appear onscreen and since thats the only objective we&#039;ve added so far you&#039;ll win the mission.&lt;br /&gt;
 *NOTE:If you don&#039;t win nor see the on screen message, go back and try to figure what you did wrong.&lt;br /&gt;
&lt;br /&gt;
If all is well than its time to move on. Exit TDM and go back into Darkradiant. &lt;br /&gt;
&lt;br /&gt;
Now it is time to add the trophy. In your map add a trophy somewhere, I used the entity loot&amp;gt;atdm:loot_trophy_old&lt;br /&gt;
change its name to &amp;quot;trophy&amp;quot; and go back into objectives editor.&lt;br /&gt;
&lt;br /&gt;
Add another objective and edit it. &lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039; should be &#039;&#039;Steal the Trophy&#039;&#039;. State is &#039;&#039;Complete&#039;&#039;, &#039;&#039;&#039;Flags&#039;&#039;&#039; should be &#039;&#039;Mandatory&#039;&#039; and &#039;&#039;Visible&#039;&#039;. Click ADD and select &#039;&#039;&#039;Player possesses item&#039;&#039;. Change &#039;&#039;&#039;Item:&#039;&#039;&#039; to &#039;&#039;Name of single entity&#039;&#039; and type in the box to right, &amp;quot;trophy&amp;quot;. Change the amount to &amp;quot;1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Your objective should look like this.&lt;br /&gt;
[[Image:Trophyedit.PNG|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Since this is a tutorial this map is very small and very basic so we are tossing all pre-thought and planning for the objectives out the window. As maps get bigger, more elaborate, complex, so too will the objectives be to suit the level. You might want to the trophy in a vault. Maybe the guards will be patrolling. &lt;br /&gt;
&lt;br /&gt;
Save your map and load it up in TDM. Look at the objectives menu to see if the fresh addition is there. And than take it and see if it completes the objective.&lt;br /&gt;
&lt;br /&gt;
Congratulations!&lt;br /&gt;
&lt;br /&gt;
You now have a basic understanding of how the objectives editor works. For more advanced work, look for more tutorials in the future or go on the forums.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FAQs &amp;amp; Examples ==&lt;br /&gt;
&lt;br /&gt;
===KO objective but AI already dead!===&lt;br /&gt;
&lt;br /&gt;
;*If I kill the guard I don&#039;t fail the mission, but I can&#039;t complete it either.&lt;br /&gt;
:Answer: I&#039;ll quote Ishtvan for this one. &lt;br /&gt;
:&#039;&#039;&amp;quot;The system is not smart enough to know automatically that someone who&#039;s killed can&#039;t be KO&#039;d later, so if you want it to fail when they&#039;re killed, you have to put that in specifically. Note that this doesn&#039;t have to be a whole &#039;nother objective, it can be a component of the KO objective, so you have two components, KO them, and don&#039;t kill them. We could potentially make this automatic later on, but that&#039;s the way it is right now.&amp;quot;&#039;&#039;&lt;br /&gt;
:Until this is fixed, I&#039;d recommend making a knockout objective optional, unless you want to put in the kill component.&lt;br /&gt;
&lt;br /&gt;
===Kill objective thwarted by another AI===&lt;br /&gt;
&lt;br /&gt;
;*I put a monster in my map and he killed the guard, yet I still passed/failed the objective.&lt;br /&gt;
: Answer: Check the &#039;&#039;&#039;Player Responsible&#039;&#039;&#039; Flag, this means that the player MUST do it himself in order to get credit.&lt;br /&gt;
&lt;br /&gt;
===Leak caused by Objectives Entity===&lt;br /&gt;
&lt;br /&gt;
;*Help! My objectives entity is outside the map and I have a leak! I can&#039;t find it! I even used the pointfile!! help!!!!&lt;br /&gt;
: Answer: The objectives entity is a very small, yellow cube that is spawned around the origin. Its about the size of a light entity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to directly trigger an objective or component to complete===&lt;br /&gt;
If the actions that the player has to do in a mission are not directly covered by the normal objectives properties, for example, the player must open a door, then objectives can be triggered to complete by any target entity.&lt;br /&gt;
&lt;br /&gt;
In the objectives editor, to your objective add a component type : custom script. (this might just say &#039;custom&#039; or similar.) The objective now just awaits some external trigger or script in the game to set it complete. To do this with a trigger...&lt;br /&gt;
&lt;br /&gt;
* Create a new entity : &#039;&#039;target_tdm_setobjectivestate&#039;&#039;&lt;br /&gt;
* Give it the properties/values...&amp;lt;br&amp;gt;obj_idN O &amp;lt;br&amp;gt;... where O is the objective number and N is simply the obj_id number if you want several on the same entity. Just use obj_id1 if you only want one.&amp;lt;br&amp;gt; obj_state 1&lt;br /&gt;
&lt;br /&gt;
You must then target that from some triggering entity like a button, lever, door (see [[Doors]]) or you can trigger it from stims &amp;amp; responses or from a custom script.&lt;br /&gt;
&lt;br /&gt;
In a similar way, you can trigger individual components using entity target_tdm_setobjective_component_state. In this give it the properties/values...&lt;br /&gt;
&lt;br /&gt;
* Create a new entity : target_tdm_setobjective_component_state&lt;br /&gt;
* Give it the properties/values...&amp;lt;br&amp;gt;comp_idN C&amp;lt;br&amp;gt;... where N is just this ID number and C is the component number.&amp;lt;br&amp;gt;obj_state 1&lt;br /&gt;
&lt;br /&gt;
Again, trigger that as above.&lt;br /&gt;
&lt;br /&gt;
===How to make my invisible objective become visible to the player later===&lt;br /&gt;
&lt;br /&gt;
To make an invisible objective visible later....&lt;br /&gt;
&lt;br /&gt;
* Create a new entity : &#039;&#039;target_tdm_setobjective_visibility&#039;&#039;&lt;br /&gt;
* Give it the properties/values...&amp;lt;br&amp;gt;obj_idN O &amp;lt;br&amp;gt;... where O is the objective number and N is simply the obj_id number if you want several on the same entity. Just use obj_id1 if you only want one.&lt;br /&gt;
&lt;br /&gt;
You must then target that from some triggering entity like a button, lever, door (see [[Doors]]) or you can trigger it from stims &amp;amp; responses or from a custom script. It will by default then become visible. You can do it the other way round and make an objective become invisible (remember it is still active by default. by changing the spawnarg value 1 to...&lt;br /&gt;
&lt;br /&gt;
obj_visibility 0&lt;br /&gt;
&lt;br /&gt;
===Completing Objective Components in a Certain Order===&lt;br /&gt;
&lt;br /&gt;
Suppose you want the player to complete two or more parts of an objective but in a certain order. Example : &amp;quot;Close the office door then open the safe.&amp;quot; In that example you want the player to close the door first not just do both in any order. If you just make the two components they default to a Success Logic of 1 AND 2 which means the player must do both to complete the objective but it does not matter which order. So if the player opens the safe and then closes the office door then the objective will check off - perhaps not what you want. This is how to do it if you want to force the order in which the player does the components...&lt;br /&gt;
&lt;br /&gt;
There are two possible outcomes :&lt;br /&gt;
&lt;br /&gt;
If you want the mission to &#039;&#039;&#039;fail&#039;&#039;&#039; set the failure logic for that objective to&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOT(1) AND 2&#039;&#039;, i.e., door is open AND safe is open.&lt;br /&gt;
&lt;br /&gt;
But if you just want the objective to not complete (so the player can try again)...&lt;br /&gt;
&lt;br /&gt;
Make &#039;&#039;&#039;two&#039;&#039;&#039; objectives, both using the door and safe components - the first is invisible but still active:&lt;br /&gt;
&lt;br /&gt;
# Objective 1: success logic: Door closed, safe not open = 1 AND NOT(2)&lt;br /&gt;
# Objective 2: success logic: Door closed, safe open = 1 AND 2&amp;lt;br&amp;gt;(Objective 2 enabling objectives = 1)&lt;br /&gt;
&lt;br /&gt;
===Technical info===&lt;br /&gt;
&lt;br /&gt;
;*I have some other questions about objectives&lt;br /&gt;
: Answer:This article talks about more specific, more technical and advanced work. [[Objectives]]&lt;br /&gt;
&lt;br /&gt;
{{tutorial-editing}} {{darkradiant}}&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Larry.JPG&amp;diff=7305</id>
		<title>File:Larry.JPG</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Larry.JPG&amp;diff=7305"/>
		<updated>2008-11-01T23:57:34Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Flamer.JPG&amp;diff=7304</id>
		<title>File:Flamer.JPG</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Flamer.JPG&amp;diff=7304"/>
		<updated>2008-11-01T23:23:55Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Gassy.JPG&amp;diff=7303</id>
		<title>File:Gassy.JPG</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Gassy.JPG&amp;diff=7303"/>
		<updated>2008-11-01T22:51:12Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Gassy2.JPG&amp;diff=7302</id>
		<title>File:Gassy2.JPG</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Gassy2.JPG&amp;diff=7302"/>
		<updated>2008-11-01T22:50:58Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Gasarrow.JPG&amp;diff=7301</id>
		<title>File:Gasarrow.JPG</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Gasarrow.JPG&amp;diff=7301"/>
		<updated>2008-11-01T22:30:03Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6946</id>
		<title>Objectives Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6946"/>
		<updated>2008-09-11T15:26:10Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;Written by HappyCheeze and Fidcal&#039;&#039;&lt;br /&gt;
&lt;br /&gt;
==Introduction==&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to win the level. The opposite is also true, the author can set restrictions that the player must adhere to, or will fail the mission.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Adding Objectives Entities==&lt;br /&gt;
To access the objectives editor once inside Darkradiant, click the pull-down menu Map&amp;gt;Objectives... &lt;br /&gt;
[[Image:Objmenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upon clicking you will see a separate window that looks like this. &lt;br /&gt;
[[Image:Objedblank.png|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
To start things off, click the &lt;br /&gt;
[[Image:%2Badd.png]]Button&lt;br /&gt;
&lt;br /&gt;
[[Image:Msnobjadd.png]]&lt;br /&gt;
&lt;br /&gt;
This will create an Entity that stores all of the objectives information that will you be editing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;ve spawned our objectives entity,&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Objentity.png]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Notice the numbers in the “[]”&#039;s. Those are the entities&#039; coordinates on the map. These numbers will most likely be different from yours.  When the objectives entity spawns it is placed randomly around the origin (As of 0.9.7 this is how it is, it might change in future versions, but for now this is how it is).&lt;br /&gt;
&lt;br /&gt;
 *Note:Be mindful that sometimes this entity will spawn outside your map and into the void. This will cause a leak, so look around the origin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Adding Objectives==&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re ready to start adding some objectives.&lt;br /&gt;
&lt;br /&gt;
Click the second [[Image:%2Badd.png]] Button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Newobj1.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
Under Objectives you&#039;ll notice there&#039;s a new Objective. You can add more as needed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Editing Objectives==&lt;br /&gt;
&lt;br /&gt;
Click an objective in the list than click [[Image:Edit.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will bring up this window.&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Editobj.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re editing our first objective. It may seem a little confusing at a first glance but a lot of it is self explanitory and a little practice will take you a long way.&lt;br /&gt;
&lt;br /&gt;
So what do all these various lines and checkboxes do? &lt;br /&gt;
They effect the objective components at the bottom.&lt;br /&gt;
&lt;br /&gt;
What do they all mean?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;: This what the player will read in the objectives menu. For example: “Steal the scepter”, “Don&#039;t kill any guards”, “Get back to where you entered the warehouse”. Its explaining what you want to player read so he/she knows what to do. A good rule to follow is to make them short and to the point.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Difficulty&#039;&#039;&#039;:These refer to Easy/Medium/Hard difficulty levels. If the author wishes, they can be different for each difficulty. For example: on Hard difficulty the player will have to avoid being seen. On Easy the player will only have to steal 200 gold at the minimum. All Levels means that the objectives that are checked under this will be there regardless of difficulty. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Initial State&#039;&#039;&#039;:This is the condition of the objective at mission start. There are four options. Complete, Incomplete, Invalid, Failed. Typically the objective will be incomplete and the player has to complete it in-game to fulfil the objective.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flags&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Mandatory&#039;&#039; means the objective in question is necessary to complete the game. If it is unchecked than the objective will be optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ongoing&#039;&#039; means that the objective won&#039;t show completion until the end of the mission.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039; means that once the objective is done it will not UNcheck even if logically in the game it becomes no longer true. Example: get a special object. If the player later drops it normally the objective will then UNcheck because the player no longer has got it. But sometimes you don&#039;t want it to reverse. Example: get magic skull. New objective: throw it in magic pool. Player no longer has &#039;got&#039; the skull so normally it would then UNcheck the objective. Make it irreversible and it won&#039;t. Another example is to go to a location. If the player then leaves it would UNcheck so make it irreversible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Visible means&#039;&#039; that objective will be visible in the objectives menu ingame. If unchecked than there will be no objective shown. (The objective will still work, it just won&#039;t show up in the menu).&lt;br /&gt;
&lt;br /&gt;
 *Tip: The &amp;quot;Visible&amp;quot; Box isn&#039;t checked by default yet, so try to get in the habit of checking it with each objective you want visible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enabling Objectives:&#039;&#039;&#039;&lt;br /&gt;
These are other objectives that must be completed before this objective can be done. Example: &#039;&#039;&amp;quot;When you have completed your main objectives, escape from the castle.&amp;quot;&#039;&#039; So, those main objectives would be the enabling objectives and if the player escapes the castle without doing them first then the escape objective does not check off either.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Logic Success:&#039;&#039;&#039;&lt;br /&gt;
These are only needed if you have more than one type component. For example, if you can escape the castle by either of two routes this would be an objective with two go to &#039;&#039;location&#039;&#039; components. These components would be numbered 1 and 2 so the logic success would be 1 OR 2 since either would work. If however you wanted say the player to escape the castle via a special corridor then the player has to go to both corridor location and exit castle location so that would be logic success 1 AND 2. Those components need not necessarily be the same type - the player might need to pull a lever AND escape for example (even though he could escape without pulling the lever but you don&#039;t want him to.)&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Scripts&#039;&#039;&#039;: Under Construction&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
==Components==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components&#039;&#039;&#039;: These are the type of objective you want, eg, steal, kill - or rather &#039;types&#039; because each objective can have more than one (eg, go to exit A or go to exit B or it could be go to exit A AND go to exit B! - see logic success) These type components are used by the editor to specify what objectives need to be done. The map author can choose from a variety of options under &#039;&#039;&#039;Type&#039;&#039;&#039; with varying degrees of specification. For example: Knocking out an AI named &amp;quot;Roy&amp;quot;. Not being seen by the ANY enemy. (less examples, should cover this in the coming up tutorial.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components Flags&#039;&#039;&#039;:Components have their own special flags as well. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Satisfied at Start&#039;&#039;:For some objectives it makes sense to have them done at start. For example: Not killing anyone.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039;:One the objective has reached a certain state, it will stay that way and not change. (more elaboration, an example?)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boolean NOT&#039;&#039;:Adds &amp;quot;NOT&amp;quot; to your component so the player has to do the opposite of said objective. For example: Do NOT kill any AI on team 2.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Player Responsible&#039;&#039;:The player MUST follow through with the objective himself. For example:The player must kill the zombie to complete the objective, instead of letting something else take care of it.&lt;br /&gt;
&lt;br /&gt;
Now it might seem a bit crazy trying to take all of this in at once, so lets start with something easy.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
&lt;br /&gt;
 *Note:This tutorial is assuming you&#039;ve learned the basics for using Darkradiant.&lt;br /&gt;
&lt;br /&gt;
You should already be in Darkradiant. Start a new map if you&#039;re in an existing one. &lt;br /&gt;
&lt;br /&gt;
We&#039;ll start with the basic cube room. Nothing fancy, just make a room, stick in a player start, a light and plaster on some textures.&lt;br /&gt;
[[Image:cube.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
For this tutorial, our player is going to have to knock out a guard and steal a trophy.&lt;br /&gt;
&lt;br /&gt;
So lets start with adding the AI, I chose atdm:ai_citywatch. Select him, go into the entity editor (&amp;quot;N&amp;quot;) and change his NAME to &amp;quot;Roy&amp;quot; (without quotes).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now its time to open up our objectives editor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Objmenu.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Now as you just learned, click add, click the target_tdm_addobjectives_1 and click add again.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;Edit Objective&#039;&#039; window should be open now. Clear the text under &#039;&#039;&#039;Description&#039;&#039;&#039; and type in &amp;quot;Knock out the guard&amp;quot;. Set the initial state to &#039;Complete&#039;. Check the &#039;&#039;&#039;Mandatory&#039;&#039;&#039; and &#039;&#039;&#039;Visible&#039;&#039;&#039; flags.&lt;br /&gt;
&lt;br /&gt;
 *Note: Although Initial state refers to the state the objective is at start, it is reversed right now and in the&lt;br /&gt;
 process of being fixed. So for now, you have to set the state to what you want the outcome to  be. 9/6&lt;br /&gt;
&lt;br /&gt;
Time for a new step, click the [[Image:%2Badd.png]] button under &#039;&#039;&#039;Components&#039;&#039;&#039; and the word &amp;quot;Kill&amp;quot; should appear. Select it and you will see some more options. Under &#039;&#039;&#039;Type&#039;&#039;&#039; select &amp;quot;AI is knocked out&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
under &#039;&#039;&#039;Knockout target:&#039;&#039;&#039; select &amp;quot;Name of single entity&amp;quot; and type in the box to the right of it, &amp;quot;roy&amp;quot; (without quotes). Set amount to 1.&lt;br /&gt;
&lt;br /&gt;
Now compare your screen to this, it should be the same.&lt;br /&gt;
[[Image:Editprogress.png|left|]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
If all looks good than click OK.&lt;br /&gt;
&lt;br /&gt;
Its always a good idea to test things to make sure everything is running right. So save your map, get into TDM and load your map.&lt;br /&gt;
&lt;br /&gt;
First, hit ESC and click &#039;&#039;Objectives&#039;&#039;. You should see your objective onscreen.&lt;br /&gt;
[[Image:Onjyes.png]]&lt;br /&gt;
 *NOTE:If you don&#039;t see it on screen, you probably forgot to check the &#039;&#039;&#039;Visible&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
Now its time to test your objective. Exit out of the objectives menu and launch a gas arrow or use the blackjack on poor Roy. When he goes down you should see the words &amp;quot;Objective Complete&amp;quot; appear onscreen and since thats the only objective we&#039;ve added so far you&#039;ll win the mission.&lt;br /&gt;
 *NOTE:If you don&#039;t win nor see the on screen message, go back and try to figure what you did wrong.&lt;br /&gt;
&lt;br /&gt;
If all is well than its time to move on. Exit TDM and go back into Darkradiant. &lt;br /&gt;
&lt;br /&gt;
Now it is time to add the trophy. In your map add a trophy somewhere, I used the entity loot&amp;gt;atdm:loot_trophy_old&lt;br /&gt;
change its name to &amp;quot;trophy&amp;quot; and go back into objectives editor.&lt;br /&gt;
&lt;br /&gt;
Add another objective and edit it. &lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039; should be &#039;&#039;Steal the Trophy&#039;&#039;. State is &#039;&#039;Complete&#039;&#039;, &#039;&#039;&#039;Flags&#039;&#039;&#039; should be &#039;&#039;Mandatory&#039;&#039; and &#039;&#039;Visible&#039;&#039;. Click ADD and select &#039;&#039;&#039;Player possesses item&#039;&#039;. Change &#039;&#039;&#039;Item:&#039;&#039;&#039; to &#039;&#039;Name of single entity&#039;&#039; and type in the box to right, &amp;quot;trophy&amp;quot;. Change the amount to &amp;quot;1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Your objective should look like this.&lt;br /&gt;
[[Image:Trophyedit.PNG|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Since this is a tutorial this map is very small and very basic so we are tossing all pre-thought and planning for the objectives out the window. As maps get bigger, more elaborate, complex, so too will the objectives be to suit the level. You might want to the trophy in a vault. Maybe the guards will be patrolling. &lt;br /&gt;
&lt;br /&gt;
Save your map and load it up in TDM. Look at the objectives menu to see if the fresh addition is there. And than take it and see if it completes the objective.&lt;br /&gt;
&lt;br /&gt;
Congratulations!&lt;br /&gt;
&lt;br /&gt;
You now have a basic understanding of how the objectives editor works. For more advanced work, look for more tutorials in the future or go on the forums.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== FAQs &amp;amp; Examples ==&lt;br /&gt;
&lt;br /&gt;
===KO objective but AI already dead!===&lt;br /&gt;
&lt;br /&gt;
;*If I kill the guard I don&#039;t fail the mission, but I can&#039;t complete it either.&lt;br /&gt;
:Answer: I&#039;ll quote Ishtvan for this one. &lt;br /&gt;
:&#039;&#039;&amp;quot;The system is not smart enough to know automatically that someone who&#039;s killed can&#039;t be KO&#039;d later, so if you want it to fail when they&#039;re killed, you have to put that in specifically. Note that this doesn&#039;t have to be a whole &#039;nother objective, it can be a component of the KO objective, so you have two components, KO them, and don&#039;t kill them. We could potentially make this automatic later on, but that&#039;s the way it is right now.&amp;quot;&#039;&#039;&lt;br /&gt;
:Until this is fixed, I&#039;d recommend making a knockout objective optional, unless you want to put in the kill component.&lt;br /&gt;
&lt;br /&gt;
===Kill objective thwarted by another AI===&lt;br /&gt;
&lt;br /&gt;
;*I put a monster in my map and he killed the guard, yet I still passed/failed the objective.&lt;br /&gt;
: Answer: Check the &#039;&#039;&#039;Player Responsible&#039;&#039;&#039; Flag, this means that the player MUST do it himself in order to get credit.&lt;br /&gt;
&lt;br /&gt;
===Leak caused by Objectives Entity===&lt;br /&gt;
&lt;br /&gt;
;*Help! My objectives entity is outside the map and I have a leak! I can&#039;t find it! I even used the pointfile!! help!!!!&lt;br /&gt;
: Answer: The objectives entity is a very small, yellow cube that is spawned around the origin. Its about the size of a light entity.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
===How to directly trigger an objective or component to complete===&lt;br /&gt;
If the actions that the player has to do in a mission are not directly covered by the normal objectives properties, for example, the player must open a door, then objectives can be triggered to complete by any target entity.&lt;br /&gt;
&lt;br /&gt;
In the objectives editor, to your objective add a component type : custom script. (this might just say &#039;custom&#039; or similar.) The objective now just awaits some external trigger or script in the game to set it complete. To do this with a trigger...&lt;br /&gt;
&lt;br /&gt;
* Create a new entity : &#039;&#039;target_tdm_setobjectivestate&#039;&#039;&lt;br /&gt;
* Give it the properties/values...&amp;lt;br&amp;gt;obj_idN O &amp;lt;br&amp;gt;... where O is the objective number and N is simply the obj_id number if you want several on the same entity. Just use obj_id1 if you only want one.&amp;lt;br&amp;gt; obj_state 1&lt;br /&gt;
&lt;br /&gt;
You must then target that from some triggering entity like a button, lever, door (see [[Doors]]) or you can trigger it from stims &amp;amp; responses or from a custom script.&lt;br /&gt;
&lt;br /&gt;
In a similar way, you can trigger individual components using entity target_tdm_setobjective_component_state. In this give it the properties/values...&lt;br /&gt;
&lt;br /&gt;
* Create a new entity : target_tdm_setobjective_component_state&lt;br /&gt;
* Give it the properties/values...&amp;lt;br&amp;gt;comp_idN C&amp;lt;br&amp;gt;... where N is just this ID number and C is the component number.&amp;lt;br&amp;gt;obj_state 1&lt;br /&gt;
&lt;br /&gt;
Again, trigger that as above.&lt;br /&gt;
&lt;br /&gt;
===How to make my invisible objective become visible to the player later===&lt;br /&gt;
&lt;br /&gt;
To make an invisible objective visible later....&lt;br /&gt;
&lt;br /&gt;
* Create a new entity : &#039;&#039;target_tdm_setobjective_visibility&#039;&#039;&lt;br /&gt;
* Give it the properties/values...&amp;lt;br&amp;gt;obj_idN O &amp;lt;br&amp;gt;... where O is the objective number and N is simply the obj_id number if you want several on the same entity. Just use obj_id1 if you only want one.&lt;br /&gt;
&lt;br /&gt;
You must then target that from some triggering entity like a button, lever, door (see [[Doors]]) or you can trigger it from stims &amp;amp; responses or from a custom script. It will by default then become visible. You can do it the other way round and make an objective become invisible (remember it is still active by default. by changing the spawnarg value 1 to...&lt;br /&gt;
&lt;br /&gt;
obj_visibility 0&lt;br /&gt;
&lt;br /&gt;
===Completing Objective Components in a Certain Order===&lt;br /&gt;
&lt;br /&gt;
Suppose you want the player to complete two or more parts of an objective but in a certain order. Example : &amp;quot;Close the office door then open the safe.&amp;quot; In that example you want the player to close the door first not just do both in any order. If you just make the two components they default to a Success Logic of 1 AND 2 which means the player must do both to complete the objective but it does not matter which order. So if the player opens the safe and then closes the office door then the objective will check off - perhaps not what you want. This is how to do it if you want to force the order in which the player does the components...&lt;br /&gt;
&lt;br /&gt;
There are two possible outcomes :&lt;br /&gt;
&lt;br /&gt;
If you want the mission to &#039;&#039;&#039;fail&#039;&#039;&#039; set the failure logic for that objective to&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;NOT(1) AND 2&#039;&#039;, i.e., door is open AND safe is open.&lt;br /&gt;
&lt;br /&gt;
But if you just want the objective to not complete (so the player can try again)...&lt;br /&gt;
&lt;br /&gt;
Make &#039;&#039;&#039;two&#039;&#039;&#039; objectives, both using the door and safe components - the first is invisible but still active:&lt;br /&gt;
&lt;br /&gt;
# Objective 1: success logic: Door closed, safe not open = 1 AND NOT(2)&lt;br /&gt;
# Objective 2: success logic: Door closed, safe open = 1 AND 2&amp;lt;br&amp;gt;(Objective 2 enabling objectives = 1)&lt;br /&gt;
&lt;br /&gt;
===Technical info===&lt;br /&gt;
&lt;br /&gt;
;*I have some other questions about objectives&lt;br /&gt;
: Answer:This article talks about more specific, more technical and advanced work. [[Objectives]]&lt;br /&gt;
&lt;br /&gt;
{{tutorial-editing}}&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6912</id>
		<title>Objectives Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6912"/>
		<updated>2008-09-08T02:28:38Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&#039;&#039;Written by HappyCheeze&#039;&#039;&lt;br /&gt;
{{clear}}&lt;br /&gt;
The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to win the level. The opposite is also true, the author can set restrictions that the player must adhere to, or will fail the mission.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access the objectives editor once inside Darkradiant, click the pull-down menu Map&amp;gt;Objectives... &lt;br /&gt;
[[Image:Objmenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upon clicking you will see a separate window that looks like this. &lt;br /&gt;
[[Image:Objedblank.png|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
To start things off, click the &lt;br /&gt;
[[Image:%2Badd.png]]Button&lt;br /&gt;
&lt;br /&gt;
[[Image:Msnobjadd.png]]&lt;br /&gt;
&lt;br /&gt;
This will create an Entity that stores all of the objectives information that will you be editing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;ve spawned our objectives entity,&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Objentity.png]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Notice the numbers in the “[]”&#039;s. Those are the entities&#039; coordinates on the map. These numbers will most likely be different from yours.  When the objectives entity spawns it is placed randomly around the origin (As of 0.9.7 this is how it is, it might change in future versions, but for now this is how it is).&lt;br /&gt;
&lt;br /&gt;
 *Note:Be mindful that sometimes this entity will spawn outside your map and into the void. This will cause a leak, &lt;br /&gt;
 so look around the origin.&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re ready to start adding some objectives.&lt;br /&gt;
&lt;br /&gt;
Click the second [[Image:%2Badd.png]] Button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Newobj1.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
Under Objectives you&#039;ll notice theres a new Objective. &lt;br /&gt;
&lt;br /&gt;
Click it and than click [[Image:Edit.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will bring up this window.&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Editobj.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re editing our first objective. It may seem a little confusing at a first glance but a lot of it is self explanitory and a little practice will take you a long way.&lt;br /&gt;
&lt;br /&gt;
So what do all these various lines and checkboxes do? &lt;br /&gt;
They effect the objective components at the bottom.&lt;br /&gt;
&lt;br /&gt;
What do they all mean?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;: This what the player will read in the objectives menu. For example: “Steal the scepter”, “Don&#039;t kill any guards”, “Get back to where you entered the warehouse”. Its explaining what you want to player read so he/she knows what to do. A good rule to follow is to make them short and to the point.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Difficulty&#039;&#039;&#039;:These refer to Easy/Medium/Hard difficulty levels. If the author wishes, they can be different for each difficulty. For example: on Hard difficulty the player will have to avoid being seen. On Easy the player will only have to steal 200 gold at the minimum. All Levels means that the objectives that are checked under this will be there regardless of difficulty. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Initial State&#039;&#039;&#039;:This is what the objective will be right from the start. There are four options. Complete, Incomplete, Invalid, Failed. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flags&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Mandatory&#039;&#039; means the objective in question is necessary to complete the game. If it is unchecked than the objective will be optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ongoing&#039;&#039; means that the objective won&#039;t show completion until the end of the mission. Irreversible means that once the objective is done, theres no change to it (could use more elaboration). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Visible means&#039;&#039; that objective will be visible in the objectives menu ingame. If unchecked than there will be no objective shown. (The objective will still work, it just won&#039;t show up in the menu).&lt;br /&gt;
&lt;br /&gt;
 *Tip: The &amp;quot;Visible&amp;quot; Box isn&#039;t checked by default yet, so try to get in the habit of checking it with each objective you want visible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enabling Objectives, Logic and Scripts&#039;&#039;&#039;: Under Construction&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components&#039;&#039;&#039;:These are used by the editor to specify what objectives need to be done. The map author can choose from a variety of options under &#039;&#039;&#039;Type&#039;&#039;&#039; with varying degrees of specification. For example: Knocking out an AI named &amp;quot;Roy&amp;quot;. Not being seen by the ANY enemy. (less examples, should cover this in the coming up tutorial.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components Flags&#039;&#039;&#039;:Components have their own special flags as well. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Satisfied at Start&#039;&#039;:For some objectives it makes sense to have them done at start. For example: Not killing anyone.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039;:One the objective has reached a certain state, it will stay that way and not change. (more elaboration, an example?)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boolean NOT&#039;&#039;:Adds &amp;quot;NOT&amp;quot; to your component so the player has to do the opposite of said objective. For example: Do NOT kill any AI on team 2.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Player Responsible&#039;&#039;:The player MUST follow through with the objective himself. For example:The player must kill the zombie to complete the objective, instead of letting something else take care of it.&lt;br /&gt;
&lt;br /&gt;
Now it might seem a bit crazy trying to take all of this in at once, so lets start with something easy.&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
 *Note:This tutorial is assuming you&#039;ve learned the basics for using Darkradiant.&lt;br /&gt;
&lt;br /&gt;
You should already be in Darkradiant. Start a new map if you&#039;re in an existing one. &lt;br /&gt;
&lt;br /&gt;
We&#039;ll start with the basic cube room. Nothing fancy, just make a room, stick in a player start, a light and plaster on some textures.&lt;br /&gt;
[[Image:cube.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
For this tutorial, our player is going to have to knock out a guard and steal a trophy.&lt;br /&gt;
&lt;br /&gt;
So lets start with adding the AI, I chose atdm:ai_citywatch. Select him, go into the entity editor (&amp;quot;N&amp;quot;) and change his NAME to &amp;quot;Roy&amp;quot; (without quotes).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now its time to open up our objectives editor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Objmenu.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Now as you just learned, click add, click the target_tdm_addobjectives_1 and click add again.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;Edit Objective&#039;&#039; window should be open now. Clear the text under &#039;&#039;&#039;Description&#039;&#039;&#039; and type in &amp;quot;Knock out the guard&amp;quot;. Set the initial state to &#039;Complete&#039;. Check the &#039;&#039;&#039;Mandatory&#039;&#039;&#039; and &#039;&#039;&#039;Visible&#039;&#039;&#039; flags.&lt;br /&gt;
&lt;br /&gt;
 *Note: Although Initial state refers to the state the objective is at start, it is reversed right now and in the&lt;br /&gt;
 process of being fixed. So for now, you have to set the state to what you want the outcome to  be. 9/6&lt;br /&gt;
&lt;br /&gt;
Time for a new step, click the [[Image:%2Badd.png]] button under &#039;&#039;&#039;Components&#039;&#039;&#039; and the word &amp;quot;Kill&amp;quot; should appear. Select it and you will see some more options. Under &#039;&#039;&#039;Type&#039;&#039;&#039; select &amp;quot;AI is knocked out&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
under &#039;&#039;&#039;Knockout target:&#039;&#039;&#039; select &amp;quot;Name of single entity&amp;quot; and type in the box to the right of it, &amp;quot;roy&amp;quot; (without quotes). Set amount to 1.&lt;br /&gt;
&lt;br /&gt;
Now compare your screen to this, it should be the same.&lt;br /&gt;
[[Image:Editprogress.png|left|]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
If all looks good than click OK.&lt;br /&gt;
&lt;br /&gt;
Its always a good idea to test things to make sure everything is running right. So save your map, get into TDM and load your map.&lt;br /&gt;
&lt;br /&gt;
First, hit ESC and click &#039;&#039;Objectives&#039;&#039;. You should see your objective onscreen.&lt;br /&gt;
[[Image:Onjyes.png]]&lt;br /&gt;
 *NOTE:If you don&#039;t see it on screen, you probably forgot to check the &#039;&#039;&#039;Visible&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
Now its time to test your objective. Exit out of the objectives menu and launch a gas arrow or use the blackjack on poor Roy. When he goes down you should see the words &amp;quot;Objective Complete&amp;quot; appear onscreen and since thats the only objective we&#039;ve added so far you&#039;ll win the mission.&lt;br /&gt;
 *NOTE:If you don&#039;t win nor see the on screen message, go back and try to figure what you did wrong.&lt;br /&gt;
&lt;br /&gt;
If all is well than its time to move on. Exit TDM and go back into Darkradiant. &lt;br /&gt;
&lt;br /&gt;
Now it is time to add the trophy. In your map add a trophy somewhere, I used the entity loot&amp;gt;atdm:loot_trophy_old&lt;br /&gt;
change its name to &amp;quot;trophy&amp;quot; and go back into objectives editor.&lt;br /&gt;
&lt;br /&gt;
Add another objective and edit it. &lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039; should be &#039;&#039;Steal the Trophy&#039;&#039;. State is &#039;&#039;Complete&#039;&#039;, &#039;&#039;&#039;Flags&#039;&#039;&#039; should be &#039;&#039;Mandatory&#039;&#039; and &#039;&#039;Visible&#039;&#039;. Click ADD and select &#039;&#039;&#039;Player possesses item&#039;&#039;. Change &#039;&#039;&#039;Item:&#039;&#039;&#039; to &#039;&#039;Name of single entity&#039;&#039; and type in the box to right, &amp;quot;trophy&amp;quot;. Change the amount to &amp;quot;1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Your objective should look like this.&lt;br /&gt;
[[Image:Trophyedit.PNG|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Since this is a tutorial this map is very small and very basic so we are tossing all pre-thought and planning for the objectives out the window. As maps get bigger, more elaborate, complex, so too will the objectives be to suit the level. You might want to the trophy in a vault. Maybe the guards will be patrolling. &lt;br /&gt;
&lt;br /&gt;
Save your map and load it up in TDM. Look at the objectives menu to see if the fresh addition is there. And than take it and see if it completes the objective.&lt;br /&gt;
&lt;br /&gt;
Congratulations!&lt;br /&gt;
&lt;br /&gt;
You now have a basic understanding of how the objectives editor works. For more advanced work, look for more tutorials in the future or go on the forums.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
Q:If I kill the guard I don&#039;t fail the mission, but I can&#039;t complete it either.&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:I&#039;ll quote Ishtvan for this one. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;The system is not smart enough to know automatically that someone who&#039;s killed can&#039;t be KO&#039;d later, so if you want it to fail when they&#039;re killed, you have to put that in specifically. Note that this doesn&#039;t have to be a whole &#039;nother objective, it can be a component of the KO objective, so you have two components, KO them, and don&#039;t kill them. We could potentially make this automatic later on, but that&#039;s the way it is right now.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Until this is fixed, I&#039;d recommend making a knockout objective optional, unless you want to put in the kill component.&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q:I put a monster in my map and he killed the guard, yet I still passed/failed the objective.&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:Check the &#039;&#039;&#039;Player Responsible&#039;&#039;&#039; Flag, this means that the player MUST do it himself in order to get credit.&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q:Help! My objectives entity is outside the map and I have a leak! I can&#039;t find it! I even used the pointfile!! help!!!!&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
A:The objectives entity is a very small, yellow cube that is spawned around the origin. Its about the size of a light entity.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q:I have some other questions about objectives&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:This article talks about more specific, more technical and advanced work. [[Objectives]]&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6909</id>
		<title>Objectives Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6909"/>
		<updated>2008-09-07T03:30:36Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to win the level. The opposite is also true, the author can set restrictions that the player must adhere to, or will fail the mission.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access the objectives editor once inside Darkradiant, click the pull-down menu Map&amp;gt;Objectives... &lt;br /&gt;
[[Image:Objmenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upon clicking you will see a separate window that looks like this. &lt;br /&gt;
[[Image:Objedblank.png|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
To start things off, click the &lt;br /&gt;
[[Image:%2Badd.png]]Button&lt;br /&gt;
&lt;br /&gt;
[[Image:Msnobjadd.png]]&lt;br /&gt;
&lt;br /&gt;
This will create an Entity that stores all of the objectives information that will you be editing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;ve spawned our objectives entity,&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Objentity.png]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Notice the numbers in the “[]”&#039;s. Those are the entities&#039; coordinates on the map. These numbers will most likely be different from yours.  When the objectives entity spawns it is placed randomly around the origin (As of 0.9.7 this is how it is, it might change in future versions, but for now this is how it is).&lt;br /&gt;
&lt;br /&gt;
 *Note:Be mindful that sometimes this entity will spawn outside your map and into the void. This will cause a leak, &lt;br /&gt;
 so look around the origin.&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re ready to start adding some objectives.&lt;br /&gt;
&lt;br /&gt;
Click the second [[Image:%2Badd.png]] Button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Newobj1.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
Under Objectives you&#039;ll notice theres a new Objective. &lt;br /&gt;
&lt;br /&gt;
Click it and than click [[Image:Edit.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will bring up this window.&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Editobj.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re editing our first objective. It may seem a little confusing at a first glance but a lot of it is self explanitory and a little practice will take you a long way.&lt;br /&gt;
&lt;br /&gt;
So what do all these various lines and checkboxes do? &lt;br /&gt;
They effect the objective components at the bottom.&lt;br /&gt;
&lt;br /&gt;
What do they all mean?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;: This what the player will read in the objectives menu. For example: “Steal the scepter”, “Don&#039;t kill any guards”, “Get back to where you entered the warehouse”. Its explaining what you want to player read so he/she knows what to do. A good rule to follow is to make them short and to the point.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Difficulty&#039;&#039;&#039;:These refer to Easy/Medium/Hard difficulty levels. If the author wishes, they can be different for each difficulty. For example: on Hard difficulty the player will have to avoid being seen. On Easy the player will only have to steal 200 gold at the minimum. All Levels means that the objectives that are checked under this will be there regardless of difficulty. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Initial State&#039;&#039;&#039;:This is what the objective will be right from the start. There are four options. Complete, Incomplete, Invalid, Failed. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flags&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Mandatory&#039;&#039; means the objective in question is necessary to complete the game. If it is unchecked than the objective will be optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ongoing&#039;&#039; means that the objective won&#039;t show completion until the end of the mission. Irreversible means that once the objective is done, theres no change to it (could use more elaboration). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Visible means&#039;&#039; that objective will be visible in the objectives menu ingame. If unchecked than there will be no objective shown. (The objective will still work, it just won&#039;t show up in the menu).&lt;br /&gt;
&lt;br /&gt;
 *Tip: The &amp;quot;Visible&amp;quot; Box isn&#039;t checked by default yet, so try to get in the habit of checking it with each objective you want visible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enabling Objectives, Logic and Scripts&#039;&#039;&#039;: Under Construction&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components&#039;&#039;&#039;:These are used by the editor to specify what objectives need to be done. The map author can choose from a variety of options under &#039;&#039;&#039;Type&#039;&#039;&#039; with varying degrees of specification. For example: Knocking out an AI named &amp;quot;Roy&amp;quot;. Not being seen by the ANY enemy. (less examples, should cover this in the coming up tutorial.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components Flags&#039;&#039;&#039;:Components have their own special flags as well. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Satisfied at Start&#039;&#039;:For some objectives it makes sense to have them done at start. For example: Not killing anyone.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039;:One the objective has reached a certain state, it will stay that way and not change. (more elaboration, an example?)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boolean NOT&#039;&#039;:Adds &amp;quot;NOT&amp;quot; to your component so the player has to do the opposite of said objective. For example: Do NOT kill any AI on team 2.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Player Responsible&#039;&#039;:The player MUST follow through with the objective himself. For example:The player must kill the zombie to complete the objective, instead of letting something else take care of it.&lt;br /&gt;
&lt;br /&gt;
Now it might seem a bit crazy trying to take all of this in at once, so lets start with something easy.&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
 *Note:This tutorial is assuming you&#039;ve learned the basics for using Darkradiant.&lt;br /&gt;
&lt;br /&gt;
You should already be in Darkradiant. Start a new map if you&#039;re in an existing one. &lt;br /&gt;
&lt;br /&gt;
We&#039;ll start with the basic cube room. Nothing fancy, just make a room, stick in a player start, a light and plaster on some textures.&lt;br /&gt;
[[Image:cube.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
For this tutorial, our player is going to have to knock out a guard and steal a trophy.&lt;br /&gt;
&lt;br /&gt;
So lets start with adding the AI, I chose atdm:ai_citywatch. Select him, go into the entity editor (&amp;quot;N&amp;quot;) and change his NAME to &amp;quot;Roy&amp;quot; (without quotes).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now its time to open up our objectives editor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Objmenu.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Now as you just learned, click add, click the target_tdm_addobjectives_1 and click add again.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;Edit Objective&#039;&#039; window should be open now. Clear the text under &#039;&#039;&#039;Description&#039;&#039;&#039; and type in &amp;quot;Knock out the guard&amp;quot;. Set the initial state to &#039;Complete&#039;. Check the &#039;&#039;&#039;Mandatory&#039;&#039;&#039; and &#039;&#039;&#039;Visible&#039;&#039;&#039; flags.&lt;br /&gt;
&lt;br /&gt;
 *Note: Although Initial state refers to the state the objective is at start, it is reversed right now and in the&lt;br /&gt;
 process of being fixed. So for now, you have to set the state to what you want the outcome to  be. 9/6&lt;br /&gt;
&lt;br /&gt;
Time for a new step, click the [[Image:%2Badd.png]] button under &#039;&#039;&#039;Components&#039;&#039;&#039; and the word &amp;quot;Kill&amp;quot; should appear. Select it and you will see some more options. Under &#039;&#039;&#039;Type&#039;&#039;&#039; select &amp;quot;AI is knocked out&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
under &#039;&#039;&#039;Knockout target:&#039;&#039;&#039; select &amp;quot;Name of single entity&amp;quot; and type in the box to the right of it, &amp;quot;roy&amp;quot; (without quotes). Set amount to 1.&lt;br /&gt;
&lt;br /&gt;
Now compare your screen to this, it should be the same.&lt;br /&gt;
[[Image:Editprogress.png|left|]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
If all looks good than click OK.&lt;br /&gt;
&lt;br /&gt;
Its always a good idea to test things to make sure everything is running right. So save your map, get into TDM and load your map.&lt;br /&gt;
&lt;br /&gt;
First, hit ESC and click &#039;&#039;Objectives&#039;&#039;. You should see your objective onscreen.&lt;br /&gt;
[[Image:Onjyes.png]]&lt;br /&gt;
 *NOTE:If you don&#039;t see it on screen, you probably forgot to check the &#039;&#039;&#039;Visible&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
Now its time to test your objective. Exit out of the objectives menu and launch a gas arrow or use the blackjack on poor Roy. When he goes down you should see the words &amp;quot;Objective Complete&amp;quot; appear onscreen and since thats the only objective we&#039;ve added so far you&#039;ll win the mission.&lt;br /&gt;
 *NOTE:If you don&#039;t win nor see the on screen message, go back and try to figure what you did wrong.&lt;br /&gt;
&lt;br /&gt;
If all is well than its time to move on. Exit TDM and go back into Darkradiant. &lt;br /&gt;
&lt;br /&gt;
Now it is time to add the trophy. In your map add a trophy somewhere, I used the entity loot&amp;gt;atdm:loot_trophy_old&lt;br /&gt;
change its name to &amp;quot;trophy&amp;quot; and go back into objectives editor.&lt;br /&gt;
&lt;br /&gt;
Add another objective and edit it. &lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039; should be &#039;&#039;Steal the Trophy&#039;&#039;. State is &#039;&#039;Complete&#039;&#039;, &#039;&#039;&#039;Flags&#039;&#039;&#039; should be &#039;&#039;Mandatory&#039;&#039; and &#039;&#039;Visible&#039;&#039;. Click ADD and select &#039;&#039;&#039;Player possesses item&#039;&#039;. Change &#039;&#039;&#039;Item:&#039;&#039;&#039; to &#039;&#039;Name of single entity&#039;&#039; and type in the box to right, &amp;quot;trophy&amp;quot;. Change the amount to &amp;quot;1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Your objective should look like this.&lt;br /&gt;
[[Image:Trophyedit.PNG|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Since this is a tutorial this map is very small and very basic so we are tossing all pre-thought and planning for the objectives out the window. As maps get bigger, more elaborate, complex, so too will the objectives be to suit the level. You might want to the trophy in a vault. Maybe the guards will be patrolling. &lt;br /&gt;
&lt;br /&gt;
Save your map and load it up in TDM. Look at the objectives menu to see if the fresh addition is there. And than take it and see if it completes the objective.&lt;br /&gt;
&lt;br /&gt;
Congratulations!&lt;br /&gt;
&lt;br /&gt;
You now have a basic understanding of how the objectives editor works. For more advanced work, look for more tutorials in the future or go on the forums.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
Q:If I kill the guard I don&#039;t fail the mission, but I can&#039;t complete it either.&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:I&#039;ll quote Ishtvan for this one. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;The system is not smart enough to know automatically that someone who&#039;s killed can&#039;t be KO&#039;d later, so if you want it to fail when they&#039;re killed, you have to put that in specifically. Note that this doesn&#039;t have to be a whole &#039;nother objective, it can be a component of the KO objective, so you have two components, KO them, and don&#039;t kill them. We could potentially make this automatic later on, but that&#039;s the way it is right now.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Until this is fixed, I&#039;d recommend making a knockout objective optional, unless you want to put in the kill component.&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q:I put a monster in my map and he killed the guard, yet I still passed/failed the objective.&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:Check the &#039;&#039;&#039;Player Responsible&#039;&#039;&#039; Flag, this means that the player MUST do it himself in order to get credit.&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q:Help! My objectives entity is outside the map and I have a leak! I can&#039;t find it! I even used the pointfile!! help!!!!&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
A:The objectives entity is a very small, yellow cube that is spawned around the origin. Its about the size of a light entity.&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q:I have some other questions about objectives&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:This article talks about more specific, more technical and advanced work. [[Objectives]]&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6908</id>
		<title>Objectives Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6908"/>
		<updated>2008-09-07T00:55:34Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to win the level. The opposite is also true, the author can set restrictions that the player must adhere to, or will fail the mission.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access the objectives editor once inside Darkradiant, click the pull-down menu Map&amp;gt;Objectives... &lt;br /&gt;
[[Image:Objmenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upon clicking you will see a separate window that looks like this. &lt;br /&gt;
[[Image:Objedblank.png|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
To start things off, click the &lt;br /&gt;
[[Image:%2Badd.png]]Button&lt;br /&gt;
&lt;br /&gt;
[[Image:Msnobjadd.png]]&lt;br /&gt;
&lt;br /&gt;
This will create an Entity that stores all of the objectives information that will you be editing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;ve spawned our objectives entity,&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Objentity.png]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Notice the numbers in the “[]”&#039;s. Those are the entities&#039; coordinates on the map. These numbers will most likely be different from yours.  When the objectives entity spawns it is placed randomly around the origin (As of 0.9.7 this is how it is, it might change in future versions, but for now this is how it is).&lt;br /&gt;
&lt;br /&gt;
 *Note:Be mindful that sometimes this entity will spawn outside your map and into the void. This will cause a leak, &lt;br /&gt;
 so look around the origin.&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re ready to start adding some objectives.&lt;br /&gt;
&lt;br /&gt;
Click the second [[Image:%2Badd.png]] Button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Newobj1.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
Under Objectives you&#039;ll notice theres a new Objective. &lt;br /&gt;
&lt;br /&gt;
Click it and than click [[Image:Edit.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will bring up this window.&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Editobj.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re editing our first objective. It may seem a little confusing at a first glance but a lot of it is self explanitory and a little practice will take you a long way.&lt;br /&gt;
&lt;br /&gt;
So what do all these various lines and checkboxes do? &lt;br /&gt;
They effect the objective components at the bottom.&lt;br /&gt;
&lt;br /&gt;
What do they all mean?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;: This what the player will read in the objectives menu. For example: “Steal the scepter”, “Don&#039;t kill any guards”, “Get back to where you entered the warehouse”. Its explaining what you want to player read so he/she knows what to do. A good rule to follow is to make them short and to the point.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Difficulty&#039;&#039;&#039;:These refer to Easy/Medium/Hard difficulty levels. If the author wishes, they can be different for each difficulty. For example: on Hard difficulty the player will have to avoid being seen. On Easy the player will only have to steal 200 gold at the minimum. All Levels means that the objectives that are checked under this will be there regardless of difficulty. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Initial State&#039;&#039;&#039;:This is what the objective will be right from the start. There are four options. Complete, Incomplete, Invalid, Failed. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flags&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Mandatory&#039;&#039; means the objective in question is necessary to complete the game. If it is unchecked than the objective will be optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ongoing&#039;&#039; means that the objective won&#039;t show completion until the end of the mission. Irreversible means that once the objective is done, theres no change to it (could use more elaboration). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Visible means&#039;&#039; that objective will be visible in the objectives menu ingame. If unchecked than there will be no objective shown. (The objective will still work, it just won&#039;t show up in the menu).&lt;br /&gt;
&lt;br /&gt;
 *Tip: The &amp;quot;Visible&amp;quot; Box isn&#039;t checked by default yet, so try to get in the habit of checking it with each objective you want visible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enabling Objectives, Logic and Scripts&#039;&#039;&#039;: Under Construction&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components&#039;&#039;&#039;:These are used by the editor to specify what objectives need to be done. The map author can choose from a variety of options under &#039;&#039;&#039;Type&#039;&#039;&#039; with varying degrees of specification. For example: Knocking out an AI named &amp;quot;Roy&amp;quot;. Not being seen by the ANY enemy. (less examples, should cover this in the coming up tutorial.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components Flags&#039;&#039;&#039;:Components have their own special flags as well. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Satisfied at Start&#039;&#039;:For some objectives it makes sense to have them done at start. For example: Not killing anyone.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039;:One the objective has reached a certain state, it will stay that way and not change. (more elaboration, an example?)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boolean NOT&#039;&#039;:Adds &amp;quot;NOT&amp;quot; to your component so the player has to do the opposite of said objective. For example: Do NOT kill any AI on team 2.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Player Responsible&#039;&#039;:The player MUST follow through with the objective himself. For example:The player must kill the zombie to complete the objective, instead of letting something else take care of it.&lt;br /&gt;
&lt;br /&gt;
Now it might seem a bit crazy trying to take all of this in at once, so lets start with something easy.&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
 *Note:This tutorial is assuming you&#039;ve learned the basics for using Darkradiant.&lt;br /&gt;
&lt;br /&gt;
You should already be in Darkradiant. Start a new map if you&#039;re in an existing one. &lt;br /&gt;
&lt;br /&gt;
We&#039;ll start with the basic cube room. Nothing fancy, just make a room, stick in a player start, a light and plaster on some textures.&lt;br /&gt;
[[Image:cube.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
For this tutorial, our player is going to have to knock out a guard and steal a trophy.&lt;br /&gt;
&lt;br /&gt;
So lets start with adding the AI, I chose atdm:ai_citywatch. Select him, go into the entity editor (&amp;quot;N&amp;quot;) and change his NAME to &amp;quot;Roy&amp;quot; (without quotes).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now its time to open up our objectives editor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Objmenu.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Now as you just learned, click add, click the target_tdm_addobjectives_1 and click add again.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;Edit Objective&#039;&#039; window should be open now. Clear the text under &#039;&#039;&#039;Description&#039;&#039;&#039; and type in &amp;quot;Knock out the guard&amp;quot;. Set the initial state to &#039;Complete&#039;. Check the &#039;&#039;&#039;Mandatory&#039;&#039;&#039; and &#039;&#039;&#039;Visible&#039;&#039;&#039; flags.&lt;br /&gt;
&lt;br /&gt;
 *Note: Although Initial state refers to the state the objective is at start, it is reversed right now and in the&lt;br /&gt;
 process of being fixed. So for now, you have to set the state to what you want the outcome to  be. 9/6&lt;br /&gt;
&lt;br /&gt;
Time for a new step, click the [[Image:%2Badd.png]] button under &#039;&#039;&#039;Components&#039;&#039;&#039; and the word &amp;quot;Kill&amp;quot; should appear. Select it and you will see some more options. Under &#039;&#039;&#039;Type&#039;&#039;&#039; select &amp;quot;AI is knocked out&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
under &#039;&#039;&#039;Knockout target:&#039;&#039;&#039; select &amp;quot;Name of single entity&amp;quot; and type in the box to the right of it, &amp;quot;roy&amp;quot; (without quotes). Set amount to 1.&lt;br /&gt;
&lt;br /&gt;
Now compare your screen to this, it should be the same.&lt;br /&gt;
[[Image:Editprogress.png|left|]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
If all looks good than click OK.&lt;br /&gt;
&lt;br /&gt;
Its always a good idea to test things to make sure everything is running right. So save your map, get into TDM and load your map.&lt;br /&gt;
&lt;br /&gt;
First, hit ESC and click &#039;&#039;Objectives&#039;&#039;. You should see your objective onscreen.&lt;br /&gt;
[[Image:Onjyes.png]]&lt;br /&gt;
 *NOTE:If you don&#039;t see it on screen, you probably forgot to check the &#039;&#039;&#039;Visible&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
Now its time to test your objective. Exit out of the objectives menu and launch a gas arrow or use the blackjack on poor Roy. When he goes down you should see the words &amp;quot;Objective Complete&amp;quot; appear onscreen and since thats the only objective we&#039;ve added so far you&#039;ll win the mission.&lt;br /&gt;
 *NOTE:If you don&#039;t win nor see the on screen message, go back and try to figure what you did wrong.&lt;br /&gt;
&lt;br /&gt;
If all is well than its time to move on. Exit TDM and go back into Darkradiant. &lt;br /&gt;
&lt;br /&gt;
Now it is time to add the trophy. In your map add a trophy somewhere, I used the entity loot&amp;gt;atdm:loot_trophy_old&lt;br /&gt;
change its name to &amp;quot;trophy&amp;quot; and go back into objectives editor.&lt;br /&gt;
&lt;br /&gt;
Add another objective and edit it. &lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039; should be &#039;&#039;Steal the Trophy&#039;&#039;. State is &#039;&#039;Complete&#039;&#039;, &#039;&#039;&#039;Flags&#039;&#039;&#039; should be &#039;&#039;Mandatory&#039;&#039; and &#039;&#039;Visible&#039;&#039;. Click ADD and select &#039;&#039;&#039;Player possesses item&#039;&#039;. Change &#039;&#039;&#039;Item:&#039;&#039;&#039; to &#039;&#039;Name of single entity&#039;&#039; and type in the box to right, &amp;quot;trophy&amp;quot;. Change the amount to &amp;quot;1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Your objective should look like this.&lt;br /&gt;
[[Image:Trophyedit.PNG|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Since this is a tutorial this map is very small and very basic so we are tossing all pre-thought and planning for the objectives out the window. As maps get bigger, more elaborate, complex, so too will the objectives be to suit the level. You might want to the trophy in a vault. Maybe the guards will be patrolling. &lt;br /&gt;
&lt;br /&gt;
Save your map and load it up in TDM. Look at the objectives menu to see if the fresh addition is there. And than take it and see if it completes the objective.&lt;br /&gt;
&lt;br /&gt;
Congratulations!&lt;br /&gt;
&lt;br /&gt;
You now have a basic understanding of how the objectives editor works. For more advanced work, look for more tutorials in the future or go on the forums.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
Q:If I kill the guard I don&#039;t fail the mission, but I can&#039;t complete it either.&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:I&#039;ll quote Ishtvan for this one. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;The system is not smart enough to know automatically that someone who&#039;s killed can&#039;t be KO&#039;d later, so if you want it to fail when they&#039;re killed, you have to put that in specifically. Note that this doesn&#039;t have to be a whole &#039;nother objective, it can be a component of the KO objective, so you have two components, KO them, and don&#039;t kill them. We could potentially make this automatic later on, but that&#039;s the way it is right now.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Until this is fixed, I&#039;d recommend making a knockout objective optional, unless you want to put in the kill component.&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q:I put a monster in my map and he killed the guard, yet I still passed/failed the objective.&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:Check the &#039;&#039;&#039;Player Responsible&#039;&#039;&#039; Flag, this means that the player MUST do it himself in order to get credit.&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
&lt;br /&gt;
Q:Help! My objectives entity is outside the map and I have a leak! I can&#039;t find it! I even used the pointfile!! help!!!!&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
A:The objectives entity is a very small, yellow cube that is spawned around the origin. Its about the size of a light entity.&lt;br /&gt;
&lt;br /&gt;
----&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6907</id>
		<title>Objectives Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6907"/>
		<updated>2008-09-07T00:54:33Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to win the level. The opposite is also true, the author can set restrictions that the player must adhere to, or will fail the mission.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access the objectives editor once inside Darkradiant, click the pull-down menu Map&amp;gt;Objectives... &lt;br /&gt;
[[Image:Objmenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upon clicking you will see a separate window that looks like this. &lt;br /&gt;
[[Image:Objedblank.png|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
To start things off, click the &lt;br /&gt;
[[Image:%2Badd.png]]Button&lt;br /&gt;
&lt;br /&gt;
[[Image:Msnobjadd.png]]&lt;br /&gt;
&lt;br /&gt;
This will create an Entity that stores all of the objectives information that will you be editing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;ve spawned our objectives entity,&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Objentity.png]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Notice the numbers in the “[]”&#039;s. Those are the entities&#039; coordinates on the map. These numbers will most likely be different from yours.  When the objectives entity spawns it is placed randomly around the origin (As of 0.9.7 this is how it is, it might change in future versions, but for now this is how it is).&lt;br /&gt;
&lt;br /&gt;
 *Note:Be mindful that sometimes this entity will spawn outside your map and into the void. This will cause a leak, &lt;br /&gt;
 so look around the origin.&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re ready to start adding some objectives.&lt;br /&gt;
&lt;br /&gt;
Click the second [[Image:%2Badd.png]] Button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Newobj1.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
Under Objectives you&#039;ll notice theres a new Objective. &lt;br /&gt;
&lt;br /&gt;
Click it and than click [[Image:Edit.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will bring up this window.&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Editobj.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re editing our first objective. It may seem a little confusing at a first glance but a lot of it is self explanitory and a little practice will take you a long way.&lt;br /&gt;
&lt;br /&gt;
So what do all these various lines and checkboxes do? &lt;br /&gt;
They effect the objective components at the bottom.&lt;br /&gt;
&lt;br /&gt;
What do they all mean?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;: This what the player will read in the objectives menu. For example: “Steal the scepter”, “Don&#039;t kill any guards”, “Get back to where you entered the warehouse”. Its explaining what you want to player read so he/she knows what to do. A good rule to follow is to make them short and to the point.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Difficulty&#039;&#039;&#039;:These refer to Easy/Medium/Hard difficulty levels. If the author wishes, they can be different for each difficulty. For example: on Hard difficulty the player will have to avoid being seen. On Easy the player will only have to steal 200 gold at the minimum. All Levels means that the objectives that are checked under this will be there regardless of difficulty. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Initial State&#039;&#039;&#039;:This is what the objective will be right from the start. There are four options. Complete, Incomplete, Invalid, Failed. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flags&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Mandatory&#039;&#039; means the objective in question is necessary to complete the game. If it is unchecked than the objective will be optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ongoing&#039;&#039; means that the objective won&#039;t show completion until the end of the mission. Irreversible means that once the objective is done, theres no change to it (could use more elaboration). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Visible means&#039;&#039; that objective will be visible in the objectives menu ingame. If unchecked than there will be no objective shown. (The objective will still work, it just won&#039;t show up in the menu).&lt;br /&gt;
&lt;br /&gt;
 *Tip: The &amp;quot;Visible&amp;quot; Box isn&#039;t checked by default yet, so try to get in the habit of checking it with each objective you want visible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enabling Objectives, Logic and Scripts&#039;&#039;&#039;: Under Construction&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components&#039;&#039;&#039;:These are used by the editor to specify what objectives need to be done. The map author can choose from a variety of options under &#039;&#039;&#039;Type&#039;&#039;&#039; with varying degrees of specification. For example: Knocking out an AI named &amp;quot;Roy&amp;quot;. Not being seen by the ANY enemy. (less examples, should cover this in the coming up tutorial.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components Flags&#039;&#039;&#039;:Components have their own special flags as well. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Satisfied at Start&#039;&#039;:For some objectives it makes sense to have them done at start. For example: Not killing anyone.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039;:One the objective has reached a certain state, it will stay that way and not change. (more elaboration, an example?)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boolean NOT&#039;&#039;:Adds &amp;quot;NOT&amp;quot; to your component so the player has to do the opposite of said objective. For example: Do NOT kill any AI on team 2.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Player Responsible&#039;&#039;:The player MUST follow through with the objective himself. For example:The player must kill the zombie to complete the objective, instead of letting something else take care of it.&lt;br /&gt;
&lt;br /&gt;
Now it might seem a bit crazy trying to take all of this in at once, so lets start with something easy.&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
 *Note:This tutorial is assuming you&#039;ve learned the basics for using Darkradiant.&lt;br /&gt;
&lt;br /&gt;
You should already be in Darkradiant. Start a new map if you&#039;re in an existing one. &lt;br /&gt;
&lt;br /&gt;
We&#039;ll start with the basic cube room. Nothing fancy, just make a room, stick in a player start, a light and plaster on some textures.&lt;br /&gt;
[[Image:cube.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
For this tutorial, our player is going to have to knock out a guard and steal a trophy.&lt;br /&gt;
&lt;br /&gt;
So lets start with adding the AI, I chose atdm:ai_citywatch. Select him, go into the entity editor (&amp;quot;N&amp;quot;) and change his NAME to &amp;quot;Roy&amp;quot; (without quotes).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now its time to open up our objectives editor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Objmenu.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Now as you just learned, click add, click the target_tdm_addobjectives_1 and click add again.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;Edit Objective&#039;&#039; window should be open now. Clear the text under &#039;&#039;&#039;Description&#039;&#039;&#039; and type in &amp;quot;Knock out the guard&amp;quot;. Set the initial state to &#039;Complete&#039;. Check the &#039;&#039;&#039;Mandatory&#039;&#039;&#039; and &#039;&#039;&#039;Visible&#039;&#039;&#039; flags.&lt;br /&gt;
&lt;br /&gt;
 *Note: Although Initial state refers to the state the objective is at start, it is reversed right now and in the&lt;br /&gt;
 process of being fixed. So for now, you have to set the state to what you want the outcome to  be. 9/6&lt;br /&gt;
&lt;br /&gt;
Time for a new step, click the [[Image:%2Badd.png]] button under &#039;&#039;&#039;Components&#039;&#039;&#039; and the word &amp;quot;Kill&amp;quot; should appear. Select it and you will see some more options. Under &#039;&#039;&#039;Type&#039;&#039;&#039; select &amp;quot;AI is knocked out&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
under &#039;&#039;&#039;Knockout target:&#039;&#039;&#039; select &amp;quot;Name of single entity&amp;quot; and type in the box to the right of it, &amp;quot;roy&amp;quot; (without quotes). Set amount to 1.&lt;br /&gt;
&lt;br /&gt;
Now compare your screen to this, it should be the same.&lt;br /&gt;
[[Image:Editprogress.png|left|]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
If all looks good than click OK.&lt;br /&gt;
&lt;br /&gt;
Its always a good idea to test things to make sure everything is running right. So save your map, get into TDM and load your map.&lt;br /&gt;
&lt;br /&gt;
First, hit ESC and click &#039;&#039;Objectives&#039;&#039;. You should see your objective onscreen.&lt;br /&gt;
[[Image:Onjyes.png]]&lt;br /&gt;
 *NOTE:If you don&#039;t see it on screen, you probably forgot to check the &#039;&#039;&#039;Visible&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
Now its time to test your objective. Exit out of the objectives menu and launch a gas arrow or use the blackjack on poor Roy. When he goes down you should see the words &amp;quot;Objective Complete&amp;quot; appear onscreen and since thats the only objective we&#039;ve added so far you&#039;ll win the mission.&lt;br /&gt;
 *NOTE:If you don&#039;t win nor see the on screen message, go back and try to figure what you did wrong.&lt;br /&gt;
&lt;br /&gt;
If all is well than its time to move on. Exit TDM and go back into Darkradiant. &lt;br /&gt;
&lt;br /&gt;
Now it is time to add the trophy. In your map add a trophy somewhere, I used the entity loot&amp;gt;atdm:loot_trophy_old&lt;br /&gt;
change its name to &amp;quot;trophy&amp;quot; and go back into objectives editor.&lt;br /&gt;
&lt;br /&gt;
Add another objective and edit it. &lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039; should be &#039;&#039;Steal the Trophy&#039;&#039;. State is &#039;&#039;Complete&#039;&#039;, &#039;&#039;&#039;Flags&#039;&#039;&#039; should be &#039;&#039;Mandatory&#039;&#039; and &#039;&#039;Visible&#039;&#039;. Click ADD and select &#039;&#039;&#039;Player possesses item&#039;&#039;. Change &#039;&#039;&#039;Item:&#039;&#039;&#039; to &#039;&#039;Name of single entity&#039;&#039; and type in the box to right, &amp;quot;trophy&amp;quot;. Change the amount to &amp;quot;1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Your objective should look like this.&lt;br /&gt;
[[Image:Trophyedit.PNG|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Since this is a tutorial this map is very small and very basic so we are tossing all pre-thought and planning for the objectives out the window. As maps get bigger, more elaborate, complex, so too will the objectives be to suit the level. You might want to the trophy in a vault. Maybe the guards will be patrolling. &lt;br /&gt;
&lt;br /&gt;
Save your map and load it up in TDM. Look at the objectives menu to see if the fresh addition is there. And than take it and see if it completes the objective.&lt;br /&gt;
&lt;br /&gt;
Congratulations!&lt;br /&gt;
&lt;br /&gt;
You now have a basic understanding of how the objectives editor works. For more advanced work, look for more tutorials in the future or go on the forums.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
Q:If I kill the guard I don&#039;t fail the mission, but I can&#039;t complete it either.&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:I&#039;ll quote Ishtvan for this one. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;The system is not smart enough to know automatically that someone who&#039;s killed can&#039;t be KO&#039;d later, so if you want it to fail when they&#039;re killed, you have to put that in specifically. Note that this doesn&#039;t have to be a whole &#039;nother objective, it can be a component of the KO objective, so you have two components, KO them, and don&#039;t kill them. We could potentially make this automatic later on, but that&#039;s the way it is right now.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Until this is fixed, I&#039;d recommend making a knockout objective optional, unless you want to put in the kill component.&lt;br /&gt;
{{clear}}&lt;br /&gt;
Q:I put a monster in my map and he killed the guard, yet I still passed/failed the objective.&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:Check the &#039;&#039;&#039;Player Responsible&#039;&#039;&#039; Flag, this means that the player MUST do it himself in order to get credit.&lt;br /&gt;
{{clear}}&lt;br /&gt;
Q:Help! My objectives entity is outside the map and I have a leak! I can&#039;t find it! I even used the pointfile!! help!!!!&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:The objectives entity is a very small, yellow cube that is spawned around the origin. Its about the size of a light entity.&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6906</id>
		<title>Objectives Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6906"/>
		<updated>2008-09-07T00:03:12Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to win the level. The opposite is also true, the author can set restrictions that the player must adhere to, or will fail the mission.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access the objectives editor once inside Darkradiant, click the pull-down menu Map&amp;gt;Objectives... &lt;br /&gt;
[[Image:Objmenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upon clicking you will see a separate window that looks like this. &lt;br /&gt;
[[Image:Objedblank.png|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
To start things off, click the &lt;br /&gt;
[[Image:%2Badd.png]]Button&lt;br /&gt;
&lt;br /&gt;
[[Image:Msnobjadd.png]]&lt;br /&gt;
&lt;br /&gt;
This will create an Entity that stores all of the objectives information that will you be editing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;ve spawned our objectives entity,&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Objentity.png]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Notice the numbers in the “[]”&#039;s. Those are the entities&#039; coordinates on the map. These numbers will most likely be different from yours.  When the objectives entity spawns it is placed randomly around the origin (As of 0.9.7 this is how it is, it might change in future versions, but for now this is how it is).&lt;br /&gt;
&lt;br /&gt;
 *Note:Be mindful that sometimes this entity will spawn outside your map and into the void. This will cause a leak, &lt;br /&gt;
 so look around the origin.&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re ready to start adding some objectives.&lt;br /&gt;
&lt;br /&gt;
Click the second [[Image:%2Badd.png]] Button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Newobj1.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
Under Objectives you&#039;ll notice theres a new Objective. &lt;br /&gt;
&lt;br /&gt;
Click it and than click [[Image:Edit.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will bring up this window.&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Editobj.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re editing our first objective. It may seem a little confusing at a first glance but a lot of it is self explanitory and a little practice will take you a long way.&lt;br /&gt;
&lt;br /&gt;
So what do all these various lines and checkboxes do? &lt;br /&gt;
They effect the objective components at the bottom.&lt;br /&gt;
&lt;br /&gt;
What do they all mean?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;: This what the player will read in the objectives menu. For example: “Steal the scepter”, “Don&#039;t kill any guards”, “Get back to where you entered the warehouse”. Its explaining what you want to player read so he/she knows what to do. A good rule to follow is to make them short and to the point.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Difficulty&#039;&#039;&#039;:These refer to Easy/Medium/Hard difficulty levels. If the author wishes, they can be different for each difficulty. For example: on Hard difficulty the player will have to avoid being seen. On Easy the player will only have to steal 200 gold at the minimum. All Levels means that the objectives that are checked under this will be there regardless of difficulty. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Initial State&#039;&#039;&#039;:This is what the objective will be right from the start. There are four options. Complete, Incomplete, Invalid, Failed. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flags&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Mandatory&#039;&#039; means the objective in question is necessary to complete the game. If it is unchecked than the objective will be optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ongoing&#039;&#039; means that the objective won&#039;t show completion until the end of the mission. Irreversible means that once the objective is done, theres no change to it (could use more elaboration). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Visible means&#039;&#039; that objective will be visible in the objectives menu ingame. If unchecked than there will be no objective shown. (The objective will still work, it just won&#039;t show up in the menu).&lt;br /&gt;
&lt;br /&gt;
 *Tip: The &amp;quot;Visible&amp;quot; Box isn&#039;t checked by default yet, so try to get in the habit of checking it with each objective you want visible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enabling Objectives, Logic and Scripts&#039;&#039;&#039;: Under Construction&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components&#039;&#039;&#039;:These are used by the editor to specify what objectives need to be done. The map author can choose from a variety of options under &#039;&#039;&#039;Type&#039;&#039;&#039; with varying degrees of specification. For example: Knocking out an AI named &amp;quot;Roy&amp;quot;. Not being seen by the ANY enemy. (less examples, should cover this in the coming up tutorial.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components Flags&#039;&#039;&#039;:Components have their own special flags as well. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Satisfied at Start&#039;&#039;:For some objectives it makes sense to have them done at start. For example: Not killing anyone.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039;:One the objective has reached a certain state, it will stay that way and not change. (more elaboration, an example?)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boolean NOT&#039;&#039;:Adds &amp;quot;NOT&amp;quot; to your component so the player has to do the opposite of said objective. For example: Do NOT kill any AI on team 2.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Player Responsible&#039;&#039;:The player MUST follow through with the objective himself. For example:The player must kill the zombie to complete the objective, instead of letting something else take care of it.&lt;br /&gt;
&lt;br /&gt;
Now it might seem a bit crazy trying to take all of this in at once, so lets start with something easy.&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
 *Note:This tutorial is assuming you&#039;ve learned the basics for using Darkradiant.&lt;br /&gt;
&lt;br /&gt;
You should already be in Darkradiant. Start a new map if you&#039;re in an existing one. &lt;br /&gt;
&lt;br /&gt;
We&#039;ll start with the basic cube room. Nothing fancy, just make a room, stick in a player start, a light and plaster on some textures.&lt;br /&gt;
[[Image:cube.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
For this tutorial, our player is going to have to knock out a guard and steal a trophy.&lt;br /&gt;
&lt;br /&gt;
So lets start with adding the AI, I chose atdm:ai_citywatch. Select him, go into the entity editor (&amp;quot;N&amp;quot;) and change his NAME to &amp;quot;Roy&amp;quot; (without quotes).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now its time to open up our objectives editor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Objmenu.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Now as you just learned, click add, click the target_tdm_addobjectives_1 and click add again.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;Edit Objective&#039;&#039; window should be open now. Clear the text under &#039;&#039;&#039;Description&#039;&#039;&#039; and type in &amp;quot;Knock out the guard&amp;quot;. Set the initial state to &#039;Complete&#039;. Check the &#039;&#039;&#039;Mandatory&#039;&#039;&#039; and &#039;&#039;&#039;Visible&#039;&#039;&#039; flags.&lt;br /&gt;
&lt;br /&gt;
 *Note: Although Initial state refers to the state the objective is at start, it is reversed right now and in the&lt;br /&gt;
 process of being fixed. So for now, you have to set the state to what you want the outcome to  be. 9/6&lt;br /&gt;
&lt;br /&gt;
Time for a new step, click the [[Image:%2Badd.png]] button under &#039;&#039;&#039;Components&#039;&#039;&#039; and the word &amp;quot;Kill&amp;quot; should appear. Select it and you will see some more options. Under &#039;&#039;&#039;Type&#039;&#039;&#039; select &amp;quot;AI is knocked out&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
under &#039;&#039;&#039;Knockout target:&#039;&#039;&#039; select &amp;quot;Name of single entity&amp;quot; and type in the box to the right of it, &amp;quot;roy&amp;quot; (without quotes). Set amount to 1.&lt;br /&gt;
&lt;br /&gt;
Now compare your screen to this, it should be the same.&lt;br /&gt;
[[Image:Editprogress.png|left|]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
If all looks good than click OK.&lt;br /&gt;
&lt;br /&gt;
Its always a good idea to test things to make sure everything is running right. So save your map, get into TDM and load your map.&lt;br /&gt;
&lt;br /&gt;
First, hit ESC and click &#039;&#039;Objectives&#039;&#039;. You should see your objective onscreen.&lt;br /&gt;
[[Image:Onjyes.png]]&lt;br /&gt;
 *NOTE:If you don&#039;t see it on screen, you probably forgot to check the &#039;&#039;&#039;Visible&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
Now its time to test your objective. Exit out of the objectives menu and launch a gas arrow or use the blackjack on poor Roy. When he goes down you should see the words &amp;quot;Objective Complete&amp;quot; appear onscreen and since thats the only objective we&#039;ve added so far you&#039;ll win the mission.&lt;br /&gt;
 *NOTE:If you don&#039;t win nor see the on screen message, go back and try to figure what you did wrong.&lt;br /&gt;
&lt;br /&gt;
If all is well than its time to move on. Exit TDM and go back into Darkradiant. &lt;br /&gt;
&lt;br /&gt;
Now it is time to add the trophy. In your map add a trophy somewhere, I used the entity loot&amp;gt;atdm:loot_trophy_old&lt;br /&gt;
change its name to &amp;quot;trophy&amp;quot; and go back into objectives editor.&lt;br /&gt;
&lt;br /&gt;
Add another objective and edit it. &lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039; should be &#039;&#039;Steal the Trophy&#039;&#039;. State is &#039;&#039;Complete&#039;&#039;, &#039;&#039;&#039;Flags&#039;&#039;&#039; should be &#039;&#039;Mandatory&#039;&#039; and &#039;&#039;Visible&#039;&#039;. Click ADD and select &#039;&#039;&#039;Player possesses item&#039;&#039;. Change &#039;&#039;&#039;Item:&#039;&#039;&#039; to &#039;&#039;Name of single entity&#039;&#039; and type in the box to right, &amp;quot;trophy&amp;quot;. Change the amount to &amp;quot;1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Your objective should look like this.&lt;br /&gt;
[[Image:Trophyedit.PNG|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Since this is a tutorial this map is very small and very basic so we are tossing all pre-thought and planning for the objectives out the window. As maps get bigger, more elaborate, complex, so too will the objectives be to suit the level. You might want to the trophy in a vault. Maybe the guards will be patrolling. &lt;br /&gt;
&lt;br /&gt;
Save your map and load it up in TDM. Look at the objectives menu to see if the fresh addition is there. And than take it and see if it completes the objective.&lt;br /&gt;
&lt;br /&gt;
Congratulations!&lt;br /&gt;
&lt;br /&gt;
You now have a basic understanding of how the objectives editor works. For more advanced work, look for more tutorials in the future or go on the forums.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
Q:If I kill the guard I don&#039;t fail the mission, but I can&#039;t complete it either.&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:I&#039;ll quote Ishtvan for this one. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;The system is not smart enough to know automatically that someone who&#039;s killed can&#039;t be KO&#039;d later, so if you want it to fail when they&#039;re killed, you have to put that in specifically. Note that this doesn&#039;t have to be a whole &#039;nother objective, it can be a component of the KO objective, so you have two components, KO them, and don&#039;t kill them. We could potentially make this automatic later on, but that&#039;s the way it is right now.&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Until this is fixed, I&#039;d recommend making a knockout objective optional, unless you want to put in the kill component.&lt;br /&gt;
{{clear}}&lt;br /&gt;
Q:I put a monster in my map and he killed the guard, yet I still passed/failed the objective.&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:Check the &#039;&#039;&#039;Player Responsible&#039;&#039;&#039; Flag, this means that the player MUST do it himself in order to get credit.&lt;br /&gt;
{{clear}}&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6905</id>
		<title>Objectives Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6905"/>
		<updated>2008-09-06T23:57:27Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to win the level. The opposite is also true, the author can set restrictions that the player must adhere to, or will fail the mission.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access the objectives editor once inside Darkradiant, click the pull-down menu Map&amp;gt;Objectives... &lt;br /&gt;
[[Image:Objmenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upon clicking you will see a separate window that looks like this. &lt;br /&gt;
[[Image:Objedblank.png|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
To start things off, click the &lt;br /&gt;
[[Image:%2Badd.png]]Button&lt;br /&gt;
&lt;br /&gt;
[[Image:Msnobjadd.png]]&lt;br /&gt;
&lt;br /&gt;
This will create an Entity that stores all of the objectives information that will you be editing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;ve spawned our objectives entity,&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Objentity.png]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Notice the numbers in the “[]”&#039;s. Those are the entities&#039; coordinates on the map. These numbers will most likely be different from yours.  When the objectives entity spawns it is placed randomly around the origin (As of 0.9.7 this is how it is, it might change in future versions, but for now this is how it is).&lt;br /&gt;
&lt;br /&gt;
 *Note:Be mindful that sometimes this entity will spawn outside your map and into the void. This will cause a leak, &lt;br /&gt;
 so look around the origin.&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re ready to start adding some objectives.&lt;br /&gt;
&lt;br /&gt;
Click the second [[Image:%2Badd.png]] Button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Newobj1.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
Under Objectives you&#039;ll notice theres a new Objective. &lt;br /&gt;
&lt;br /&gt;
Click it and than click [[Image:Edit.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will bring up this window.&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Editobj.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re editing our first objective. It may seem a little confusing at a first glance but a lot of it is self explanitory and a little practice will take you a long way.&lt;br /&gt;
&lt;br /&gt;
So what do all these various lines and checkboxes do? &lt;br /&gt;
They effect the objective components at the bottom.&lt;br /&gt;
&lt;br /&gt;
What do they all mean?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;: This what the player will read in the objectives menu. For example: “Steal the scepter”, “Don&#039;t kill any guards”, “Get back to where you entered the warehouse”. Its explaining what you want to player read so he/she knows what to do. A good rule to follow is to make them short and to the point.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Difficulty&#039;&#039;&#039;:These refer to Easy/Medium/Hard difficulty levels. If the author wishes, they can be different for each difficulty. For example: on Hard difficulty the player will have to avoid being seen. On Easy the player will only have to steal 200 gold at the minimum. All Levels means that the objectives that are checked under this will be there regardless of difficulty. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Initial State&#039;&#039;&#039;:This is what the objective will be right from the start. There are four options. Complete, Incomplete, Invalid, Failed. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flags&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Mandatory&#039;&#039; means the objective in question is necessary to complete the game. If it is unchecked than the objective will be optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ongoing&#039;&#039; means that the objective won&#039;t show completion until the end of the mission. Irreversible means that once the objective is done, theres no change to it (could use more elaboration). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Visible means&#039;&#039; that objective will be visible in the objectives menu ingame. If unchecked than there will be no objective shown. (The objective will still work, it just won&#039;t show up in the menu).&lt;br /&gt;
&lt;br /&gt;
 *Tip: The &amp;quot;Visible&amp;quot; Box isn&#039;t checked by default yet, so try to get in the habit of checking it with each objective you want visible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enabling Objectives, Logic and Scripts&#039;&#039;&#039;: Under Construction&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components&#039;&#039;&#039;:These are used by the editor to specify what objectives need to be done. The map author can choose from a variety of options under &#039;&#039;&#039;Type&#039;&#039;&#039; with varying degrees of specification. For example: Knocking out an AI named &amp;quot;Roy&amp;quot;. Not being seen by the ANY enemy. (less examples, should cover this in the coming up tutorial.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components Flags&#039;&#039;&#039;:Components have their own special flags as well. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Satisfied at Start&#039;&#039;:For some objectives it makes sense to have them done at start. For example: Not killing anyone.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039;:One the objective has reached a certain state, it will stay that way and not change. (more elaboration, an example?)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boolean NOT&#039;&#039;:Adds &amp;quot;NOT&amp;quot; to your component so the player has to do the opposite of said objective. For example: Do NOT kill any AI on team 2.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Player Responsible&#039;&#039;:The player MUST follow through with the objective himself. For example:The player must kill the zombie to complete the objective, instead of letting something else take care of it.&lt;br /&gt;
&lt;br /&gt;
Now it might seem a bit crazy trying to take all of this in at once, so lets start with something easy.&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
 *Note:This tutorial is assuming you&#039;ve learned the basics for using Darkradiant.&lt;br /&gt;
&lt;br /&gt;
You should already be in Darkradiant. Start a new map if you&#039;re in an existing one. &lt;br /&gt;
&lt;br /&gt;
We&#039;ll start with the basic cube room. Nothing fancy, just make a room, stick in a player start, a light and plaster on some textures.&lt;br /&gt;
[[Image:cube.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
For this tutorial, our player is going to have to knock out a guard and steal a trophy.&lt;br /&gt;
&lt;br /&gt;
So lets start with adding the AI, I chose atdm:ai_citywatch. Select him, go into the entity editor (&amp;quot;N&amp;quot;) and change his NAME to &amp;quot;Roy&amp;quot; (without quotes).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now its time to open up our objectives editor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Objmenu.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Now as you just learned, click add, click the target_tdm_addobjectives_1 and click add again.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;Edit Objective&#039;&#039; window should be open now. Clear the text under &#039;&#039;&#039;Description&#039;&#039;&#039; and type in &amp;quot;Knock out the guard&amp;quot;. Set the initial state to &#039;Complete&#039;. Check the &#039;&#039;&#039;Mandatory&#039;&#039;&#039; and &#039;&#039;&#039;Visible&#039;&#039;&#039; flags.&lt;br /&gt;
&lt;br /&gt;
 *Note: Although Initial state refers to the state the objective is at start, it is reversed right now and in the&lt;br /&gt;
 process of being fixed. So for now, you have to set the state to what you want the outcome to  be. 9/6&lt;br /&gt;
&lt;br /&gt;
Time for a new step, click the [[Image:%2Badd.png]] button under &#039;&#039;&#039;Components&#039;&#039;&#039; and the word &amp;quot;Kill&amp;quot; should appear. Select it and you will see some more options. Under &#039;&#039;&#039;Type&#039;&#039;&#039; select &amp;quot;AI is knocked out&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
under &#039;&#039;&#039;Knockout target:&#039;&#039;&#039; select &amp;quot;Name of single entity&amp;quot; and type in the box to the right of it, &amp;quot;roy&amp;quot; (without quotes). Set amount to 1.&lt;br /&gt;
&lt;br /&gt;
Now compare your screen to this, it should be the same.&lt;br /&gt;
[[Image:Editprogress.png|left|]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
If all looks good than click OK.&lt;br /&gt;
&lt;br /&gt;
Its always a good idea to test things to make sure everything is running right. So save your map, get into TDM and load your map.&lt;br /&gt;
&lt;br /&gt;
First, hit ESC and click &#039;&#039;Objectives&#039;&#039;. You should see your objective onscreen.&lt;br /&gt;
[[Image:Onjyes.png]]&lt;br /&gt;
 *NOTE:If you don&#039;t see it on screen, you probably forgot to check the &#039;&#039;&#039;Visible&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
Now its time to test your objective. Exit out of the objectives menu and launch a gas arrow or use the blackjack on poor Roy. When he goes down you should see the words &amp;quot;Objective Complete&amp;quot; appear onscreen and since thats the only objective we&#039;ve added so far you&#039;ll win the mission.&lt;br /&gt;
 *NOTE:If you don&#039;t win nor see the on screen message, go back and try to figure what you did wrong.&lt;br /&gt;
&lt;br /&gt;
If all is well than its time to move on. Exit TDM and go back into Darkradiant. &lt;br /&gt;
&lt;br /&gt;
Now it is time to add the trophy. In your map add a trophy somewhere, I used the entity loot&amp;gt;atdm:loot_trophy_old&lt;br /&gt;
change its name to &amp;quot;trophy&amp;quot; and go back into objectives editor.&lt;br /&gt;
&lt;br /&gt;
Add another objective and edit it. &lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039; should be &#039;&#039;Steal the Trophy&#039;&#039;. State is &#039;&#039;Complete&#039;&#039;, &#039;&#039;&#039;Flags&#039;&#039;&#039; should be &#039;&#039;Mandatory&#039;&#039; and &#039;&#039;Visible&#039;&#039;. Click ADD and select &#039;&#039;&#039;Player possesses item&#039;&#039;. Change &#039;&#039;&#039;Item:&#039;&#039;&#039; to &#039;&#039;Name of single entity&#039;&#039; and type in the box to right, &amp;quot;trophy&amp;quot;. Change the amount to &amp;quot;1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Your objective should look like this.&lt;br /&gt;
[[Image:Trophyedit.PNG|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Since this is a tutorial this map is very small and very basic so we are tossing all pre-thought and planning for the objectives out the window. If you want you can put the trophy on a stand and have the guard in front of it. &lt;br /&gt;
&lt;br /&gt;
Save your map and load it up in TDM. Look at the objectives menu to see if the fresh addition is there. And than take it and see if it completes the objective.&lt;br /&gt;
&lt;br /&gt;
Congratulations!&lt;br /&gt;
&lt;br /&gt;
You now have a basic understanding of how the objectives editor works. For more advanced work, look for more tutorials in the future or go on the forums.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
Q:If I kill the guard I don&#039;t fail the mission, but I can&#039;t complete it either.&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:I&#039;ll quote Ishtvan for this one. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;The system is not smart enough to know automatically that someone who&#039;s killed can&#039;t be KO&#039;d later, so if you want it to fail when they&#039;re killed, you have to put that in specifically. Note that this doesn&#039;t have to be a whole &#039;nother objective, it can be a component of the KO objective, so you have two components, KO them, and don&#039;t kill them. We could potentially make this automatic later on, but that&#039;s the way it is right now.&amp;quot;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6904</id>
		<title>Objectives Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6904"/>
		<updated>2008-09-06T23:56:10Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to win the level. The opposite is also true, the author can set restrictions that the player must adhere to, or will fail the mission.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access the objectives editor once inside Darkradiant, click the pull-down menu Map&amp;gt;Objectives... &lt;br /&gt;
[[Image:Objmenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upon clicking you will see a separate window that looks like this. &lt;br /&gt;
[[Image:Objedblank.png|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
To start things off, click the &lt;br /&gt;
[[Image:%2Badd.png]]Button&lt;br /&gt;
&lt;br /&gt;
[[Image:Msnobjadd.png]]&lt;br /&gt;
&lt;br /&gt;
This will create an Entity that stores all of the objectives information that will you be editing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;ve spawned our objectives entity,&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Objentity.png]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Notice the numbers in the “[]”&#039;s. Those are the entities&#039; coordinates on the map. These numbers will most likely be different from yours.  When the objectives entity spawns it is placed randomly around the origin (As of 0.9.7 this is how it is, it might change in future versions, but for now this is how it is).&lt;br /&gt;
&lt;br /&gt;
 *Note:Be mindful that sometimes this entity will spawn outside your map and into the void. This will cause a leak, &lt;br /&gt;
 so look around the origin.&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re ready to start adding some objectives.&lt;br /&gt;
&lt;br /&gt;
Click the second [[Image:%2Badd.png]] Button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Newobj1.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
Under Objectives you&#039;ll notice theres a new Objective. &lt;br /&gt;
&lt;br /&gt;
Click it and than click [[Image:Edit.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will bring up this window.&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Editobj.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re editing our first objective. It may seem a little confusing at a first glance but a lot of it is self explanitory and a little practice will take you a long way.&lt;br /&gt;
&lt;br /&gt;
So what do all these various lines and checkboxes do? &lt;br /&gt;
They effect the objective components at the bottom.&lt;br /&gt;
&lt;br /&gt;
What do they all mean?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;: This what the player will read in the objectives menu. For example: “Steal the scepter”, “Don&#039;t kill any guards”, “Get back to where you entered the warehouse”. Its explaining what you want to player read so he/she knows what to do. A good rule to follow is to make them short and to the point.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Difficulty&#039;&#039;&#039;:These refer to Easy/Medium/Hard difficulty levels. If the author wishes, they can be different for each difficulty. For example: on Hard difficulty the player will have to avoid being seen. On Easy the player will only have to steal 200 gold at the minimum. All Levels means that the objectives that are checked under this will be there regardless of difficulty. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Initial State&#039;&#039;&#039;:This is what the objective will be right from the start. There are four options. Complete, Incomplete, Invalid, Failed. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flags&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Mandatory&#039;&#039; means the objective in question is necessary to complete the game. If it is unchecked than the objective will be optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ongoing&#039;&#039; means that the objective won&#039;t show completion until the end of the mission. Irreversible means that once the objective is done, theres no change to it (could use more elaboration). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Visible means&#039;&#039; that objective will be visible in the objectives menu ingame. If unchecked than there will be no objective shown. (The objective will still work, it just won&#039;t show up in the menu).&lt;br /&gt;
&lt;br /&gt;
 *Tip: The &amp;quot;Visible&amp;quot; Box isn&#039;t checked by default yet, so try to get in the habit of checking it with each objective you want visible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enabling Objectives, Logic and Scripts&#039;&#039;&#039;: Under Construction&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components&#039;&#039;&#039;:These are used by the editor to specify what objectives need to be done. The map author can choose from a variety of options under &#039;&#039;&#039;Type&#039;&#039;&#039; with varying degrees of specification. For example: Knocking out an AI named &amp;quot;Roy&amp;quot;. Not being seen by the ANY enemy. (less examples, should cover this in the coming up tutorial.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components Flags&#039;&#039;&#039;:Components have their own special flags as well. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Satisfied at Start&#039;&#039;:For some objectives it makes sense to have them done at start. For example: Not killing anyone.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039;:One the objective has reached a certain state, it will stay that way and not change. (more elaboration, an example?)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boolean NOT&#039;&#039;:Adds &amp;quot;NOT&amp;quot; to your component so the player has to do the opposite of said objective. For example: Do NOT kill any AI on team 2.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Player Responsible&#039;&#039;:The player MUST follow through with the objective himself. For example:The player must kill the zombie to complete the objective, instead of letting something else take care of it.&lt;br /&gt;
&lt;br /&gt;
Now it might seem a bit crazy trying to take all of this in at once, so lets start with something easy.&lt;br /&gt;
&lt;br /&gt;
== Tutorial ==&lt;br /&gt;
 *Note:This tutorial is assuming you&#039;ve learned the basics for using Darkradiant.&lt;br /&gt;
&lt;br /&gt;
You should already be in Darkradiant. Start a new map if you&#039;re in an existing one. &lt;br /&gt;
&lt;br /&gt;
We&#039;ll start with the basic cube room. Nothing fancy, just make a room, stick in a player start, a light and plaster on some textures.&lt;br /&gt;
[[Image:cube.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
For this tutorial, our player is going to have to knock out a guard and steal a trophy.&lt;br /&gt;
&lt;br /&gt;
So lets start with adding the AI, I chose atdm:ai_citywatch. Select him, go into the entity editor (&amp;quot;N&amp;quot;) and change his NAME to &amp;quot;Roy&amp;quot; (without quotes).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now its time to open up our objectives editor. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Objmenu.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Now as you just learned, click add, click the target_tdm_addobjectives_1 and click add again.&lt;br /&gt;
&lt;br /&gt;
The &#039;&#039;Edit Objective&#039;&#039; window should be open now. Clear the text under &#039;&#039;&#039;Description&#039;&#039;&#039; and type in &amp;quot;Knock out the guard&amp;quot;. Set the initial state to &#039;Complete&#039;. Check the &#039;&#039;&#039;Mandatory&#039;&#039;&#039; and &#039;&#039;&#039;Visible&#039;&#039;&#039; flags.&lt;br /&gt;
&lt;br /&gt;
 *Note: Although Initial state refers to the state the objective is at start, it is reversed right now and in the&lt;br /&gt;
 process of being fixed. So for now, you have to set the state to what you want the outcome to  be. 9/6&lt;br /&gt;
&lt;br /&gt;
Time for a new step, click the [[Image:%2Badd.png]] button under &#039;&#039;&#039;Components&#039;&#039;&#039; and the word &amp;quot;Kill&amp;quot; should appear. Select it and you will see some more options. Under &#039;&#039;&#039;Type&#039;&#039;&#039; select &amp;quot;AI is knocked out&amp;quot;. &lt;br /&gt;
&lt;br /&gt;
under &#039;&#039;&#039;Knockout target:&#039;&#039;&#039; select &amp;quot;Name of single entity&amp;quot; and type in the box to the right of it, &amp;quot;roy&amp;quot; (without quotes). Set amount to 1.&lt;br /&gt;
&lt;br /&gt;
Now compare your screen to this, it should be the same.&lt;br /&gt;
[[Image:Editprogress.png|left|]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
If all looks good than click OK.&lt;br /&gt;
&lt;br /&gt;
Its always a good idea to test things to make sure everything is running right. So save your map, get into TDM and load your map.&lt;br /&gt;
&lt;br /&gt;
First, hit ESC and click &#039;&#039;Objectives&#039;&#039;. You should see your objective onscreen.&lt;br /&gt;
[[Image:Onjyes.png]]&lt;br /&gt;
 *NOTE:If you don&#039;t see it on screen, you probably forgot to check the &#039;&#039;&#039;Visible&#039;&#039;&#039; box.&lt;br /&gt;
&lt;br /&gt;
Now its time to test your objective. Exit out of the objectives menu and launch a gas arrow or use the blackjack on poor Roy. When he goes down you should see the words &amp;quot;Objective Complete&amp;quot; appear onscreen and since thats the only objective we&#039;ve added so far you&#039;ll win the mission.&lt;br /&gt;
 *NOTE:If you don&#039;t win nor see the on screen message, go back and try to figure what you did wrong.&lt;br /&gt;
&lt;br /&gt;
If all is well than its time to move on. Exit TDM and go back into Darkradiant. &lt;br /&gt;
&lt;br /&gt;
Now it is time to add the trophy. In your map add a trophy somewhere, I used the entity loot&amp;gt;atdm:loot_trophy_old&lt;br /&gt;
change its name to &amp;quot;trophy&amp;quot; and go back into objectives editor.&lt;br /&gt;
&lt;br /&gt;
Add another objective and edit it. &lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039; should be &#039;&#039;Steal the Trophy&#039;&#039;. State is &#039;&#039;Complete&#039;&#039;, &#039;&#039;&#039;Flags&#039;&#039;&#039; should be &#039;&#039;Mandatory&#039;&#039; and &#039;&#039;Visible&#039;&#039;. Click ADD and select &#039;&#039;&#039;Player possesses item&#039;&#039;. Change &#039;&#039;&#039;Item:&#039;&#039;&#039; to &#039;&#039;Name of single entity&#039;&#039; and type in the box to right, &amp;quot;trophy&amp;quot;. Change the amount to &amp;quot;1&amp;quot;.&lt;br /&gt;
&lt;br /&gt;
Your objective should look like this.&lt;br /&gt;
[[Image:Trophyedit.PNG|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Since this is a tutorial this map is very small and very basic so we are tossing all pre-thought and planning for the objectives out the window. If you want you can put the trophy on a stand and have the guard in front of it. &lt;br /&gt;
&lt;br /&gt;
Save your map and load it up in TDM. Look at the objectives menu to see if the fresh addition is there. And than take it and see if it completes the objective.&lt;br /&gt;
&lt;br /&gt;
Congratulations!&lt;br /&gt;
&lt;br /&gt;
You now have a basic understanding of how the objectives editor works. For more advanced work, look for more tutorials in the future or go on the forums.&lt;br /&gt;
&lt;br /&gt;
== FAQ ==&lt;br /&gt;
&lt;br /&gt;
Q:If I kill the guard I don&#039;t fail the mission, but I can&#039;t complete it either.&lt;br /&gt;
{{clear}}&lt;br /&gt;
A:I&#039;ll quote Greebo for this one. &lt;br /&gt;
&lt;br /&gt;
&amp;quot;The system is not smart enough to know automatically that someone who&#039;s killed can&#039;t be KO&#039;d later, so if you want it to fail when they&#039;re killed, you have to put that in specifically. Note that this doesn&#039;t have to be a whole &#039;nother objective, it can be a component of the KO objective, so you have two components, KO them, and don&#039;t kill them. We could potentially make this automatic later on, but that&#039;s the way it is right now.&amp;quot;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Trophyedit.PNG&amp;diff=6903</id>
		<title>File:Trophyedit.PNG</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Trophyedit.PNG&amp;diff=6903"/>
		<updated>2008-09-06T23:37:15Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Onjyes.png&amp;diff=6902</id>
		<title>File:Onjyes.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Onjyes.png&amp;diff=6902"/>
		<updated>2008-09-06T23:23:52Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Editprogress.png&amp;diff=6901</id>
		<title>File:Editprogress.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Editprogress.png&amp;diff=6901"/>
		<updated>2008-09-06T23:12:35Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: uploaded a new version of &amp;quot;Image:Editprogress.png&amp;quot;&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Editprogress.png&amp;diff=6900</id>
		<title>File:Editprogress.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Editprogress.png&amp;diff=6900"/>
		<updated>2008-09-06T23:00:50Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Cube.png&amp;diff=6899</id>
		<title>File:Cube.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Cube.png&amp;diff=6899"/>
		<updated>2008-09-06T22:44:42Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6898</id>
		<title>Objectives Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6898"/>
		<updated>2008-09-06T22:22:03Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to win the level. The opposite is also true, the author can set restrictions that the player must adhere to, or will fail the mission.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access the objectives editor once inside Darkradiant, click the pull-down menu Map&amp;gt;Objectives... &lt;br /&gt;
[[Image:Objmenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upon clicking you will see a separate window that looks like this. &lt;br /&gt;
[[Image:Objedblank.png|left]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{clear}}&lt;br /&gt;
To start things off, click the &lt;br /&gt;
[[Image:%2Badd.png]]Button&lt;br /&gt;
&lt;br /&gt;
[[Image:Msnobjadd.png]]&lt;br /&gt;
&lt;br /&gt;
This will create an Entity that stores all of the objectives information that will you be editing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;ve spawned our objectives entity,&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Objentity.png]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
Notice the numbers in the “[]”&#039;s. Those are the entities&#039; coordinates on the map. These numbers will most likely be different from yours.  When the objectives entity spawns it is placed randomly around the origin (As of 0.9.7 this is how it is, it might change in future versions, but for now this is how it is).&lt;br /&gt;
&lt;br /&gt;
 *Note:Be mindful that sometimes this entity will spawn outside your map and into the void. This will cause a leak, &lt;br /&gt;
 so look around the origin.&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re ready to start adding some objectives.&lt;br /&gt;
&lt;br /&gt;
Click the second [[Image:%2Badd.png]] Button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Newobj1.png|left]]&lt;br /&gt;
{{clear}}&lt;br /&gt;
&lt;br /&gt;
Under Objectives you&#039;ll notice theres a new Objective. &lt;br /&gt;
&lt;br /&gt;
Click it and than click [[Image:Edit.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
This will bring up this window.&lt;br /&gt;
{{clear}}&lt;br /&gt;
[[Image:Editobj.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re editing our first objective. It may seem a little confusing at a first glance but a lot of it is self explanitory and a little practice will take you a long way.&lt;br /&gt;
&lt;br /&gt;
So what do all these various lines and checkboxes do? &lt;br /&gt;
They effect the objective components at the bottom.&lt;br /&gt;
&lt;br /&gt;
What do they all mean?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;: This what the player will read in the objectives menu. For example: “Steal the scepter”, “Don&#039;t kill any guards”, “Get back to where you entered the warehouse”. Its explaining what you want to player read so he/she knows what to do. A good rule to follow is to make them short and to the point.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Difficulty&#039;&#039;&#039;:These refer to Easy/Medium/Hard difficulty levels. If the author wishes, they can be different for each difficulty. For example: on Hard difficulty the player will have to avoid being seen. On Easy the player will only have to steal 200 gold at the minimum. All Levels means that the objectives that are checked under this will be there regardless of difficulty. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Initial State&#039;&#039;&#039;:This is what the objective will be right from the start. There are four options. Complete, Incomplete, Invalid, Failed. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flags&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Mandatory&#039;&#039; means the objective in question is necessary to complete the game. If it is unchecked than the objective will be optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ongoing&#039;&#039; means that the objective won&#039;t show completion until the end of the mission. Irreversible means that once the objective is done, theres no change to it (could use more elaboration). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Visible means&#039;&#039; that objective will be visible in the objectives menu ingame. If unchecked than there will be no objective shown. (The objective will still work, it just won&#039;t show up in the menu).&lt;br /&gt;
&lt;br /&gt;
 *Tip: The &amp;quot;Visible&amp;quot; Box isn&#039;t checked by default yet, so try to get in the habit of checking it with each objective you want visible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enabling Objectives, Logic and Scripts&#039;&#039;&#039;: Under Construction&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components&#039;&#039;&#039;:These are used by the editor to specify what objectives need to be done. The map author can choose from a variety of options under &#039;&#039;&#039;Type&#039;&#039;&#039; with varying degrees of specification. For example: Knocking out an AI named &amp;quot;Roy&amp;quot;. Not being seen by the ANY enemy. (less examples, should cover this in the coming up tutorial.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components Flags&#039;&#039;&#039;:Components have their own special flags as well. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Satisfied at Start&#039;&#039;:For some objectives it makes sense to have them done at start. For example: Not killing anyone.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039;:One the objective has reached a certain state, it will stay that way and not change. (more elaboration, an example?)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boolean NOT&#039;&#039;:Adds &amp;quot;NOT&amp;quot; to your component so the player has to do the opposite of said objective. For example: Do NOT kill any AI on team 2.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Player Responsible&#039;&#039;:The player MUST follow through with the objective himself. For example:The player must kill the zombie to complete the objective, instead of letting something else take care of it.&lt;br /&gt;
&lt;br /&gt;
                                      -Tutorial Coming soon-&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6897</id>
		<title>Objectives Editor</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=Objectives_Editor&amp;diff=6897"/>
		<updated>2008-09-06T04:16:20Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: New page: The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to wi...&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;The objectives editor is a very useful tool located inside Darkradiant (Version 0.9.7 or later) that allows the map author to set objectives or goals that the player must do in order to win the level. The opposite is also true, the author can set restrictions that the player must adhere to, or will fail the mission.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To access the objectives editor once inside Darkradiant, click the pull-down menu Map&amp;gt;Objectives... &lt;br /&gt;
[[Image:Objmenu.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Upon clicking you will see a separate window that looks like this. &lt;br /&gt;
[[Image:Objedblank.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
To start things off, click the &lt;br /&gt;
[[Image:%2Badd.png]]Button&lt;br /&gt;
[[Image:Msnobjadd.png]]&lt;br /&gt;
&lt;br /&gt;
This will create an Entity that stores all of the objectives information that will you be editing.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Notice the numbers in the “[]”&#039;s. Those are the entities&#039; coordinates on the map. These numbers will most likely be different from yours.  When the objectives entity spawns it is placed randomly around the origin (As of 0.9.7 this is how it is, it might change in future versions, but for now this is how it is).&lt;br /&gt;
&lt;br /&gt;
 *Note:Be mindful that sometimes this entity will spawn outside your map and into the void. This will cause a leak, &lt;br /&gt;
 so look around the origin.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;ve spawned our objectives entity,&lt;br /&gt;
[[Image:Objentity.png]]&lt;br /&gt;
Now we&#039;re ready to start adding some objectives.&lt;br /&gt;
&lt;br /&gt;
Click the second[[Image:%2Badd.png]]Button&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[Image:Newobj1.png]]&lt;br /&gt;
Under Objectives you&#039;ll notice theres a new Objective. &lt;br /&gt;
&lt;br /&gt;
Click it and than click [[Image:Edit.png]]&lt;br /&gt;
&lt;br /&gt;
This will bring up another window. [[Image:Editobj.png]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now we&#039;re editing our first objective. It may seem a little confusing at a first glance but a lot of it is self explanitory and a little practice will take you a long way.&lt;br /&gt;
&lt;br /&gt;
So what do all these various lines and checkboxes do? &lt;br /&gt;
They effect the objective components at the bottom.&lt;br /&gt;
&lt;br /&gt;
What do they all mean?&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Description&#039;&#039;&#039;: This what the player will read in the objectives menu. For example: “Steal the scepter”, “Don&#039;t kill any guards”, “Get back to where you entered the warehouse”. Its explaining what you want to player read so he/she knows what to do. A good rule to follow is to make them short and to the point.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Difficulty&#039;&#039;&#039;:These refer to Easy/Medium/Hard difficulty levels. If the author wishes, they can be different for each difficulty. For example: on Hard difficulty the player will have to avoid being seen. On Easy the player will only have to steal 200 gold at the minimum. All Levels means that the objectives that are checked under this will be there regardless of difficulty. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Initial State&#039;&#039;&#039;:This is what the objective will be right from the start. There are four options. Complete, Incomplete, Invalid, Failed. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Flags&#039;&#039;&#039;:&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Mandatory&#039;&#039; means the objective in question is necessary to complete the game. If it is unchecked than the objective will be optional. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Ongoing&#039;&#039; means that the objective won&#039;t show completion until the end of the mission. Irreversible means that once the objective is done, theres no change to it (could use more elaboration). &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Visible means&#039;&#039; that objective will be visible in the objectives menu ingame. If unchecked than there will be no objective shown. (The objective will still work, it just won&#039;t show up in the menu).&lt;br /&gt;
&lt;br /&gt;
 *Tip: The &amp;quot;Visible&amp;quot; Box isn&#039;t checked by default yet, so try to get in the habit of checking it with each objective you want visible.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Enabling Objectives, Logic and Scripts&#039;&#039;&#039;: Under Construction&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components&#039;&#039;&#039;:These are used by the editor to specify what objectives need to be done. The map author can choose from a variety of options under &#039;&#039;&#039;Type&#039;&#039;&#039; with varying degrees of specification. For example: Knocking out an AI named &amp;quot;Roy&amp;quot;. Not being seen by the ANY enemy. (less examples, should cover this in the coming up tutorial.)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Components Flags&#039;&#039;&#039;:Components have their own special flags as well. &lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Satisfied at Start&#039;&#039;:For some objectives it makes sense to have them done at start. For example: Not killing anyone.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Irreversible&#039;&#039;:One the objective has reached a certain state, it will stay that way and not change. (more elaboration, an example?)&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Boolean NOT&#039;&#039;:Adds &amp;quot;NOT&amp;quot; to your component so the player has to do the opposite of said objective. For example: Do NOT kill any AI on team 2.&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;Player Responsible&#039;&#039;:The player MUST follow through with the objective himself. For example:The player must kill the zombie to complete the objective, instead of letting something else take care of it.&lt;br /&gt;
&lt;br /&gt;
                                      -Tutorial Coming soon-&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Newobj1.png&amp;diff=6896</id>
		<title>File:Newobj1.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Newobj1.png&amp;diff=6896"/>
		<updated>2008-09-06T03:47:14Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Objedblank.png&amp;diff=6895</id>
		<title>File:Objedblank.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Objedblank.png&amp;diff=6895"/>
		<updated>2008-09-06T03:47:12Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Objentity.png&amp;diff=6894</id>
		<title>File:Objentity.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Objentity.png&amp;diff=6894"/>
		<updated>2008-09-06T03:47:11Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Objmenu.png&amp;diff=6893</id>
		<title>File:Objmenu.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Objmenu.png&amp;diff=6893"/>
		<updated>2008-09-06T03:47:10Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Msnobjadd.png&amp;diff=6892</id>
		<title>File:Msnobjadd.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Msnobjadd.png&amp;diff=6892"/>
		<updated>2008-09-06T03:46:04Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Editobj.png&amp;diff=6891</id>
		<title>File:Editobj.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Editobj.png&amp;diff=6891"/>
		<updated>2008-09-06T03:45:52Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:Edit.png&amp;diff=6890</id>
		<title>File:Edit.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:Edit.png&amp;diff=6890"/>
		<updated>2008-09-06T03:45:37Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
	<entry>
		<id>https://wiki.thedarkmod.com/index.php?title=File:%2Badd.png&amp;diff=6889</id>
		<title>File:+add.png</title>
		<link rel="alternate" type="text/html" href="https://wiki.thedarkmod.com/index.php?title=File:%2Badd.png&amp;diff=6889"/>
		<updated>2008-09-06T03:45:03Z</updated>

		<summary type="html">&lt;p&gt;Happycheeze: &lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;&lt;/div&gt;</summary>
		<author><name>Happycheeze</name></author>
	</entry>
</feed>