Как вшивать текстуры
Как вшить текстуры в карту? напишите пожалуйста
Как вшить текстуры в карту? напишите пожалуйста
В общем случае WAD-файлы включаются в карту параметром –wadinclude wad, где wad — имя включаемого WAD-файла без расширения. Этот параметр необходимо вписать к компилятору HLCSG. Допустим на нашей карте мы используем нестандартные текстуры из файла 123.wad и хотим включить его в BSP-файл. Тогда строка запуска компилятора HLCSG в BAT-файле (мы рекомендуем использовать для компиляции BAT-файл) будет выглядеть так:
hlcsg.exe –wadinclude 123 [B]"%mapname%"[/B]

** Executing...
** Command: Change Directory
** Parameters: "X:\Games\Steam\SteamApps\exekfg\counter-strike"
** Executing...
** Command: X:\maps\hlcsg.exe
** Parameters: "x:\maps\maps\jail_dust_bb"
hlcsg v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
----- BEGIN hlcsg -----
Command line: X:\maps\hlcsg.exe x:\maps\maps\jail_dust_bb
Entering x:\maps\maps\jail_dust_bb.map
Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]
noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
onlyents [ off ] [ off ]
wadtextures [ on ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]
Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]
0 brushes (totalling 0 sides) discarded from clipping hulls
CreateBrush:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.16 seconds)
SetModelCenters:
10%...20%...30%...40%...50%...60%...70%...80%... (0.00 seconds)
CSGBrush:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.61 seconds)
Using Wadfile: \games\steam\steamapps\exekfg\counter-strike\cstrike_russian\halflife.wad
- Contains 49 used textures, 79.03 percent of map (3116 textures in wad)
Using Wadfile: \games\steam\steamapps\exekfg\counter-strike\cstrike_russian\cs_dust.wad
- Contains 12 used textures, 19.35 percent of map (28 textures in wad)
Using Wadfile: \games\steam\steamapps\exekfg\counter-strike\cstrike_russian\serv1.wad
- Contains 1 used texture, 1.61 percent of map (5 textures in wad)
added 6 additional animating textures.
Texture usage is at 0.95 mb (of 4.00 mb MAX)
0.95 seconds elapsed
----- END hlcsg -----
** Executing...
** Command: X:\maps\hlbsp.exe
** Parameters: "x:\maps\maps\jail_dust_bb"
hlbsp v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
----- BEGIN hlbsp -----
Command line: X:\maps\hlbsp.exe x:\maps\maps\jail_dust_bb
Current hlbsp Settings
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]
noclip [ off ] [ off ]
nofill [ off ] [ off ]
null tex. stripping [ on ] [ on ]
notjunc [ off ] [ off ]
subdivide size [ 240 ] [ 240 ] (Min 64) (Max 512)
max node size [ 1024 ] [ 1024 ] (Min 64) (Max 4096)
BSP generation successful, writing portal file 'x:\maps\maps\jail_dust_bb.prt'
1.34 seconds elapsed
----- END hlbsp -----
** Executing...
** Command: X:\maps\hlvis.exe
** Parameters: "x:\maps\maps\jail_dust_bb"
hlvis v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
----- BEGIN hlvis -----
Command line: X:\maps\hlvis.exe x:\maps\maps\jail_dust_bb
758 portalleafs
2259 numportals
-= Current hlvis Settings =-
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
max vis distance [ 0 ] [ 0 ]
priority [ Normal ] [ Normal ]
fast vis [ off ] [ off ]
full vis [ off ] [ off ]
BasePortalVis:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.73 seconds)
LeafThread:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (16.41 seconds)
average leafs visible: 120
g_visdatasize:49183 compressed from 72010
17.20 seconds elapsed
----- END hlvis -----
** Executing...
** Command: X:\maps\hlrad.exe
** Parameters: "x:\maps\maps\jail_dust_bb"
hlrad v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
----- BEGIN hlrad -----
Command line: X:\maps\hlrad.exe x:\maps\maps\jail_dust_bb
-= Current hlrad Settings =-
Name | Setting | Default
--------------------|---------------------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]
vismatrix algorithm [ Original ] [ Original ]
oversampling (-extra)[ off ] [ off ]
bounces [ 1 ] [ 1 ]
ambient light [ 0.000 0.000 0.000 ] [ 0.000 0.000 0.000 ]
maximum light [ 255.000 ] [ 256.000 ]
circus mode [ off ] [ off ]
smoothing threshold [ 50.000 ] [ 50.000 ]
direct threshold [ 25.000 ] [ 25.000 ]
direct light scale [ 2.000 ] [ 2.000 ]
coring threshold [ 1.000 ] [ 1.000 ]
patch interpolation [ on ] [ on ]
texscale [ on ] [ on ]
patch subdividing [ on ] [ on ]
chop value [ 64.000 ] [ 64.000 ]
texchop value [ 32.000 ] [ 32.000 ]
global fade [ 1.000 ] [ 1.000 ]
global falloff [ 2 ] [ 2 ]
global light scale [ 1.000 1.000 1.000 ] [ 1.000 1.000 1.000 ]
global gamma [ 0.500 0.500 0.500 ] [ 0.500 0.500 0.500 ]
global light scale [ 1.000 ] [ 1.000 ]
global sky diffusion [ 1.000 ] [ 1.000 ]
opaque entities [ on ] [ on ]
sky lighting fix [ on ] [ on ]
incremental [ off ] [ off ]
dump [ off ] [ off ]
colour jitter [ 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 ]
monochromatic jitter [ 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 ]
softlight hack [ 0.0 0.0 0.0 0.0 ] [ 0.0 0.0 0.0 0.0 ]
diffuse hack [ on ] [ on ]
spotlight points [ on ] [ on ]
custom shadows with bounce light
[ off ] [ off ]
rgb transfers [ off ] [ off ]
[Reading texlights from 'X:\maps\lights.rad']
[59 texlights parsed from 'X:\maps\lights.rad']
3378 faces
Create Patches : 21540 base patches
0 opaque faces
231646 square feet [33357048.00 square inches]
10 direct lights
BuildFacelights:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (20.44 seconds)
visibility matrix : 27.7 megs
BuildVisLeafs:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (18.13 seconds)
MakeScales:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (15.20 seconds)
SwapTransfers:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.98 seconds)
Transfer Lists : 10916628 : 10.92M transfers
Indices : 4082620 : 3.89M bytes
Data : 43666512 : 41.64M bytes
Bounce 1 GatherLight:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.63 seconds)
FinalLightFace:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (1.08 seconds)
57.39 seconds elapsed
----- END hlrad -----
** Executing...
** Command: Copy File
** Parameters: "x:\maps\maps\jail_dust_bb.bsp" "X:\maps\maps\jail_dust_bb.bsp"
** Executing...
** Command: Copy File
** Parameters: "x:\maps\maps\jail_dust_bb.pts" "X:\maps\maps\jail_dust_bb.pts"
** Executing...
** Command: Copy File
** Parameters: +map "jail_dust_bb" -dev -console
** Executing...
** Command: hlcsg.exe
** Parameters: –wadinclude serv1 "%mapname%"
* Could not execute the command:
hlcsg.exe –wadinclude serv1 "%mapname%"
* Windows gave the error message:
"Отказано в доступе."
где "%mapname%" там карту писать. –wadinclude serv1 .wad забыл приписатьhlcsg.exe –wadinclude serv1 "%mapname%"
** Executing...
** Command: Change Directory
** Parameters: "X:\Games\Steam\SteamApps\exekfg\counter-strike"
** Executing...
** Command: X:\maps\hlcsg.exe
** Parameters: "x:\maps\maps\jail_dust_bb"
hlcsg v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
----- BEGIN hlcsg -----
Command line: X:\maps\hlcsg.exe x:\maps\maps\jail_dust_bb
Entering x:\maps\maps\jail_dust_bb.map
Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]
noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
onlyents [ off ] [ off ]
wadtextures [ on ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]
Using mapfile wad configuration
Wadinclude list :
[zhlt.wad]
0 brushes (totalling 0 sides) discarded from clipping hulls
CreateBrush:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.17 seconds)
SetModelCenters:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.00 seconds)
CSGBrush:
10%...20%...30%...40%...50%...60%...70%...80%...90%... (0.64 seconds)
Using Wadfile: \games\steam\steamapps\exekfg\counter-strike\cstrike_russian\halflife.wad
- Contains 54 used textures, 78.26 percent of map (3116 textures in wad)
Using Wadfile: \games\steam\steamapps\exekfg\counter-strike\cstrike_russian\cs_dust.wad
- Contains 13 used textures, 18.84 percent of map (28 textures in wad)
Using Wadfile: \games\steam\steamapps\exekfg\counter-strike\cstrike_russian\serv1.wad
- Contains 1 used texture, 1.45 percent of map (5 textures in wad)
Including Wadfile: \games\steam\steamapps\exekfg\counter-strike\cstrike_russian\zhlt.wad
- Contains 1 used texture, 1.45 percent of map (8 textures in wad)
added 6 additional animating textures.
Texture usage is at 0.99 mb (of 4.00 mb MAX)
1.00 seconds elapsed
----- END hlcsg -----
** Executing...
** Command: X:\maps\hlbsp.exe
** Parameters: "x:\maps\maps\jail_dust_bb"
hlbsp v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
----- BEGIN hlbsp -----
Command line: X:\maps\hlbsp.exe x:\maps\maps\jail_dust_bb
Current hlbsp Settings
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ off ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 4194304 ] [ 4194304 ]
priority [ Normal ] [ Normal ]
noclip [ off ] [ off ]
nofill [ off ] [ off ]
null tex. stripping [ on ] [ on ]
notjunc [ off ] [ off ]
subdivide size [ 240 ] [ 240 ] (Min 64) (Max 512)
max node size [ 1024 ] [ 1024 ] (Min 64) (Max 4096)
Warning: === LEAK in hull 0 ===
Entity light @ (-1652,-1008, 36)
Error:
A LEAK is a hole in the map, where the inside of it is exposed to the
(unwanted) outside region. The entity listed in the error is just a helpful
indication of where the beginning of the leak pointfile starts, so the
beginning of the line can be quickly found and traced to until reaching the
outside. Unless this entity is accidentally on the outside of the map, it
probably should not be deleted. Some complex rotating objects entities need
their origins outside the map. To deal with these, just enclose the origin
brush with a solid world brush
Leak pointfile generated
1.59 seconds elapsed
----- END hlbsp -----
** Executing...
** Command: X:\maps\hlvis.exe
** Parameters: "x:\maps\maps\jail_dust_bb"
hlvis v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
----- BEGIN hlvis -----
Command line: X:\maps\hlvis.exe x:\maps\maps\jail_dust_bb
>> There was a problem compiling the map.
>> Check the file x:\maps\maps\jail_dust_bb.log for the cause.
----- END hlvis -----
** Executing...
** Command: X:\maps\hlrad.exe
** Parameters: "x:\maps\maps\jail_dust_bb"
hlrad v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
----- BEGIN hlrad -----
Command line: X:\maps\hlrad.exe x:\maps\maps\jail_dust_bb
>> There was a problem compiling the map.
>> Check the file x:\maps\maps\jail_dust_bb.log for the cause.
----- END hlrad -----
** Executing...
** Command: Copy File
** Parameters: "x:\maps\maps\jail_dust_bb.bsp" "X:\maps\maps\jail_dust_bb.bsp"
** Executing...
** Command: Copy File
** Parameters: "x:\maps\maps\jail_dust_bb.pts" "X:\maps\maps\jail_dust_bb.pts"
** Executing...
** Command: Copy File
** Parameters: +map "jail_dust_bb" -dev -console
** Executing...
** Command: X:\maps\hlcsg.exe
** Parameters: -wadinclude serv1.wad "jail_dust_bb"
hlcsg v2.5.3 rel Custom Build 1.7 (Dec 9 2002)
Zoner's Half-Life Compilation Tools -- Custom Build
Based on code modifications by Sean 'Zoner' Cavanaugh
Based on Valve's version, modified with permission.
Submit detailed bug reports to ([email protected])
----- BEGIN hlcsg -----
Command line: X:\maps\hlcsg.exe -wadinclude serv1.wad jail_dust_bb
Error: Error opening jail_dust_bb.map: No such file or directory
----- END hlcsg -----
