| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137 |
- name: "example"
- scale_along_z: 0
- embedded_instances {
- id: "floor"
- data: "embedded_components {\n"
- " id: \"model\"\n"
- " type: \"model\"\n"
- " data: \"mesh: \\\"/assets/models/floor_tile_large.gltf.glb\\\"\\n"
- "name: \\\"{{NAME}}\\\"\\n"
- "materials {\\n"
- " name: \\\"texture\\\"\\n"
- " material: \\\"/builtins/materials/model.material\\\"\\n"
- " textures {\\n"
- " sampler: \\\"tex0\\\"\\n"
- " texture: \\\"/assets/models/dungeon_texture.png\\\"\\n"
- " }\\n"
- "}\\n"
- "\"\n"
- "}\n"
- ""
- }
- embedded_instances {
- id: "wall"
- data: "embedded_components {\n"
- " id: \"model\"\n"
- " type: \"model\"\n"
- " data: \"mesh: \\\"/assets/models/wall.gltf.glb\\\"\\n"
- "name: \\\"{{NAME}}\\\"\\n"
- "materials {\\n"
- " name: \\\"texture\\\"\\n"
- " material: \\\"/builtins/materials/model.material\\\"\\n"
- " textures {\\n"
- " sampler: \\\"tex0\\\"\\n"
- " texture: \\\"/assets/models/dungeon_texture.png\\\"\\n"
- " }\\n"
- "}\\n"
- "\"\n"
- "}\n"
- ""
- position {
- z: -2.0
- }
- }
- embedded_instances {
- id: "player"
- children: "camera"
- data: "components {\n"
- " id: \"player\"\n"
- " component: \"/example/player.script\"\n"
- "}\n"
- "embedded_components {\n"
- " id: \"model\"\n"
- " type: \"model\"\n"
- " data: \"mesh: \\\"/assets/models/Knight.glb\\\"\\n"
- "skeleton: \\\"/assets/models/Knight.glb\\\"\\n"
- "animations: \\\"/assets/models/Knight.glb\\\"\\n"
- "default_animation: \\\"Block_Attack\\\"\\n"
- "name: \\\"{{NAME}}\\\"\\n"
- "materials {\\n"
- " name: \\\"knight_texture\\\"\\n"
- " material: \\\"/assets/materials/model_world.material\\\"\\n"
- " textures {\\n"
- " sampler: \\\"tex0\\\"\\n"
- " texture: \\\"/assets/models/knight_texture.png\\\"\\n"
- " }\\n"
- "}\\n"
- "materials {\\n"
- " name: \\\"knight_texture_no_skin\\\"\\n"
- " material: \\\"/assets/materials/model_world.material\\\"\\n"
- " textures {\\n"
- " sampler: \\\"tex0\\\"\\n"
- " texture: \\\"/assets/models/knight_texture.png\\\"\\n"
- " }\\n"
- "}\\n"
- "\"\n"
- "}\n"
- ""
- }
- embedded_instances {
- id: "camera"
- data: "components {\n"
- " id: \"orbit_camera\"\n"
- " component: \"/example/orbit_camera.script\"\n"
- " properties {\n"
- " id: \"zoom\"\n"
- " value: \"13.0\"\n"
- " type: PROPERTY_TYPE_NUMBER\n"
- " }\n"
- "}\n"
- "embedded_components {\n"
- " id: \"camera\"\n"
- " type: \"camera\"\n"
- " data: \"aspect_ratio: 1.0\\n"
- "fov: 0.7854\\n"
- "near_z: 0.1\\n"
- "far_z: 1000.0\\n"
- "auto_aspect_ratio: 1\\n"
- "\"\n"
- "}\n"
- ""
- position {
- y: 5.0
- z: 8.0
- }
- rotation {
- x: -0.21643962
- w: 0.976296
- }
- }
- embedded_instances {
- id: "postprocess"
- data: "components {\n"
- " id: \"postprocess\"\n"
- " component: \"/example/postprocess.script\"\n"
- "}\n"
- "embedded_components {\n"
- " id: \"quad\"\n"
- " type: \"model\"\n"
- " data: \"mesh: \\\"/builtins/assets/meshes/quad_2x2.dae\\\"\\n"
- "name: \\\"{{NAME}}\\\"\\n"
- "materials {\\n"
- " name: \\\"default\\\"\\n"
- " material: \\\"/example/materials/passthrough.material\\\"\\n"
- "}\\n"
- "create_go_bones: false\\n"
- "\"\n"
- "}\n"
- ""
- }
- embedded_instances {
- id: "instructions"
- data: "components {\n"
- " id: \"instructions\"\n"
- " component: \"/example/instructions.gui\"\n"
- "}\n"
- ""
- }
|