Search found 6 matches

by doofus
Mon Nov 28, 2005 10:05 pm
Forum: Scripting
Topic: has lightmap and is rendered twice error?
Replies: 8
Views: 435

remarked out the map $lightmap from the shader file for the textures needed for one object and got the following error

WARNING: shader 'textures/mohtest/flrwood1_rep' has lightmap but no lightmap stage!

over and over until

WARNING: GeneratePermanentShader - MAX_SHADERS hit

and then shut down ...
by doofus
Mon Nov 28, 2005 7:57 pm
Forum: Scripting
Topic: has lightmap and is rendered twice error?
Replies: 8
Views: 435

sorry, misunderstanding...the surfaceparm nolightmap was in an existing shader file, I'm trying to figure out how, with cloning bsp models, to use that same command either in the spawn statement or using the target name.

As, i tried remarking out the map $lightmap command and then starting a game ...
by doofus
Mon Nov 28, 2005 7:44 pm
Forum: Scripting
Topic: has lightmap and is rendered twice error?
Replies: 8
Views: 435

Double post I know....

or, is @(...:.:...)@ saying that it would only show up weird looking on the server, but anyone who would join would see the normal shader and yet the server wouldn't have the error code?

Doofus
by doofus
Mon Nov 28, 2005 7:42 pm
Forum: Scripting
Topic: has lightmap and is rendered twice error?
Replies: 8
Views: 435

well, that certainly did not work well. Every part of the game suddenly was whitish looking that used that shader file.

However, using the spawn script or targetname from above, is there a way to use the command surfaceparm nolightmap that I found in the shader file 1_1_groundPortal.shader ...
by doofus
Mon Nov 28, 2005 6:57 pm
Forum: Scripting
Topic: has lightmap and is rendered twice error?
Replies: 8
Views: 435

so, the model's created in the bsp use in-game shaders?

the example is cloning an bsp model...

hmmm, I will have to look around the shader files, any help on figuring out which shader file is called?

nvm....duh, its in the bsp file! new question:
Can I edit the shader file and have it work server ...
by doofus
Mon Nov 28, 2005 6:44 pm
Forum: Scripting
Topic: has lightmap and is rendered twice error?
Replies: 8
Views: 435

has lightmap and is rendered twice error?

Brush model '*58' has lightmap and is rendered twice. See entity 539.

using the following script (MOHSH demo):

local.static=spawn script_object "targetname" "doof1" "origin" "( 1200 1800 -1100 )" "model" "*56" "spawnflags" "2"

B4 TMT went down there was a post that cloning these models could ...