User Tools

Site Tools


arma3:terrain:clutter-buldozer-and-you

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

arma3:terrain:clutter-buldozer-and-you [2017-03-16 02:21]
snakeman created clutter-buldozer-and-you initial page.
arma3:terrain:clutter-buldozer-and-you [2017-10-06 20:44]
snakeman http to https switch.
Line 117: Line 117:
 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 }}
  
  
arma3/terrain/clutter-buldozer-and-you.txt ยท Last modified: 2017-10-06 20:44 by snakeman