고급강의실
2014.10.15 02:31

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

조회 수 627 추천 수 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천무 Views7388 Votes1
    read more
  2. [필독]RPG MAKER MV 안드로이드 APK파일로 뽑아내는 방법!

    Date2015.10.26 Category고급강의실 By안경포스 Views10813 Votes2
    Read More
  3. VX ACE XAS로 액션 RPG를 만들어보자! - 2. 적에게 공격을 해보자!

    Date2015.10.05 Category고급강의실 By데크크래프트 Views1224 Votes2
    Read More
  4. 네코 플레이어 메세지 활용하기

    Date2015.09.01 Category고급강의실 By 운 Views571 Votes2
    Read More
  5. VX ACE XAS로 액션 RPG를 만들어보자! - 1. 개요

    Date2015.04.01 Category고급강의실 By데크크래프트 Views3969 Votes0
    Read More
  6. 그림표시50개끝? 51개 해보자.

    Date2014.12.01 Category고급강의실 By 운 Views1191 Votes1
    Read More
  7. RPG Maker VX Ace - 선택지 윈도우 만들기

    Date2014.10.16 Category고급강의실 ByJunkMan Views1799 Votes2
    Read More
  8. RPG Maker VX Ace - 윈도우 만들기

    Date2014.10.16 Category고급강의실 ByJunkMan Views2543 Votes2
    Read More
  9. RPG Maker VX Ace - RPG Maker Title 장면(Scene) 수정하기.

    Date2014.10.15 Category고급강의실 ByJunkMan Views1663 Votes1
    Read More
  10. RPG Maker VX ACE - System 데이터 구조

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

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

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

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

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

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

    Date2014.10.15 Category고급강의실 ByJunkMan Views557 Votes0
    Read More
  17. RPG Maker VX ACE - Weapon 데이터 구조.

    Date2014.10.15 Category고급강의실 ByJunkMan Views848 Votes0
    Read More
  18. RPG Maker VX ACE - Item 데이터 구조.

    Date2014.10.14 Category고급강의실 ByJunkMan Views835 Votes0
    Read More
  19. RPG Maker VX ACE - Skill 데이터 구조.

    Date2014.10.14 Category고급강의실 ByJunkMan Views1157 Votes0
    Read More
  20. RPG Maker VX ACE - Classes 데이터 구조.

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

    Date2014.10.06 Category고급강의실 ByJunkMan Views2817 Votes0
    Read More
Board Pagination Prev 1 2 3 4 Next
/ 4






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

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