]> git.xonotic.org Git - xonotic/xonotic.wiki.git/blob - Old_Creating_Maps.textile
(Commit created by redmine exporter script from page "Halogene's_Newbie_Corner" versi...
[xonotic/xonotic.wiki.git] / Old_Creating_Maps.textile
1 h1. Old Creating Maps
2
3 *!! this page has been replaced ... I left this hear for archival purposes ... and if my page ins't good enough for you 
4 -- hutty --*
5
6
7 h2. Introduction
8
9 Creating maps requires the [[Netradiant]], a gtkradiant based mapping program that generates .bsp files compiled by q3map2.  It helps to have a [[well packaged map]] while reading through this article.
10
11 h2. Using Netradiant
12
13 NetRadiant is a fork of the popular Quake-based game editor, GtkRadiant, if you have familiarity with that software or another derivative of it, this  For more information and more in-depth specifics, refer to the [[Netradiant]] page.
14
15 h3. Compiling from Source
16
17 NetRadiant is included with the git checkout from the [[Repository Access|repository]]. On a Linux/UNIX system, the basic technique for building is to change to your *./xonotic/netradiant* directory and use 'make' to compile it.  Resolve any dependencies.  The binary file is located in *./xonotic/netradiant/install*, 'radiant.x86'.
18
19 _directions to compile on windows (TODO?)_
20
21 h3. Builds
22
23 http://www.icculus.org/netradiant/files/
24
25 h2. Map Packages
26
27 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)
28
29 h3. Package Design
30
31 h4. Naming Conventions
32
33 <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.
34
35 h4. Required Files
36
37 maps/<mapname>.bsp - This is your compiled map file
38 maps/<mapname>.map - This is an open-source game, help others learn.  This file is required to be in the game.
39 maps/<mapname>.mapinfo - This file has the meta information, global music track, gametype(s) and game settings
40 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.
41 maps/<mapname>.waypoints - This is required to be added to the game, it's for bot [[adding waypoints|waypoints]
42 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 "<".
43
44 h4. Optional/Suggested Files
45
46 This is not an exhaustive list, remember, you can include almost any file that loads with a map. (needs list of files)
47
48 h4. Files You Should Never Include
49
50 csprogs.dat
51 progs.dat
52 effectsinfo.txt
53
54 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.
55
56 h2. Examples
57
58 maps/tutorial-world-v1_r2.bsp
59 maps/tutorial-world-v1_r2.map
60 maps/tutorial-world-v1_r2.mapinfo
61 maps/tutorial-world-v1_r2.png
62 maps/tutorial-world-v1_r2.waypoints
63 maps/gfx/tutorial-world-v1_r2_mini.png
64 maps/models/tutorial-world/crate.md3
65 maps/models/tutorial-world/jumppad.md3
66 scripts/tutorial-world/map-tutorial-world.shader
67 maps/sound/cdtracks/tutorial-world/main-room.ogg
68 maps/sound/tutorial-world/jumppad.ogg
69 maps/sound/tutorial-world/wind.ogg
70 maps/textures/tutorial-world/base_1.tga
71 maps/textures/tutorial-world/floor_1.tga
72 maps/textures/tutorial-world/floor_2.tga
73 maps/textures/tutorial-world/floor_1.tga
74 maps/textures/tutorial-world/wall_1.tga
75 maps/textures/tutorial-world/wall_2.tga
76
77 _add a well packaged map_
78
79 h2. Testing Maps
80
81 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
82
83 h2. Maps on Servers
84
85 Find a server admin to add your map.  (this section needs work)
86
87 h2. Map Repositories
88
89 _*Maps must be properly packaged to be included in a repository*_
90
91 An official map repository is in the planning stages, please check back later or find help on IRC.
92
93
94 h2. Help
95
96 #xonotic.editing on irc.quakenet.org
97 http://forums.xonotic.org
98
99 [[Création de cartes|Français]]
100
101 << [[Creating_Maps]]