Avangs

  • 게임 정보
    • 게임 소개
    • 게임 리뷰
    • 게임 실황
    • 게임 공략
    • 모바일 테스트
  • 게임 작품new
    • 완성작 게임new
    • 체험판 게임
    • 한글판 게임
    • 온라인 게임
    • 추천작 제작자 저장소
  • 투표선정 작품
    • 아방스 추천작
    • 완성 기대작
    • 투표 신청
    • 투표소
    • 투표 결과
  • 강좌new
    • 아방스 칼럼
    • 비주얼노벨 강좌
    • 알만툴 강좌
      • MZ 강좌
      • MV 강좌
      • VX Ace 강좌
      • VX 강좌
      • XP 강좌
      • 2003 강좌
      • 2000 강좌
    • 게임메이커 강좌
    • 울프툴 강좌
    • 3D 게임제작 강좌
    • 2D 게임제작 강좌
    • 그래픽 제작 강좌
    • 기타 강좌
  • 질문과 답변new
    • 자주 묻는 질문new
    • 질문과 답변new
    • 제작의뢰
  • 커뮤니티new
    • 구인·구직·외주
    • 테스트 요청
    • 자유게시판new
    • 게임계 소식
    • 유머&정보
    • 사이트링크
    • 이벤트&대회
  • 창작
    • 게임 기획
    • 맵배치
    • 글쓰기
    • 그리기
    • 음악
  • 자료실
    • 게임제작툴
    • 예제 및 샘플
    • 그래픽 소재
      • 오리지널 소재
      • 이차창작 소재
      • 수정·개조 소재
      • 외부 소재
    • 사운드 소재
    • 확장·플러그인·스크립트
      • MZ 플러그인
      • MV 플러그인
      • Ace 스크립트
      • VX 스크립트
      • XP 스크립트
      • 2k3 플러그인
      • VN 플러그인·확장
    • 외부 소재사이트
    • 기타 자료
      • 한글화툴
      • 무료 폰트
      • 유틸리티
    • 디자인 참고자료
  • 고객센터new
    • 공지사항new
    • 건의 및 신고
    • 핫 이슈
로그인 회원가입
Avangs
  • 게임 정보
    • 게임 소개
    • 게임 리뷰
    • 게임 실황
    • 게임 공략
    • 모바일 테스트
  • 게임 작품new
    • 완성작 게임new
    • 체험판 게임
    • 한글판 게임
    • 온라인 게임
    • 추천작 제작자 저장소
  • 투표선정 작품
    • 아방스 추천작
    • 완성 기대작
    • 투표 신청
    • 투표소
    • 투표 결과
  • 강좌new
    • 아방스 칼럼
    • 비주얼노벨 강좌
    • 알만툴 강좌
      • MZ 강좌
      • MV 강좌
      • VX Ace 강좌
      • VX 강좌
      • XP 강좌
      • 2003 강좌
      • 2000 강좌
    • 게임메이커 강좌
    • 울프툴 강좌
    • 3D 게임제작 강좌
    • 2D 게임제작 강좌
    • 그래픽 제작 강좌
    • 기타 강좌
  • 질문과 답변new
    • 자주 묻는 질문new
    • 질문과 답변new
    • 제작의뢰
  • 커뮤니티new
    • 구인·구직·외주
    • 테스트 요청
    • 자유게시판new
    • 게임계 소식
    • 유머&정보
    • 사이트링크
    • 이벤트&대회
  • 창작
    • 게임 기획
    • 맵배치
    • 글쓰기
    • 그리기
    • 음악
  • 자료실
    • 게임제작툴
    • 예제 및 샘플
    • 그래픽 소재
      • 오리지널 소재
      • 이차창작 소재
      • 수정·개조 소재
      • 외부 소재
    • 사운드 소재
    • 확장·플러그인·스크립트
      • MZ 플러그인
      • MV 플러그인
      • Ace 스크립트
      • VX 스크립트
      • XP 스크립트
      • 2k3 플러그인
      • VN 플러그인·확장
    • 외부 소재사이트
    • 기타 자료
      • 한글화툴
      • 무료 폰트
      • 유틸리티
    • 디자인 참고자료
  • 고객센터new
    • 공지사항new
    • 건의 및 신고
    • 핫 이슈
로그인 회원가입

NOTICE

공지사항
더보기
  • 홈페이지 개편 및 시스템 정비 작업 안내 04.13

Recently Added Games

최근 등록 게임
  • 어드벤쳐 [1치킨 수상작] 로봇 관리자 newfile 04.13
  • 퍼즐/보드 알파벳 용사 2 file 04.08
  • 롤플레잉 스틱 파이터 섬 1 체험판 file 03.31
  • 어드벤쳐 9th Existence file 03.26
  • 어드벤쳐 악역스타 훈발이 file 03.13
2013.11.09 13:05

Kaze Line of Sight Plugin for RPG Maker 2003 by Kazesui

profile
습작
조회 수 2414 추천 수 0 댓글 0
Atachment
첨부 '1'
  • 001.png,
크게 작게 위로 아래로 댓글로 가기 인쇄
크게 작게 위로 아래로 댓글로 가기 인쇄

001.png


http://rpgmaker.net/engines/rm2k3/utilities/33/


  캐릭터와 이벤트의 시야범위를 판정하는 기능을 지닌 플러그인입니다. DynRPG가 설치된 프로젝트에서만 구동 가능하며, DynPlugins 폴더 안에 해당 플러그인의 dll 파일이 들어 있습니다. 위 링크를 통해 배포페이지에서 해당 플러그인의 데모 파일을 다운로드 받을 수 있습니다. DynRPG에 대한 내용은 "습작의 스크립트 이야기 : 번외편 - 7편 : DynRPG(http://avangs.info/1031048)"를 참고해주세요. 해당 플러그인의 자세한 사용법에 대한 내용은 리드미를 참고하세요.


#. 리드미 내용

 

=====================================================

Kaze Line of Sight Plugin for RPG Maker 2003 ver 1.00

For DynRPG version 0.14a or higher

By Kazesui

=====================================================


This Plugin allows you to detect if a hero, event or 

point can see the hero, an event or another point 

with the rm2k3 comment command.


The comment commands start with an @ followed

by a command and then a series of numbers.

These numbers can be replaced by for example

V2 to use the value stored in variable 0002.


## Some important terminology ##


# width of sight field

this refers to how wide the sight field should be

if you select 180 here, everything around will be

seen, while if you select 60 degrees, you'll only

be able to see targets +- 30 degrees of the direction

your looking in


# radius of sight field

this is the maximum distance of which the line of

sight will be able to detect a target.

it's measured in pixels, so a value of 100

will allow you to detect points as far as 100

pixels away


# view direction

For points, which don't have an inherent facing

direction, unlike hero and events, you have to

designate your own viewing direction.

This can be done at angles

between 0 and 359 degrees


# source

The starting point for a line of sight


# target

This is what we're trying to check if can be seen

from where the source is located


-------------------------

Further instructions

-------------------------


The command names refer to what is trying to see what

hero_see_event means that we will use the line of sight

from the hero to an event of choice. "this" is a 

special keyword here, referring to the event calling

on the comment command.

this_see_hero will then check if the event executing

the comment command can see the hero from its current

location.


The first parameter is always the switch id. This is

being used to determine if something was in the 

line of sight of the source. If the target could

be seen by the source, the switch will be turned on,

otherwise, the switch will be turned off.


The line of sight is determined by the range defined

in the comment command, as well as any terrain in the

area. Important to note here is that the line of sight

will only be blocked by tiles which has been marked

as unpassable. Partly passable (by custom

arrow directions) will be treated as something which

can be seen through!!

Likewise, line of sight will not be affected by any

event, regardless of being same level as hero or not!



The comment commands:

-------------------------


@hero_see_event

  parameter#1: id of switch

  parameter#2: id of event

  parameter#3: width of sight field

  parameter#4: radius of sight field


@hero_see_point

  parameter#1: id of switch

  parameter#2: pixel x coordinate of target

  parameter#3: pixel y coordinate of target

  parameter#4: width of sight field

  parameter#5: radius of sight field


@this_see_hero

  parameter#1: id of switch

  parameter#2: width of sight field

  parameter#3: radius of sight field


@this_see_event

  parameter#1: id of switch

  parameter#2: id of target event

  parameter#3: width of sight field

  parameter#4: radius of sight field


@this_see_point

  parameter#1: id of switch

  parameter#2: pixel x coordinate

  parameter#3: pixel y coordinate

  parameter#4: width of sight field

  parameter#5: radius of sight field


@event_see_hero

  parameter#1: id of switch

  parameter#2: id of source event

  parameter#3: width of sight field

  parameter#4: radius of sight field


@event_see_event

  parameter#1: id of switch

  parameter#2: id of source event

  parameter#3: id of target event

  parameter#4: width of sight field

  parameter#5: radius of sight field


@event_see_point

  parameter#1: id of switch

  parameter#2: id of source event

  parameter#3: pixel x coordinate of target

  parameter#4: pixel y coordinate of target

  parameter#5: width of sight field

  parameter#6: radius of sight field


@point_see_point

  parameter#1: id of switch

  parameter#2: pixel x coordinate of source

  parameter#3: pixel y coordinate of source

  parameter#4: pixel x coordinate of target

  parameter#5: pixel y coordinate of target

  parameter#6: width of sight field

  parameter#7: radius of sight field

  parameter#8: view direction in degrees


Who's 습작

profile

* 게임소재 자료실 관리자 (2012.04.17 ~ ) / 게임리뷰 게시판 관리자 (2012.08.23 ~ )
* 개인 블로그 : https://eternalworld.tistory.com
└ RPG Maker VX/Ace 메뉴 편집기 등 배포
* 리뷰 블로그 : https://etude87.tistory.com
└ RPG Maker 시리즈 한글패치 정리, 쯔꾸르 시리즈 이용 규약 등 소개
* 프리 게임 한글화 DB : https://freegame.tistory.com
└ 한글화된 해외 무료 게임 정리

0 추천 0 비추천
위로 아래로 댓글로 가기 인쇄
에디터 선택하기
✔ 텍스트 모드 ✔ 에디터 모드
?
댓글 쓰기 권한이 없습니다. 로그인 하시겠습니까?

List of Articles
제목 글쓴이 날짜 조회 수
PicPointerPatch by Cherry(그림 표시,이동,삭제 시 그림번호에 변수를 대입할 수 있다) 일단 2014.01.22 2084
Kaze Line of Sight Plugin for RPG Maker 2003 by Kazesui file 습작 2013.11.09 2414
Global Save Data (Store a range of variables) by PepsiOtaku file 습작 2013.11.09 1780
SAVE DETECTOR & DELETE SAVE FUNCTION by PepsiOtaku file 습작 2013.11.07 1789
Save Cleanup by PepsiOtaku file 습작 2013.11.07 1171
EXTRA KEYS (FROM RAGNADYN) by PepsiOtaku & orochii (RagnaDyn author) file 습작 2013.11.06 1585
Quit Switch by PepsiOtaku file 습작 2013.11.06 1625
ORDER SWITCH by PepsiOtaku file 습작 2013.11.06 1591
MENU TRANSITION TWEAKS by PepsiOtaku file 습작 2013.11.06 1677
Advanced Faster ATB Plugin by PepsiOtaku 4 file 습작 2013.11.05 1877
BLENDING MODES by Kazesui file 습작 2013.11.05 1917
POINTER PLUGIN by Kazesui 습작 2013.11.05 1662
MINIMAP PLUGIN by Kazesui file 습작 2013.11.04 1923
TEXT PLUGIN by Kazesui 3 file 습작 2013.11.04 2338
쓰기
Board Pagination Prev 1 Next
/ 1
AVANGS

게임 제작, 창작, 자료, 강좌를 연결하는 커뮤니티

  • 개인정보 취급방침

Copyright © 2026 Avangs