<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.crymod.net/skins/common/feed.css?270"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ru">
		<id>http://wiki.crymod.net/index.php?action=history&amp;feed=atom&amp;title=%D0%90%D0%BA%D1%83%D0%BB%D1%8B</id>
		<title>Акулы - История изменений</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.crymod.net/index.php?action=history&amp;feed=atom&amp;title=%D0%90%D0%BA%D1%83%D0%BB%D1%8B"/>
		<link rel="alternate" type="text/html" href="http://wiki.crymod.net/index.php?title=%D0%90%D0%BA%D1%83%D0%BB%D1%8B&amp;action=history"/>
		<updated>2026-08-06T17:07:42Z</updated>
		<subtitle>История изменений этой страницы в вики</subtitle>
		<generator>MediaWiki 1.16.0</generator>

	<entry>
		<id>http://wiki.crymod.net/index.php?title=%D0%90%D0%BA%D1%83%D0%BB%D1%8B&amp;diff=3459&amp;oldid=prev</id>
		<title>DCamer в 12:12, 17 февраля 2012</title>
		<link rel="alternate" type="text/html" href="http://wiki.crymod.net/index.php?title=%D0%90%D0%BA%D1%83%D0%BB%D1%8B&amp;diff=3459&amp;oldid=prev"/>
				<updated>2012-02-17T12:12:39Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Предыдущая&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Версия 12:12, 17 февраля 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 29:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 29:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Добавление WaterKillEvent ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Добавление WaterKillEvent ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Для начала, нам надо добавить WaterKillEvent на карту; он спавнит акул. Находится здесь: '''''RollupBar &amp;amp;rarr; Entity &amp;amp;rarr; Others &amp;amp;rarr; WaterKillEvent '''''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Для начала, нам надо добавить &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;WaterKillEvent&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;на карту; он спавнит акул. Находится здесь: '''''RollupBar &amp;amp;rarr; Entity &amp;amp;rarr; Others &amp;amp;rarr; WaterKillEvent '''''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:RollupBarWaterkill.PNG|thumb|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:RollupBarWaterkill.PNG|thumb|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 36:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 36:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Назначение AreaTrigger ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Назначение AreaTrigger ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Next&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;we need to add an &lt;/del&gt;'''AreaTrigger''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to detect when the player is and isn’t inside the shape&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;To add an &lt;/del&gt;AreaTrigger &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to your map&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;browse to the &lt;/del&gt;'''''RollupBar &amp;amp;rarr; Entity &amp;amp;rarr; Triggers &amp;amp;rarr; AreaTrigger'''''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Далее&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;нам нужно добавить &lt;/ins&gt;'''AreaTrigger''' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;чтобы определять когда игрок находится в форме&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Чтобы добавить &lt;/ins&gt;AreaTrigger &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;на карту&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;перейдите в &lt;/ins&gt;'''''RollupBar &amp;amp;rarr; Entity &amp;amp;rarr; Triggers &amp;amp;rarr; AreaTrigger'''''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:RollupBarAreaTrigger.PNG|thumb|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:RollupBarAreaTrigger.PNG|thumb|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Place the &lt;/del&gt;AreaTrigger &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;somewhere near the shape&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;In its parameters&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;for the sake of organisation and continuity&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;rename the &lt;/del&gt;AreaTrigger &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to &lt;/del&gt;'''SharkTrigger''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;or a similar name that you can refer to quickly&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Разместите &lt;/ins&gt;AreaTrigger &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;неподалёку форму&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;В его параметрах&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;ради организации и преемственности&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;переименуйте '''&lt;/ins&gt;AreaTrigger&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' в &lt;/ins&gt;'''SharkTrigger''' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;или в аналогичное название, к которому вы можете быстро обратиться&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Next&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;select the &lt;/del&gt;AreaShape &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;that you created earlier&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;In it’s parameters&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;scroll down to the &lt;/del&gt;Target &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;section and click on &lt;/del&gt;'''Pick'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Далее&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;выберите ранее созданный '''&lt;/ins&gt;AreaShape&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;В его параметрах&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;прокрутите до раздела '''&lt;/ins&gt;Target&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' и щёлкните по &lt;/ins&gt;'''Pick'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:PickTarget.PNG|thumb|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:PickTarget.PNG|thumb|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Once you have pressed this button&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;a small crosshair icon should appear instead of the normal mouse icon&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;In the perspective view&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;scroll the camera so you can see the &lt;/del&gt;AreaTrigger, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and then click on the &lt;/del&gt;AreaTrigger &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;icon&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;A line should form between the &lt;/del&gt;AreaTrigger &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and the &lt;/del&gt;AreaShape, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;depicting that these two entities are now linked&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;This means that when you walk into the &lt;/del&gt;AreaShape, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;an action is triggered due to the linked &lt;/del&gt;AreaTrigger.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Когда вы щёлкните по кнопке&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;вместо стандартного указателя мыши появится указатель в виде перекрестья&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;В окне проекции&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;передвиньте камеру так, чтобы был виден '''&lt;/ins&gt;AreaTrigger&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;и затем щёлкните по значку '''&lt;/ins&gt;AreaTrigger&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Между &lt;/ins&gt;AreaTrigger &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;и &lt;/ins&gt;AreaShape &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;сформируется линия&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;изображая, что эти две сущности связаны между собой&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Это означает, что когда вы войдёте в '''&lt;/ins&gt;AreaShape&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;будет вызвано действие из '''&lt;/ins&gt;AreaTrigger&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:SharkAreaLink.JPG|thumb|400px|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:SharkAreaLink.JPG|thumb|400px|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Настройка Flow Graph =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Настройка Flow Graph =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;In order for the &lt;/del&gt;WaterKillEvent &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to be triggered when we enter the &lt;/del&gt;AreaShape, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;we need to create a small and simple flowgraph that will do this job&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;To start off&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;we need to link the flowgraph to one of the entities to ensure that the flowgraph loads when the game starts&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;To do this scroll down in the parameters of your &lt;/del&gt;AreaTrigger (&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;although it can be any entity&lt;/del&gt;) &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and click the &lt;/del&gt;'''Create''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;button in the flowgraph section&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Для того, чтобы сработал '''&lt;/ins&gt;WaterKillEvent&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''', когда вы войдёте в &lt;/ins&gt;AreaShape, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;нам нужно создать небольшой и простой потоковый граф&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Для начала&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;нам нужно связать потоковый граф с одной из сущностей, чтобы потоковый граф загрузился при начале игры&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Чтобы связать его с сущностей, в параметрах '''&lt;/ins&gt;AreaTrigger&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;либо любой другой сущности&lt;/ins&gt;) &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;прокрутите до раздела '''Flowgraph''' и нажмите кнопку &lt;/ins&gt;'''Create'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:FlowgraphCreate.PNG|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:FlowgraphCreate.PNG|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Name it something appropriate&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and you should now find yourself with a blank flowgraph canvas&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Назовите его как угодно&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;теперь у вас есть чистый лист потокового графа&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;First we are going to add in the &lt;/del&gt;AreaTrigger. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;To do this, select the &lt;/del&gt;AreaTrigger &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;in the perspective view&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and in the flowgraph editor&lt;/del&gt;, '''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Right Click &lt;/del&gt;&amp;amp;rarr; Add Selected Entity'''. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;An &lt;/del&gt;'''''entity:AreaTrigger''''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;node should now have appeared in your flowgraph&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and if the graph was assigned to it&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;then its entity name will probably be &lt;/del&gt;'''&amp;lt;GraphEntity&amp;gt;'''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Первое, что мы сделаем, это добавим '''&lt;/ins&gt;AreaTrigger&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Выберите '''&lt;/ins&gt;AreaTrigger&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' в окне проекции&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;и в редакторе '''Flow Graph'''&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;нажмите &lt;/ins&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;правой кнопкой мыши &lt;/ins&gt;&amp;amp;rarr; Add Selected Entity'''. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;В вашем потоковом графе должен появится нод &lt;/ins&gt;'''''entity:AreaTrigger''''', &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;а если граф был назначен к нему самому&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;то его имя сущности будет &lt;/ins&gt;'''&amp;lt;GraphEntity&amp;gt;'''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:AreaTrigger.PNG|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:AreaTrigger.PNG|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;With the &lt;/del&gt;AreaTrigger &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;added in&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;its now time to do the same to the &lt;/del&gt;WaterKillEvent. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Select it in the perspective view&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;go back to the flowgraph editor&lt;/del&gt;, '''&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Right Click &lt;/del&gt;&amp;amp;rarr; Add Selected Entity'''. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The &lt;/del&gt;'''''entity:WaterKillEvent''''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;node should now have appeared in your flowgraph&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;with the entity probably being &lt;/del&gt;WaterKillEvent1 (&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;unless you renamed it&lt;/del&gt;). &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Your flowgraph should now resemble the one below&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;AreaTrigger&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' добавлен&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;теперь пришло время, сделать то же самое с '''&lt;/ins&gt;WaterKillEvent&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Выберите его в окне проекции&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;вернитесь в редактор '''Flow Graph'''&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;нажмите &lt;/ins&gt;'''&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;правой кнопкой мыши &lt;/ins&gt;&amp;amp;rarr; Add Selected Entity'''. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;В вашем потоковом графе должен появится нод &lt;/ins&gt;'''''entity:WaterKillEvent''''', &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;его имя сущности будет '''&lt;/ins&gt;WaterKillEvent1&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' &lt;/ins&gt;(&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;если вы не переименовали его&lt;/ins&gt;). &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Ваш потоковый граф будет выглядеть как на следующем скриншоте&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:StarterSharkFG.PNG|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:StarterSharkFG.PNG|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Now it’s time to link the nodes together so that when you enter the &lt;/del&gt;AreaTrigger &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the &lt;/del&gt;WaterKillEvent &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;is triggered&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;You’ll see that the &lt;/del&gt;AreaTrigger &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;has an &lt;/del&gt;'''Enter''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;output&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and that the &lt;/del&gt;WaterKillEvent &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;has a &lt;/del&gt;'''SpawnShark''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;output&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;If we link these two together&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;the sharks will be spawned when the player enters the area&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;To link the two ports&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;hold down the left mouse button on the &lt;/del&gt;Enter &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;output&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and drag the link across to the &lt;/del&gt;SpawnShark &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;output&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Release the left mouse button to set the link&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Finally we need to link the &lt;/del&gt;'''Leave''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;port of the &lt;/del&gt;AreaTrigger &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and the &lt;/del&gt;'''RemoveShark''' &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;port of the &lt;/del&gt;WaterKillEvent. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Follow the same steps as before to achieve this&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Your finished flowgraph should now look like this&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Теперь, настало время связать ноды, так, чтобы когда вы вошли в '''&lt;/ins&gt;AreaTrigger&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' сработал '''&lt;/ins&gt;WaterKillEvent&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Как видите, у '''&lt;/ins&gt;AreaTrigger&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''' есть выход &lt;/ins&gt;'''Enter''', &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;а у &lt;/ins&gt;WaterKillEvent &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;есть вход &lt;/ins&gt;'''SpawnShark'''. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Если вы их соедините&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;акула будет заспавнена, когда игрок входит в форму&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Чтобы соединить два порта&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;удерживайте левую кнопку мыши у выхода '''&lt;/ins&gt;Enter&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;и перемещайте линию ко входу '''&lt;/ins&gt;SpawnShark&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Отпустите левую кнопку мыши, чтобы установить связь&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Теперь нам нужно соединить порт &lt;/ins&gt;'''Leave''' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;('''''&lt;/ins&gt;AreaTrigger&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''''') и порт &lt;/ins&gt;'''RemoveShark''' &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;('''''&lt;/ins&gt;WaterKillEvent&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;''''')&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Сделайте аналогично вышеописанному&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Ваш готовый потоковый граф будет выглядеть, как показано ниже&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:FinishedSharkFG.PNG|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:FinishedSharkFG.PNG|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Завершение =&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= Завершение =&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Finally&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to make sure the sharks attack you and don’t just completely ignore you&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;you need to generate their navigation&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;To do this&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;navigate to the top toolbar and click on &lt;/del&gt;'''AI &amp;amp;rarr; Generate All Navigation'''. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;The sharks should now attack you when you jump in&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Наконец&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;чтобы убедиться&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;что акула атакует вас, а не просто-напросто игнорирует, вам нужно сгенерировать её навигацию&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Чтобы сделать это&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;нажмите в меню &lt;/ins&gt;'''AI &amp;amp;rarr; Generate All Navigation'''. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Акула должна атаковать вас&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;To jump into the game&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;position yourself next to the area and press &lt;/del&gt;Ctrl + G &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to spawn into the game&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Swim into the area&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and you’ll soon be greeted by some sharks&lt;/del&gt;!&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Чтобы перейти в игру&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;расположитесь поблизости формы и нажмите '''&lt;/ins&gt;Ctrl + G&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;'''&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Плавайте в этой области&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;и скоро встретите акул&lt;/ins&gt;!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;gallery&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;gallery&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>DCamer</name></author>	</entry>

	<entry>
		<id>http://wiki.crymod.net/index.php?title=%D0%90%D0%BA%D1%83%D0%BB%D1%8B&amp;diff=3455&amp;oldid=prev</id>
		<title>DCamer в 13:03, 14 февраля 2012</title>
		<link rel="alternate" type="text/html" href="http://wiki.crymod.net/index.php?title=%D0%90%D0%BA%D1%83%D0%BB%D1%8B&amp;diff=3455&amp;oldid=prev"/>
				<updated>2012-02-14T13:03:15Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: white; color:black;&quot;&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
			&lt;col class='diff-marker' /&gt;
			&lt;col class='diff-content' /&gt;
		&lt;tr valign='top'&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Предыдущая&lt;/td&gt;
		&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Версия 13:03, 14 февраля 2012&lt;/td&gt;
		&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 23:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 23:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:AreaHeightened.jpg|thumb|650px|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:AreaHeightened.jpg|thumb|650px|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Примечание|&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;To make your &lt;/del&gt;AreaShape &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;even more visible&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;make sure you tick the box labelled &lt;/del&gt;'''''DisplayFilled'''''; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;this will shade in the boundaries nicely which should help you define your areas better&lt;/del&gt;.}}&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;{{Примечание|&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Чтобы сделать &lt;/ins&gt;AreaShape &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;более заметным&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;отметьте галочкой &lt;/ins&gt;'''''DisplayFilled'''''; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;это затенит форму по границе&lt;/ins&gt;.}}&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Assigning Sharks To Your Shape &lt;/del&gt;=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Назначение акулы к форме &lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;nbsp;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;В этом разделе описывается назначение сущности WaterKillEvent к форме; это фактически создаст акулы, которые нападают на вас. Мы также рассмотрим событие срабатывания, при входе в форму, используя AreaTrigger.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;In this section we will cover assigning the WaterKillEvent entity to your shape; this effectively creates the sharks that attack you. We will also cover triggering the event when you enter the shape using an AreaTrigger.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Добавление WaterKillEvent &lt;/ins&gt;==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Для начала&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;нам надо добавить &lt;/ins&gt;WaterKillEvent &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;на карту&lt;/ins&gt;; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;он спавнит акул&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Находится здесь: &lt;/ins&gt;'''''RollupBar &amp;amp;rarr; Entity &amp;amp;rarr; Others &amp;amp;rarr; WaterKillEvent '''''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Adding The WaterKill Event &lt;/del&gt;==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;To start off&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;we need to add a &lt;/del&gt;WaterKillEvent &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;to our map&lt;/del&gt;; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;this will spawn sharks that will come and attack you&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;This can be found in the &lt;/del&gt;'''''RollupBar &amp;amp;rarr; Entity &amp;amp;rarr; Others &amp;amp;rarr; WaterKillEvent '''''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:RollupBarWaterkill.PNG|thumb|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:RollupBarWaterkill.PNG|thumb|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Once you’ve dragged it across&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;place it anywhere on your map near the shape&lt;/del&gt;. &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;It’s important to stress that the little area that &lt;/del&gt;WaterKillEvent &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;takes up itself is not the area that it will use&lt;/del&gt;, &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;so it doesn’t need to be scaled or resized to fit anything&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Перетаскивая&lt;/ins&gt;, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;разместите его рядом с вашей формой&lt;/ins&gt;. &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Важно подчеркнуть, что маленькая площадь, которую занимает &lt;/ins&gt;WaterKillEvent, &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;он не будет использовать, так что не нужно расширять или изменять&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Assigning an &lt;/del&gt;AreaTrigger ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Назначение &lt;/ins&gt;AreaTrigger ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next, we need to add an '''AreaTrigger''' to detect when the player is and isn’t inside the shape. To add an AreaTrigger to your map, browse to the '''''RollupBar &amp;amp;rarr; Entity &amp;amp;rarr; Triggers &amp;amp;rarr; AreaTrigger'''''.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Next, we need to add an '''AreaTrigger''' to detect when the player is and isn’t inside the shape. To add an AreaTrigger to your map, browse to the '''''RollupBar &amp;amp;rarr; Entity &amp;amp;rarr; Triggers &amp;amp;rarr; AreaTrigger'''''.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 50:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:SharkAreaLink.JPG|thumb|400px|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:SharkAreaLink.JPG|thumb|400px|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Setting Up The Flowgraph &lt;/del&gt;=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Настройка Flow Graph &lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;In order for the WaterKillEvent to be triggered when we enter the AreaShape, we need to create a small and simple flowgraph that will do this job. To start off, we need to link the flowgraph to one of the entities to ensure that the flowgraph loads when the game starts. To do this scroll down in the parameters of your AreaTrigger (although it can be any entity) and click the '''Create''' button in the flowgraph section.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;In order for the WaterKillEvent to be triggered when we enter the AreaShape, we need to create a small and simple flowgraph that will do this job. To start off, we need to link the flowgraph to one of the entities to ensure that the flowgraph loads when the game starts. To do this scroll down in the parameters of your AreaTrigger (although it can be any entity) and click the '''Create''' button in the flowgraph section.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 68:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 67:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:FinishedSharkFG.PNG|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Файл:FinishedSharkFG.PNG|frame|center]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Finishing Off &lt;/del&gt;=&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;= &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Завершение &lt;/ins&gt;=&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Finally, to make sure the sharks attack you and don’t just completely ignore you, you need to generate their navigation. To do this, navigate to the top toolbar and click on '''AI &amp;amp;rarr; Generate All Navigation'''. The sharks should now attack you when you jump in.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Finally, to make sure the sharks attack you and don’t just completely ignore you, you need to generate their navigation. To do this, navigate to the top toolbar and click on '''AI &amp;amp;rarr; Generate All Navigation'''. The sharks should now attack you when you jump in.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;To jump into the game, position yourself next to the area and press Ctrl + G to spawn into the game. Swim into the area, and you’ll soon be greeted by some sharks!&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;To jump into the game, position yourself next to the area and press Ctrl + G to spawn into the game. Swim into the area, and you’ll soon be greeted by some sharks!&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 77:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Строка 76:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Image:SharkAttack3.PNG&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;Image:SharkAttack3.PNG&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/gallery&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt; &lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;lt;/gallery&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;-&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Категория:&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;Other Topics&lt;/del&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;[[Категория:&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;Другие темы&lt;/ins&gt;]]&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>DCamer</name></author>	</entry>

	<entry>
		<id>http://wiki.crymod.net/index.php?title=%D0%90%D0%BA%D1%83%D0%BB%D1%8B&amp;diff=2743&amp;oldid=prev</id>
		<title>DCamer: Новая страница: «{{О статье |автор=DCamer |совместимость=Все }} Добро пожаловать в урок от CryWiki Russia по добавлению ...»</title>
		<link rel="alternate" type="text/html" href="http://wiki.crymod.net/index.php?title=%D0%90%D0%BA%D1%83%D0%BB%D1%8B&amp;diff=2743&amp;oldid=prev"/>
				<updated>2011-06-27T19:25:56Z</updated>
		
		<summary type="html">&lt;p&gt;Новая страница: «{{О статье |автор=DCamer |совместимость=Все }} Добро пожаловать в урок от CryWiki Russia по добавлению ...»&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Новая страница&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{О статье&lt;br /&gt;
|автор=DCamer&lt;br /&gt;
|совместимость=Все&lt;br /&gt;
}}&lt;br /&gt;
Добро пожаловать в урок от CryWiki Russia по добавлению акул на карту. В этой статье мы покажем вам, как назначить акулы к определенной области наряду с созданием простого потокового графа, необходимого для правильного спавна акул.&lt;br /&gt;
&lt;br /&gt;
= Настройка области для акул =&lt;br /&gt;
Для начала , нам нужно создать область для акул, которых вы добавите позже в статье, чтобы они перемещались и атаковали, когда мы входим. Чтобы это сделать, нам надо создать '''''AreaShape.''''' Он находится в '''RollupBar &amp;amp;rarr; Area &amp;amp;rarr; Shape''', как показано на снимки ниже.&lt;br /&gt;
[[Файл:RollupBarArea.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
Вы должны увидеть на экране, в море оси X, Y и Z. Убедитесь, что '''Snap To Terrain''' выбраг '''(Ctrl + 1)''', чтобы форма не создалась под ландшафтом и щелкните кнопку мыши, чтобы создать первую точку. Продолжайте щелкать, чтобы добавить ещё точки (которые будут выглядеть как маленькие голубые кубы) и сделайте двойной щелчок, чтобы завершить форму. Это должно выглядеть примерно как на картинке ниже. Хотя вы не увидите линии между каждой из точек, которые образуют форму, пока вы не переместите камеру под воду. В дальнейшем мы сделаем, чтобы эти точки появлялись над водой.&lt;br /&gt;
&lt;br /&gt;
{{Примечание|Если вам нужно изменить точки формы , нажмите кнопку '''«Edit Shape»''' в параметрах форму. Вы можете дважды щелкнуть по соединяющей линии чтоьы создать новые точки, и сделайте двойной щелчок по точкам, чтобы удалить их.}}&lt;br /&gt;
&lt;br /&gt;
[[Файл:AreaInWater.PNG|thumb|450px|center]]&lt;br /&gt;
&lt;br /&gt;
== Настройка формы ==&lt;br /&gt;
Прежде чем мы начнем назначать акул в этой области, мы изменим некоторые параметры нашей форме, чтобы сделать его попроще для последующих этапов данного урока.&lt;br /&gt;
Сначала, выберите AreaShape и взгляните на его параметры в RollupBar. В параметрах будет его имя, вероятно '''Shape1'''. Для того, чтобы упростить организацию в будущем, переименуйте его в что-то вроде '''SharkShape''' , что будет легко различимо.&lt;br /&gt;
В добавок к этому, вы также увидеть, что есть параметр '''''Height''''', который по умолчанию равен 0; он определяет высоту формы и контролует, насколько будут высоки линий, соединяющие точки. Установите его чуть выше, чем высота вашего море; значение около 30 должно подойти.&lt;br /&gt;
Как только вы сделаете это, ваша форма будет выглядеть как на скриншоте ниже.&lt;br /&gt;
&lt;br /&gt;
[[Файл:AreaHeightened.jpg|thumb|650px|center]]&lt;br /&gt;
&lt;br /&gt;
{{Примечание|To make your AreaShape even more visible, make sure you tick the box labelled '''''DisplayFilled'''''; this will shade in the boundaries nicely which should help you define your areas better.}}&lt;br /&gt;
&lt;br /&gt;
= Assigning Sharks To Your Shape =&lt;br /&gt;
&lt;br /&gt;
In this section we will cover assigning the WaterKillEvent entity to your shape; this effectively creates the sharks that attack you. We will also cover triggering the event when you enter the shape using an AreaTrigger.&lt;br /&gt;
&lt;br /&gt;
== Adding The WaterKill Event ==&lt;br /&gt;
To start off, we need to add a WaterKillEvent to our map; this will spawn sharks that will come and attack you. This can be found in the '''''RollupBar &amp;amp;rarr; Entity &amp;amp;rarr; Others &amp;amp;rarr; WaterKillEvent '''''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:RollupBarWaterkill.PNG|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
Once you’ve dragged it across, place it anywhere on your map near the shape. It’s important to stress that the little area that WaterKillEvent takes up itself is not the area that it will use, so it doesn’t need to be scaled or resized to fit anything.&lt;br /&gt;
&lt;br /&gt;
== Assigning an AreaTrigger ==&lt;br /&gt;
Next, we need to add an '''AreaTrigger''' to detect when the player is and isn’t inside the shape. To add an AreaTrigger to your map, browse to the '''''RollupBar &amp;amp;rarr; Entity &amp;amp;rarr; Triggers &amp;amp;rarr; AreaTrigger'''''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:RollupBarAreaTrigger.PNG|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
Place the AreaTrigger somewhere near the shape. In its parameters, for the sake of organisation and continuity, rename the AreaTrigger to '''SharkTrigger''' or a similar name that you can refer to quickly.&lt;br /&gt;
Next, select the AreaShape that you created earlier. In it’s parameters, scroll down to the Target section and click on '''Pick'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:PickTarget.PNG|thumb|center]]&lt;br /&gt;
&lt;br /&gt;
Once you have pressed this button, a small crosshair icon should appear instead of the normal mouse icon. In the perspective view, scroll the camera so you can see the AreaTrigger, and then click on the AreaTrigger icon. A line should form between the AreaTrigger and the AreaShape, depicting that these two entities are now linked. This means that when you walk into the AreaShape, an action is triggered due to the linked AreaTrigger.&lt;br /&gt;
&lt;br /&gt;
[[Файл:SharkAreaLink.JPG|thumb|400px|center]]&lt;br /&gt;
&lt;br /&gt;
= Setting Up The Flowgraph =&lt;br /&gt;
In order for the WaterKillEvent to be triggered when we enter the AreaShape, we need to create a small and simple flowgraph that will do this job. To start off, we need to link the flowgraph to one of the entities to ensure that the flowgraph loads when the game starts. To do this scroll down in the parameters of your AreaTrigger (although it can be any entity) and click the '''Create''' button in the flowgraph section.&lt;br /&gt;
&lt;br /&gt;
[[Файл:FlowgraphCreate.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
Name it something appropriate, and you should now find yourself with a blank flowgraph canvas.&lt;br /&gt;
First we are going to add in the AreaTrigger. To do this, select the AreaTrigger in the perspective view, and in the flowgraph editor, '''Right Click &amp;amp;rarr; Add Selected Entity'''. An '''''entity:AreaTrigger''''' node should now have appeared in your flowgraph, and if the graph was assigned to it, then its entity name will probably be '''&amp;lt;GraphEntity&amp;gt;'''.&lt;br /&gt;
&lt;br /&gt;
[[Файл:AreaTrigger.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
With the AreaTrigger added in, its now time to do the same to the WaterKillEvent. Select it in the perspective view, go back to the flowgraph editor, '''Right Click &amp;amp;rarr; Add Selected Entity'''. The '''''entity:WaterKillEvent''''' node should now have appeared in your flowgraph, with the entity probably being WaterKillEvent1 (unless you renamed it). Your flowgraph should now resemble the one below.&lt;br /&gt;
&lt;br /&gt;
[[Файл:StarterSharkFG.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
Now it’s time to link the nodes together so that when you enter the AreaTrigger the WaterKillEvent is triggered. You’ll see that the AreaTrigger has an '''Enter''' output, and that the WaterKillEvent has a '''SpawnShark''' output. If we link these two together, the sharks will be spawned when the player enters the area. To link the two ports, hold down the left mouse button on the Enter output, and drag the link across to the SpawnShark output. Release the left mouse button to set the link. Finally we need to link the '''Leave''' port of the AreaTrigger and the '''RemoveShark''' port of the WaterKillEvent. Follow the same steps as before to achieve this. Your finished flowgraph should now look like this.&lt;br /&gt;
&lt;br /&gt;
[[Файл:FinishedSharkFG.PNG|frame|center]]&lt;br /&gt;
&lt;br /&gt;
= Finishing Off =&lt;br /&gt;
Finally, to make sure the sharks attack you and don’t just completely ignore you, you need to generate their navigation. To do this, navigate to the top toolbar and click on '''AI &amp;amp;rarr; Generate All Navigation'''. The sharks should now attack you when you jump in.&lt;br /&gt;
To jump into the game, position yourself next to the area and press Ctrl + G to spawn into the game. Swim into the area, and you’ll soon be greeted by some sharks!&lt;br /&gt;
&lt;br /&gt;
&amp;lt;gallery&amp;gt;&lt;br /&gt;
Image:SharkAttack1.PNG&lt;br /&gt;
Image:SharkAttack2.PNG&lt;br /&gt;
Image:SharkAttack3.PNG&lt;br /&gt;
&amp;lt;/gallery&amp;gt;&lt;br /&gt;
[[Категория:Other Topics]]&lt;/div&gt;</summary>
		<author><name>DCamer</name></author>	</entry>

	</feed>