how to add new player model (server side) with auto-download

If you've had any problems with Nexuiz, or would like to report bugs, post here.

Moderators: Nexuiz Moderators, Moderators

how to add new player model (server side) with auto-download

Postby subsonik » Tue Dec 01, 2009 4:42 pm

Hi! i'm trying to build a simple nexuiz dedicated server and I'm not understanding how the player model thing works.
My problem is that whenever a user is using a custom/non_default player model, other users which don't have that model see a rainbow cube (hard to aim) instead of a model.

1 The easy solution (sv_defaultcharacter which should override client chosen player model) is the only solution?

2 Isn't there a way to make player model, exactly as maps (sv_curl_defaulturl), downloadable from a specified url?

3 Another solution could be an automatic ban of players with non_default player models: is this doable?

4 Is it possible to only override the player model of users with non_default player models?

thank in advance
subsonik
Newbie
 
Posts: 2
Joined: Tue Dec 01, 2009 2:31 pm

Postby PinkRobot » Wed Dec 02, 2009 9:20 am

There is also a way to force them to a default model when the server does not have their model. It used to be:

sv_servermodelsonly 1 // Need this on if you want default player models as fallback

And I think that should probably still work. By default the players which would have a cube as a model before will now have the Marine model. I say should because things change often in Nexuiz and I have not needed to do this for a while :P

To support the model on your server:

If you know which model they are using then you need to find the .pk3 of it and put it in /data on your server. The server now has the model too. Then put that .pk3 in the place where you let clients curl from and put the link in your curls .txt file (do the same thing you would do for a map). Now you only need to tell the server to transfer the .pk3 when the clients don't have it yet and this is done by putting:

sv_curl_serverpackages "models/player/cow.md3"

in server.cfg. Cow.md3 is a model from my own server, replace that with the name of the model from your .pk3.

Hope this helps.
Now with new shiny avatar.
PinkRobot
Alien trapper
 
Posts: 443
Joined: Fri Jul 21, 2006 7:06 pm
Location: #brlogetc

Re: how to add new player model (server side) with auto-download

Postby cavinsmither » Thu Mar 11, 2010 9:31 am

I ma also facing the same as you because i am also make nexuiz dedicated server but there are some confusing about the model work.
Whenever i am going to play any different mode then it will not able to access in well so i am not works with that.
tell me suggestions....
cavinsmither
Newbie
 
Posts: 3
Joined: Thu Feb 25, 2010 5:53 am


Return to Nexuiz - Support / Bugs

Who is online

Users browsing this forum: No registered users and 1 guest