> ## Content Index
> Fetch the complete content index at: https://blog.frostk.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# 포탈1 멀티
- URL: https://blog.frostk.com/portal-1-multiplayer-turret/
- Published: 2019-06-29T00:00:00.000Z
- Updated: 2026-10-21T11:38:38.000Z
- Description: 포탈 1을 멀티플레이로 빌드하며 발견한 터렛 동작 문제와 수정 작업을 남긴 기록입니다. 참고한 원본 코드와 당시 영상을 함께 정리했습니다.
- Author: FrostK
- Tags: 포탈, 게임 개발, 게임

포탈 1을 멀티플레이로 빌드하면서 확인했던 터렛 동작 문제를 기록합니다. 당시에는 멀티 환경에서 터렛이 제대로 작동하지 않아, 관련 코드를 살펴보고 동작하도록 수정하는 작업을 했습니다.

포탈 1은 싱글게임이기 때문에 강제로 멀티로 빌드 시 기능 동작에 어려움이 존재함.  
그중 한 개는 터렛인데 완전 바보가 되어서 작동을 안 하기 때문에 작동되도록 작업했던 코드.

원본코드 : [npc\_portal\_turret\_floor.cpp](https://github.com/VSES/SourceEngine2007/blob/master/se2007/game/server/portal/npc%5Fportal%5Fturret%5Ffloor.cpp?ref=blog.frostk.com)

![포탈1 멀티 관련 이미지 1](https://blog.frostk.com/content/images/2026/10/img.jpg)

![포탈1 멀티 관련 이미지 2](https://blog.frostk.com/content/images/2026/10/img_1.jpg)

### 영상