SphereCommunity
MT_Ghost for players - Printable Version

+- SphereCommunity (https://forum.spherecommunity.net)
+-- Forum: Sphere 0.56d (/Forum-Sphere-0-56d)
+--- Forum: Script Help (/Forum-Script-Help)
+--- Thread: MT_Ghost for players (/Thread-MT-Ghost-for-players)



MT_Ghost for players - Nachtmusique - 06-21-2012 11:22 AM

I think I already know the answer to this question, but here it goes anyway. Is there a way to give players the ability to walk through doors without changing their body to either a ghost or a GM man? Something similar to the MT_ghost that you can give NPC's?

Secondly, what is it about the ghost and GM animations that give them this ability? Could it be added to other animations? (Slime for example)


RE: MT_Ghost for players - Anarch Cassius - 06-22-2012 08:09 AM

It's complex.

The client will not let a player walk over water or through obstacles. No matter what Sphere says. There is a loophole here in that "player" means priv level 1. You can make a dummy priv level 2 with no extra powers and assign it to players. They would then be able to use the sea horse mount.

Now I'm not sure of how this works for ghosting. But I imagine that step would be needed if it's possible at all. You'd need to give them a body that Sphere has MT_Ghost flagged on as well. If those two steps don't do it I have no idea what to try next.


RE: MT_Ghost for players - Shaklaban - 06-22-2012 08:53 AM

Well you can try to override doors as passable in muls, then you can prevent players from stepping on it with @step trigger.


RE: MT_Ghost for players - Nachtmusique - 06-22-2012 12:06 PM

The priv lvl 2 idea is an interesting one for sure, i may be able to use it.

The reason behind the question started from the idea of a liquify spell that would turn a player into a puddle allowing him to access certain areas (such as leaking under a door or through cracks in a wall) I think what I will try is this:

Delete the GM Man animation. Hopefully, all the client side properties will still be the same even though the graphic would be invisible/nonexistent. Then I could create an equipment animation for each "body" I wish to give this ability to. I could do the same thing for a gaseous form, or incorporeal form, etc...Using the sea horse mount would make it even better allowing them to go over water too. Can the sea horse walk on land too or just water?


RE: MT_Ghost for players - Edel[EdC] - 06-22-2012 05:59 PM

(06-22-2012 12:06 PM)Nachtmusique Wrote:  The reason behind the question started from the idea of a liquify spell that would turn a player into a puddle allowing him to access certain areas (such as leaking under a door or through cracks in a wall)

Great idea !

If I'm not mistaken, giving a priv2 status to a player will allow him to see priv1 players when they are invisible. At least, if this hasn't change since Sphere 55i, I haven't tested it.