Error keeps spamming console in-game [PIC]

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
acdc992004
Corporal
Posts: 31
Joined: Thu Jul 07, 2005 11:03 pm
Location: Chicago, IL
Contact:

Error keeps spamming console in-game [PIC]

Post by acdc992004 »

I dont know if this thread should go here. I keep getting this error in my console. Pic- http://img465.imageshack.us/img465/5799/errord2ci.jpg
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

Yah this thread can go here, although strictly it is a shader problem which belongs to mapping, but nvm.

I presume you have been spawning static sandbags via script. However, mohaa likes to perform special light effects on static models (vertex lighting) which needs to be precalculated by mohlight.exe (as the bsp file is compiled). Since you have spawned the model at runtime, precalcing light is not possible and hence the error.

The only way to get rid of the error and keeping the static sandbag is by using a custom model with a different texture (custom shader), but this change will be client-side and I presume you desire a server-side mod.
Image
lizardkid
Windows Zealot
Posts: 3672
Joined: Fri Mar 19, 2004 7:16 pm
Location: Helena MT

Post by lizardkid »

i got tired of this in The Hunt with all hte fixes going around, it would spam my console and i could never read IP's for friends or anything. i believe you take out a line similer to

"colorVertex r g b"

or someting of the sort. if i had PakScape installed still i'd find it... but i'm lazy.

aren't i helpful?
Moderator

۞
Abyssus pro sapientia
Olympus pro Ignarus
۞

AND STUFF™ © 2006
jv_map
Site Admin
Posts: 6521
Joined: Tue Sep 03, 2002 2:53 pm
Location: The Netherlands
Contact:

Post by jv_map »

haha rgbGen vertex is what you should be looking for :)
Image
Post Reply