Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
Model Engine 4 Model Engine 4
  • Project overview
    • Project overview
    • Details
    • Activity
  • Issues 105
    • Issues 105
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Activity
  • Create a new issue
  • Issue Boards
Collapse sidebar
  • MythicCraft
  • Model Engine 4Model Engine 4
  • Issues
  • #46

Closed
Open
Created Nov 04, 2023 by Chris Andreou@RotMCDeveloper

MEG Models linger after entity is removed

dungeon-desert_temple-tribal_minion:
  Type: VINDICATOR
  Display: '&eTribal Minion'
  Health: 25
  AITargetSelectors:
  - 0 clear
  - 1 players
  AIGoalSelectors:
  - 0 clear
  - 1 meleeattack
  - 2 movetowardstarget
  - 3 randomstroll
  Skills:
  - model{mid=tribal_minion;n=false;d=false;radius=45;h=false} @Self ~onSpawn
  - CancelEvent{sync=true} @self ~onAttack 
  - remove @self ~onTimer:60 ?!playerwithin{d=50}
  Options:
    ResetPlayers: true
    Silent: true
    FollowRange: 30
    MovementSpeed: 0.32
    PreventOtherDrops: true
    Despawn: false
    KnockbackResistance: 1

desert:
  MobType: dungeon-desert_temple-tribal_minion
  Worlds: world
  Chance: 1.0
  Priority: 1
  Cooldown: 1
  Action: REPLACE
  Conditions:
  - mobsInRadius{t=dungeon-desert_temple-tribal_minion;r=50;a=<8} true

Here is just a random mob I have, put this in a randomspawn let it do its thing, eventually you will encounter a mob that is not there but the model is.

https://cdn.discordapp.com/attachments/1130565659286306928/1168561968391651448/modelengine4.mp4?ex=65523724&is=653fc224&hm=d86113d23f2c2e3a9a889ab58f73bf5dc88ac55976177ffa699c0c1e96b819e0& Here's a video of it

This doesn't happen if Despawn is set to true in mob options, however I also notice sometimes I'll encounter a ghost model and when I look around I'll see that the mob was actually behind a wall and when I see that mob and turn around the ghost model is gone, it's like it teleported into place. For the case of a mob being removed though it is perma stuck there for the client

Edited Nov 04, 2023 by Chris Andreou
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking