problem with mythicmobs/artifacts

Discussion in 'Support' started by DWBoyGamer, Oct 9, 2018 at 8:55 AM.

  1. DWBoyGamer

    DWBoyGamer New Member

    Joined:
    May 18, 2018
    Messages:
    5
    Likes Received:
    0
    So, first of all, let me explain what exactly am I doing: Im trying to do Aperture Science laboratory from Portal series. I already have portal gun, turrets, weighted storage cubes ect., but now I need to do the emancapation grill/fizzler, which would remove portals when player goes trough it. Because I dont want to use command blocks to do this (because of console spam), I try to do it by using mythicmobs and artifacts. Basicly, how it should work, is, that when player goes thru nether portal (which I retextured to look like fizzler, and which will not teleport players to nether because of the multiverse plugin), game should remove those portals. I tried to use artifacts to create item, which would execute specific skill to remove portals every few seconds when held/in inventory. Here is what it looks like:
    FizzlePortal:
    Conditions:
    - inblock PORTAL
    Skills:
    - command{c="pg clear"}
    - effect:sound{s=portal_gun_reset;v=10.0;p=1.0}

    So, this is first version of code, but it doesnt work. I also made another version, which I would add more and more regions to when ever I create new fizzlers (every fizzler would have different worldguard region):

    FizzlePortal:
    Conditions:
    - Region{r=Aperture,...} true
    Skills:
    - command{c="pg clear"}
    - effect:sound{s=portal_gun_reset;v=10.0;p=1.0}

    It doesnt work either. So please someone help me with this. Here is code for artifact item btw.
    Fizzler_Marker:
    Id: 341
    Data: 0
    Display: '&rAperture Science Fizzler Marker'
    Skills:
    - skill{s=FizzlePortal} @Self ~ontimer:5
     
    #1
  2. Omanoctoa

    Omanoctoa Active Member
    Supporter Premium Supporter

    Joined:
    Mar 10, 2016
    Messages:
    371
    Likes Received:
    33
    Could you simply use a setblock command for each? When the player gets close to the marker which would be hidden near/behind the portal, the portal would be set to air.

    Or...since you retexturing...A Shulker disguised as whatever block you want it to be disguised as to resemble your fizzlers. The Shulkers could allow players to pass through them (Collision: false) then simply disguise themselves and all nearby Fizzler Shulkers as air blocks. Voila! Fizzler disabled.
     
    #2
  3. DWBoyGamer

    DWBoyGamer New Member

    Joined:
    May 18, 2018
    Messages:
    5
    Likes Received:
    0
    First of all, setblock wont work, as there is no way for mythicmobs to actually detect, where portals are. Also, it would also have to replace those blocks.

    Second thing, my server uses 1.8.8 (I have had it for LONG time, and many plugins there lot dont exist for newer versions)
     
    #3
  4. DWBoyGamer

    DWBoyGamer New Member

    Joined:
    May 18, 2018
    Messages:
    5
    Likes Received:
    0
    Also, command "pg clear" is from PortalGun plugin (it adds devide, that can create two linked portals at once), and is specificly designed to remove portals created with portal gun. So basicly, what Im asking, is, that is there way to perform specific command, when player walks thru nether portal (more precisely, is there proper way to detect when player walks thru it) [​IMG]
    Here is picture. Im holding portal gun, those lapis/redstone things are portals created with portal gun, and that thing betweem tose pillars is fizzler (I know it might be hard to see it)
     
    #4
  5. Nexto

    Nexto New Member

    Joined:
    Dec 3, 2017
    Messages:
    10
    Likes Received:
    0
    Do something like a proximity check and if player is in block portal with mobs, im to lazy fully explain it here :p add me to discord im more active there Nexto#3180
     
    #5
  6. DWBoyGamer

    DWBoyGamer New Member

    Joined:
    May 18, 2018
    Messages:
    5
    Likes Received:
    0
    I did try making detector entity, that will detect when its target (player) is in block portal. That system works, but there is one major problem. Mob has to be inside test chamber (or any area which is supposed to have fizzlers). Otherwise this would be alright, but as mythicmob mobs on my server always despawn on server restart, I would have to use commands to respawn them. also, those mobs can only track one player at the time, and they could also accidently track player who is not inside testing area, but lets say in observation room for example.
     
    #6
  7. DWBoyGamer

    DWBoyGamer New Member

    Joined:
    May 18, 2018
    Messages:
    5
    Likes Received:
    0
    Alright I send you friend request Im SamuelAntila#5416
     
    #7
  8. Omanoctoa

    Omanoctoa Active Member
    Supporter Premium Supporter

    Joined:
    Mar 10, 2016
    Messages:
    371
    Likes Received:
    33
    There is an easy way around having a detector mob always in the room. Within each room, simply have a MM spawner hidden nearby that spawns a detector mob (otherwise does nothing). if the server restarts or the player leaves the area, the mob could despawn or respawn as needed.

    Alternatively, you could look into the plugin PreciousStones. It is far-backwards compatible though I don't recall if it has command support as far back as 1.8...it should. Basically allows you to bind effects, commands and other mechanics to a single, placeable block. Have a look at the plugin (google it) and if you want to go that route I'd be happy to give you a hand setting it up.
     
    #8

Share This Page