-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Gmod FGD origin
kv causing certain effect entities having strange behaviour
#258
Comments
It's those two entities specifically that have the problem in all engine branches. Valve didn't implement them properly, using the local position of the brush but not applying the origin transform. But this should have been fixed via an override in |
Alright thanks for the info! Unfortunately when removing I might have to use my second workaround since it's convinient way to use these entities. (and because they're intended to be static and cant be parented anyway) Also sorry for unrelated question but is there a way to exclude file(s) when automatic packing is enabled? Would appreciate with the help since I'm not sure how to exclude |
Try adding back origin(string) readonly: "Origin": "0 0 0" : "Broken origin" For excluding files, you should be able to use the |
Hello! I'd like inform there was an issue when using HammerAddons' Garry's Mod FGD.
Recently I was having issues when using from this FGD and figured out this afternoon, some entities such as
func_dustmotes
andfunc_dustcloud
(or anyBModelParticleSpawner
base entity) withorigin
key value present will cause strange effect. The entity itself still stays in exact position, however when map was compiled and loaded map in Garry's Mod, those effects will spawn on the worldspawn origin but not from entities's position.Upon inspection, this causes internal entities' SaveValue
m_AbsOrigin
(along with other positions related) are changed fromorigin
kvs thus causing the effect to be broken. it seems working incs_militia
(Apparently the position must stay0,0,0
so it should be default for these kind of entities?)Workaround
My current workaround as follows:
origin
keyvalue with SmartEdit off or leaveOrigin
keyvalue to be emptyorigin
key fromBModelParticleSpawner
and change fromBaseEntityBrush
toBaseEntity
and copy paste some properties fromBaseEntityBrush
to affectedfunc_dustcloud
andfunc_dustmotes
entities. Btw, I'm new to this FGD and I'm not sure how to properly edit this FGD so I simply edit them closely resemble to originalbase.fgd
as possible.I'm not sure with other entities but I noticed this mostly affecting to
func_dustcloud
andfunc_dustmotes
on my compiled mapsWhat I'm using & tested:
Screenshots
Improper
func_dustmotes
in my compiled mapCoordinate of entities are changed from
origin
keyvalue, however it must be0,0,0
and effects are spawned on world origin insteadClose view of the effect near
worldspawn
originTesting on
cs_militia
(what it should be)Comparison
I may have to test all effect/any brush entities just in case if this actually having similar effect to this one. I'll may have to update this issue on which entities are effected.
The text was updated successfully, but these errors were encountered: