- En iyi cevaplar
- 7
Önsöz
Bugün sabah aklıma böyle bir şey yapmak geldi ve hemen yapayım dedim.
Bu skript ile toaru majutsu no index animesinde olan railgunu kullanabilirsiniz.
şu an birkaç şey tamamlanmış olsada halen bir şeyler eksik gibi geliyor ama bulamadım.
Neleri eklemeliyim, neleri düzeltmeliyim söylerseniz düzeltirim.
Şuanlık skriptde yukarıdaki resimde gördüğünüz gibi efektler ve blok parçalanmaları yoktur.
(Yukarıdaki şey V0.2 de var)
(Not: Skript geliştikten sonra anket cevabınızı değiştirebilirsiniz.)
Kod
Kod:
# Railgun! (v0.2)
# Minecraftplayerr tarafından kodlanmıştır.
on rightclick with slimeball:
set {_ab} to block 3 above player's location
set {_ac} to block 3 above block 1 right player's location
set {_ad} to block 3 above block 1 left player's location
{_ab} is air:
set block at {_ab} to bedrock
else:
set {_ab} to block 4 above player's location
{_ab} is air:
set block at {_ab} to bedrock
{_ac} is air:
set block at {_ac} to bedrock
else:
set {_ac} to block 4 above block 1 right player's location
{_ac} is air:
set block at {_ac} to bedrock
{_ad} is air:
set block at {_ad} to bedrock
else:
set {_ad} to block 4 above block 1 left player's location
{_ad} is air:
set block at {_ad} to bedrock
shoot snowball at speed 2
wait 0.3 second
{_ab} is bedrock
set block at {_ab} to air
{_ac} is bedrock
set block at {_ac} to air
{_ad} is bedrock
set block at {_ad} to air
every 0.2 ticks:
loop projectiles:
strike lightning at loop-projectile
set {_a} to block 1 right block 1 below loop-projectile
{_a} is air
wait 1 ticks
set block at {_a} to lapis block
wait 0.5 second
set block at {_a} to air
on projectile hit:
projectile is snowball
set {_a} to block 1 above projectile
set {_b} to block 0 east projectile
set {_c} to block 1 right projectile
set {_d} to block 2 right projectile
set {_e} to block 3 left projectile
set {_f} to block 2 above projectile
set {_g} to block 3 above projectile
set {_h} to block 4 above projectile
wait 1 ticks
{_a} is air:
set block at {_a} to redstone block
wait 0.2 second
{_b} is air:
set block at {_b} to redstone block
wait 0.1 second
{_c} is air:
set block at {_c} to redstone block
wait 0.3 second
{_d} is air:
set block at {_d} to redstone block
wait 0.3 second
{_e} is air:
set block at {_e} to redstone block
wait 0.3 second
{_f} is air:
set block at {_f} to bedrock
wait 0.3 second
{_g} is air:
set block at {_g} to bedrock
wait 0.4 second
{_h} is air:
set block at {_h} to bedrock
wait 1 second
{_a} is redstone block:
set block at {_a} to air
wait 0.4 second
{_b} is redstone block:
set block at {_b} to air
wait 0.2 second
{_c} is redstone block:
set block at {_c} to air
wait 0.2 second
{_d} is redstone block:
set block at {_d} to air
wait 0.2 second
{_e} is redstone block:
set block at {_e} to air
wait 0.2 second
{_f} is bedrock:
set block at {_f} to air
wait 0.2 second
{_g} is bedrock:
set block at {_g} to air
wait 0.2 second
{_h} is bedrock:
set block at {_h} to air
on ignite:
cancel event
--------------------
--------------------
Kod:
# Railgun!
# Minecraftplayerr tarafından kodlanmıştır.
on rightclick with stone:
set {_a} to block 1 infront player
spawn 1 chicken at {_a}
set health of last spawned entity to 0.5
push last spawned entity upwards at speed 0.5
wait 1 second
kill last spawned entity
on damage:
attacker is player
victim is chicken
cancel event
push victim backwards at speed 1
kill victim
on death:
victim is chicken
clear drops
(Güzel resim bulanın ismi konuya eklenecektir.)
Son düzenleme: