]> git.xonotic.org Git - xonotic/xonotic.wiki.git/blob - Cr%C3%A9ation_de_cartes.textile
(Commit created by redmine exporter script from page "Cr%C3%A9ation_de_cartes" version 2)
[xonotic/xonotic.wiki.git] / Cr%C3%A9ation_de_cartes.textile
1 h1. Création de cartes
2
3 h2. Introduction
4
5 Créer des cartes nécéssite [[Netradiant]], un gtkradiant, un logiciel de fabrication de cartes qui génère des fichiers .bsp compilés en q3map2. Il aide à obtenir une [[carte bien empaquetée]] tout en lisant cet article.
6
7 h2. Utiliser Netradiant
8
9 NetRadiant est un fork de l'éditeur de jeu Quake basé populaire, GtkRadiant, si vous avez connaissance de ce logiciel ou un autre dérivé de celui-ci, ce sera plus facile.
10 Pour plus d'informations et plus en profondeur les détails, reportez-vous à la page [[Netradiant]].
11
12 h3. Compilation de la source
13
14 NetRadiant est inclus avec le git checkout de la [[Accès référentiel|référentiel]]. Sur un système Linux/UNIX, la technique de base pour la construction est de changer votre dossier *./xonotic/netradiant* et d'utiliser 'make' pour le compiler. Résolvez toutes les dépendances.  Le fichier binaire se trouve dans *./xonotic/netradiant/install*, 'radiant.x86'.
15
16 _indications pour compiler sur windows (A faire ?)_
17
18 h3. Builds
19
20 http://www.icculus.org/netradiant/files/
21
22 h2. Map Packages
23
24 Maps are packaged as a .zip file with a .pk3 extension.  They can be opened with any program that opens zip files.  The pk3 gets loaded when you start the game, [[Xonotic]].  The engine, [[Darkplaces]] reads pk3 files as it would a normal files system.  You can thus create a pk3 package with any files that the engine can normally read.  (needs well packaged map example pk3)
25
26 h3. Package Design
27
28 h4. Naming Conventions
29
30 <mapname> should be alpha-numeric, lowercase with dashes, periods and underscores only,([a-z0-9-_.]+).pk3 -- preferably they are suffixed with a version and revision.  Following this convention will yield better results from scripts that use this format to help distribute your map.
31
32 h4. Required Files
33
34 maps/<mapname>.bsp - This is your compiled map file
35 maps/<mapname>.map - This is an open-source game, help others learn.  This file is required to be in the game.
36 maps/<mapname>.mapinfo - This file has the meta information, global music track, gametype(s) and game settings
37 maps/<mapname>.tga|png|jpg - This file is a screenshot of your map.  If you don't include this, you map doesn't have a picture in the menu or the voting screen for servers and angels cry.
38 maps/<mapname>.waypoints - This is required to be added to the game, it's for bot [[adding waypoints|waypoints]
39 maps/gfx/<mapname>_mini.tga|png|jpg - This is required to be added to the game, it's a radar of the map.  These can be generated with the command "<".
40
41 h4. Optional/Suggested Files
42
43 This is not an exhaustive list, remember, you can include almost any file that loads with a map. (needs list of files)
44
45 h4. Files You Should Never Include
46
47 csprogs.dat
48 progs.dat
49 effectsinfo.txt
50
51 By including any of the files above, you could cause undesired results.  Try and use common sense about how you're adding dimension to your map, if you have questions, ask for help.
52
53 h2. Examples
54
55 maps/tutorial-world-v1_r2.bsp
56 maps/tutorial-world-v1_r2.map
57 maps/tutorial-world-v1_r2.mapinfo
58 maps/tutorial-world-v1_r2.png
59 maps/tutorial-world-v1_r2.waypoints
60 maps/gfx/tutorial-world-v1_r2_mini.png
61 maps/models/tutorial-world/crate.md3
62 maps/models/tutorial-world/jumppad.md3
63 scripts/tutorial-world/map-tutorial-world.shader
64 maps/sound/cdtracks/tutorial-world/main-room.ogg
65 maps/sound/tutorial-world/jumppad.ogg
66 maps/sound/tutorial-world/wind.ogg
67 maps/textures/tutorial-world/base_1.tga
68 maps/textures/tutorial-world/floor_1.tga
69 maps/textures/tutorial-world/floor_2.tga
70 maps/textures/tutorial-world/floor_1.tga
71 maps/textures/tutorial-world/wall_1.tga
72 maps/textures/tutorial-world/wall_2.tga
73
74 _add a well packaged map_
75
76 h2. Testing Maps
77
78 You can compile your map locally or on the build server.  The build server (requires [[Repository Access]]) requires a <mapname>.mapoptions file. For more info check ask in #xonotic.editing on irc.quakenet.org
79
80 h2. Maps on Servers
81
82 Find a server admin to add your map.  (this section needs work)
83
84 h2. Map Repositories
85
86 _*Maps must be properly packaged to be included in a repository*_
87
88 An official map repository is in the planning stages, please check back later or find help on IRC.
89
90
91 h2. Help
92
93 #xonotic.editing on irc.quakenet.org
94 http://forums.xonotic.org
95
96 [[Creating Maps|English]]