Garry's Mod

Garry's Mod

230 ratings
Set Lighting Origin + Turn into dynamic prop tools
3
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
File Size
Posted
Updated
5.181 KB
2 Sep, 2021 @ 1:27pm
25 Aug, 2023 @ 7:28am
4 Change Notes ( view )

Subscribe to download
Set Lighting Origin + Turn into dynamic prop tools

In 1 collection by PenolAkushari
Simple GMod tools for animation/posing
6 items
Description
2 tools

Set lighting origin:
Does what "ent_fire [first prop, one which will have its lighting origin changed] setlightingorigin [second prop, one which will be the lighting origin of the first one]" did.

First left click on an entity on which you want to switch light origin, then click on another prop that will be the lighting origin of the first prop. Video should help to understand what that actually does, as it is far better than trying to put it in words, lol.

Only seems to work for ragdolls and prop_effects (and prop_dynamic, which are basically the prop effects) It also will apply lighting origin to all parented/bonemerged entities of the entity it is being applied to.

Turn into dynamic prop:
Turns an entity into prop effect/dynamic prop, with the model of a previous entity. Previously it was used as a crutch for applying lighting origin to entities that would be bonemerged, but after some update it was turned obsolete, although I am keeping the tool around and made it turn stuff into prop effects with left click, and dynamic props with right click.

Prop_dynamic appears to be ignored by majority of gmod's tools, like weld, axis, and such constraints. some tools might not actually have filters, and so they'll work with it, like super parent multi or the bone merger.

Please do take note that you can't revert turning an entity into a dynamic prop.
Popular Discussions View All (3)
4
28 Sep @ 6:22am
[BUG] When trying to add to a ragdoll, the effect doesn't work
local nevadean
3
26 Aug, 2023 @ 3:57am
[BUG] When saving with a physics prop turned into a dynamic prop they disappear upon load
Wolƒe Strider
1
1 May, 2023 @ 12:57pm
[BUG] Lighting origin doesn't work with saves
Wolƒe Strider
50 Comments
yok 5 Sep @ 11:10am 
Thanks a lot!
PenolAkushari  [author] 31 Aug @ 7:54am 
yeah projected lights don't care about the light origin, as it works more for map lights, like ones advanced light entities use. i don't quite recall much ways to make projected textures not affect stuff, as coloring entities with alpha between 254-1 will disable shadows from projected lights, but not that entity getting lit up.

there's also option within projected lights to only light up 1 specific entity, but there's no reverse way to exclude entities like that. so far only way for you to do what you want may be to record/screenshot what you want with csm enabled and disabled, get also a black/white "mask" for that prop, and do it through post editing
yok 31 Aug @ 6:44am 
Yes, but it affects the props irregardless of their set lighting origin. Thus I am unable to use the CSM's angley sun with something else in the scene which I do not want to be affected by CSM's sunlight. How do you suppose I could achieve that?
PenolAkushari  [author] 30 Aug @ 9:01pm 
iirc CSM i've seen on workshop is just 2 orthographic projected lights
yok 30 Aug @ 8:14pm 
Is there a way for me to use this with CSM? According to my experiments, it does not work with it since the sunlight of the CSM is a difference sun than the default sun, I presume.
PenolAkushari  [author] 1 Mar @ 1:44am 
does that happen with other addons disabled? you can quickly disable workshop addons from within the game, through "addons" on main menu, and also save currently enabled ones as a preset to enable them back up, just in case. though it is only "quickly" if your storage ain't dying
ßácõñ 1 Mar @ 1:40am 
"menu" as in, Showing you what buttons to push and what they do.
Example: Set Origin, top left corner just tells you name of tool. The info below is missing and when you click models, doesn't even register.
PenolAkushari  [author] 1 Mar @ 1:30am 
it had a menu?
ßácõñ 1 Mar @ 1:17am 
Seems this addon is broken
The menu doesn't even appear anymore.
Maj. Mestaic 15 Jul, 2024 @ 1:03pm 
It does work, turns out I was just very unlucky on where I placed stuff. it works fine. sry