This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- InitPaths --- | |
--- BSP --- | |
WARNING: Unknown q3map_* directive "q3map_surfacesurfaceparm" | |
WARNING: Unknown q3map_* directive "q3map_surfacesurfaceparm" | |
--- LoadMapFile --- | |
--- ProcessDecals --- | |
--- CreateMapFogs --- | |
--- PatchMapDrawSurfs --- | |
--- FaceBSP --- | |
--- MakeTreePortals --- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
# setup-et-mapenv.sh v0.7 (2024-06-27) (49f26e14d9e11555) | |
# | |
# Sets up a separate basepath/environment for Wolfenstein: Enemy Territory map | |
# editing below directory where script is placed. | |
# | |
# The mapenv aims to be able to successfully and fully rebuild all official | |
# maps. | |
# | |
# KNOWN ISSUES: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- clip all terrain to breadth of 2 units | |
local hits = {} | |
-- find all terrain brushes | |
for _,b in ipairs(rad.allBrushes()) do | |
local terrain_face = nil | |
for _,f in ipairs(b:getFaces()) do | |
local texture = f:getTexture() | |
if texture == "textures/common/caulk" then | |
else |