<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>CornEmpire Software &#187; cs2d</title>
	<atom:link href="http://cornempire.net/tag/cs2d/feed/" rel="self" type="application/rss+xml" />
	<link>http://cornempire.net</link>
	<description>Tidbits about programming, web development, gaming and other random stuff.</description>
	<lastBuildDate>Sun, 15 Jan 2012 15:30:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>CS2D Map Editing</title>
		<link>http://cornempire.net/2009/01/18/cs2d-map-editing/</link>
		<comments>http://cornempire.net/2009/01/18/cs2d-map-editing/#comments</comments>
		<pubDate>Sun, 18 Jan 2009 19:21:36 +0000</pubDate>
		<dc:creator>cornmaster</dc:creator>
				<category><![CDATA[Games]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[cs2d]]></category>
		<category><![CDATA[editor]]></category>
		<category><![CDATA[map]]></category>

		<guid isPermaLink="false">http://www.cornempire.net/?p=96</guid>
		<description><![CDATA[I&#8217;ve recently come across a game that I&#8217;m becoming quite a fan of.  CS2D is an overhead shooter that is modeled after the popular Counter Strike mod of Half Life.  Back in the day, I used to play the 3D mod of Half Life, but I have not played it recently. I&#8217;m a big fan <a href='http://cornempire.net/2009/01/18/cs2d-map-editing/'>[...]</a>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve recently come across a game that I&#8217;m becoming quite a fan of.  <a href="http://www.cs2d.com" target="_blank">CS2D</a> is an overhead shooter that is modeled after the popular Counter Strike mod of Half Life.  Back in the day, I used to play the 3D mod of Half Life, but I have not played it recently.</p>
<p>I&#8217;m a big fan of this game because of its simple and fun game play.  If you have some non-hardcore gamers, they will probably get a kick out of the quick and addictive gameplay.  It is also seamlessly cross platform with all of my Windows and Mac friends playing along too.  And it also has a simple to use map editor that allows the creative juices to flow.  This will be a brief tutorial on how to use triggers to create doors that open, and breakable glass.</p>
<p>Using the in game editor to make a map is a piece of cake.  Some of the more advanced stuff can be a bit tricky though.  I&#8217;m working on a map where the Counter Terriorists must escort a VIP from a brick residence to a boat anchored just off shore.  However, a group of Terrorists have found the location first, and are able to begin some fortifications of the ship with the goal of preventing the VIPs escape.  I wanted to make the building a little more realistic by adding a window, and a door or two.</p>
<ol>
<li>Create the map</li>
<li>Place your floor terrain where you want the door to be</li>
<li>Go to the Entity menu, (the bulb with the points coming out of it) and select &#8216;Func_DynWall&#8217;</li>
<li>Place it, and edit the entry by right clicking or double clicking.</li>
<li>Change the Tile/Frame # to the number of the tile that you want to appear when the door is closed.</li>
<li>Give the DynWall a unique name</li>
<li>Elsewhere on your map, you want to create the button to open the door.  From the entity menu, place a &#8216;Trigger_Use&#8217; entity and edit it.</li>
<li>Select the button type, and where you want it to appear, and who should be allowed to use it.</li>
<li>Then, for the Trigger box, type in the name of your door (if you have multiple doors opened by a single trigger, separate them with commas)</li>
</ol>
<p>Once you test this map out, you should now have open-able and close-able doors.</p>
<p>To create breakable glass, do the following:</p>
<ol>
<li>Place some terrain that looks like a window</li>
<li>Add an entity that is &#8216;Env_Breakable&#8217;</li>
<li>Edit this entity, and give the wall/glass some health, and determine which material you want to make it of.</li>
</ol>
<p>You can test the map, and you should now be able to break the glass and walk through it once it is broken.</p>
<p>I may post some other map tricks in the future.</p>
<p><strong>NOTE: Bots don&#8217;t handle glass/doors well.  If the is no clear path between their start and their objective, they will not realize that doors/glass is a viable alternative and will NOT actually move.  Keep this in mind if designing offline maps.</strong></p>
<p><strong>Attachment</strong>: <a href="http://cornempire.net/files/2009/01/bridgetest.map">Bridge Test map</a> for Fiid who commented below.</p>
]]></content:encoded>
			<wfw:commentRss>http://cornempire.net/2009/01/18/cs2d-map-editing/feed/</wfw:commentRss>
		<slash:comments>41</slash:comments>
		</item>
	</channel>
</rss>

