touhou-reimpl/research/stage04.tstd

207 lines
6 KiB
Plaintext

#pragma mapfile "utils/th095.stdm"
meta {
unknown: 0,
anm_path: "stage04.anm",
objects: {
object0: {
layer: 0,
pos: [384.0, 0.0, 0.0],
size: [1792.0, 256.0, 0.0],
quads: [
rect {
anm_script: 1,
pos: [-128.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 2,
pos: [-128.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 1,
pos: [128.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 2,
pos: [128.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 0,
pos: [-384.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 0,
pos: [1152.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 0,
pos: [896.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 0,
pos: [640.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 0,
pos: [384.0, 0.0, 0.0],
size: [256.0, 256.0],
},
],
},
object1: {
layer: 0,
pos: [0.0, 0.0, 0.0],
size: [1024.0, 256.0, 0.0],
quads: [
rect {
anm_script: 5,
pos: [-128.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 6,
pos: [-128.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 5,
pos: [128.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 6,
pos: [128.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 0,
pos: [384.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 0,
pos: [-384.0, 0.0, 0.0],
size: [256.0, 256.0],
},
],
},
object2: {
layer: 0,
pos: [384.0, 0.0, 0.0],
size: [1792.0, 256.0, 0.0],
quads: [
rect {
anm_script: 3,
pos: [-128.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 4,
pos: [-128.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 3,
pos: [128.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 4,
pos: [128.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 0,
pos: [-384.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 0,
pos: [1152.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 0,
pos: [896.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 0,
pos: [640.0, 0.0, 0.0],
size: [256.0, 256.0],
},
rect {
anm_script: 0,
pos: [384.0, 0.0, 0.0],
size: [256.0, 256.0],
},
],
},
},
instances: [
object0 {pos: [0.0, 512.0, 0.0]},
object0 {pos: [0.0, 768.0, 0.0]},
object0 {pos: [0.0, 1024.0, 0.0]},
object2 {pos: [0.0, 1280.0, 0.0]},
object1 {pos: [0.0, 1536.0, 0.0]},
object1 {pos: [0.0, 1792.0, 0.0]},
object1 {pos: [0.0, 2048.0, 0.0]},
object1 {pos: [0.0, 2304.0, 0.0]},
],
}
script main {
up(0.0, 1.0, 0.0);
fov(0.62831855);
fog(0xff000000, 200.0, 800.0);
fogTime(512, 0, 0xff000000, 400.0, 1200.0);
facing(200.0, 200.0, 300.0);
facingTime(320, 0, 0.0, 200.0, 300.0);
pos(0.0, 250.0, -800.0);
fogTime(160, 0, 0xff200000, 1000.0, 1200.0);
posTime(120, 4, 640.0, 442.0, -700.0);
+120: // 120
pos(640.0, 442.0, -700.0);
posTime(30, 1, 640.0, 490.0, -650.0);
+30: // 150
posTime(30, 4, 640.0, 538.0, -600.0);
+30: // 180
pos(640.0, 538.0, -600.0);
posTime(60, 1, 320.0, 634.0, -600.0);
+60: // 240
pos(320.0, 634.0, -600.0);
posTime(80, 4, 0.0, 730.0, -600.0);
+80: // 320
pos(0.0, 730.0, -600.0);
pos(0.0, 730.0, -600.0);
posTime(1024, 0, 0.0, 1242.0, -600.0);
+1024: // 1344
pos(0.0, 730.0, -600.0);
posTime(1024, 0, 0.0, 1242.0, -600.0);
+1024: // 2368
pos(0.0, 730.0, -600.0);
posTime(700, 0, 0.0, 1080.0, -600.0);
+700: // 3068
pos(0.0, 824.0, -600.0);
posTime(128, 4, 0.0, 856.0, -600.0);
+128: // 3196
pos(0.0, 856.0, -600.0);
+60: // 3256
pos(0.0, 856.0, -600.0);
rockingMode(5);
loop {
pos(0.0, 1112.0, -600.0);
posTime(512, 0, 0.0, 856.0, -600.0);
+512: // 3768
}
}