Jump to content

Command for Invisibility


Go to solution Solved by Raz0r,

Recommended Posts

Posted

What I'm trying to do is make an admin command to make the player invisible to others. I've been searching around for things that could do this, but I haven't had any luck. I noticed this: ->s.eFlags = EF_NODRAW; but it appears that it doesn't affect players. Could someone point me in the right direction?

Posted

Unfortunately it's not that simple as that uses Quake 3's invisible powerup, which is not in JKA. I suppose I could try to bring Q3's invisible powerup code over though. Thanks for those.

Posted

Well there is already an item in JKA to make you "kinda" invisible (cloaking). Maybe you can use that. Afaik it pretty much uses the Q3 cloak powerup

Posted
  On 11/2/2012 at 11:51 PM, afiNity said:

Well there is already an item in JKA to make you "kinda" invisible (cloaking). Maybe you can use that. Afaik it pretty much uses the Q3 cloak powerup

It just applies a shader though, rather than making you invisible. I suppose you could just apply a shader that makes the player model 100% transparent though.

  • Solution
Posted

Invisible, non-solid, client-predictable ghosts. They are not networked to any other clients, rendering wall-hacks ineffective.

Incomplete, but mostly functional.

You may also want to hide entities related to them such as their weapon's shots (by setting ent->r.svFlags |= SVF_SINGLECLIENT and ent->r.singleClient)

 

 

  Reveal hidden contents

 

Fighter likes this

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...