Next revision | Previous revision |
arma3:terrain:clutter-buldozer-and-you [2017/03/16 02:21] – created clutter-buldozer-and-you initial page. snakeman | arma3:terrain:clutter-buldozer-and-you [2024/08/02 17:15] (current) – links added. snakeman |
---|
====== Clutter, Buldozer and You ====== | ====== ArmA 3 Clutter, Buldozer and You ====== |
| |
| [[https://www.pmctactical.org/forum/viewforum.php?f=68|ArmA 3 Forum]], [[:arma3|ArmA 3]], [[arma3:config|ArmA 3 Config]], [[arma3:missions|ArmA 3 Missions]], [[arma3:modeling|ArmA 3 3D Modeling]], [[arma3:scripting|ArmA 3 Scripting]], [[arma3:terrain|ArmA 3 Terrain]], [[arma3:texturing|ArmA 3 Texturing]], [[arma3:tools|ArmA 3 Tools]] |
| |
**Clutter, Buldozer and You** by Pennyworth. | **Clutter, Buldozer and You** by Pennyworth. |
As expected, it returned "#Default" for everywhere I went. Well, that makes sense, it's not finding any "CfgSurfaces" with a matching "files". So I wondered, what if I added my surfaces to the "CfgSurfaces" in "bin\config.cpp"? We already know that it's reading "bin\config.cpp", and "CfgSurfaces" is accessible across all terrains, so that means even if I don't know what "CfgWorlds" Buldozer is loading, I should still see what surfaces are being used. Lo and behold, it worked! With a test terrain, I was able to get it showing the corresponding "CfgSurfaces" entry for the surface that was below the cursor. As shown in the gif below, you can see it prints the name of the surface below the cursor as it moves. | As expected, it returned "#Default" for everywhere I went. Well, that makes sense, it's not finding any "CfgSurfaces" with a matching "files". So I wondered, what if I added my surfaces to the "CfgSurfaces" in "bin\config.cpp"? We already know that it's reading "bin\config.cpp", and "CfgSurfaces" is accessible across all terrains, so that means even if I don't know what "CfgWorlds" Buldozer is loading, I should still see what surfaces are being used. Lo and behold, it worked! With a test terrain, I was able to get it showing the corresponding "CfgSurfaces" entry for the surface that was below the cursor. As shown in the gif below, you can see it prints the name of the surface below the cursor as it moves. |
| |
{{ http://pmc.editing.wiki/images/Clutter-Budlzoer-And-You-01.gif }} | {{ https://pmc.editing.wiki/images/Clutter-Budlzoer-And-You-01.gif }} |
| |
Alright, well that's fine and dandy, but we're still missing clutter. We know "CfgSurfaceCharacters" is also accessible no matter what terrain you're using, but that's useless without the clutter from "CfgWorlds" for that terrain. Here is where I got a bit lucky, I just guessed that it's loading "DefaultWorld", and I'll be damned, it is. So after adding some basic clutter to "CfgWorlds >> DefaultWorld >> clutter", I saw this. | Alright, well that's fine and dandy, but we're still missing clutter. We know "CfgSurfaceCharacters" is also accessible no matter what terrain you're using, but that's useless without the clutter from "CfgWorlds" for that terrain. Here is where I got a bit lucky, I just guessed that it's loading "DefaultWorld", and I'll be damned, it is. So after adding some basic clutter to "CfgWorlds >> DefaultWorld >> clutter", I saw this. |
| |
{{ http://pmc.editing.wiki/images/Clutter-Budlzoer-And-You-02.png }} | {{ https://pmc.editing.wiki/images/Clutter-Budlzoer-And-You-02.png }} |
| |
To confirm that it wasn't just a flook, I tried the same thing with Takistan and this was the result. Success! | To confirm that it wasn't just a flook, I tried the same thing with Takistan and this was the result. Success! |
| |
{{ http://pmc.editing.wiki/images/Clutter-Budlzoer-And-You-03.png }} | {{ https://pmc.editing.wiki/images/Clutter-Budlzoer-And-You-03.png }} |
| |
| |
| |
I haven't had time to try and achieve my initial goal of changing the lighting in "DefaultWorld", but I think this was a good diversion. It seems like there is potential here for meeting that goal, and allowing for more as well. | I haven't had time to try and achieve my initial goal of changing the lighting in "DefaultWorld", but I think this was a good diversion. It seems like there is potential here for meeting that goal, and allowing for more as well. |
| |