MagSul Posted January 12, 2015 Posted January 12, 2015 Hello again! I'm having a problem with a misc_model_static in the second area of my map. In the first area, it behaves normally, it's bright, visible: However, when I placed the same model (following the same process that worked for the one above) in the next area, the model became dark. I deleted it, then duplicated the working one and moved it to where I wanted it. It was still dark. Does anyone happen to know what I may have overlooked, or how I might fix this problem? Thanks in advance!
mrwonko Posted January 12, 2015 Posted January 12, 2015 misc_model_static is dynamically lit. To my understanding, during compilation, a light grid is created: the brightness at positions of fixed distance is determined and stored, which is then used for "dynamic" lighting. Presumably the closest position is dark. Try creating a lightJunior, which is used in addition to the light grid for dynamic lighting. Langerd likes this
Langerd Posted January 12, 2015 Posted January 12, 2015 misc_model_static is dynamically lit. To my understanding, during compilation, a light grid is created: the brightness at positions of fixed distance is determined and stored, which is then used for "dynamic" lighting. Presumably the closest position is dark. Try creating a lightJunior, which is used in addition to the light grid for dynamic lighting.Yep this should work. I used it on the Protocol droid body and head because without it it was full dark. Even with normal lightning enity. Lightjunior
MagSul Posted January 12, 2015 Author Posted January 12, 2015 Thank you for the suggestions thus far! I've given the lightjunior a test and I've come back to share the results. The lightjunior did brighten up the model (and adjacent models) but not to the same level that the original plant in the first room seems to be (which doesn't have a lightjunior.) To counter this I tried increasing the (key) light value but this didn't seem to show any visible difference. Room 2 (with lightjunior): Room 1 (no lightjunior): Room 2 (no lightjunior):
Didz Posted January 12, 2015 Posted January 12, 2015 I don't think the lightgrid is the problem here, because your own player model is being lit properly and that uses the lightgrid. Screenshots with r_showNormals 2 will help us know if it's the lightgrid causing the problem though. (EDIT: Seems this only shows light values in Wolfenstein: ET, not JKA) Apart from that, I can't see an obvious problem. Maybe try lifting the model so that its origin isn't submerged into the floor? Are there any custom parameters in worldspawn that are affecting light calculations? Is the model scaled differently to other ones? Is there a clip brush or something surrounding it? EDIT: Check for any console warnings when loading the map too
Langerd Posted January 12, 2015 Posted January 12, 2015 Hmm What value Did You type in the light spawnflag?
Tempust85 Posted January 12, 2015 Posted January 12, 2015 Are you using _cs 1 & _rs 1 on the entity in radiant? These allow cast shadow and recieve shadow. May need to make rs 0. Could also try _minlight (I think that's it), not sure if it works on statics.
MagSul Posted January 12, 2015 Author Posted January 12, 2015 @@Didz I've raised the model out of the floor, the model appears the same. At the time of the screenshot, I hadn't added ambient or _minlight to the map's worldspawn. I've tried them both this evening but neither has affected the model. It's the same scale as the same model in the first room. The console doesn't seem to be highlighting anything out of the ordinary. @@Langerd I started on 300 and went up in 100s to 1000 before giving up. @@DT85 I haven't used _cs 1 or _rs 1 (I tried _rs 0, sadly this didn't work.) I've packed the .map into a .zip and put it up on Dropbox if anyone would like to take a look at it for themselves. Hopefully you can tell me what other things I may not have been getting right. (I'm still not certain I've followed Mr. Wonko's advice correctly.) As this is my first attempt at creating something for an SP level, I've been doing the whole process in Single Player Mapping Mode.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now