![]() |
[SOLVED] vcall for player colors - Printable Version +- Xonotic Forums (https://forums.xonotic.org) +-- Forum: Support (https://forums.xonotic.org/forumdisplay.php?fid=3) +--- Forum: Xonotic - Server Administration (https://forums.xonotic.org/forumdisplay.php?fid=16) +--- Thread: [SOLVED] vcall for player colors (/showthread.php?tid=4759) |
vcall for player colors - -maniac|Su- - 02-06-2014 hi peepZ Is it possible to create a alias for a vcall on server for all players using only one player model but their own colors? I.ve tried: Code: alias coloroff "sv_defaultplayercolors """ ![]() When I done a sv_defaultplayercolors "" in server console it works - but I.ll make it available for everybody. Normally the duel server starts with sv_fbskin_green 1. Any ideas? GreetZ Su RE: vcall for player colors - Halogene - 02-06-2014 Being a real noob with regard to programming and syntax, I probably have no clue whatsoever, but it looks to me like you're closing the alias definition with the first " just after sv_defaultplayercolors, so the alias doesn't include the double " as it should. So it will be effectively only returning the value but not changing it. It might be you need to preface them with something like "\" but I don't know about the correct syntax. RE: vcall for player colors - zykure - 02-06-2014 Just try using single-quotes instead: Code: alias coloroff "sv_defaultplayercolors ''" RE: vcall for player colors - -maniac|Su- - 02-06-2014 "sv_defaultplayercolors ' ' " results white player models ![]() GreetZ Su RE: vcall for player colors - Mirio - 02-06-2014 Why not force colors in menu? RE: vcall for player colors - -maniac|Su- - 02-06-2014 it was a request by some players on server ... atm I.ve 5 possibilities for "Votable Appearance" for players on server:
The request was how to enable one player model for all but they want to use their own choosen color .... so why not respond =) GreetZ Su RE: vcall for player colors - Mirio - 02-06-2014 Yeah well, but you can force model and colors in menu so everyone looks like you. ![]() RE: vcall for player colors - -maniac|Su- - 02-06-2014 dear Mirio ![]() I know how to force the player model in menu ... But the request was to force all players to one player model and keep at last their personality of the player colors ![]() GreetZ Su RE: vcall for player colors - Mirio - 02-06-2014 I am just saying that a player can do all this by himself. >: D Code: // ================================= RE: vcall for player colors - -maniac|Su- - 02-06-2014 yay - thank you very much Mirio - ![]() ![]() Code: alias coloroff "sv_defaultplayercolors \"\"" Now it works and is voteable for all GreetZ Su RE: vcall for player colors - Halogene - 02-07-2014 o.O I seem to have hit the spot ![]() RE: vcall for player colors - -maniac|Su- - 02-07-2014 yeah - you.re a sexy coolio one ![]() GreetZ Su RE: vcall for player colors - Halogene - 02-07-2014 *gloat* RE: vcall for player colors - Antibody - 02-07-2014 Halogene, I would like to subscribe to your newsletter! RE: vcall for player colors - Mr. Bougo - 02-09-2014 Note that single quotes don't have any special meaning in the console, they're just characters. That is why zykure's suggestion did not work. |