Modélisation de map pour Hexen2.
1/ Création du répertoire des maps.
util01@station66:~$ mkdir -p JEUX/HEXEN2/Maps
2/ Compilation des outils de compilations des maps.
util01@station66:~$ cd JEUX/HEXEN2/hexen2source-1.5.9/utils/
util01@station66:~/JEUX/HEXEN2/hexen2source-1.5.9/utils$ ./build.sh
<h3>3/ Installation des outils.</h3>
[sourcecode language="plain"]
util01@station66:~/JEUX/HEXEN2/hexen2source-1.5.9/utils$ sudo cp qbsp/qbsp /usr/local/bin/
util01@station66:~/JEUX/HEXEN2/hexen2source-1.5.9/utils$ sudo cp light/light /usr/local/bin/
util01@station66:~/JEUX/HEXEN2/hexen2source-1.5.9/utils$ sudo cp vis/vis /usr/local/bin/
util01@station66:~/JEUX/HEXEN2/hexen2source-1.5.9/utils$ cd
util01@station66:~$
4/ Modélisation d’une map de test.
util01@station66:~$ cd JEUX/HEXEN2/Maps/
util01@station66:~/JEUX/HEXEN2/Maps$
util01@station66:~/JEUX/HEXEN2/Maps$ trenchbroom
5/ Vérification.
util01@station66:~/JEUX/HEXEN2/Maps$ ls -l
total 4
-rw-rw-r-- 1 util01 util01 2911 avril 19 20:37 test.map
6/ Compilation de la map.
util01@station66:~/JEUX/HEXEN2/Maps$ qbsp test.map
---- qbsp ----
Project directory: /home/util01/JEUX/HEXEN2/Maps/
outputfile: test.bsp
--- LoadMapFile ---
test.map
6 brushes
4 entities
6 miptex
18 texinfo
building hulls sequentially...
--- Brush_LoadEntity ---
6 brushes read
---- CSGFaces ----
36 brushfaces
66 csgfaces
12 mergedfaces
----- SolidBSP -----
24 split nodes
6 solid leafs
19 empty leafs
0 water leafs
39 leaffaces
39 nodefaces
----- portalize ----
----- FillOutside ----
36 outleafs
----- SolidBSP -----
6 split nodes
6 solid leafs
1 empty leafs
0 water leafs
10 leaffaces
10 nodefaces
Hullnum 5: No entities in empty space -- no filling performed
---- MergeAll ----
6 mergefaces
writing test.prt
--- FinishBSPFile ---
WriteBSPFile: test.bsp
Loaded wadfile /home/util01/JEUX/HEXEN2/Textures/tex_h2.wad
added 0 texture frames
38 planes 760
18 vertexes 216
6 nodes 144
18 texinfo 720
16 faces 320
48 clipnodes 384
2 leafs 56
16 marksurfaces 32
64 surfedges 128
33 edges 132
6 textures 43788
lightdata 0
visdata 0
entdata 266
0.0 seconds elapsed
util01@station66:~/JEUX/HEXEN2/Maps$
util01@station66:~/JEUX/HEXEN2/Maps$ light test.map
----- LightFaces ----
Setup for 1 threads, 0x100000 stack size
4 entities read
Thread 0 started
lightdatasize: 3104
0 switchable light styles
0.0 seconds elapsed
util01@station66:~/JEUX/HEXEN2/Maps$
util01@station66:~/JEUX/HEXEN2/Maps$ vis test.map
---- vis ----
Setup for 1 threads, 0x100000 stack size
1 portalleafs
0 numportals
Begining LeafThread: 0
Completed LeafThread: 0
average leafs visible: 1
c_chains: 0
visdatasize:1 compressed from 1
printstats: no stats
0.0 seconds elapsed
util01@station66:~/JEUX/HEXEN2/Maps$
7/ Installation de la map.
util01@station66:~/JEUX/HEXEN2/Maps$
util01@station66:~/JEUX/HEXEN2/Maps$ cp test.bsp ../hexen2demo_nov1997/data1/maps/
8/ Lancement de Hexen2 avec la map de test.
util01@station66:~/JEUX/HEXEN2/Maps$ cd ~/JEUX/HEXEN2/hexen2demo_nov1997/
util01@station66:~/JEUX/HEXEN2/hexen2demo_nov1997$ ./hexen2 +map test +width 640 +height 480
Comments are closed, but trackbacks and pingbacks are open.