콘텐츠로 건너뛰기
라이엇 비트

라이엇 비트

  • 집
  • 소식
  • 가이드
  • 비디오 가이드
  • 패치 노트
  • 남용 신고
  • 검색 양식 전환

왼쪽 4 죽은 2 – 맞춤형 십자선을 만드는 방법

에 게시됨 12/25/2022 에 의해 Heeb 코멘트 없음 ~에 왼쪽 4 죽은 2 – 맞춤형 십자선을 만드는 방법
  • 제목: 왼쪽 4 죽은 2
  • 출시일:
  • 개발자:
  • 발행자:
Information about Left 4 죽은 2 아직 불완전하다. 이것을 사용하여 게임의 세부 정보를 입력할 수 있도록 도와주세요. 문의 양식.

This guide will show you how to make your own custom crosshair from scratch into an addon and use it in the game.

소개

For starters make sure you have these three applications:

  • GCFScape
  • VTFEdit
  • NotePad++

Design your crosshair

Use any type of photo editor to make your crosshair. I personally like using GIMP when designing or editing things. So here I’ll explain how I made this crosshair with GIMP.

  • Create a new image with 20×20 px.
  • Make the background transparent by right clicking the image under Layers, 클릭하다 “Add Alpha Channel”. Mark your image and press the Delete button to make it transparent.
  • Use the pencil and pick pixel as a brush.
  • Draw your crosshair however you like it. I made it into a broad cross that later will look like a dot in the game.

Either you make sure there’s no space between the crosshair and background OR make sure the crosshair is in the middle of the background it has an even width and length, otherwise it will stretch and look weird later.

그렇지 않다’t really matter that much what size the crosshair is, it can be adjusted later on, however it’s best if it’s not too big or too small.

When it’s done click on 파일 > Export As and save it as a PNG file.

Make a folder

In order for this to work and make it into a VPK, it has to mimic the directory of the game’s default folders, which for the crosshair needs to be these two folders; 재료 그리고 스크립트.

그만큼 재료 folder will contain this:

Folders are 재료 > vgui > hud

VMF and VTF of the crosshair will be in hud, both need to be named 십자선. The VTF is the actual crosshair that was designed earlier, and will be explained how it’s converted into a VTF in the next step.
For now in order to make a VMF:

  • Open VTFEdit
  • 클릭하세요 파일 > 새로운
  • Remove whatever is written there, copy the following text and paste it there
UnlitGeneric
{
     $basetexture "vgui\hud\crosshair"
     $translucent 1
     $ignorez 1
     $vertexcolor 1
     $vertexalpha 1
}
  • Click on Save As and save it as a VMT in the materials folder, name it crosshair.

그만큼 스크립트 folder will contain this:

This is the RES file of hudlayout. It can be retrieved from steamapps > 흔한 > 왼쪽 4 죽은 2 > left4dead2.

  • Find pak01_dir and open it with GCFScape
  • Look for hudlayout.res there and drag it into your own scripts folder

The hudlayout.res needs to have a section added for the custom crosshair. Open it with NotePad++, press enter twice at the beginning of “overview” to lower it and make room for this text:

Crosshair
{
"ControlName" "ImagePanel"
"fieldName" "Crosshair"
"xpos" "c-4"
"ypos" "c-4"
"zpos" "-10"
"wide" "8" 
"키가 큰" "8" 
"visible" "1"
"활성화" "1"
"image" "hud/crosshair"
"scaleImage" "1"
}

다음과 같아야합니다:

The digits in “xpos”, “ypos”, “wide”, 그리고 “키가 큰” can be changed later if you need to change positions or change the size of the crosshair, depending on how you originally designed the crosshair.

Make the VTF

To make the actual crosshair from a PNG-file into a VTF and put it together with the VMF that was made earlier:

  • Open VTFEdit
  • 클릭하세요 파일 > Import
  • Select your PNG crosshair
  • Click on Save As and save it at 재료 > vgui > hud
  • 이름을 지정하십시오 십자선

These are the settings I use:

Make the VPK

Final step is to convert all of this into a VPK. In order to find the VPK application go to steamapps > 흔한 > 왼쪽 4 죽은 2 > bin.

Make a shortcut of it to your desktop. Drag your finished folder and drop it into the VPK application, a VPK file will be generated. Now this VPK can be added to steamapps > 흔한 > 왼쪽 4 죽은 2 > left4dead2 > addons.

Adjustments

In order to change the size of the crosshair, go to your original folder before it’s converted into a VPK, go to scripts and open up hudlayout.res with NotePad++.

Under the section “십자선” that was added, the size can be changed with the numbers next to “wide” 그리고 “키가 큰”. The greater the number is the bigger the crosshair will be and vice versa. This is also where you can change the placement of the crosshair with “xpos” 그리고 “ypos”.

Final Results

This is what the crosshair looks in-game:

This is what it looks with a laser:

이 가이드를 읽어 주셔서 감사합니다, I hope it was helpful.

이것이 오늘 우리가 공유하는 모든 것입니다. 왼쪽 4 죽은 2 가이드. 이 가이드는 원래 작성자가 작성하고 작성했습니다. Heeb. 이 가이드를 업데이트하지 못한 경우, 다음을 수행하여 최신 업데이트를 찾을 수 있습니다. 링크.

이 사이트의 콘텐츠가 귀하의 권리를 침해한다고 생각하는 경우, 귀하의 지적 재산권을 포함하여, 문의 양식을 사용하여 즉시 문의하십시오..
가이드 태그:왼쪽 4 죽은 2

탐색 후

이전 게시물: VanillaBeast Retro Knock-Out Basic and Advanced Tips
다음 게시물: Grand Theft Auto V – WM 잠금을 해제하는 방법 29 GTA 온라인의 권총

답장을 남겨주세요 답장 취소

귀하의 이메일 주소는 공개되지 않습니다. 필수 입력란이 표시되어 있습니다 *

  • 제목: 왼쪽 4 죽은 2
  • 출시일:
  • 개발자:
  • 발행자:
Information about Left 4 죽은 2 아직 불완전하다. 이것을 사용하여 게임의 세부 정보를 입력할 수 있도록 도와주세요. 문의 양식.

부인 성명

인용된 모든 콘텐츠는 해당 소스에서 파생됩니다.. 귀하의 콘텐츠를 허가 없이 사용했다고 생각되는 경우, 우리에게 연락하면 진지하게 받아 들일 것입니다..
  • 회사 소개
  • 문의하기
  • 개인 정보 정책
  • 서비스 약관

저작권 © 2025 라이엇 비트.

에 의해 구동 프레스북 뉴스 WordPress 테마