Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[SOLVED] vcall for player colors

#1
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 """
but it dosn.t work ... Tongue

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
Reply

#2
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.
My Xonstats Profile
Latest track on soundcloud: Farewell - to a better Place (piano improvisation)
New to Xonotic? Check out the Newbie Corner!

Reply

#3
Just try using single-quotes instead:

Code:
alias coloroff "sv_defaultplayercolors ''"
[Image: 9216.png] Web: YouTubeSoundCloudFlickrzykure.de[unconnected]
IRC: #uc.xonotic #xonotic #xonotic.de #xonotic.pickup
Reply

#4
"sv_defaultplayercolors ' ' " results white player models Undecided

GreetZ Su
Reply

#5
Why not force colors in menu?
Reply

#6
it was a request by some players on server ...

atm I.ve 5 possibilities for "Votable Appearance" for players on server:
  1. - skinred
  2. - skingreen
  3. - skinorange
  4. - rainbow
  5. - skinoff

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
Reply

#7
Yeah well, but you can force model and colors in menu so everyone looks like you. Confused
Reply

#8
dear Mirio Heart

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 Exclamation

GreetZ Su
Reply

#9
I am just saying that a player can do all this by himself. >: D

Code:
// =================================
// Playermodel options and aliases
// =================================
set _fullbright_model "models/player/megaerebus.iqm"
votable_alias sv_fbskin_model_megaerebus "_fullbright_model \"models/player/megaerebus.iqm\""
votable_alias sv_fbskin_model_erebus "_fullbright_model \"models/player/erebus.iqm\""

votable_alias sv_fbskin_unique "sv_defaultcharacter 1; sv_defaultplayermodel ${_fullbright_model}; sv_defaultplayerskin 1; sv_defaultplayercolors \"\""
votable_alias sv_fbskin_green "sv_defaultcharacter 1; sv_defaultplayermodel ${_fullbright_model}; sv_defaultplayerskin 1; sv_defaultplayercolors 51"
votable_alias sv_fbskin_red "sv_defaultcharacter 1; sv_defaultplayermodel ${_fullbright_model}; sv_defaultplayerskin 1; sv_defaultplayercolors 68"
votable_alias sv_fbskin_orange "sv_defaultcharacter 1; sv_defaultplayermodel ${_fullbright_model}; sv_defaultplayerskin 1; sv_defaultplayercolors 238"
votable_alias sv_fbskin_rainbow "sv_defaultcharacter 1; sv_defaultplayermodel ${_fullbright_model}; sv_defaultplayerskin 1; sv_defaultplayercolors 95"

// use sv_fbskin_unique by default
sv_fbskin_unique
Reply

#10
yay - thank you very much Mirio - Big Grin - that it was Idea

Code:
alias coloroff "sv_defaultplayercolors \"\""

Now it works and is voteable for all

GreetZ Su
Reply

#11
o.O I seem to have hit the spot Cool
My Xonstats Profile
Latest track on soundcloud: Farewell - to a better Place (piano improvisation)
New to Xonotic? Check out the Newbie Corner!

Reply

#12
yeah - you.re a sexy coolio one Cool

GreetZ Su
Reply

#13
*gloat*
My Xonstats Profile
Latest track on soundcloud: Farewell - to a better Place (piano improvisation)
New to Xonotic? Check out the Newbie Corner!

Reply

#14
Halogene, I would like to subscribe to your newsletter!
asyyy^ | are you releated to chuck norris?
Reply

#15
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.
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [NEED HELP] Change Teamplay Colors from Red vs Blue Antares* 0 2,718 04-12-2018, 07:44 PM
Last Post: Antares*

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-