You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
106 lines
2.8 KiB
106 lines
2.8 KiB
|
|
PetSystem_ActionEventCode =
|
|
{
|
|
Idle = 101000,
|
|
Attack = 301000,
|
|
Die = 501000,
|
|
Dance = 800000,
|
|
}
|
|
|
|
|
|
PetSystem_tIdleActionData =
|
|
{
|
|
tHeader =
|
|
{
|
|
nStepNo = 1,
|
|
nStepType = 2,
|
|
nX = 3,
|
|
nY = 4,
|
|
nDir = 5,
|
|
nNextStepCondType = 6,
|
|
nNextStepDistance = 7,
|
|
dNextStepTime = 8,
|
|
},
|
|
tData =
|
|
{
|
|
tRevolution =
|
|
{
|
|
-- 접근 이후 도는 동작만 정의
|
|
{ 1, PISAT_MOVE, -30, 0, 0, PNIST_DISTANCE, 20, 0 },
|
|
{ 2, PISAT_MOVE, -20, 20, 0, PNIST_DISTANCE, 20, 0 },
|
|
{ 3, PISAT_MOVE, 0, 30, 0, PNIST_DISTANCE, 20, 0 },
|
|
{ 4, PISAT_MOVE, 20, 20, 0, PNIST_DISTANCE, 20, 0 },
|
|
{ 5, PISAT_MOVE, 30, 0, 0, PNIST_DISTANCE, 20, 0 },
|
|
{ 6, PISAT_MOVE, 20, -20, 0, PNIST_DISTANCE, 20, 0 },
|
|
{ 7, PISAT_MOVE, 0, -30, 0, PNIST_DISTANCE, 20, 0 },
|
|
{ 8, PISAT_MOVE, -20, -20, 0, PNIST_DISTANCE, 20, 0 },
|
|
},
|
|
|
|
ttDance =
|
|
{
|
|
-- 1번 댄스~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
{
|
|
-- 좌로
|
|
{ 1, PISAT_ROTATION, 0, 0, -90, PNIST_TIME, 0, 1 },
|
|
-- 두번공격
|
|
{ 2, PISAT_ATTACK, 0, 0, 0, PNIST_TIME, 0, 2 },
|
|
{ 3, PISAT_ATTACK, 0, 0, 0, PNIST_TIME, 0, 2 },
|
|
-- 우로
|
|
{ 4, PISAT_ROTATION, 0, 0, 180, PNIST_TIME, 0, 1 },
|
|
-- 두번공격
|
|
{ 5, PISAT_ATTACK, 0, 0, 0, PNIST_TIME, 0, 2 },
|
|
{ 6, PISAT_ATTACK, 0, 0, 0, PNIST_END, 0, 2 },
|
|
},
|
|
|
|
-- 2번 댄스~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
{
|
|
-- 제자리 돌기
|
|
{ 1, PISAT_DANCE, 0, 0, 0, PNIST_TIME, 0, 5 },
|
|
{ 2, PISAT_MOVE, 0, 0, 0, PNIST_END, 0, 0 },
|
|
},
|
|
|
|
-- 3번 댄스~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
{
|
|
-- 별
|
|
{ 1, PISAT_MOVE, -30, -70, 0, PNIST_DISTANCE, 30, 0 },
|
|
{ 2, PISAT_MOVE, 0, 80, 0, PNIST_DISTANCE, 30, 0 },
|
|
{ 3, PISAT_MOVE, 30, -70, 0, PNIST_DISTANCE, 30, 0 },
|
|
{ 4, PISAT_MOVE, -75, 25, 0, PNIST_DISTANCE, 30, 0 },
|
|
{ 5, PISAT_MOVE, 75, 25, 0, PNIST_DISTANCE, 30, 0 },
|
|
},
|
|
|
|
-- 4번 댄스~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
{
|
|
-- 불가능
|
|
{ 1, PISAT_MOVE, 0, 0, 0, PNIST_END, 30, 0 },
|
|
},
|
|
|
|
-- 5번 댄스~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
{
|
|
-- 반지름 50 원 그리기
|
|
{ 1, PISAT_MOVE, -50, 0, 0, PNIST_DISTANCE, 30, 0 },
|
|
{ 2, PISAT_MOVE, -30, 30, 0, PNIST_DISTANCE, 30, 0 },
|
|
{ 3, PISAT_MOVE, 0, 50, 0, PNIST_DISTANCE, 30, 0 },
|
|
{ 4, PISAT_MOVE, 30, 30, 0, PNIST_DISTANCE, 30, 0 },
|
|
{ 5, PISAT_MOVE, 50, 0, 0, PNIST_DISTANCE, 30, 0 },
|
|
{ 6, PISAT_MOVE, 30, -30, 0, PNIST_DISTANCE, 30, 0 },
|
|
{ 7, PISAT_MOVE, 0, -50, 0, PNIST_DISTANCE, 30, 0 },
|
|
{ 8, PISAT_MOVE, -30, -30, 0, PNIST_DISTANCE, 30, 0 },
|
|
},
|
|
},
|
|
|
|
tAttack =
|
|
{
|
|
{ 1, PISAT_ATTACK, 0, 0, 0, PNIST_TIME, 0, 2 },
|
|
{ 2, PISAT_ATTACK, 0, 0, 0, PNIST_TIME, 0, 2 },
|
|
{ 3, PISAT_ATTACK, 0, 0, 0, PNIST_END, 0, 2 },
|
|
},
|
|
|
|
tRotation =
|
|
{
|
|
{ 1, PISAT_DANCE, 0, 0, 0, PNIST_TIME, 0, 5 },
|
|
{ 2, PISAT_MOVE, 0, 0, 0, PNIST_END, 0, 0 },
|
|
},
|
|
},
|
|
|
|
}
|
|
|