고급강의실
2014.10.15 02:31

RPG Maker VX ACE - Troop 데이터 구조.

조회 수 630 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄
RPG::Troop:0x6f3fac4

@id=1//그룹 ID

@members=[#<RPG::Troop::Member:0x6f3fa60 @y=288, @hidden=false, @x=196, @enemy_id=1>, #<RPG::Troop::Member:0x6f3f9e8 @y=288, @hidden=false, @x=348, @enemy_id=1>]//적 종류 및 위치
x와 y는 배틀 필드에서의 위치를 뜻하고, enemy_id는 적의 id(Enemy에서의 id)입니다.
hidden은 숨겨짐을 뜻하는 것으로, 배틀 중에 보이지 않게 정의 내린 몬스터인지를 표시하는 데이터입니다.

@name="Slime*2"//적 그룹명

@pages=[#<RPG::Troop::Page:0x6f3f920 @list=[#<RPG::EventCommand:0x6f3f894 @indent=0, @code=0, @parameters=[]>], @span=0, @condition=#<RPG::Troop::Page::Condition:0x6f3f7b8 @turn_valid=false, @actor_hp=50, @turn_a=0, @turn_ending=false, @enemy_hp=50, @switch_valid=false, @enemy_index=0, @actor_valid=false, @actor_id=1, @enemy_valid=false, @switch_id=1, @turn_b=0>>]//배틀 이벤트

전투시에 숨겨진 적이 나타나거나, 배틀 중에 적의 회복등을 가지는 이벤트 명령들의 데이터를 가지는 page입니다.
span은 전투시등을 뜻합니다.
span
 0 : Battle
 1 : Turn
 2 : Moment

Condition은 작동 조건으로 특정 조건일때 사용하는 구조를 뜻합니다.

@turn_ending=false
턴이 끝났을시

@turn_valid=false
@turn_a=0//시작

@turn_b=0//끝

윗 방법은 이벤트가 발동 조건이 턴이 a에서 b까지일때 발동되는 것으로 turn_valid이 true일때 확인하는 조건입니다.


@switch_valid=false
@switch_id=1
스위치가 on이 되었을시 발동되는 조건입니다.

@actor_valid=false
@actor_id=1
@actor_hp=50
등장인물의 체력이 얼마 이하일때 발동되는 조건입니다.

@enemy_valid=false
@enemy_hp=50
@enemy_index=0
적 체력이 얼마 이하일때 발동되는 조건입니다.

list는 event의 데이터 구조와 동일하게, eventcommand을 감싸고 있어서 처리하게 되어있습니다.
Game_Inspreter이 처리해주는 것으로 되어 있습니다.
?

  1. 게임제작강좌 A-Z 색인 (2016.1.24 ver)

    Date2016.01.12 Category초급강의실 By천무 Views7446 Votes1
    read more
  2. RPG Maker VX Ace - RPG::Event의 구조.

    Date2014.10.05 Category고급강의실 ByJunkMan Views2671 Votes0
    Read More
  3. RPG Maker VX ACE - Actor 데이터 구조

    Date2014.10.06 Category고급강의실 ByJunkMan Views1074 Votes0
    Read More
  4. RPG Maker VX Ace - Event 추가 하기/ Event Command 추가하기.

    Date2014.10.06 Category고급강의실 ByJunkMan Views2837 Votes0
    Read More
  5. RPG Maker VX ACE - Classes 데이터 구조.

    Date2014.10.07 Category고급강의실 ByJunkMan Views843 Votes0
    Read More
  6. RPG Maker VX ACE - Skill 데이터 구조.

    Date2014.10.14 Category고급강의실 ByJunkMan Views1163 Votes0
    Read More
  7. RPG Maker VX ACE - Item 데이터 구조.

    Date2014.10.14 Category고급강의실 ByJunkMan Views839 Votes0
    Read More
  8. RPG Maker VX ACE - Weapon 데이터 구조.

    Date2014.10.15 Category고급강의실 ByJunkMan Views855 Votes0
    Read More
  9. RPG Maker VX ACE - Armor 데이터 구조.

    Date2014.10.15 Category고급강의실 ByJunkMan Views562 Votes0
    Read More
  10. RPG Maker VX ACE - Enemy 데이터 구조.

    Date2014.10.15 Category고급강의실 ByJunkMan Views692 Votes0
    Read More
  11. RPG Maker VX ACE - Troop 데이터 구조.

    Date2014.10.15 Category고급강의실 ByJunkMan Views630 Votes0
    Read More
  12. RPG Maker VX ACE - State 데이터 구조.

    Date2014.10.15 Category고급강의실 ByJunkMan Views683 Votes0
    Read More
  13. RPG Maker VX ACE - Animation 데이터 구조

    Date2014.10.15 Category고급강의실 ByJunkMan Views714 Votes0
    Read More
  14. RPG Maker VX ACE - CommonEvent 데이터 구조

    Date2014.10.15 Category고급강의실 ByJunkMan Views706 Votes0
    Read More
  15. RPG Maker VX ACE - System 데이터 구조

    Date2014.10.15 Category고급강의실 ByJunkMan Views1063 Votes0
    Read More
  16. VX ACE XAS로 액션 RPG를 만들어보자! - 1. 개요

    Date2015.04.01 Category고급강의실 By데크크래프트 Views3972 Votes0
    Read More
  17. Rpg Maker MV 함수 리스트(공식포럼)

    Date2016.01.10 Category고급강의실 Byplam Views1410 Votes1
    Read More
  18. RPG Maker MV 메모리 누수 문제 해결법

    Date2016.01.07 Category고급강의실 By러닝은빛 Views4768 Votes1
    Read More
  19. 타이틀에 동영상을 넣는 플러그인 사용법

    Date2016.01.08 Category고급강의실 By러닝은빛 Views2610 Votes1
    Read More
  20. [RPG MV] 타이틀 메뉴 일부 없애기

    Date2015.12.20 Category고급강의실 By박야옹 Views3746 Votes1
    Read More
  21. RGSS 스크립트 강좌 입문 4 - 캐릭터 라인

    Date2013.09.16 Category고급강의실 By마니아 Views2274 Votes1
    Read More
Board Pagination Prev 1 2 3 4 Next
/ 4






[개인정보취급방침] | [이용약관] | [제휴문의] | [후원창구] | [인디사이드연혁]

Copyright © 1999 - 2016 INdiSide.com/(주)씨엘쓰리디 All Rights Reserved.
인디사이드 운영자 : 천무(이지선) | kernys(김원배) | 사신지(김병국)