Create an account


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[DISCUSSION] Possible bug with lights in maps.?

#1
So in my recent messings in NetRadiant, I've been reading the entities' keys and such, and in the process I discovered a way to achieve dynamic lighting without using the in-game rtlight editor by setting _keepLights to 1 on the worldspawn entity, but it resulted in huge performance loss. So I did some more experimenting, and I thought I had figured out a way to have dynamic lighting where I wanted it a static lighting where I didn't want it. According to the "light" entity, setting the "nogridlight" flag stops the light entity from affecting the lightgrid, so it would only function as a dynamic light in-game without affecting the lighting calculations when the map is compiled. I checked this, and it worked. Turning off dynamic lighting caused the light in question to be totally dark. So then I needed a way to get lights that produced NO dynamic lighting but still affected the lightgrid (since a normal light will either affect both or just the lightgrid). The lightJunior entity's description claims that lightJuniors do just that; they affect ONLY the lightgrid, which I would assume to mean that they produce no dynamic lighting in-game. I checked this, and in-game, they functioned in exactly the same way as a normal light with nogridlight turned on. Turning off dynamic lighting meant the light was totally dark, and with dynamic lighting on it worked like a normal dynamic light.

This is either a bug or I'm severely misunderstanding something about how lights work (which is, I guess, possible, since I don't really have much experience in this other than the last few weeks).

Anyone here mind explaining to me what I'm not getting or confirming that there's something wrong going on?

(Also, I know there's the in-game editor for rtlights, but I'm specifically trying to see what I can do just in NetRadiant. Surely there's some way to make a light that only affects lighting when the map is compiled, but then doesn't act like a dynamic light afterward, right?)
Reply

#2
Creating dynamic lights from Radiant is not supported. The _keepLights way just takes ALL lights over as engine dynamic lights.

And as for lightJunior vs light:

lightmap = the statically compiled lighting you see on map surfaces
lightgrid = the statically compiled lighting you see on player models

lightJunior actually is nothing more than light with nolightgrid.
BRLOGENSHFEGLE (core dumped)

The Bot Orchestra is back! | Xoylent Easter Egg | 5bots1piano
My music on Google Play and SoundCloud
Reply

#3
Hm, thanks.

But is it possible that dynamic lights in Radiant will be implemented? Having everything required for mapping in one editor, except for a certain kind of lighting, seems really awkward, and the simplicity of the issue (that is, instead of removing all lights or no lights when the map is compiled, only removing certain lights) seems to lend itself to the changes required to fix it being pretty simple as well.
Reply

#4
(08-12-2010, 12:43 AM)divVerent Wrote: Creating dynamic lights from Radiant is not supported. The _keepLights way just takes ALL lights over as engine dynamic lights.

Including skybox lights?
(07-18-2010, 10:59 AM)Flying Steel Wrote: How could anyone with ADHD tell its a high damage weapon if it wasn't a gigantic metal cock fucking the map whenever a player gets within 3 meters of a wall?

[Image: di-712770583645.png]
Reply

#5
(08-12-2010, 02:12 AM)vede Wrote: Hm, thanks.

But is it possible that dynamic lights in Radiant will be implemented? Having everything required for mapping in one editor, except for a certain kind of lighting, seems really awkward, and the simplicity of the issue (that is, instead of removing all lights or no lights when the map is compiled, only removing certain lights) seems to lend itself to the changes required to fix it being pretty simple as well.

Well, to get technical, actually there are several things required to do outside of NetRadiant. These involve:
1) Editing the Mapinfo file,
2) Bot waypoints
3) RTLights
4) Packaging the map
5) Playtesting the map!

For steps 2, 3, and 5 you have to go into the game to do. So just make it a combined visit if you really don't like playing the game? Tongue
Mapper.
Reply

#6
Well, his point is that all of it should be doable in radiant.
(07-18-2010, 10:59 AM)Flying Steel Wrote: How could anyone with ADHD tell its a high damage weapon if it wasn't a gigantic metal cock fucking the map whenever a player gets within 3 meters of a wall?

[Image: di-712770583645.png]
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  [BUG REPORT] in weapon arena, jet pack fuel is also unlimited zwz 1 647 10-16-2023, 06:25 AM
Last Post: Freddy
  [NEED HELP] Menu freezes when typing server address, old bug? MeLikeyTacos 2 1,838 10-21-2021, 09:59 PM
Last Post: MeLikeyTacos
Heart [SOLVED] BUG IN NETRADIANT Kotangens 5 3,111 12-06-2020, 08:53 AM
Last Post: Julius
  [SOLVED] is it possible to invert y axis on xbox 360 joypad? calogero 6 5,392 01-21-2018, 08:12 AM
Last Post: Freddy
Bug [SOLVED] Forum bug: disappearing symbols in the signature. Constantine 1 2,849 03-06-2017, 09:28 PM
Last Post: -z-
Sad [NEEDS INFO] Strange bug - my character is moving all the time ! Oncl'Tom 2 3,400 02-12-2017, 06:57 PM
Last Post: organic
  [SOLVED] Xonotic 0.8 spectating bug Beagle 6 5,971 06-29-2015, 01:15 AM
Last Post: Beagle
  [BUG] Bot navigation bug zwz 0 2,622 08-07-2014, 11:11 AM
Last Post: zwz
  [NEEDS INFO] best bug ever zerp 2 3,322 06-30-2013, 12:48 AM
Last Post: satuim
Bug [INVALID] Bug: pause between time of mouse click and shot fired in multiplayer YCSSWL(7) 4 5,367 09-22-2012, 01:49 PM
Last Post: adem

Forum Jump:


Users browsing this thread:
1 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-