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.
[Image: 249.png] Latest track on soundcloud: Farewell - to a better Place (piano improvisation)
New to Xonotic? Check out my Newbie Corner!
<ZeRoQL> i think i got 1 proper quad and that cunt halogen fuck me over with a laser
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?
[Image: 21.png]
IRC (QuakeNet): #bot.xonotic | #xonotic.pickup | #xonotic | #xonotic.cup
Steam | Twitch.tv | YouTube
Movies: Mirification #1 | #2 | Mirificaption #1 | #3 | #4 | [BOT] Clan #3 | #5 | #6 | #7 | [BOT] Clan #4 | #8 | #9

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
[Image: 21.png]
IRC (QuakeNet): #bot.xonotic | #xonotic.pickup | #xonotic | #xonotic.cup
Steam | Twitch.tv | YouTube
Movies: Mirification #1 | #2 | Mirificaption #1 | #3 | #4 | [BOT] Clan #3 | #5 | #6 | #7 | [BOT] Clan #4 | #8 | #9

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
[Image: 21.png]
IRC (QuakeNet): #bot.xonotic | #xonotic.pickup | #xonotic | #xonotic.cup
Steam | Twitch.tv | YouTube
Movies: Mirification #1 | #2 | Mirificaption #1 | #3 | #4 | [BOT] Clan #3 | #5 | #6 | #7 | [BOT] Clan #4 | #8 | #9

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
[Image: 249.png] Latest track on soundcloud: Farewell - to a better Place (piano improvisation)
New to Xonotic? Check out my Newbie Corner!
<ZeRoQL> i think i got 1 proper quad and that cunt halogen fuck me over with a laser
Reply

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

GreetZ Su
Reply

#13
*gloat*
[Image: 249.png] Latest track on soundcloud: Farewell - to a better Place (piano improvisation)
New to Xonotic? Check out my Newbie Corner!
<ZeRoQL> i think i got 1 proper quad and that cunt halogen fuck me over with a laser
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 Player Speed, and Disable Bunny Hops 3agle427 2 977 12-29-2018, 09:38 AM
Last Post: 3agle427
  Local LAN Xonotic game server player Stats animatedjay 3 2,121 11-23-2018, 12:38 AM
Last Post: BuddyFriendGuy
  [NEED HELP] Change Teamplay Colors from Red vs Blue Antares* 1 1,549 04-13-2018, 01:40 PM
Last Post: Lyberta
  player freeze during start countdown -maniac|Su- 0 1,620 10-31-2016, 04:21 PM
Last Post: -maniac|Su-
Question [SOLVED] XDF Server - Problem with player collision -maniac|Su- 2 3,117 11-23-2013, 04:38 PM
Last Post: -maniac|Su-
  Changing player speed etc on my Server? GoCrackYourself 1 2,480 11-18-2013, 11:08 AM
Last Post: end user
  How to set master password for a player automatically? darkzun 3 2,655 09-25-2013, 01:43 PM
Last Post: Mr. Bougo

Forum Jump:


Users browsing this thread:
1 Guest(s)

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