touhou-reimpl/research/stage01.tstd

364 lines
12 KiB
Plaintext

#pragma mapfile "utils/th095.stdm"
meta {
unknown: 0,
anm_path: "stage01.anm",
objects: {
object0: {
layer: 0,
pos: [0.0, 0.0, -260.0],
size: [42.0, 256.0, 0.0],
quads: [
rect {
anm_script: 0,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 1,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 2,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 3,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 4,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 5,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 6,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 7,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 8,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 9,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 10,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 11,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 12,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 13,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 14,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
rect {
anm_script: 15,
pos: [0.0, 0.0, -260.0],
size: [43.0, 256.0],
},
],
},
object1: {
layer: 1,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0, 0.0],
quads: [
rect {
anm_script: 16,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 17,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 18,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 19,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 20,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 21,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 22,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 23,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 24,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 25,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 26,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 27,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 28,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 29,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 30,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
rect {
anm_script: 31,
pos: [0.0, 0.0, -300.0],
size: [42.5, 256.0],
},
],
},
object2: {
layer: 2,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0, 0.0],
quads: [
rect {
anm_script: 32,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 33,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 34,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 35,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 36,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 37,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 38,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 39,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 40,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 41,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 42,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 43,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 44,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 45,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 46,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
rect {
anm_script: 47,
pos: [0.0, 0.0, -320.0],
size: [42.5, 256.0],
},
],
},
},
instances: [
object0 {pos: [0.0, 512.0, 0.0]},
object1 {pos: [0.0, 512.0, 0.0]},
object2 {pos: [0.0, 512.0, 0.0]},
object0 {pos: [0.0, 768.0, 0.0]},
object1 {pos: [0.0, 768.0, 0.0]},
object2 {pos: [0.0, 768.0, 0.0]},
object0 {pos: [0.0, 1024.0, 0.0]},
object1 {pos: [0.0, 1024.0, 0.0]},
object2 {pos: [0.0, 1024.0, 0.0]},
object0 {pos: [0.0, 1280.0, 0.0]},
object1 {pos: [0.0, 1280.0, 0.0]},
object2 {pos: [0.0, 1280.0, 0.0]},
object0 {pos: [0.0, 1536.0, 0.0]},
object1 {pos: [0.0, 1536.0, 0.0]},
object2 {pos: [0.0, 1536.0, 0.0]},
object0 {pos: [0.0, 1792.0, 0.0]},
object1 {pos: [0.0, 1792.0, 0.0]},
object2 {pos: [0.0, 1792.0, 0.0]},
object0 {pos: [0.0, 2048.0, 0.0]},
object1 {pos: [0.0, 2048.0, 0.0]},
object2 {pos: [0.0, 2048.0, 0.0]},
object0 {pos: [0.0, 2304.0, 0.0]},
object1 {pos: [0.0, 2304.0, 0.0]},
object2 {pos: [0.0, 2304.0, 0.0]},
object0 {pos: [0.0, 2560.0, 0.0]},
object1 {pos: [0.0, 2560.0, 0.0]},
object2 {pos: [0.0, 2560.0, 0.0]},
object0 {pos: [0.0, 2816.0, 0.0]},
object1 {pos: [0.0, 2816.0, 0.0]},
object2 {pos: [0.0, 2816.0, 0.0]},
object0 {pos: [0.0, 3072.0, 0.0]},
object1 {pos: [0.0, 3072.0, 0.0]},
object2 {pos: [0.0, 3072.0, 0.0]},
object0 {pos: [0.0, 3328.0, 0.0]},
object1 {pos: [0.0, 3328.0, 0.0]},
object2 {pos: [0.0, 3328.0, 0.0]},
object0 {pos: [0.0, 3584.0, 0.0]},
object1 {pos: [0.0, 3584.0, 0.0]},
object2 {pos: [0.0, 3584.0, 0.0]},
object0 {pos: [0.0, 3840.0, 0.0]},
object1 {pos: [0.0, 3840.0, 0.0]},
object2 {pos: [0.0, 3840.0, 0.0]},
object0 {pos: [0.0, 4096.0, 0.0]},
object1 {pos: [0.0, 4096.0, 0.0]},
object2 {pos: [0.0, 4096.0, 0.0]},
object0 {pos: [0.0, 4352.0, 0.0]},
object1 {pos: [0.0, 4352.0, 0.0]},
object2 {pos: [0.0, 4352.0, 0.0]},
object0 {pos: [0.0, 4608.0, 0.0]},
object1 {pos: [0.0, 4608.0, 0.0]},
object2 {pos: [0.0, 4608.0, 0.0]},
object0 {pos: [0.0, 4864.0, 0.0]},
object1 {pos: [0.0, 4864.0, 0.0]},
object2 {pos: [0.0, 4864.0, 0.0]},
object0 {pos: [0.0, 5120.0, 0.0]},
object1 {pos: [0.0, 5120.0, 0.0]},
object2 {pos: [0.0, 5120.0, 0.0]},
object0 {pos: [0.0, 5376.0, 0.0]},
object1 {pos: [0.0, 5376.0, 0.0]},
object2 {pos: [0.0, 5376.0, 0.0]},
object0 {pos: [0.0, 5632.0, 0.0]},
object1 {pos: [0.0, 5632.0, 0.0]},
object2 {pos: [0.0, 5632.0, 0.0]},
object0 {pos: [0.0, 5888.0, 0.0]},
object1 {pos: [0.0, 5888.0, 0.0]},
object2 {pos: [0.0, 5888.0, 0.0]},
object0 {pos: [0.0, 6144.0, 0.0]},
object1 {pos: [0.0, 6144.0, 0.0]},
object2 {pos: [0.0, 6144.0, 0.0]},
],
}
script main {
up(0.0, 1.0, 0.0);
fov(0.62831855);
fog(0xff000000, 100.0, 600.0);
fogTime(200, 0, 0xff000000, 400.0, 1000.0);
pos(0.0, 0.0, -500.0);
posTime(900, 4, 0.0, 1024.0, -700.0);
facing(0.0, 400.0, 200.0);
facingTime(900, 4, 0.0, 400.0, 330.0);
+200: // 200
fogTime(800, 0, 0xff000000, 500.0, 1100.0);
+700: // 900
pos(0.0, 1024.0, -700.0);
posTime(200, 1, 0.0, 1324.0, -700.0);
+200: // 1100
loop {
pos(0.0, 1324.0, -700.0);
posTime(256, 0, 0.0, 2348.0, -700.0);
+256: // 1356
}
}