Bullet spawners in editor and bullets come out at the spanwer position

This commit is contained in:
Marco 2025-07-09 15:05:50 +02:00
commit b64e096661
16 changed files with 288 additions and 169 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

Binary file not shown.

Binary file not shown.

View file

@ -4786,134 +4786,145 @@ TargetGroup = "door_test1"
[node name="entity_222_actor_tube_straight" parent="FuncGodotMap" instance=ExtResource("32_4jw68")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -13.5, 1.5, 4.5)
[node name="entity_223_actor_emitter_tube" parent="FuncGodotMap" instance=ExtResource("106_upccm")]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -12.5, 1.5, 4.5)
Script = ExtResource("100_ay2ud")
ActivationGroup = "door_test1"
[node name="entity_224_actor_emitter_wall" parent="FuncGodotMap" instance=ExtResource("105_64qw8")]
transform = Transform3D(-4.371139e-08, 0, 1, 0, 1, 0, -1, 0, -4.371139e-08, -15.75, 1.75, 8.75)
Script = ExtResource("100_ay2ud")
ActivationGroup = "door_test1"
EmitOnStart = false
[node name="layer_0_Solid" type="Node3D" parent="FuncGodotMap"]
metadata/_tb_type = "_tb_layer"
[node name="entity_224_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
[node name="entity_226_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -6, 1.25, 10.75)
[node name="entity_225_actor_box_blue" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("27_81m4u")]
[node name="entity_227_actor_box_blue" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("27_81m4u")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -6, 1.75, -5)
[node name="entity_226_actor_box_red" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("30_xn02t")]
[node name="entity_228_actor_box_red" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("30_xn02t")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -5.5, 1.25, -5)
[node name="entity_227_actor_terminal" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("31_x61wd")]
[node name="entity_229_actor_terminal" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("31_x61wd")]
transform = Transform3D(1.1924881e-08, 0, -1, 0, 1, 0, 1, 0, 1.1924881e-08, -9.5, 1.75, -3.75)
[node name="entity_228_actor_ac_unit" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_la7k5")]
[node name="entity_230_actor_ac_unit" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_la7k5")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -9.75, 1.5, -2)
[node name="entity_229_actor_table" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("34_ibgq7")]
[node name="entity_231_actor_table" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("34_ibgq7")]
transform = Transform3D(1.1924881e-08, 0, -1, 0, 1, 0, 1, 0, 1.1924881e-08, -9.5, 1.25, -3.5)
[node name="entity_230_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
[node name="entity_232_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
transform = Transform3D(-0.8660254, 0, 0.50000006, 0, 1, 0, -0.50000006, 0, -0.8660254, -7.25, 1.25, -4.5)
[node name="entity_231_actor_table" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("34_ibgq7")]
[node name="entity_233_actor_table" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("34_ibgq7")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -5.75, 1.25, -0.5)
[node name="entity_232_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
[node name="entity_234_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -9.5, 1.25, -5.25)
[node name="entity_233_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
[node name="entity_235_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -9.5, 1.25, -4.75)
[node name="entity_234_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
[node name="entity_236_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -6.5, 1.25, -5)
[node name="entity_235_actor_tank" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("28_4fwvw")]
[node name="entity_237_actor_tank" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("28_4fwvw")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -34, 4, 10.5)
[node name="entity_236_actor_tank" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("28_4fwvw")]
[node name="entity_238_actor_tank" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("28_4fwvw")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -36, 4, 10.5)
[node name="entity_237_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
[node name="entity_239_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -37.5, 3.75, 10)
[node name="entity_238_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
[node name="entity_240_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -38.5, 3.75, 10)
[node name="entity_239_actor_box_red" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("30_xn02t")]
[node name="entity_241_actor_box_red" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("30_xn02t")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -39.5, 3.75, 10.25)
[node name="entity_240_actor_box_blue" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("27_81m4u")]
[node name="entity_242_actor_box_blue" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("27_81m4u")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -39.5, 4.25, 10.25)
[node name="entity_241_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
[node name="entity_243_actor_box_wood" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("29_dpmls")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -12, 1.25, 17.25)
[node name="entity_242_actor_elevator_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("34_x61wd")]
[node name="entity_244_actor_elevator_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("34_x61wd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -23.5, 0.9375, 13.5)
[node name="entity_243_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_245_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, -5)
[node name="entity_244_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_246_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, -4)
[node name="entity_245_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_247_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, -3)
[node name="entity_246_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_248_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, -2)
[node name="entity_247_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_249_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, -1)
[node name="entity_248_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_250_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, 0)
[node name="entity_249_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_251_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, 1)
[node name="entity_250_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_252_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, 2)
[node name="entity_251_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_253_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, 3)
[node name="entity_252_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_254_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, 4)
[node name="entity_253_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_255_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, 5)
[node name="entity_254_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_256_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, 6)
[node name="entity_255_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_257_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, 7)
[node name="entity_256_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_258_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.3907092e-07, 0, 1, 0, 1, 0, -1, 0, 1.3907092e-07, -3, -1, 8)
[node name="entity_257_actor_tube_corner" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("40_blxpc")]
[node name="entity_259_actor_tube_corner" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("40_blxpc")]
transform = Transform3D(1.1924881e-08, 0, -1, 0, 1, 0, 1, 0, 1.1924881e-08, -3, -1, 9)
[node name="entity_258_actor_tank" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("28_4fwvw")]
[node name="entity_260_actor_tank" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("28_4fwvw")]
transform = Transform3D(1.1924881e-08, 0, -1, 0, 1, 0, 1, 0, 1.1924881e-08, -2, -1, -13.5)
[node name="entity_259_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_261_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.1924881e-08, 0, -1, 0, 1, 0, 1, 0, 1.1924881e-08, -2, -1, -12.5)
[node name="entity_260_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_262_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.1924881e-08, 0, -1, 0, 1, 0, 1, 0, 1.1924881e-08, -2, -1, -11.5)
[node name="entity_261_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_263_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.1924881e-08, 0, -1, 0, 1, 0, 1, 0, 1.1924881e-08, -2, -1, -9.5)
[node name="entity_262_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
[node name="entity_264_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.5, -1, -15.75)
DamageResistances = Array[ExtResource("70_uwqw2")]([])
[node name="entity_263_actor_box_red" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("30_xn02t")]
[node name="entity_265_actor_box_red" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("30_xn02t")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -1.5, -1.25, -16.5)
[node name="entity_264_actor_box_red" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("30_xn02t")]
[node name="entity_266_actor_box_red" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("30_xn02t")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -1.5, -0.75, -16.5)
[node name="entity_265_actor_box_green" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("36_5qpfp")]
[node name="entity_267_actor_box_green" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("36_5qpfp")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -0.5, -1.25, -16.5)
[node name="group_1_Wall_Panel_Blue_Small" type="Node3D" parent="FuncGodotMap/layer_0_Solid"]
@ -4922,69 +4933,69 @@ metadata/_tb_type = "_tb_group"
[node name="group_2_Wall_Panel_Blue_Small" type="Node3D" parent="FuncGodotMap/layer_0_Solid"]
metadata/_tb_type = "_tb_group"
[node name="entity_268_actor_capacitor_mini" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("41_f43v8")]
[node name="entity_270_actor_capacitor_mini" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("41_f43v8")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 6.5, -1, -15.5)
[node name="entity_269_actor_tank_large" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("46_p44rk")]
[node name="entity_271_actor_tank_large" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("46_p44rk")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -1.5, -0.5, -19)
[node name="entity_270_actor_chest_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("44_w3ex2")]
[node name="entity_272_actor_chest_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("44_w3ex2")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -1.5, -1, -15.75)
[node name="entity_271_actor_chest_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("44_w3ex2")]
[node name="entity_273_actor_chest_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("44_w3ex2")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, -12.5, 1.5, 2.5)
[node name="entity_272_actor_elevator_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("34_x61wd")]
[node name="entity_274_actor_elevator_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("34_x61wd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 7, -1.5625, -10.5)
TargetName = &"elevator_2"
[node name="entity_273_actor_terminal_big" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("43_3kw5n")]
[node name="entity_275_actor_terminal_big" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("43_3kw5n")]
transform = Transform3D(1.1924881e-08, 0, -1, 0, 1, 0, 1, 0, 1.1924881e-08, -15.5, 1.75, 5.75)
[node name="entity_274_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
[node name="entity_276_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 1.5, 11)
DamageResistances = Array[ExtResource("70_uwqw2")]([])
[node name="entity_275_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
[node name="entity_277_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -18.75, 1.5, 11)
DamageResistances = Array[ExtResource("70_uwqw2")]([])
[node name="entity_276_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
[node name="entity_278_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -9, 1.5, 11.75)
DamageResistances = Array[ExtResource("70_uwqw2")]([])
[node name="entity_277_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
[node name="entity_279_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -2.25, -1, -16)
DamageResistances = Array[ExtResource("70_uwqw2")]([])
[node name="entity_278_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
[node name="entity_280_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 3.5, -1, -18.75)
DamageResistances = Array[ExtResource("70_uwqw2")]([])
[node name="entity_279_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
[node name="entity_281_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4.25, -1, -18.75)
DamageResistances = Array[ExtResource("70_uwqw2")]([])
[node name="entity_280_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
[node name="entity_282_actor_barrel_1" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("23_x61wd")]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 4, -1, -18.25)
DamageResistances = Array[ExtResource("70_uwqw2")]([])
[node name="entity_281_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_283_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(1.1924881e-08, 0, -1, 0, 1, 0, 1, 0, 1.1924881e-08, -2, -1, -10.5)
[node name="entity_282_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_284_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(4.371139e-08, -1, -8.742278e-08, -1, -4.371139e-08, 0, -3.821371e-15, 8.742278e-08, -1, 3, -2, -8)
[node name="entity_283_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_285_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(4.371139e-08, -1, -8.742278e-08, -1, -4.371139e-08, 0, -3.821371e-15, 8.742278e-08, -1, 3, -3, -8)
[node name="entity_284_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_286_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(4.371139e-08, -1, -8.742278e-08, -1, -4.371139e-08, 0, -3.821371e-15, 8.742278e-08, -1, 4, -2.25, -8)
[node name="entity_285_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
[node name="entity_287_actor_tube_straight" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("32_4jw68")]
transform = Transform3D(4.371139e-08, -1, -8.742278e-08, -1, -4.371139e-08, 0, -3.821371e-15, 8.742278e-08, -1, 4, -3.25, -8)
[node name="entity_286_actor_capacitor_mini" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("41_f43v8")]
[node name="entity_288_actor_capacitor_mini" parent="FuncGodotMap/layer_0_Solid" instance=ExtResource("41_f43v8")]
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 20, -1, 0.5)
ActivationType = 5
TargetGroup = "secret_door_1"
@ -4992,7 +5003,7 @@ TargetGroup = "secret_door_1"
[node name="layer_1_Shrouds" type="Node3D" parent="FuncGodotMap"]
metadata/_tb_type = "_tb_layer"
[node name="entity_288_func_shroud" type="StaticBody3D" parent="FuncGodotMap/layer_1_Shrouds"]
[node name="entity_290_func_shroud" type="StaticBody3D" parent="FuncGodotMap/layer_1_Shrouds"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 22.75, 0.53125, -5.25)
visible = false
script = ExtResource("96_pioc6")
@ -5000,48 +5011,16 @@ TargetName = "secret_door_1"
OneTime = true
metadata/func_godot_mesh_data = {}
[node name="entity_288_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_288_func_shroud"]
[node name="entity_290_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_290_func_shroud"]
cast_shadow = 0
gi_mode = 0
mesh = SubResource("ArrayMesh_s0j8k")
[node name="entity_288_occluder_instance" type="OccluderInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_288_func_shroud"]
[node name="entity_290_occluder_instance" type="OccluderInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_290_func_shroud"]
occluder = SubResource("ArrayOccluder3D_7n6ab")
[node name="entity_289_func_shroud" type="StaticBody3D" parent="FuncGodotMap/layer_1_Shrouds"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.75, 0.53125, -7.875)
visible = false
script = ExtResource("96_pioc6")
TargetName = "secret_door_1"
OneTime = true
metadata/func_godot_mesh_data = {}
[node name="entity_289_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_289_func_shroud"]
cast_shadow = 0
gi_mode = 0
mesh = SubResource("ArrayMesh_6nbhb")
[node name="entity_289_occluder_instance" type="OccluderInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_289_func_shroud"]
occluder = SubResource("ArrayOccluder3D_ex6vc")
[node name="entity_290_func_shroud" type="StaticBody3D" parent="FuncGodotMap/layer_1_Shrouds"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.25, 3.03125, 19)
visible = false
script = ExtResource("96_pioc6")
TargetName = "door5"
OneTime = true
metadata/func_godot_mesh_data = {}
[node name="entity_290_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_290_func_shroud"]
cast_shadow = 0
gi_mode = 0
mesh = SubResource("ArrayMesh_nx1bc")
[node name="entity_290_occluder_instance" type="OccluderInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_290_func_shroud"]
occluder = SubResource("ArrayOccluder3D_33syt")
[node name="entity_291_func_shroud" type="StaticBody3D" parent="FuncGodotMap/layer_1_Shrouds"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12.375, 0.53125, -7.875)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.75, 0.53125, -7.875)
visible = false
script = ExtResource("96_pioc6")
TargetName = "secret_door_1"
@ -5051,12 +5030,44 @@ metadata/func_godot_mesh_data = {}
[node name="entity_291_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_291_func_shroud"]
cast_shadow = 0
gi_mode = 0
mesh = SubResource("ArrayMesh_bqvsb")
mesh = SubResource("ArrayMesh_6nbhb")
[node name="entity_291_occluder_instance" type="OccluderInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_291_func_shroud"]
occluder = SubResource("ArrayOccluder3D_6fyw4")
occluder = SubResource("ArrayOccluder3D_ex6vc")
[node name="entity_292_func_shroud" type="StaticBody3D" parent="FuncGodotMap/layer_1_Shrouds"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -12.25, 3.03125, 19)
visible = false
script = ExtResource("96_pioc6")
TargetName = "door5"
OneTime = true
metadata/func_godot_mesh_data = {}
[node name="entity_292_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_292_func_shroud"]
cast_shadow = 0
gi_mode = 0
mesh = SubResource("ArrayMesh_nx1bc")
[node name="entity_292_occluder_instance" type="OccluderInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_292_func_shroud"]
occluder = SubResource("ArrayOccluder3D_33syt")
[node name="entity_293_func_shroud" type="StaticBody3D" parent="FuncGodotMap/layer_1_Shrouds"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 12.375, 0.53125, -7.875)
visible = false
script = ExtResource("96_pioc6")
TargetName = "secret_door_1"
OneTime = true
metadata/func_godot_mesh_data = {}
[node name="entity_293_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_293_func_shroud"]
cast_shadow = 0
gi_mode = 0
mesh = SubResource("ArrayMesh_bqvsb")
[node name="entity_293_occluder_instance" type="OccluderInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_293_func_shroud"]
occluder = SubResource("ArrayOccluder3D_6fyw4")
[node name="entity_294_func_shroud" type="StaticBody3D" parent="FuncGodotMap/layer_1_Shrouds"]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 17.75, 0.53125, -2.375)
visible = false
script = ExtResource("96_pioc6")
@ -5064,22 +5075,16 @@ TargetName = "secret_door_2"
OneTime = true
metadata/func_godot_mesh_data = {}
[node name="entity_292_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_292_func_shroud"]
[node name="entity_294_mesh_instance" type="MeshInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_294_func_shroud"]
cast_shadow = 0
gi_mode = 0
mesh = SubResource("ArrayMesh_eltup")
[node name="entity_292_occluder_instance" type="OccluderInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_292_func_shroud"]
[node name="entity_294_occluder_instance" type="OccluderInstance3D" parent="FuncGodotMap/layer_1_Shrouds/entity_294_func_shroud"]
occluder = SubResource("ArrayOccluder3D_l67sp")
[node name="Props" type="Node3D" parent="."]
[node name="WallEmitter2" parent="Props" instance=ExtResource("105_64qw8")]
transform = Transform3D(0.99999994, 0, 0, 0, 1, 0, 0, 0, 0.99999994, -11.223025, 1.8687608, 6.3946104)
Script = ExtResource("100_ay2ud")
ActivationGroup = "door_test1"
EmitOnStart = false
[node name="ControlPad" parent="Props" node_paths=PackedStringArray("Target") instance=ExtResource("29_cr7d0")]
transform = Transform3D(-0.009965628, 0, -0.99995065, 0, 1, 0, 0.99995065, 0, -0.009965628, -90.72063, 6.918134, -2.79123)
Target = NodePath("../../Enemies/Rumia_Test")
@ -5099,11 +5104,6 @@ Billboard = true
PixelSize = 0.05
metadata/_edit_group_ = true
[node name="TubeEmitter" parent="Props" instance=ExtResource("106_upccm")]
transform = Transform3D(1.0000002, 0, 0, 0, 1, 0, 0, 0, 1.0000002, -12.176763, 1.4375, 4.615448)
Script = ExtResource("100_ay2ud")
ActivationGroup = "door_test1"
[node name="Enemies" type="Node3D" parent="."]
[node name="Enemy_Fairy_Guard" type="Marker3D" parent="Enemies"]

View file

@ -3186,6 +3186,26 @@
}
// entity 223
{
"classname" "actor_emitter_tube"
"origin" "72 -200 24"
"angles" "0 -90 0"
"targetname" "door_test1"
"script_path" "res://Resources/BulletScripts/Emitter_Trap_Wide_Forward.tres"
"emit_on_start" "0"
"invert_signal" "0"
}
// entity 224
{
"classname" "actor_emitter_wall"
"origin" "140 -252 28"
"angles" "0 -90 0"
"script_path" "res://Resources/BulletScripts/Emitter_Trap_Wide_Forward.tres"
"targetname" "door_test1"
"invert_signal" "0"
"emit_on_start" "0"
}
// entity 225
{
"classname" "func_group"
"_tb_type" "_tb_layer"
"_tb_name" "Solid"
@ -5469,282 +5489,282 @@
( -296 -928 96 ) ( -296 -929 96 ) ( -296 -928 97 ) Floors/Floor255 [ 0 -1 0 0 ] [ 0 0 1 0 ] 180 1 -1
}
}
// entity 224
// entity 226
{
"classname" "actor_box_wood"
"origin" "172 -96 20"
"_tb_layer" "3"
}
// entity 225
// entity 227
{
"classname" "actor_box_blue"
"origin" "-80 -96 28"
"_tb_layer" "3"
}
// entity 226
// entity 228
{
"classname" "actor_box_red"
"origin" "-80 -88 20"
"_tb_layer" "3"
}
// entity 227
// entity 229
{
"classname" "actor_terminal"
"origin" "-60 -152 28"
"angle" "90"
"_tb_layer" "3"
}
// entity 228
// entity 230
{
"classname" "actor_ac_unit"
"origin" "-32 -156 24"
"angle" "270"
"_tb_layer" "3"
}
// entity 229
// entity 231
{
"classname" "actor_table"
"origin" "-56 -152 20"
"angle" "90"
"_tb_layer" "3"
}
// entity 230
// entity 232
{
"classname" "actor_box_wood"
"origin" "-72 -116 20"
"angles" "0 -30 0"
"_tb_layer" "3"
}
// entity 231
// entity 233
{
"classname" "actor_table"
"origin" "-8 -92 20"
"_tb_layer" "3"
}
// entity 232
// entity 234
{
"classname" "actor_box_wood"
"origin" "-84 -152 20"
"_tb_layer" "3"
}
// entity 233
// entity 235
{
"classname" "actor_box_wood"
"origin" "-76 -152 20"
"_tb_layer" "3"
}
// entity 234
// entity 236
{
"classname" "actor_box_wood"
"origin" "-80 -104 20"
"_tb_layer" "3"
}
// entity 235
// entity 237
{
"classname" "actor_tank"
"origin" "168 -544 64"
"_tb_layer" "3"
}
// entity 236
// entity 238
{
"classname" "actor_tank"
"origin" "168 -576 64"
"_tb_layer" "3"
}
// entity 237
// entity 239
{
"classname" "actor_box_wood"
"origin" "160 -600 60"
"_tb_layer" "3"
}
// entity 238
// entity 240
{
"classname" "actor_box_wood"
"origin" "160 -616 60"
"_tb_layer" "3"
}
// entity 239
// entity 241
{
"classname" "actor_box_red"
"origin" "164 -632 60"
"_tb_layer" "3"
}
// entity 240
// entity 242
{
"classname" "actor_box_blue"
"origin" "164 -632 68"
"_tb_layer" "3"
}
// entity 241
// entity 243
{
"classname" "actor_box_wood"
"origin" "276 -192 20"
"_tb_layer" "3"
}
// entity 242
// entity 244
{
"classname" "actor_elevator_1"
"origin" "216 -376 15"
"_tb_layer" "3"
}
// entity 243
// entity 245
{
"classname" "actor_tube_straight"
"origin" "-80 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 244
// entity 246
{
"classname" "actor_tube_straight"
"origin" "-64 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 245
// entity 247
{
"classname" "actor_tube_straight"
"origin" "-48 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 246
// entity 248
{
"classname" "actor_tube_straight"
"origin" "-32 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 247
// entity 249
{
"classname" "actor_tube_straight"
"origin" "-16 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 248
// entity 250
{
"classname" "actor_tube_straight"
"origin" "0 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 249
// entity 251
{
"classname" "actor_tube_straight"
"origin" "16 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 250
// entity 252
{
"classname" "actor_tube_straight"
"origin" "32 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 251
// entity 253
{
"classname" "actor_tube_straight"
"origin" "48 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 252
// entity 254
{
"classname" "actor_tube_straight"
"origin" "64 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 253
// entity 255
{
"classname" "actor_tube_straight"
"origin" "80 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 254
// entity 256
{
"classname" "actor_tube_straight"
"origin" "96 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 255
// entity 257
{
"classname" "actor_tube_straight"
"origin" "112 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 256
// entity 258
{
"classname" "actor_tube_straight"
"origin" "128 -48 -16"
"angle" "270"
"_tb_layer" "3"
}
// entity 257
// entity 259
{
"classname" "actor_tube_corner"
"origin" "144 -48 -16"
"angle" "90"
"_tb_layer" "3"
}
// entity 258
// entity 260
{
"classname" "actor_tank"
"origin" "-216 -32 -16"
"angle" "90"
"_tb_layer" "3"
}
// entity 259
// entity 261
{
"classname" "actor_tube_straight"
"origin" "-200 -32 -16"
"angle" "90"
"_tb_layer" "3"
}
// entity 260
// entity 262
{
"classname" "actor_tube_straight"
"origin" "-184 -32 -16"
"angle" "90"
"_tb_layer" "3"
}
// entity 261
// entity 263
{
"classname" "actor_tube_straight"
"origin" "-152 -32 -16"
"angle" "90"
"_tb_layer" "3"
}
// entity 262
// entity 264
{
"classname" "actor_barrel_1"
"origin" "-252 -8 -16"
"_tb_layer" "3"
}
// entity 263
// entity 265
{
"classname" "actor_box_red"
"origin" "-264 -24 -20"
"_tb_layer" "3"
}
// entity 264
// entity 266
{
"classname" "actor_box_red"
"origin" "-264 -24 -12"
"_tb_layer" "3"
}
// entity 265
// entity 267
{
"classname" "actor_box_green"
"origin" "-264 -8 -20"
"_tb_layer" "3"
}
// entity 266
// entity 268
{
"classname" "func_group"
"_tb_type" "_tb_group"
@ -5763,7 +5783,7 @@
( -248 -64 0 ) ( -248 -64 1 ) ( -248 -63 0 ) special/clip [ -8.269460797427576e-16 1 0 0 ] [ 0 0 -1 -8 ] 270 1 1
}
}
// entity 267
// entity 269
{
"classname" "func_group"
"_tb_type" "_tb_group"
@ -5781,122 +5801,122 @@
( -104 -208 48 ) ( -104 -208 49 ) ( -104 -207 48 ) Manual/Blue_Panel_Wall_Thin [ 0 1 0 8 ] [ 0 0 -1 -16 ] 0 1 1
}
}
// entity 268
// entity 270
{
"classname" "actor_capacitor_mini"
"origin" "-248 104 -16"
"_tb_layer" "3"
}
// entity 269
// entity 271
{
"classname" "actor_tank_large"
"origin" "-304 -24 -8"
"_tb_layer" "3"
}
// entity 270
// entity 272
{
"classname" "actor_chest_1"
"origin" "-252 -24 -16"
"_tb_layer" "3"
}
// entity 271
// entity 273
{
"classname" "actor_chest_1"
"origin" "40 -200 24"
"_tb_layer" "3"
}
// entity 272
// entity 274
{
"classname" "actor_elevator_1"
"origin" "-168 112 -25"
"targetname" "elevator_2"
"_tb_layer" "3"
}
// entity 273
// entity 275
{
"classname" "actor_terminal_big"
"origin" "92 -248 28"
"angle" "90"
"_tb_layer" "3"
}
// entity 274
// entity 276
{
"classname" "actor_barrel_1"
"origin" "176 -144 24"
"_tb_layer" "3"
}
// entity 275
// entity 277
{
"classname" "actor_barrel_1"
"origin" "176 -300 24"
"_tb_layer" "3"
}
// entity 276
// entity 278
{
"classname" "actor_barrel_1"
"origin" "188 -144 24"
"_tb_layer" "3"
}
// entity 277
// entity 279
{
"classname" "actor_barrel_1"
"origin" "-256 -36 -16"
"_tb_layer" "3"
}
// entity 278
// entity 280
{
"classname" "actor_barrel_1"
"origin" "-300 56 -16"
"_tb_layer" "3"
}
// entity 279
// entity 281
{
"classname" "actor_barrel_1"
"origin" "-300 68 -16"
"_tb_layer" "3"
}
// entity 280
// entity 282
{
"classname" "actor_barrel_1"
"origin" "-292 64 -16"
"_tb_layer" "3"
}
// entity 281
// entity 283
{
"classname" "actor_tube_straight"
"origin" "-168 -32 -16"
"angle" "90"
"_tb_layer" "3"
}
// entity 282
// entity 284
{
"classname" "actor_tube_straight"
"origin" "-128 48 -32"
"angles" "0 0 90"
"_tb_layer" "3"
}
// entity 283
// entity 285
{
"classname" "actor_tube_straight"
"origin" "-128 48 -48"
"angles" "0 0 90"
"_tb_layer" "3"
}
// entity 284
// entity 286
{
"classname" "actor_tube_straight"
"origin" "-128 64 -36"
"angles" "0 0 90"
"_tb_layer" "3"
}
// entity 285
// entity 287
{
"classname" "actor_tube_straight"
"origin" "-128 64 -52"
"angles" "0 0 90"
"_tb_layer" "3"
}
// entity 286
// entity 288
{
"classname" "actor_capacitor_mini"
"origin" "8 320 -16"
@ -5904,7 +5924,7 @@
"activationtype" "Open"
"_tb_layer" "3"
}
// entity 287
// entity 289
{
"classname" "func_group"
"_tb_type" "_tb_layer"
@ -5913,7 +5933,7 @@
"_tb_layer_sort_index" "1"
"_tb_layer_hidden" "1"
}
// entity 288
// entity 290
{
"classname" "func_shroud"
"targetname" "secret_door_1"
@ -5929,7 +5949,7 @@
( 0 480 24 ) ( 0 480 25 ) ( 0 481 24 ) Manual/Black [ 0 1 0 0 ] [ 0 0 -1 0 ] 90 1 1
}
}
// entity 289
// entity 291
{
"classname" "func_shroud"
"targetname" "secret_door_1"
@ -5945,7 +5965,7 @@
( -84 376 24 ) ( -84 376 25 ) ( -84 377 24 ) Manual/Black [ 0 1 0 0 ] [ 0 0 -1 0 ] 90 1 1
}
}
// entity 290
// entity 292
{
"classname" "func_shroud"
"targetname" "door5"
@ -5961,7 +5981,7 @@
( 344 -112 64 ) ( 344 -112 65 ) ( 344 -111 64 ) Manual/Black [ 0 1 0 0 ] [ 0 0 -1 0 ] 180 1 1
}
}
// entity 291
// entity 293
{
"classname" "func_shroud"
"targetname" "secret_door_1"
@ -5977,7 +5997,7 @@
( -84 320 24 ) ( -84 320 25 ) ( -84 321 24 ) Manual/Black [ 0 1 0 0 ] [ 0 0 -1 0 ] 0 1 1
}
}
// entity 292
// entity 294
{
"classname" "func_shroud"
"targetname" "secret_door_2"

View file

@ -18,5 +18,5 @@ shape = SubResource("BoxShape3D_hsg1w")
transform = Transform3D(-1, 0, -8.742278e-08, 0, 1, 0, 8.742278e-08, 0, -1, 0, 0, 0)
[node name="BulletSpawner3D" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.42878178, 0, 0)
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.013347119, 0, 0.48660082)
script = ExtResource("3_xohn2")

View file

@ -19,7 +19,8 @@ transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.00549316, 0.116073, -0.0004
shape = SubResource("CylinderShape3D_ro7iq")
[node name="BulletSpawner3D" type="Node3D" parent="."]
transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0014649034, 0, 0.10066171)
script = ExtResource("3_g6b3n")
[node name="blockbench_export" parent="." instance=ExtResource("3_3n1ol")]
transform = Transform3D(-1, 0, 8.74228e-08, 0, 1, 0, -8.74228e-08, 0, -1, 0, 0, 0)
transform = Transform3D(-1, 0, 1.509958e-07, 0, 1, 0, -1.509958e-07, 0, -1, 0, 0, 0)

View file

@ -0,0 +1,15 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=2 format=3 uid="uid://cy0telb0x1l4k"]
[ext_resource type="Script" uid="uid://6o4wbl0iau0v" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_qpt1x"]
[resource]
script = ExtResource("1_qpt1x")
classname = "ScriptPath"
description = "Path of a script"
class_properties = {
"script_path": ""
}
class_property_descriptions = {
"script_path": "The path or UID of the script"
}
metadata/_custom_type_script = "uid://6o4wbl0iau0v"

View file

@ -0,0 +1,21 @@
[gd_resource type="Resource" script_class="FuncGodotFGDBaseClass" load_steps=5 format=3 uid="uid://0u5qbphjq045"]
[ext_resource type="Resource" uid="uid://5bc1qysixhmh" path="res://3D/TrenchBroom/EntityDefinitions/base/actor_base.tres" id="1_i10vt"]
[ext_resource type="Script" uid="uid://6o4wbl0iau0v" path="res://addons/func_godot/src/fgd/func_godot_fgd_base_class.gd" id="1_y6kld"]
[ext_resource type="Resource" uid="uid://c1utxplehq2jl" path="res://3D/TrenchBroom/EntityDefinitions/base/targetname_base.tres" id="2_xu050"]
[ext_resource type="Resource" uid="uid://cy0telb0x1l4k" path="res://3D/TrenchBroom/EntityDefinitions/base/Script_path.tres" id="3_2wrec"]
[resource]
script = ExtResource("1_y6kld")
classname = "Emitter"
description = "Base Emitter"
base_classes = Array[Resource]([ExtResource("1_i10vt"), ExtResource("2_xu050"), ExtResource("3_2wrec")])
class_properties = {
"emit_on_start": false,
"invert_signal": false
}
class_property_descriptions = {
"emit_on_start": "If true the emitter starts immediately",
"invert_signal": "Invert enable and disable signals"
}
metadata/_custom_type_script = "uid://6o4wbl0iau0v"

View file

@ -0,0 +1,20 @@
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=4 format=3 uid="uid://concvsutqjff2"]
[ext_resource type="Resource" uid="uid://0u5qbphjq045" path="res://3D/TrenchBroom/EntityDefinitions/base/emitter_base.tres" id="1_cogy3"]
[ext_resource type="Script" uid="uid://dkmyelig23ub5" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="4_7iiqi"]
[ext_resource type="PackedScene" uid="uid://djm3rsc7ul5jb" path="res://3D/Scenes/Props/Tube_3D_Emitter.tscn" id="4_n243x"]
[resource]
script = ExtResource("4_7iiqi")
target_map_editor = 1
rotation_offset = Vector3(0, 180, 0)
scene_file = ExtResource("4_n243x")
apply_scale_on_map_build = false
classname = "actor_emitter_tube"
description = "Tube Emitter"
base_classes = Array[Resource]([ExtResource("1_cogy3")])
meta_properties = {
"model": "\"3D/MapModels/actor_emitter_tube.glb\"",
"size": AABB(-8, -8, -8, 8, 8, 8)
}
metadata/_custom_type_script = "uid://c83r7t467hm4m"

View file

@ -0,0 +1,20 @@
[gd_resource type="Resource" script_class="FuncGodotFGDModelPointClass" load_steps=4 format=3 uid="uid://oeoksvwbqvnf"]
[ext_resource type="Resource" uid="uid://0u5qbphjq045" path="res://3D/TrenchBroom/EntityDefinitions/base/emitter_base.tres" id="1_1ofar"]
[ext_resource type="PackedScene" uid="uid://yath5bvxo3cn" path="res://3D/Scenes/Props/Wall_Emitter_3D.tscn" id="4_wgr2p"]
[ext_resource type="Script" uid="uid://dkmyelig23ub5" path="res://addons/func_godot/src/fgd/func_godot_fgd_model_point_class.gd" id="5_a0kra"]
[resource]
script = ExtResource("5_a0kra")
target_map_editor = 1
rotation_offset = Vector3(0, 180, 0)
scene_file = ExtResource("4_wgr2p")
apply_scale_on_map_build = false
classname = "actor_emitter_wall"
description = "Wall Emitter"
base_classes = Array[Resource]([ExtResource("1_1ofar")])
meta_properties = {
"model": "\"3D/MapModels/actor_emitter_wall.glb\"",
"size": AABB(-4, -4, -4, 4, 4, 4)
}
metadata/_custom_type_script = "uid://c83r7t467hm4m"

View file

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=13 format=3 uid="uid://onsfttdpojex"]
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=15 format=3 uid="uid://onsfttdpojex"]
[ext_resource type="Resource" uid="uid://kerywjgft7vh" path="res://3D/TrenchBroom/EntityDefinitions/base/target_base.tres" id="1_abw2p"]
[ext_resource type="Script" uid="uid://cknmd0lgmorx2" path="res://addons/func_godot/src/fgd/func_godot_fgd_file.gd" id="1_p3xok"]
@ -12,8 +12,10 @@
[ext_resource type="Resource" uid="uid://dwc3j47cgj78j" path="res://3D/TrenchBroom/EntityDefinitions/base/requirement_key_base.tres" id="9_htav4"]
[ext_resource type="Resource" uid="uid://bd4h6ha84s74b" path="res://3D/TrenchBroom/EntityDefinitions/base/activation_type_base.tres" id="10_vqlk3"]
[ext_resource type="Resource" uid="uid://dl5gtmotc4g6a" path="res://3D/TrenchBroom/EntityDefinitions/base/destroyable_base.tres" id="11_pydck"]
[ext_resource type="Resource" uid="uid://cy0telb0x1l4k" path="res://3D/TrenchBroom/EntityDefinitions/base/Script_path.tres" id="12_ueg06"]
[ext_resource type="Resource" uid="uid://0u5qbphjq045" path="res://3D/TrenchBroom/EntityDefinitions/base/emitter_base.tres" id="13_hm8wc"]
[resource]
script = ExtResource("1_p3xok")
entity_definitions = Array[Resource]([ExtResource("1_abw2p"), ExtResource("2_entxp"), ExtResource("1_wfoxw"), ExtResource("5_mkw5g"), ExtResource("2_abw2p"), ExtResource("6_1xsdl"), ExtResource("7_2isdf"), ExtResource("8_2isdf"), ExtResource("9_htav4"), ExtResource("10_vqlk3"), ExtResource("11_pydck")])
entity_definitions = Array[Resource]([ExtResource("1_abw2p"), ExtResource("2_entxp"), ExtResource("1_wfoxw"), ExtResource("5_mkw5g"), ExtResource("2_abw2p"), ExtResource("6_1xsdl"), ExtResource("7_2isdf"), ExtResource("8_2isdf"), ExtResource("9_htav4"), ExtResource("10_vqlk3"), ExtResource("11_pydck"), ExtResource("12_ueg06"), ExtResource("13_hm8wc")])
metadata/_custom_type_script = "uid://cknmd0lgmorx2"

View file

@ -1,4 +1,4 @@
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=43 format=3 uid="uid://b700sa4be6dfa"]
[gd_resource type="Resource" script_class="FuncGodotFGDFile" load_steps=45 format=3 uid="uid://b700sa4be6dfa"]
[ext_resource type="Resource" uid="uid://ia1t5p4mhom3" path="res://3D/TrenchBroom/EntityDefinitions/point/lights/light_omni.tres" id="1_7vcj1"]
[ext_resource type="Script" uid="uid://cknmd0lgmorx2" path="res://addons/func_godot/src/fgd/func_godot_fgd_file.gd" id="1_lykim"]
@ -42,8 +42,10 @@
[ext_resource type="Resource" uid="uid://c8jy0j0d0nw0x" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/Actor_Stairs_mini.tres" id="39_d6b4f"]
[ext_resource type="Resource" uid="uid://5jxyln87hluw" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/actor_tube_straight_long.tres" id="40_l3pck"]
[ext_resource type="Resource" uid="uid://cy6802obllcmv" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/actor_valve.tres" id="41_q8hab"]
[ext_resource type="Resource" uid="uid://concvsutqjff2" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/Actor_Emitter_Tube.tres" id="42_ekplg"]
[ext_resource type="Resource" uid="uid://oeoksvwbqvnf" path="res://3D/TrenchBroom/EntityDefinitions/point/actors/Actor_Emitter_Wall.tres" id="43_d7qk0"]
[resource]
script = ExtResource("1_lykim")
entity_definitions = Array[Resource]([ExtResource("1_7vcj1"), ExtResource("2_u7uvb"), ExtResource("3_u7uvb"), ExtResource("4_1nmxk"), ExtResource("5_ljb2x"), ExtResource("6_seuvu"), ExtResource("7_fmwex"), ExtResource("8_c8m8m"), ExtResource("9_14sjf"), ExtResource("10_xik3w"), ExtResource("11_dgiqm"), ExtResource("12_1teik"), ExtResource("13_f0hti"), ExtResource("14_6ld6e"), ExtResource("15_g8j5j"), ExtResource("16_7h4of"), ExtResource("17_m3sbm"), ExtResource("18_m3sbm"), ExtResource("19_hvhb8"), ExtResource("20_3v5us"), ExtResource("21_g67cj"), ExtResource("22_iy67w"), ExtResource("23_b5lmu"), ExtResource("24_ndas4"), ExtResource("25_n7wsi"), ExtResource("26_v48k5"), ExtResource("27_ombvk"), ExtResource("28_31lma"), ExtResource("29_louv0"), ExtResource("30_wfgfu"), ExtResource("31_elv2e"), ExtResource("32_elv2e"), ExtResource("33_aawmv"), ExtResource("34_wy0ht"), ExtResource("35_3jqmy"), ExtResource("36_p5b6l"), ExtResource("37_53o7h"), ExtResource("38_mdgca"), ExtResource("39_d6b4f"), ExtResource("40_l3pck"), ExtResource("41_q8hab")])
entity_definitions = Array[Resource]([ExtResource("1_7vcj1"), ExtResource("2_u7uvb"), ExtResource("3_u7uvb"), ExtResource("4_1nmxk"), ExtResource("5_ljb2x"), ExtResource("6_seuvu"), ExtResource("7_fmwex"), ExtResource("8_c8m8m"), ExtResource("9_14sjf"), ExtResource("10_xik3w"), ExtResource("11_dgiqm"), ExtResource("12_1teik"), ExtResource("13_f0hti"), ExtResource("14_6ld6e"), ExtResource("15_g8j5j"), ExtResource("16_7h4of"), ExtResource("17_m3sbm"), ExtResource("18_m3sbm"), ExtResource("19_hvhb8"), ExtResource("20_3v5us"), ExtResource("21_g67cj"), ExtResource("22_iy67w"), ExtResource("23_b5lmu"), ExtResource("24_ndas4"), ExtResource("25_n7wsi"), ExtResource("26_v48k5"), ExtResource("27_ombvk"), ExtResource("28_31lma"), ExtResource("29_louv0"), ExtResource("30_wfgfu"), ExtResource("31_elv2e"), ExtResource("32_elv2e"), ExtResource("33_aawmv"), ExtResource("34_wy0ht"), ExtResource("35_3jqmy"), ExtResource("36_p5b6l"), ExtResource("37_53o7h"), ExtResource("38_mdgca"), ExtResource("39_d6b4f"), ExtResource("40_l3pck"), ExtResource("41_q8hab"), ExtResource("42_ekplg"), ExtResource("43_d7qk0")])
metadata/_custom_type_script = "uid://cknmd0lgmorx2"

View file

@ -2,9 +2,11 @@
using Cirno.Scripts.Resources;
using Cirno.Scripts.Resources.BulletScripts;
using Godot;
using Godot.Collections;
namespace Cirno.Scripts.Actors;
[Tool]
public partial class ScriptableBulletsEmitter3D : Node3D, IActivable, IScriptHost3D
{
public Node3D ParentObject => this;
@ -31,6 +33,7 @@ public partial class ScriptableBulletsEmitter3D : Node3D, IActivable, IScriptHos
public override void _Ready()
{
if (Engine.IsEditorHint()) return;
//_scriptInstance = Script.Duplicate(true) as BulletScript;
if (!string.IsNullOrWhiteSpace(ActivationGroup))
@ -49,9 +52,23 @@ public partial class ScriptableBulletsEmitter3D : Node3D, IActivable, IScriptHos
}
EmitSignal(SignalName.StateChanged, _isActive);
}
public virtual void _func_godot_apply_properties(Dictionary<string, Variant> props)
{
ActivationGroup = props["targetname"].AsString();
var scriptPath = props["script_path"].AsString();
Script = GD.Load<BulletScript3D>(scriptPath);
EmitOnStart = props["emit_on_start"].AsBool();
InvertSignal = props["invert_signal"].AsBool();
//TargetFunc = props["targetfunc"];
//TargetName = props["targetname"];
}
public bool Activate(ActivationType activationType = ActivationType.Toggle)
{
if (Engine.IsEditorHint()) return false;
switch (activationType)
{
case ActivationType.Use:
@ -89,6 +106,7 @@ public partial class ScriptableBulletsEmitter3D : Node3D, IActivable, IScriptHos
public override void _Process(double delta)
{
if (Engine.IsEditorHint()) return;
if (!_isActive) return;
ScriptMachine.UpdatePhase(delta);

View file

@ -188,7 +188,7 @@ public partial class ShootingPattern3D : AttackPattern
// Rotate with parent rotation
if (pattern.UseParentRotationOffset)
{
direction = direction.Rotated(-ScriptHost.ParentObject.GlobalRotation.Y + Mathf.DegToRad(90));
direction = direction.Rotated(-spawner.GlobalRotation.Y + Mathf.DegToRad(90));
}
// TODO: Fix player aiming for 3D
@ -196,21 +196,21 @@ public partial class ShootingPattern3D : AttackPattern
{
if (pattern._predictPlayer && GameController.Instance.PlayerVelocity.HasValue)
{
var predictedDirection = MathFunctions.PredictInterceptPosition(ScriptHost.ParentObject.GlobalPosition.ToVector2(),
var predictedDirection = MathFunctions.PredictInterceptPosition(spawner.GlobalPosition.ToVector2(),
GameController.Instance.PlayerPosition.Value.ToVector2(), GameController.Instance.PlayerVelocity.Value.ToVector2(),
pattern.BulletResource.BulletSpeed);
if (predictedDirection.HasValue)
{
direction = (predictedDirection.Value - ScriptHost.ParentObject.GlobalPosition.ToVector2()).Normalized();
direction = (predictedDirection.Value - spawner.GlobalPosition.ToVector2()).Normalized();
}
}
else
{
direction = (GameController.Instance.PlayerPosition.Value.ToVector2() - ScriptHost.ParentObject.GlobalPosition.ToVector2()).Normalized();
direction = (GameController.Instance.PlayerPosition.Value.ToVector2() - spawner.GlobalPosition.ToVector2()).Normalized();
}
}
var spawnPosition = ScriptHost.ParentObject.GlobalPosition + pattern.EmitterOffset;
var spawnPosition = spawner.GlobalPosition + pattern.EmitterOffset;
var bullet = pattern.MakeBullet(spawnPosition.ToVector2(), pattern.bulletCount,
pattern.spread, angleOffset);