Xonotic Forums
[SOLVED] Shield / Health Icons on Server - 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] Shield / Health Icons on Server (/showthread.php?tid=4688)



Shield / Health Icons on Server - -maniac|Su- - 12-29-2013

hi peepZ

one question:

Is it possible to use the old nexuiz icons from server side for Shield / Health like this:

[Image: health10.jpg]
[Image: shield10.jpg]

I like the old style - but have no clue how to implement on server ...

GreetZ Su


RE: Shield / Health Icons on Server - Mr. Bougo - 12-29-2013

You mean you want to replace the health and armor item models on your servers? What do your players think about it?

You'll have to create a custom pk3 with those models and serve it as a serverpackage. I don't know if you'll run into model format issues, but that's a possibility.


RE: Shield / Health Icons on Server - -maniac|Su- - 12-30-2013

Thanks for your reply Mr. Bougo Big Grin

(12-29-2013, 11:45 AM)Mr. Bougo Wrote: ...
You'll have to create a custom pk3 with those models and serve it as a serverpackage...

That.s what i know - but where do I find the model of mega health in the nexuiz data and what is it named?? Till now I.ve only found the sound megahealth.ogg.

GreetZ Su


RE: Shield / Health Icons on Server - Mr. Bougo - 12-30-2013

I don't know, somewhere in the "models" directory.


RE: Shield / Health Icons on Server - -maniac|Su- - 12-30-2013

Now I.ve it to this:

[Image: health11.jpg]

The model I.ve found in data/models/items -> g_h100.md3

But I miss the lucency textures ... where can I find them? Tongue

GreetZ Su


RE: Shield / Health Icons on Server - -maniac|Su- - 01-01-2014

now I.ve got it:

[Image: xonoti10.jpg]

(12-29-2013, 11:45 AM)Mr. Bougo Wrote: ... I don't know if you'll run into model format issues, but that's a possibility....

btw. I.ve no issues noticed - seems to work well Shy

GreetZ Su


RE: Shield / Health Icons on Server - rocknroll237 - 01-01-2014

-maniac SU- do you mind explaining the steps you took to put the model in and fix the issue you had? I'm curious to know how to do it. Thanks!


RE: Shield / Health Icons on Server - -maniac|Su- - 01-02-2014

(01-01-2014, 04:50 PM)rocknroll237 Wrote: ... explaining the steps you took to put the model in and fix the issue you had? ...

Okidoki - here.s a little howto to replace the icons (or like Mr. Bougo would say: mess up the server Wink)

1. Create a items.pk3 file with model and textures you want replace.
In fact this was the most difficult part with the most trouble.
I.ve to find the model (.md3) and the textures (.tga) files which replace the standard icons. The files I found in the old nexuiz data files: data/models/items data/textures

2. Copy the items.pk3 file in the server folder /.xonotic/data

3.
Edit serverconfig
sv_curl_serverpackages "items.pk3 items.txt"

4.
Place the items.pk3 file on your mapserver too
sv_curl_defaulturl http:your_mapserver_adress

5. (Re)Start your xonotic server

When everything works well the new items will be downloaded from client automatically when client connect to server.

okay okay - not everybody like the old nexuiz megahealth icon - but it makes the server unique (for me: I like the old icon much more than the new healthpack icon)

Have fun
GreetZ Su