Garry's Mod

Garry's Mod

Shadow Editor
func_Mathias  [开发者] 2021 年 3 月 4 日 下午 1:04
Problems and bugs
If you experience any issues like script errors, problems or just plain bugs please report here.

If you get script errors please paste the error here and explain what you did before it happened. The more info you give the more likely it is I'll be able to do something about it.
< >
正在显示第 1 - 15 条,共 18 条留言
Gmodfan750 2021 年 3 月 5 日 上午 4:54 
i get this every time i spawn it [Shadow Editor] gamemodes/sandbox/entities/entities/edit_shadows.lua:63: attempt to call field 'Initialize' (a nil value)
1. unknown - gamemodes/sandbox/entities/entities/edit_shadows.lua:63
2. Spawn - [C]:-1
3. SpawnFunction - gamemodes/sandbox/entities/entities/base_edit.lua:31
4. Spawn_SENT - gamemodes/sandbox/gamemode/commands.lua:758
5. unknown - gamemodes/sandbox/gamemode/commands.lua:823
6. unknown - lua/includes/modules/concommand.lua:54
and the model is a error
func_Mathias  [开发者] 2021 年 3 月 5 日 上午 8:31 
Oh man that's a weird one, does the other default editor entities work? (Sun/sky/fog editors) That 'Initialize' field should be the exact same those use..

My only guess could be a conflict with another addon somehow, but if the other editor entities work I kinda have no idea why it'd do that just for this one.

Have an idea for a possible fix even though I'm not sure exactly why it's happening, if you want to test I could send you an edited script to see if that works. Then update the workshop version if it does work.
Gmodfan750 2021 年 3 月 5 日 上午 8:44 
the other ones don't work too
func_Mathias  [开发者] 2021 年 3 月 5 日 上午 9:15 
Ah okay, you may want to "Verify integrity of game files" on Garry's Mod, or see if there's any addons that could be breaking them then.

I could still possibly fix the shadow one by not making it use 'Initialize', but if you could make them all work that's of course preferable.
Gmodfan750 2021 年 3 月 5 日 上午 10:45 
i found out it's vjbase causing the problem
func_Mathias  [开发者] 2021 年 3 月 5 日 上午 11:10 
Ah nice, good you got it sorted. I tried installing VJBase to see if I got the same problem but worked for me, so may be something more to it too, dunno.
SuperDean 2021 年 3 月 6 日 下午 8:51 
when i spawn it in there is no model for it (not even a error)
L.E.Z.L.O.N 2021 年 3 月 11 日 上午 4:59 
it doesnt work for me
Dar#29 2021 年 8 月 18 日 下午 5:55 
disable atuomatic shadow_control entity spawn in no shadow world?
and does this work with extended render?
SuperDean 2021 年 8 月 19 日 上午 2:11 
i wonder if storm fox (the first one) messes with this
salter 2021 年 8 月 21 日 下午 8:40 
some props don't cast a shadow and im not sure why
76561199102086004 2022 年 1 月 1 日 下午 8:46 
Shadows pass through the {链接已删除}
76561199102086004 2022 年 1 月 3 日 上午 2:37 
wall
76561199102086004 2022 年 1 月 3 日 上午 2:37 
what i do now?
func_Mathias  [开发者] 2022 年 1 月 3 日 上午 6:34 
That's an issue with the game engines shadow rendering and not the tool. It doesn't change how shadows behave.
< >
正在显示第 1 - 15 条,共 18 条留言
每页显示数: 1530 50