2 registered members (AndrewAMD, juanex),
1,247
guests, and 6
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Prevent showing Textures in dedicated sever mode?
#373936
06/14/11 11:53
06/14/11 11:53
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
OP
Expert
|
OP
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
No one could answer my question so far: If I decide not to open a video window (video_screen = 0 in the first frame) for my dedicated server, is there a way to prevent texture loading?
We have some very large textures. I don't want to increase the game size by saving every model twice, once with and once without skins, so I was wondering if there was a way for the engine to not load textures and only geometry. Thanks...
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
Re: Prevent showing Textures in dedicated sever mode?
[Re: jcl]
#374376
06/18/11 08:09
06/18/11 08:09
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
OP
Expert
|
OP
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
Hm, so the textures are loaded on the server, but not into video memory?
Our serer and client folders are the same, we're using the same binary with different startup command line options, and since the files are all in .wrs archives the files are all automatically loaded. But we could make the server only call mdls ending in "_srv.mdl", and not assign any skins to those models in the first place...
I don't like the fact that this way we'll have to ship all models twice.
But I guess we'll have to try...
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
Re: Prevent showing Textures in dedicated sever mode?
[Re: Spirit]
#374407
06/18/11 13:44
06/18/11 13:44
|
Joined: Jun 2006
Posts: 2,640 Earth
Germanunkol
OP
Expert
|
OP
Expert
Joined: Jun 2006
Posts: 2,640
Earth
|
If I can prevent it, I don't want to ship all models twice. But to my understanding, as soon as a model is loaded, its texture is loaded as well. In the game, the model's textures are pretty large and so the game uses lots of memory. To keep the (dedicated) server from using lots of memory, I want to prevent loading textures on it.
So I need to load different models with no textures but the same geometry, don't I?
Last edited by Germanunkol; 06/18/11 13:45.
~"I never let school interfere with my education"~ -Mark Twain
|
|
|
|