Garry's Mod

Garry's Mod

150 ratings
Wind Editor & Tree Sway Tools
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
Addon Tags: Scenic, Realism
File Size
Posted
Updated
75.816 MB
19 Oct, 2018 @ 1:40pm
9 Nov, 2022 @ 10:58pm
6 Change Notes ( view )

Subscribe to download
Wind Editor & Tree Sway Tools

In 1 collection by V92
Don't Like Enough to Keep, Don't Hate Enough to Delete
690 items
Description
Some demo $treesway-enabled files for trees, as seen in the attached videos, and a wind editor for tweaking wind.

Spawning the wind editor will create an env_wind if the map doesn't have one.

Feel free to decompile and/or mess with these yourself as a learning aid.

Some useful links:
https://developer.valvesoftware.com/wiki/Env_wind
https://developer.valvesoftware.com/wiki/$treeSway

Included Support


License
  • You may edit the files as you wish to.
  • You must link back to my Steam profile and this submission.
  • You may not edit or redistribute this file in conjunction with or otherwise usage of files hosted on GameBanana or any other Machinefloor services.
  • By failing to comply with any of the prior stated terms, you inherently forfeit all legal defense, and agree that 1) you failed to follow the license agreement and 2) the site/service(s) you uploaded the files to must remove them immediately.
  • I reserve the right to change these terms as I see fit with or without prior notice/warning.
30 Comments
V92  [author] 27 Jul @ 6:55pm 
@undead

AFAIK there can only be one env_wind but I'm no expert. Probably just bad VMT settings on the trees themselves.
Undead Human Cannonball™ 27 Jul @ 2:28pm 
I had to download this mod because the trees on one of my maps were swaying so much they were clipping into a house nearby, my guess is that there may be a bug that multiples the sway each time I load into the map, making it more erratic, that's just a guess btw because source spaghetti is a mystery to me
gavinpgamer 21 Nov, 2022 @ 1:32pm 
a funny but weird thing i noticed was along with episodic trees, episodic tree stumps also move in the wind a bit like the trees. its not something i want to be fixed it is just something i noticed.
Jeos52 9 Nov, 2022 @ 6:43pm 
@V92
[Wind Editor & Tree Sway Tools] lua/entities/edit_wind.lua:189: attempt to call method 'SetKeyValue' (a nil value)
1. v - lua/entities/edit_wind.lua:189
2. CallProxies - lua/includes/extensions/entity.lua:308
3. unknown - lua/includes/extensions/entity.lua:327
4. RestoreNetworkVars - lua/includes/extensions/entity.lua:463
5. Load - lua/includes/modules/duplicator.lua:295
6. DoGeneric - lua/includes/modules/duplicator.lua:980
7. CreateEntityFromTable - lua/includes/modules/duplicator.lua:460
8. unknown - lua/includes/modules/duplicator.lua:753
9. ProtectedCall - [C]:-1
10. Paste - lua/includes/modules/duplicator.lua:753
11. unknown - lua/includes/gmsave.lua:66

I also should mention that im on the x64 chromium branch
V92  [author] 9 Nov, 2022 @ 6:24pm 
@jeos

I would need those errors if you expect me to have any idea how to fix it.

Vanilla saves are also hot garbage, so I wouldn't be surprised if that was just another reason not to use them.
Jeos52 9 Nov, 2022 @ 8:23am 
i get lua errors after loading a save, and the entity becomes a permanent prop, with the latest update
Takashi Golbach 15 Jul, 2020 @ 7:26pm 
Ok
V92  [author] 15 Jul, 2020 @ 6:16pm 
@bonnie

Not currently planning on any others.
Takashi Golbach 15 Jul, 2020 @ 2:39pm 
We got env_fog env_sun and env_sky (default editors) and env_gravity (from a mod) and env_wind (from this mod) what other editors do you plan to make
Takashi Golbach 15 Jul, 2020 @ 2:38pm 
What other editors are you gonna make?