Metin taşı oluşturma mantığı

  • Konuyu başlatan hsndmrts_
  • Başlangıç tarihi
H

hsndmrts_

Ziyaretçi
metin2 oyunundaki metin taşlarının oluşturulma mantığını yaptım anlaşılır ve kolay nbteditor, mistik mobs vs. pluginleri ile oluşturduğunuz canavarları skripte on command yada command şeklinde koyup taşların içinden özel canavarlar çıkartılabilir %50 ihtimalle kırılıyor ve içinden 3 zombie, 5 exp çıkıyor %50 ihtimallede tekrar kırmak gerekiyor canavarları 1- 2- 3- şeklinde kırılan bloğun etrafında çıkartabilirsiniz çok basit bi mantığı var kolay gelsin.
http://hastebin.com/raw/kiwedevexe
 


R

Reloven

Ziyaretçi
Bu Şekilde Degilde Texture Pack Ve Azıcık Kodlamayla Çok Daha İyisi Yapılabilinir
 
H

hsndmrts_

Ziyaretçi
evet ben mantığını verdim sadece tex.pack ile mükemmel olabilir.
 

blackone1991

Elmas Madencisi
Mesajlar
808
En iyi cevaplar
0
Beğeniler
751
Puanları
2,540
Ruh hali
Benim eski sunucum'da Ay Taşı vardı. Çoktan mantığı çözülmüş bir olayın mantığını çözmek garip geliyor :/[DOUBLEPOST=1414318016,1414317917][/DOUBLEPOST]Çok eskiden yapmış kodunuda buldum. Herkes kullanabilir. Tek sorun eskiden tam bitirememiş olmam ve bu sadece 5%. Kalan 95% ise sunucuyla birlikte gitti.

Kod:
on leftclick on command block:

    if {ay-tasi-guncelleme.%player%} is 1:
        set boss bar of player to "&f&lAy Tasi &a%{metin-hp.%player%}% &f/ &c10000"
        play 30 of effect "magicCrit" with data 1 at target block
        if {metin-hp.%player%} is between -100 and 1:
            set targeted block to air
            play 100 of effect "reddust" with data 1 at target block
            broadcast "&l%player% &eAy Tasini basariyla kirdi!"
            drop wood hoe
            drop leather chestplate
            drop 5 diamond at target block
            drop 4 paper named "&f&lKutsal Parsomen" with lore "&7Bu Parsomenle esyanizi||&7gelistirebilirsiniz." at the target block
            delete {cikis-sure.%player%}
            delete {cikis-sure-2.%player%}
            delete {cikis-sure-3.%player%}
            delete {cikis-sure-4.%player%}
            delete {cikis-sure-5.%player%}
            wait 2 seconds
            set {metin-hp.%player%} to 10000
            delete boss bar of player
            wait 1 hours
            set block to command block
        if {metin-hp.%player%} is between 9900 and 10000:
            if {cikis-sure.%player%} is not set:
                set {cikis-sure.%player%} to 0
                set bar volume of player to 80
                play 30 of effect "reddust" with data 1 at target block
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head

        if {metin-hp.%player%} is between 8900 and 9000:
            if {cikis-sure-2.%player%} is not set:
                set {cikis-sure-2.%player%} to 0
                set bar volume of player to 70
                play 30 of effect "reddust" with data 1 at target block
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head

        if {metin-hp.%player%} is between 6000 and 6100:
            if {cikis-sure-3.%player%} is not set:
                set {cikis-sure-3.%player%} to 0
                set bar volume of player to 40
                play 30 of effect "reddust" with data 1 at target block
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head

        if {metin-hp.%player%} is between 3000 and 3100:
            if {cikis-sure-4.%player%} is not set:
                set {cikis-sure-4.%player%} to 0
                set bar volume of player to 20
                play 30 of effect "reddust" with data 1 at target block
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head

        if {metin-hp.%player%} is between 1000 and 1100:
            if {cikis-sure-5.%player%} is not set:
                set {cikis-sure-5.%player%} to 0
                set bar volume of player to 5
                play 30 of effect "reddust" with data 1 at target block
                spawn 20 zombie at the target block
                spawn 2 giant at the target block
               
               
        player is holding diamond sword, iron sword, golden sword
        tool of the player is enchanted with sharpness 1:
            subtract 4 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 2:
            subtract 6 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 3:
            subtract 8 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 4:
            subtract 10 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 5:
            subtract 12 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 6:
            subtract 14 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 7:
            subtract 16 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 8:
            subtract 18 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 9:
            subtract 20 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 10:
            subtract 22 from {metin-hp.%player%}
           
       
command /asd:
    trigger:
        set {metin-hp.%player%} to 100
       
       
       
       
       
       
       
       
on rightclick on command block:
    cancel event
    open chest with 1 rows named "               &f&lAy Tasi" to player
 

~кiηqмєη22~

Zombi Katili
Mesajlar
163
En iyi cevaplar
0
Beğeniler
31
Puanları
0
Iyiyimis anılar

GT-N7100 cihazımdan Tapatalk kullanılarak gönderildi
 

vErdemSoykal

Kızıltaş Madencisi
Mesajlar
528
En iyi cevaplar
0
Beğeniler
230
Puanları
340
@hsndmrts_ aslında ben bu fikri 1.5 yıldır felan düşünüyordum fakat kimseye dememiştim. Konuyu açman iyi olmuş :)

Benim eski sunucum'da Ay Taşı vardı. Çoktan mantığı çözülmüş bir olayın mantığını çözmek garip geliyor :/[DOUBLEPOST=1414318016,1414317917][/DOUBLEPOST]Çok eskiden yapmış kodunuda buldum. Herkes kullanabilir. Tek sorun eskiden tam bitirememiş olmam ve bu sadece 5%. Kalan 95% ise sunucuyla birlikte gitti.

Kod:
on leftclick on command block:

    if {ay-tasi-guncelleme.%player%} is 1:
        set boss bar of player to "&f&lAy Tasi &a%{metin-hp.%player%}% &f/ &c10000"
        play 30 of effect "magicCrit" with data 1 at target block
        if {metin-hp.%player%} is between -100 and 1:
            set targeted block to air
            play 100 of effect "reddust" with data 1 at target block
            broadcast "&l%player% &eAy Tasini basariyla kirdi!"
            drop wood hoe
            drop leather chestplate
            drop 5 diamond at target block
            drop 4 paper named "&f&lKutsal Parsomen" with lore "&7Bu Parsomenle esyanizi||&7gelistirebilirsiniz." at the target block
            delete {cikis-sure.%player%}
            delete {cikis-sure-2.%player%}
            delete {cikis-sure-3.%player%}
            delete {cikis-sure-4.%player%}
            delete {cikis-sure-5.%player%}
            wait 2 seconds
            set {metin-hp.%player%} to 10000
            delete boss bar of player
            wait 1 hours
            set block to command block
        if {metin-hp.%player%} is between 9900 and 10000:
            if {cikis-sure.%player%} is not set:
                set {cikis-sure.%player%} to 0
                set bar volume of player to 80
                play 30 of effect "reddust" with data 1 at target block
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head

        if {metin-hp.%player%} is between 8900 and 9000:
            if {cikis-sure-2.%player%} is not set:
                set {cikis-sure-2.%player%} to 0
                set bar volume of player to 70
                play 30 of effect "reddust" with data 1 at target block
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head

        if {metin-hp.%player%} is between 6000 and 6100:
            if {cikis-sure-3.%player%} is not set:
                set {cikis-sure-3.%player%} to 0
                set bar volume of player to 40
                play 30 of effect "reddust" with data 1 at target block
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head
                spawn 1 skeleton at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cSinsi Okcu"
                equip last spawned entity with skeleton head

        if {metin-hp.%player%} is between 3000 and 3100:
            if {cikis-sure-4.%player%} is not set:
                set {cikis-sure-4.%player%} to 0
                set bar volume of player to 20
                play 30 of effect "reddust" with data 1 at target block
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head
                spawn 1 zombie at the target block
                set name of last spawned entity to "&6[ &aLvl 1 &6] &cKurt Adam"
                equip last spawned entity with zombie head

        if {metin-hp.%player%} is between 1000 and 1100:
            if {cikis-sure-5.%player%} is not set:
                set {cikis-sure-5.%player%} to 0
                set bar volume of player to 5
                play 30 of effect "reddust" with data 1 at target block
                spawn 20 zombie at the target block
                spawn 2 giant at the target block
               
               
        player is holding diamond sword, iron sword, golden sword
        tool of the player is enchanted with sharpness 1:
            subtract 4 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 2:
            subtract 6 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 3:
            subtract 8 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 4:
            subtract 10 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 5:
            subtract 12 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 6:
            subtract 14 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 7:
            subtract 16 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 8:
            subtract 18 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 9:
            subtract 20 from {metin-hp.%player%}
        tool of the player is enchanted with sharpness 10:
            subtract 22 from {metin-hp.%player%}
           
       
command /asd:
    trigger:
        set {metin-hp.%player%} to 100
       
       
       
       
       
       
       
       
on rightclick on command block:
    cancel event
    open chest with 1 rows named "               &f&lAy Tasi" to player

Belirli bi yere GM gibi taş atabilirmiyiz ?
 
H

hsndmrts_

Ziyaretçi
gelistirmek sizin elinizde yapmasi oldukca kolay bisi canavarlari mistikmobs plgini ile ozel canavarlar cikartabilirsin :)
 

blackone1991

Elmas Madencisi
Mesajlar
808
En iyi cevaplar
0
Beğeniler
751
Puanları
2,540
Ruh hali
Ben uğraşsam baya güzel bir şey yapabilirim.şu an çok meşgulüm benim işime yarayacak bir şey olursa anca öyle yaparım bu benim şimie yaramaz :/
 

Üst