Author Topic: Light Problem After Wildfire Update (Please Help)‏  (Read 5622 times)

onur89tr
  • WW Pro
  • Jr. Member
  • *****
  • Posts: 62
  • Karma: 1
  • Acolyte
    • View Profile
Light Problem After Wildfire Update (Please Help)‏
« on: March 30, 2016, 10:47:59 am »
After Wildfire update, my map's lighting broken. I made bsp and bak files with pakrat. Send them to maps folder. Thanks in advance.

Download map: http://www.filedropper.com/onur

wallworm

  • Administrator
  • Hero Member
  • *****
  • Posts: 3681
  • Karma: 101
  • Behind me?
    • View Profile
Re: Light Problem After Wildfire Update (Please Help)‏
« Reply #1 on: March 30, 2016, 11:08:55 am »
In the VRAD parameters of the VMF exporter, you need to add -staticproplighting .

Also, for CSGO, see this thread about the CSGO FGD bug.

Joris Ceoen

  • Global Moderator
  • Full Member
  • *****
  • Posts: 233
  • Karma: 27
  • WallWorm Ambassador
    • View Profile
Re: Light Problem After Wildfire Update (Please Help)‏
« Reply #2 on: March 30, 2016, 11:18:52 am »
Indeed. I wanted to add to this that you cannot compile on -fast anymore unless you add the -staticproplighting. Fast compile mode does not include it by default, so for a working fast mode add that parameter to it and save it.

onur89tr
  • WW Pro
  • Jr. Member
  • *****
  • Posts: 62
  • Karma: 1
  • Acolyte
    • View Profile
Re: Light Problem After Wildfire Update (Please Help)‏
« Reply #3 on: March 31, 2016, 11:17:47 am »
Thanks all but, I think this is different problem. Because I was added static prop light code. This error is about named lights. When light is named, the result is like this. When light name is "light", it's fixing. But I need named lights, because I connected them with buttons. What can I do?

func_Mathias

  • WW Pro
  • Newbie
  • *****
  • Posts: 33
  • Karma: 8
    • View Profile
Re: Light Problem After Wildfire Update (Please Help)‏
« Reply #4 on: March 31, 2016, 03:17:34 pm »
I don't think flickering lights or lights you could turn on/off ever worked right in csgo, I don't think theres many options but to make it static sadly.

onur89tr
  • WW Pro
  • Jr. Member
  • *****
  • Posts: 62
  • Karma: 1
  • Acolyte
    • View Profile
Re: Light Problem After Wildfire Update (Please Help)‏
« Reply #5 on: April 03, 2016, 09:27:37 am »
https://www.reddit.com/r/csmapmakers/comments/3d2rgs/func_button_weirdness_as_a_light_switch/

I found this topic and somebody says toggled lights isn't work in CS:GO. I understand now.

Joris Ceoen

  • Global Moderator
  • Full Member
  • *****
  • Posts: 233
  • Karma: 27
  • WallWorm Ambassador
    • View Profile
Re: Light Problem After Wildfire Update (Please Help)‏
« Reply #6 on: April 04, 2016, 02:45:09 pm »
Lighting in CS:GO is very easy and can be dumbed down to this one single rule:

1) Just use the 'light' entity and change nothing else but colour and brightness

That is very roughly said what prevents tons of problems, but you cannot name your lights and you cannot set a light flickering state in any possible way. Doing either one of those results in either your map being completely black or having very weird shadow dots. Search for any named light entity and remove the name, it simply doesn't work in CS:GO.

You can, however, use dynamic light entities, but they are more expensive and don't light the same way as normal lights. This is all not even related to the wildfire update, this has been from the beginning.