Tremulous Forum
Mods => Modding Center => Topic started by: ACKMAN on November 15, 2008, 05:29:56 pm
-
I don't know but... is there any way to make a player invisible?
-
Add SVF_SINGLECLIENT to ent->r.svFlags and set ent->r.singleClient to his client #
-
I love you :D
-
I love you
Everybody does. Amanieu is a hard-working modder who always contributes to the forum. :)
Btw, can you tell us why you would want to make players invivisble ACKMAN? Its sounds like you hatching up a fun idea.
-
Instagib mod, when on a killing spree you get random powerup... god mode... invisibility... :D
-
Well doesn't that just sound kick ass? ;D
Are you going to release the mod/QVM on the forum or what server will the mod be on?
-
Well... the original creator of the mod is Archangel... he didnt share source so i coded mod myself... now i just add
kick ass
things to waste time and for fun
So... i dont know if i have to post QVM because Archangel is making the same mod..
-
I love you
Everybody does. Amanieu is a hard-working modder who always contributes to the forum. :)
except some of mg ;D
-
I love you
Everybody does. Amanieu is a hard-working modder who always contributes to the forum. :)
except some of mg ;D
just because some of us don't like some things amanieu is doing doesn't mean we don't like amanieu, i would say that in general it's the opposite of the truth (though i can't speak for everyone).
-
Well... the original creator of the mod is Archangel... he didnt share source so i coded mod myself... now i just add
kick ass
things to waste time and for fun
So... i dont know if i have to post QVM because Archangel is making the same mod..
I don't mind, I don't really have the time to work on mods.
-
Anyways... you can play my mod in TremSpain server. Just use /callvote instagib and the next match will be instagib.
[EDIT]Btw.. we are playing 27 in TSpain at the moment... instagib madness xD ill upload demo
-
Add SVF_SINGLECLIENT to ent->r.svFlags and set ent->r.singleClient to his client #
Sorry if this sounds noobish but... what file?
-
depends where you want it.
-
What would you do if you wanted to make this into a command (!invisible (name|slot#) + !visible (name|slot#)
Sorry if this is newbish... I just started coding :/
-
To create the admin command, you would need to mess around in g_admin.c and g_admin.h (probably some other files as well, but I'm too wasted to remember them).
-
vic->r.svFlags ^= SVF_SINGLECLIENT;
if( !( vic->r.svFlags & SVF_SINGLECLIENT ) )
{
ADMP( va("^3!invisible: ^7invisible mode has been ^1disable^7 for %s^7\n", vic->client->pers.netname ));
}
else
{
ADMP( va("^3!invisible: ^7invisible mode has been ^2enabled^7 for %s^7\n", vic->client->pers.netname ));
vic->r.singleClient = vic->client - level.clients;
}
return qtrue;
???
-
Just saying, it should say invisibility has been disabled.
-
XD oops, thank u
-
you can also use NO_DRAW flag.
Player will still be visible on a radar and you will hear his steps, but he will be visually invisibile.
the single client flag prevents the entity from being sent to the other players, which completely screws up client prediction if they are going to collide. Especially makes it unplayable for aliens.
-
Wut flag is that, i didnt know about it
-
sorry, I was wrong, it is EF_NODRAW
client->ps.eFlags &= ~EF_NODRAW; << invisible client
client->ps.eFlags |= EF_NODRAW; << visible client