Ko/Creating Respawning Sentries: Difference between revisions

From Valve Developer Community
< Ko
Jump to navigation Jump to search
No edit summary
Line 2: Line 2:
이 작업은 몇개의 [[obj_sentrygun]] 들을 당신의 맵에 소환하면서 시작합니다. 첫번째 것은 "sentry1"로 두번째는 "sentry2"로 하면서 쭉 만들어 주세요.
이 작업은 몇개의 [[obj_sentrygun]] 들을 당신의 맵에 소환하면서 시작합니다. 첫번째 것은 "sentry1"로 두번째는 "sentry2"로 하면서 쭉 만들어 주세요.


== Create point_template ==
== point_template 만들기 ==
Add an equal number of [[point_template]] entities as you have sentries. Set Name to "sentrytemplate1", "sentrytemplate2", etc. Set 'Template1' to the matching sentry, so point_template will have 'Template1' value "sentry1". In the 'Flags' tab, tick "Don't remove template entities" to make sure the sentries spawn on start-up.
당신의 센트리 건의 수만큼 [[point_template]] 엔티티들을 만들어 주세요. 그들의 이름을 "sentrytemplate1", "sentrytemplate2" 등으로 쭉 설정해주세요. 'Template1' 을 알맞는 센트리 건으로 설정해주세요, 그래야 point_template는 'Template1' 의 값으로 "sentry1를 받습니다. 'Flags' 탭에서는 "Don't remove template entities" 를 센트리 건이 생성될때 시작하는지 확인해주세요.


== Create env_entity_maker ==
== env_entity_maker 만들기 ==
Create an equal number of [[env_entity_maker]] entities as you have sentries. Set Name to "sentryspawner1", "sentryspawner2", etc. Set 'Point_template To Spawn' to the matching point_template, so env_entity_maker "senspawner1" will have 'Point_template To Spawn' value "sentrytemplate1".
Create an equal number of [[env_entity_maker]] entities as you have sentries. Set Name to "sentryspawner1", "sentryspawner2", etc. Set 'Point_template To Spawn' to the matching point_template, so env_entity_maker "senspawner1" will have 'Point_template To Spawn' value "sentrytemplate1".


{{Note|If you don't want a generic "Player" <death symbol> "Sentry Gun" message every time a player destroys a sentry, don't add any env_entity_maker's.}}
{{Note:ko|If you don't want a generic "Player" <death symbol> "Sentry Gun" message every time a player destroys a sentry, don't add any env_entity_maker's.}}


== Sentry Outputs ==
== 센트리 건 출력 ==
On the output tab for each sentry, add these values with the corresponding numbers:
각각의 센트리 건의 output 탭마다, 적당한 숫자와 값들을 추가해주세요:
      
      
:'''My output named:''' <code>OnDestroyed</code>
:'''My output 이름:''' <code>OnDestroyed</code>
:'''Target entities named:''' <code>template1</code>
:'''Target entities 이름:''' <code>template1</code>
:'''Via this input:''' <code>ForceSpawn</code>
:'''Via this input:''' <code>ForceSpawn</code>
:'''After a delay in seconds of:''' <code>10</code>
:'''After a delay in seconds of:''' <code>10</code>

Revision as of 07:48, 1 July 2014

센트리 건 만들기

이 작업은 몇개의 obj_sentrygun 들을 당신의 맵에 소환하면서 시작합니다. 첫번째 것은 "sentry1"로 두번째는 "sentry2"로 하면서 쭉 만들어 주세요.

point_template 만들기

당신의 센트리 건의 수만큼 point_template 엔티티들을 만들어 주세요. 그들의 이름을 "sentrytemplate1", "sentrytemplate2" 등으로 쭉 설정해주세요. 'Template1' 을 알맞는 센트리 건으로 설정해주세요, 그래야 point_template는 'Template1' 의 값으로 "sentry1를 받습니다. 'Flags' 탭에서는 "Don't remove template entities" 를 센트리 건이 생성될때 시작하는지 확인해주세요.

env_entity_maker 만들기

Create an equal number of env_entity_maker entities as you have sentries. Set Name to "sentryspawner1", "sentryspawner2", etc. Set 'Point_template To Spawn' to the matching point_template, so env_entity_maker "senspawner1" will have 'Point_template To Spawn' value "sentrytemplate1".

Template:Note:ko

센트리 건 출력

각각의 센트리 건의 output 탭마다, 적당한 숫자와 값들을 추가해주세요:

My output 이름: OnDestroyed
Target entities 이름: template1
Via this input: ForceSpawn
After a delay in seconds of: 10

OnDestroyed is not one of the selectable outputs, so Hammer will say this is invalid. Ignore that, it will work in game. Adjust the delay to the number of seconds you want the sentries to take to respawn.

Now, when your map loads, there should be a set of sentries, which, when destroyed, make another one spawn in its place.

다른 볼것