env_sprite not showing up on server game


Dustin Diamond
08-23-2006, 05:34 PM
So i have a beta version of my map, and I bzipped all the content into it with no problems. I created a LAN game and everything works properly.

Next, i sent the bsp to my friend to test it out. I created a dedicated server on my computer. I connected to the server from the same computer, and my friend from his computer. I know this isnt the fastest way, but for 2 people, it's fine. Everything in the map works correctly for him and me, EXCEPT one thing, a custom env_sprite I created. It's basically a countdown that appears over the bombs, since i shortened their fuses. Please note that this sprite DOES work when i simply create a lan game from within the dod menu, but when i created the game using the Source Dedicated Server, it did NOT work. Neither my friend or I could see the sprite.

Any ideas why we cant see it in the dedicated server? Does it have something to do with the server being VAC secure? the sprite is in the materials/sprites folder, nothing fancy.

Help!

FrostbiteX92
08-31-2006, 01:54 PM
Does he have the sprite file?

Dash
08-31-2006, 02:24 PM
You should either pack the sprite with your map or make a res file.

Dustin Diamond
08-31-2006, 03:32 PM
it is packed both in the map and i also have the original unpacked in the correct directory. It doesnt work for me either. Plus it DOES works for everyone when they Create a Game. It just doesnt work on hosted servers.

Actually, i noticed it barely flashes and then disappears. It appears for maybe 0.01 seconds. Blink and you miss it. Then nothing. Sometimes it doesnt appear at all. wacky. i had the framerate of the sprite set to 1, with 5 frames. i wonder if it freaks out because the framerate isnt the default. But it works on LAN games, thats the funny part.

It's not that important though. I just removed it.

ultranew_b
08-31-2006, 04:38 PM
What's the path to the texture? Maybe try putting it in a folder called "sprites" or whatever folder Source uses for sprites?

I was thinking maybe you were including them in a folder like "Dustin" or smthg.

Dash
08-31-2006, 06:10 PM
if it's showing then its obviously not a path problem, maybe it's the secure server thing that prevents it.

ultranew_b
08-31-2006, 07:01 PM
lol

.....obviously

Noone else suggested trying this, just throwing some ideas on the table. Sometimes simple solutions can fix these annoying problems.

This same type of issue occured awhile ago with custom sounds and use in ambient_generic entities. They didn't work online. I discovered that they would only work in env_soundscapes.

Thankfully this has been fixed since.

:)

Dustin Diamond
09-01-2006, 06:31 PM
Originally posted by ultranew_b
What's the path to the texture? Maybe try putting it in a folder called "sprites" or whatever folder Source uses for sprites?

I was thinking maybe you were including them in a folder like "Dustin" or smthg.

It's in the default folder now. It was in a custom folder, but i changed it when i had the same thought.

I'm sure it's a bug. It's just like the ambient_generic problem you mentioned. Thank goodness they fixed that. I'd rather be able to use custom sounds over sprites.

Day of Defeat Forum Archive created by Neil Jedrzejewski.

This in an partial archive of the old Day of Defeat forums orignally hosted by Valve Software LLC.
Material has been archived for the purpose of creating a knowledge base from messages posted between 2003 and 2008.