2 Problemes

Started by Blake` mapper
05/02/2012 13:19
Page 1 of 1
Blake` mapper05/02/2012 13:19(edited 05/02/2012 13:26)

hellos

I expose my two problems at the compilation of the Eiffel Tower.

hellos

I expose my two problems at the compilation of the Eiffel Tower.

- I compile my map without any bugs but I have a worry in the launch of the CS map with references to me an error "allocblock: full" and I can not find a position to understand how to correct the error so that the hammer map it launches.

- My second problem:

15323 faces
Create Patches: 81241 base patches
0 opaque faces
1566154 square feet [225526240.00 square inches]
Error: Exceeded MAX_PATCHES

I Have to-many patches how I could reduce them? This problem happens when I remove the command "-sparse" of FDR.

The "-sparse" more "-chop to 69" could be the cause of the error "allocblock: full".

hm^ mapper VIP05/02/2012 14:26

two reasons:

At first check your textures, maybe you scaled them to small overall the map, or have one highqualitytexture.

Second, maybe you added a too big soundfile.

I had this error two times, that were the reasons for me.

hm^

nerv.05/02/2012 19:28

whell i think sparse is the solution for max_patches.
i got that allocblock:full, it is some texture that is scaled too big or too small [ this is the most commum reason, but there are several others] , i searched this on my map but dndt found and i need to select all and scale everything to 1:1 after try to compile or save with another name cuz if texture isnt the problem u dnt wanna lose your scales right?

Blake` mapper05/02/2012 23:11(edited 05/02/2012 23:12)

hlcsg v3.4 Final (Feb 25 2006)
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: "C:\Program Files\worldcraft\map\night_blake\zhlt\hlcsg.exe"-wadautodetect -wadinclude kz_kzfr_eiffel_tower.wad -chart -texdata 8192 -lightdata 8192 "C:\Program Files\worldcraft\map\night_blake\Final_8_6"
Entering C:\Program Files\worldcraft\map\night_blake\Final_8_6.map

Current hlcsg Settings
Name | Setting | Default
---------------------|-----------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 8388608 ] [ 4194304 ]
max lighting memory [ 8388608 ] [ 6291456 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
null texture stripping[ on ] [ on ]
clipnode economy mode [ on ] [ on ]
clip hull type [ legacy ] [ legacy ]
onlyents [ off ] [ off ]
wadtextures [ on ] [ on ]
skyclip [ on ] [ on ]
hullfile [ None ] [ None ]
nullfile [ None ] [ None ]
min surface area [ 0.500 ] [ 0.500 ]
brush union threshold [ 0.000 ] [ 0.000 ]

Using mapfile wad configuration
Wadfiles not in use by the map will be excluded
Wadinclude list :
[zhlt.wad]
[kz_kzfr_eiffel_tower.wad]

209 brushes (totalling 1322 sides) discarded from clipping hulls
CreateBrush:
(2.44 seconds)
SetModelCenters:
(0.02 seconds)
CSGBrush:
(1.08 seconds)

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 0/400 0/25600 ( 0.0%)
planes 15850/32768 317000/655360 (48.4%)
vertexes 0/65535 0/786420 ( 0.0%)
nodes 0/32767 0/786408 ( 0.0%)
texinfos 1417/32767 56680/1310680 ( 4.3%)
faces 0/65535 0/1310700 ( 0.0%)
clipnodes 0/32767 0/262136 ( 0.0%)
leaves 0/8192 0/229376 ( 0.0%)
marksurfaces 0/65535 0/131070 ( 0.0%)
surfedges 0/512000 0/2048000 ( 0.0%)
edges 0/256000 0/1024000 ( 0.0%)
texdata [variable] 0/8388608 ( 0.0%)
lightdata [variable] 0/8388608 ( 0.0%)
visdata [variable] 0/2097152 ( 0.0%)
entdata [variable] 0/524288 ( 0.0%)
0 textures referenced
=== Total BSP file data space used: 373680 bytes ===

Including Wadfile: \program files\worldcraft\wad\kz_kzfr_eiffel_tower.wad
- Warning: Larger than expected texture (348972 bytes): 'CONCRETE1'
- Warning: Larger than expected texture (348972 bytes): 'CONCRETE2'
- Warning: Larger than expected texture (348972 bytes): 'METAL2'
- Contains 80 used textures, 100.00 percent of map (90 textures in wad)

added 4 additional animating textures.
Texture usage is at 3.83 mb (of 8.00 mb MAX)
6.58 seconds elapsed

----- END hlcsg -----



hlbsp v3.4 Final (Feb 25 2006)
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: "C:\Program Files\worldcraft\map\night_blake\zhlt\hlbsp.exe"-chart -texdata 8192 -lightdata 8192 "C:\Program Files\worldcraft\map\night_blake\Final_8_6"

Current hlbsp Settings
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 8388608 ] [ 4194304 ]
priority [ Normal ] [ Normal ]

noclip [ off ] [ off ]
nofill [ off ] [ off ]
noopt [ 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 8192)


SolidBSP [hull 0] 500...1000...1500...1771 (0.13 seconds)
BSP generation successful, writing portal file 'C:\Program Files\worldcraft\map\night_blake\Final_8_6.prt'
SolidBSP [hull 1] 500...1000...1500...2000...2095 (0.14 seconds)
SolidBSP [hull 2] 500...1000...1500...1859 (0.13 seconds)
SolidBSP [hull 3] 500...1000...1500...2000...2133 (0.17 seconds)

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 142/400 9088/25600 (35.5%)
planes 7404/32768 148080/655360 (22.6%)
vertexes 21975/65535 263700/786420 (33.5%)
nodes 7694/32767 184656/786408 (23.5%)
texinfos 1417/32767 56680/1310680 ( 4.3%)
faces 15314/65535 306280/1310700 (23.4%)
clipnodes 28010/32767 224080/262136 (85.5%)
leaves 5478/8192 153384/229376 (66.9%)
marksurfaces 19522/65535 39044/131070 (29.8%)
surfedges 69729/512000 278916/2048000 (13.6%)
edges 37626/256000 150504/1024000 (14.7%)
texdata [variable] 4013228/8388608 (47.8%)
lightdata [variable] 0/8388608 ( 0.0%)
visdata [variable] 0/2097152 ( 0.0%)
entdata [variable] 68436/524288 (13.1%)
84 textures referenced
=== Total BSP file data space used: 5896076 bytes ===
7.17 seconds elapsed

----- END hlbsp -----



hlvis v3.4 Final (Feb 25 2006)
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: "C:\Program Files\worldcraft\map\night_blake\zhlt\hlvis.exe"-full -chart -texdata 8192 -lightdata 8192 "C:\Program Files\worldcraft\map\night_blake\Final_8_6"
722 portalleafs
2306 numportals

-= Current hlvis Settings =-
Name | Setting | Default
-------------------|-----------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 8388608 ] [ 4194304 ]
max vis distance [ 0 ] [ 0 ]
priority [ Normal ] [ Normal ]

fast vis [ off ] [ off ]
full vis [ on ] [ off ]


BasePortalVis:
(0.91 seconds)
LeafThread:
(53.88 seconds)
average leafs visible: 167
g_visdatasize:39779 compressed from 65702

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 142/400 9088/25600 (35.5%)
planes 7404/32768 148080/655360 (22.6%)
vertexes 21975/65535 263700/786420 (33.5%)
nodes 7694/32767 184656/786408 (23.5%)
texinfos 1417/32767 56680/1310680 ( 4.3%)
faces 15314/65535 306280/1310700 (23.4%)
clipnodes 28010/32767 224080/262136 (85.5%)
leaves 5478/8192 153384/229376 (66.9%)
marksurfaces 19522/65535 39044/131070 (29.8%)
surfedges 69729/512000 278916/2048000 (13.6%)
edges 37626/256000 150504/1024000 (14.7%)
texdata [variable] 4013228/8388608 (47.8%)
lightdata [variable] 0/6291456 ( 0.0%)
visdata [variable] 39779/2097152 ( 1.9%)
entdata [variable] 68436/524288 (13.1%)
84 textures referenced
=== Total BSP file data space used: 5935855 bytes ===
54.92 seconds elapsed

----- END hlvis -----



hlrad v3.4 Final (Feb 25 2006)
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: "C:\Program Files\worldcraft\map\night_blake\zhlt\hlrad.exe"-extra -nopaque -sparse -bounce 2 -chop 96.0 -smooth 50.0 -chart -texdata 8192 -lightdata 8192 "C:\Program Files\worldcraft\map\night_blake\Final_8_6"

-= Current hlrad Settings =-
Name | Setting | Default
--------------------|---------------------|-------------------------
threads [ 2 ] [ Varies ]
verbose [ off ] [ off ]
log [ on ] [ on ]
developer [ 0 ] [ 0 ]
chart [ on ] [ off ]
estimate [ off ] [ off ]
max texture memory [ 8388608 ] [ 4194304 ]
max lighting memory [ 8388608 ] [ 6291456 ]
priority [ Normal ] [ Normal ]

vismatrix algorithm [ Sparse ] [ Original ]
oversampling (-extra)[ on ] [ off ]
bounces [ 2 ] [ 1 ]
bounce dynamic light [ on ] [ on ]
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 [ 96.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 [ off ] [ 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 ]


15314 faces
Create Patches : 81210 base patches
0 opaque faces
1565712 square feet [225462592.00 square inches]
28 direct lights

BuildFacelights:
(916.33 seconds)
BuildVisLeafs:
(750.83 seconds)
visibility matrix : 80.4 megs
MakeScales:
(522.69 seconds)
SwapTransfers:
(125.55 seconds)
Transfer Lists : 256493910 : 256.49M transfers
Indices : 69784892 : 66.55M bytes
Data : 1025975640 : 978.45M bytes
GatherLight:
(36.50 seconds)
GatherLight:
(40.56 seconds)
FinalLightFace:
(11.48 seconds)

Object names Objects/Maxobjs Memory / Maxmem Fullness
------------ --------------- --------------- --------
models 142/400 9088/25600 (35.5%)
planes 7404/32768 148080/655360 (22.6%)
vertexes 21975/65535 263700/786420 (33.5%)
nodes 7694/32767 184656/786408 (23.5%)
texinfos 1417/32767 56680/1310680 ( 4.3%)
faces 15314/65535 306280/1310700 (23.4%)
clipnodes 28010/32767 224080/262136 (85.5%)
leaves 5478/8192 153384/229376 (66.9%)
marksurfaces 19522/65535 39044/131070 (29.8%)
surfedges 69729/512000 278916/2048000 (13.6%)
edges 37626/256000 150504/1024000 (14.7%)
texdata [variable] 4013228/8388608 (47.8%)
lightdata [variable] 4796577/8388608 (57.2%)
visdata [variable] 39779/2097152 ( 1.9%)
entdata [variable] 68436/524288 (13.1%)
84 textures referenced
=== Total BSP file data space used: 10732432 bytes ===
2406.25 seconds elapsed [40m 6s]

----- END hlrad -----





map open bspviwer not cs error allocblock: full

I created a wad with only the texture used.

rnd.cL05/02/2012 23:43(edited 05/02/2012 23:44)

Allocblock:full happens when textures are scaled too small, happens alot in large bhop areas with the aaatrigger of the func_teleport. Using "fit" or scaling up the textures solves this.
It can also happen when you have too many entities.

As for MAX_PATCHES it can also be solved by scaling up textures.

Chrizzy mapper05/02/2012 23:51

What is the size of those textures? It is probably too many high resolution textures(512x512) and having to scale them down. It can be smarter to make the textures a lower size.

I had a very basic map with 3 textures, one of them were 512x512 that was on the walls and jumps. Scaled the texture to 0.5/0.5. As I kept adding more jumps I suddenly got allocblock:full.. Turns out it was because of the scaling and lowered the size of the texture and scaled everything to 1/1.

Blake` mapper06/02/2012 00:01

reduce scale for textures 512*512 reduce the patches ?

sn00p mapper06/02/2012 08:15

Well in my later maps I use 512x512 textures, no matter what, alot of scaling but no problem with patches.

Check the resolution to no be bigger than 512x512

PsYxOpAt mapper06/02/2012 19:53

First use vluzcna's compilors, they are much better with lots of bug fixes.

Allocblock:full error appears when you have large rooms, and low scaled textures. Also using 512x512 is really, really bad choice, the reason is that the engine eats more patches and the wpoly is getting higher. ALthough using texture with size 256x512 is ok.

About max_map_patches vluzcna's tools should fix this error, if not try grouping more brushes into func_wall, but be careful. -sparse is not causing allocblock, but don't forget to remove it from additional parametres and and vis matrix or you could get errors.

to reduce patches scale up the textures.

Blake` mapper06/02/2012 21:02

I reduced the texture size 512 * 512 to 256 * 256

So in the tower room, so I have to put the scales of textures present in 0.50/.050?

PsYxOpAt mapper06/02/2012 21:14

No, It's good thing that you resized your textures to 256x256. Now just scale them so they can fit(looking like 512x512 textures) and you will save some alloblocks, patches and world polygons.

Blake` mapper06/02/2012 22:14

Okay we must reduce the size of textures and increase the scale.

nerv.06/02/2012 22:16

you dnt need to increase all your texture scales, when this error occours probably is ONE textures with small scale =]

Blake` mapper10/02/2012 02:48

hellos

I return to give new "big news" and compiles the map we can finally play on it, apart from some small problem in terms of height and texture "skip & hint".

The problem is that the "func_wall" make noise "func_watter", you have an idea of ​​the above?

PsYxOpAt mapper10/02/2012 07:57

show me a picture

Blake` mapper10/02/2012 09:30(edited 10/02/2012 09:31)

it will be in beta-test today.

i not find why 4 blocs "func_wall" use the watter song

FLasH ^^ mapper10/02/2012 19:09(edited 10/02/2012 19:10)

First of all chop needs to be devided by 16 and u have 69! put 96 and ur done!

dEMolite mapper10/02/2012 23:45

func_wall is not your problem with the water noise. its the texture name which might be written in the materials.txt and is flagged as water.

KarLi mapper12/02/2012 17:32

btw Blake bout the alluc block full error
i think u might have it again if u build more stuff in the map..

i had the same error but i checked in whole map for textures which i dont see in game and marked them and made them to NULL Texture so it dont take much place for ur map
idk if that gonna help u but it helped me :D


btw: u should put on map properties
more max viewable distance .. like 12 288
or more :D

karli

Page 1 of 1

Please log in to post replies.