Changing avatar appearance via console commands?

Author Topic: Changing avatar appearance via console commands?  (Read 1105 times)

Title says it all. I'm also looking for additional commands for changing the body parts of a player with another model (eg. Replacing hands with swords) or removing a body part from the avatar.

Thanks.

findclientbyname("*name*").player.hidenode(*nodename*);
findclientbyname("*name*").player.unhidenode(*nodename*);
findclientbyname("*name*").player.setNodeColor("*nodename*" "r g b a");

alternatively to findclientbyname, you can use %client to change your own avatar. nvm this doesnt work without defining

Uhh, no.
This is only if %client is defined.
You're probably thinking if you're using eval. %client is defined already as the guy who types /messageSent so it'd be you in eval.
Needs to be defined though

also this works

No, you'd use LocalClientConnection. So like this: LocalClientConnection.player.setNodeColor("*nodename*" "r g b a");
« Last Edit: August 07, 2014, 05:16:54 PM by TeeOS »

alternatively to findclientbyname, you can use %client to change your own avatar.
Uhh, no.

alternatively to findclientbyname, you can use %client to change your own avatar.

This is only if %client is defined.

alternatively to findclientbyname, you can use %client to change your own avatar.
You're probably thinking if you're using eval. %client is defined already as the guy who types /messageSent so it'd be you in eval.

findclientbyname("*name*").player.hidenode(*nodename*);
findclientbyname("*name*").player.unhidenode(*nodename*);
findclientbyname("*name*").player.setNodeColor("*nodename*" "r g b a");

alternatively to findclientbyname, you can use %client to change your own avatar.
Needs to be defined though

alternatively to findclientbyname, you can use %client to change your own avatar.
No, you'd use LocalClientConnection. So like this: LocalClientConnection.player.setNodeColor("*nodename*" "r g b a");