<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.alliedmods.net/index.php?action=history&amp;feed=atom&amp;title=CWorld_%28CS%29</id>
	<title>CWorld (CS) - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.alliedmods.net/index.php?action=history&amp;feed=atom&amp;title=CWorld_%28CS%29"/>
	<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=CWorld_(CS)&amp;action=history"/>
	<updated>2026-05-16T11:09:38Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.31.6</generator>
	<entry>
		<id>https://wiki.alliedmods.net/index.php?title=CWorld_(CS)&amp;diff=7229&amp;oldid=prev</id>
		<title>Arkshine: Added CWorld</title>
		<link rel="alternate" type="text/html" href="https://wiki.alliedmods.net/index.php?title=CWorld_(CS)&amp;diff=7229&amp;oldid=prev"/>
		<updated>2009-04-25T18:16:25Z</updated>

		<summary type="html">&lt;p&gt;Added CWorld&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Category:CS Class List]]&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Basic Information == &lt;br /&gt;
&lt;br /&gt;
* '''Classname''': CWorld. &amp;lt;br /&amp;gt;&lt;br /&gt;
* '''Linked Entity''': worldspawn.&amp;lt;br /&amp;gt;&lt;br /&gt;
* '''Description''': A special entity that controls several global properties. Created automatically, and can be found in Hammer under Map &amp;gt; Map Properties. This spawns first when each level begins. &amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Class Hierarchy ==&lt;br /&gt;
&lt;br /&gt;
* [[CBaseEntity (CS)|CBaseEntity]]&lt;br /&gt;
** '''CWorld''' ''(worldspawn)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== HLSDK Reference ==&lt;br /&gt;
&lt;br /&gt;
* [http://svn.tcwonline.org/viewvc.cgi/hlsdk/dlls/world.cpp?view=markup&amp;amp;root=amxmodx world.cpp] ''(line 528)''&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Entity Properties ==&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Entity Attributes ==&lt;br /&gt;
&lt;br /&gt;
* '''Map Description/Title''' (''message'') - Displays this text on entering the world.&lt;br /&gt;
* '''Environment Map''' (''skyname'') - Lets you choose what sky image you want. &lt;br /&gt;
: Values are: 2desert, alien1, alien2, alien3, black, city, cliff, desert, dusk, morning, neb1, neb2, neb6, neb7, night, space, xen8, xen9, xen10. &lt;br /&gt;
: More skies exist in Half-Life modifications, and you can also make your own skies.&lt;br /&gt;
* '''CD track to play''' (''sounds'') - CD track to play when the level begins.&lt;br /&gt;
* '''Default light level''' (''light'')&lt;br /&gt;
* '''Default Wave Height''' (''WaveHeight'') - Set the default wave height here (can be overridden by the properties in func_water).&lt;br /&gt;
* '''Max viewable distance''' (''MaxRange'') - Maximum distance the player can see.&lt;br /&gt;
* '''Chapter title message''' (''chaptertitle'') - Text displayed when entering the level.&lt;br /&gt;
* '''Level Fade-in''' (''startdark'') - 0 = No, 1 = Yes. If Yes, then the level will start black and fade into normal light.&lt;br /&gt;
* '''Display game title''' (''gametitle'') - 0 = No, 1 = Yes. If Yes, then &amp;quot;Half-Life&amp;quot; will be displayed after the map loads.&lt;br /&gt;
* '''New Level Unit''' (''newunit'') - 0 = No, 1 = Yes. If Yes, all previous global triggers will be removed.&lt;br /&gt;
* '''Map team List''' (''mapteams'') - This will be copied into the mp_teamlist while your map is running if the server allows maps to override the team list.&lt;br /&gt;
* '''Default Team''' (''defaultteam'') - 0 = Fewest Players, 1 = First Team (team index 0).&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Entity Flags ==&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pawn&amp;gt;&lt;br /&gt;
// Spawn flags&lt;br /&gt;
#define SF_WORLD_DARK	    0x0001  // Fade from black at startup&lt;br /&gt;
#define SF_WORLD_TITLE	    0x0002  // Display game title at startup&lt;br /&gt;
#define SF_WORLD_FORCETEAM  0x0004  // Force teams&lt;br /&gt;
&amp;lt;/pawn&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
== Notes ==&lt;br /&gt;
&lt;br /&gt;
None.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
''( source : [http://twhl.co.za/wiki.php?id=162 TWHL] )''&lt;/div&gt;</summary>
		<author><name>Arkshine</name></author>
		
	</entry>
</feed>