]> icculus.org git repositories - divverent/nexuiz.git/blob - navnodeedit/NavNodeEdit_readme.txt
lossless jpegoptim run saving about 10 megabytes
[divverent/nexuiz.git] / navnodeedit / NavNodeEdit_readme.txt
1 Title           : NavNodeEdit\r
2 Version         : 0.91\r
3 Date            : 20060219\r
4 Author          : Marko "Urre" Permanto\r
5 Email           : imunreal A to the T gmail D to the O to the T com\r
6 Website         : http://urre.quakedev.com/\r
7 Credits         : LordHavoc for teaching me a lot about QuakeC\r
8                   Ender for scratch tutorials\r
9                   Chris Voss for the menu system\r
10                   id Software for various good things\r
11                   Stribbs for inspiration to improve this editor\r
12 \r
13 Type of Mod\r
14 -----------\r
15 Quake C         : aye!\r
16 Sound           : no\r
17 MDL             : Yes\r
18 Level           : no\r
19 Gfx             : Uh-huh\r
20 \r
21 Format of QuakeC (if a Quake C Mod)\r
22 -----------------------------------\r
23 unified diff  : no\r
24 context diff  : no\r
25 .qc files     : yes\r
26 progs.dat     : yes\r
27 \r
28 Description of the Modification\r
29 -------------------------------\r
30 Previously called WayBoxEdit, this mod has evolved into something I like to\r
31 call NavNodeEdit, this because it is no longer restricted to arbitrary boxes,\r
32 nor touching links. It now supports planes to shape the boxes into different\r
33 shapes, and supports remote links ala waypoints. Not as cool as building all\r
34 the info out of planes, like MrElusives navigation systems do (Omicron bot,\r
35 Gladiator bot, and Q3A bots). I might do that once I figure out BSP trees,\r
36 which is when it would be even remotely plausible, for performance reasons.\r
37 This system should still cover most needs.\r
38 \r
39 I recommend the DarkPlaces engine, FTE might be supported in the future.\r
40 \r
41 A word of *WARNING* to anyone interested in checking out the sourcecode:\r
42 This is the only project I've written merely to get it done ASAP, I did not\r
43 plan the code *at all*, so it's probably the messiest and hardest to\r
44 maintain/update code I've ever written. You have been warned.\r
45 \r
46 Controls and Impulses\r
47 --------\r
48 WARNING: These instructions are *not* pedagogical!\r
49 \r
50 +button3 and +button4 in combination with other buttons are used for various\r
51 types of control. For example, if you hold down +button3, aim at a wall and\r
52 press +button0, the current navnode will resize on the current axis to where\r
53 you aimed.\r
54 \r
55 +button3 = resizing navnodes.\r
56 +button4 = movement of navnodes and clip points.\r
57 +button3 and +button4 = plane control.\r
58 \r
59 The effect that +button0 and/or +button2 has depends on which of these\r
60 "help-buttons" are held down, if at all. Impulse 101 and impulse 102 are\r
61 special in the way that they also have different effects depending on this.\r
62 By default, +button0 is bound to mousebutton1, +button2 is bound to\r
63 mousebutton2, impulse 101 to scrollwheel-up, impulse 102 to scrollwheel-down,\r
64 +button3 to shift, +button4 is to ctrl.\r
65 \r
66 Here follows a list of actions, assuming the default binds (mb1 and mb2 are\r
67 mousebuttons):\r
68         (no help-button)\r
69 mb1 = Teleport yourself to aimed location\r
70 mb2 = lock/unlock selection (*NOTE*: unlocking will delete all clip points)\r
71 scroll-wheel = change gridsize\r
72         SHIFT\r
73 mb1 = resize to aimed geometry on current axis\r
74 mb2 = resize to self.origin on all axis\r
75 scroll-wheel = resize on current axis\r
76         CTRL\r
77 mb1 = move on all axis to aim\r
78 mb2 = move on all axis to self\r
79 scroll-wheel = move on current axis\r
80         SHIFT+CTRL\r
81 mb1 = spawn/delete plane (if no clip points are present, will make plane on\r
82       aimed geometry. deletion only happens if new plane matches with old)\r
83 mb2 = spawn clip point (requires selection lock, up to 3 allowed and required)\r
84 scroll-wheel = switch selected clip point if available, else switch selected\r
85                plane\r
86 \r
87 The say command is used for various things that require extra parameters. Here\r
88 follow the possible commands (say them without the quotation marks):\r
89 \r
90 "origin [vector]" = will move the navnode to the desired origin, unaffected by\r
91                     the grid.\r
92 "resize [worldspace on current axis]" = will resize a navnode's edge to the\r
93                                         issued worldspace parameter, unaffected\r
94                                         by the grid.\r
95 "save" = Saves the navnode list (future versions will provide possibility to\r
96          issue filename).\r
97 "load" = Loads navnode list (future versions will provide possibility to\r
98          issue filename).\r
99 "teleport" = gives the Special flag S_TELEPORT to the current navnode.\r
100 "door" = gives the Special flag S_DOOR to the current navnode.\r
101 "nolink [optional number]" = will give the Link flag FL_NOLINK to the current\r
102                              navnode. If no number is issued, it will look for\r
103                              your secondary-selected navnode, check if it is a\r
104                              valid link, and issue the number automaticly.\r
105 "nowalk [optional number]" = will give the Link flag FL_NOWALK to the current\r
106                              navnode. If no number is issued, it will look for\r
107                              your secondary-selected navnode, check if it is a\r
108                              valid link, and issue the number automaticly.\r
109 "bad [optional number]" = will give the Link flag FL_BAD to the current\r
110                           navnode. If no number is issued, it will look for your\r
111                           secondary-selected navnode, check if it is a valid\r
112                           link, and issue the number automaticly.\r
113 "bigdrop [optional number]" = will give the Link flag FL_BIGDROP to the current\r
114                               navnode. If no number is issued, it will look for\r
115                               your secondary-selected navnode, check if it is a\r
116                               valid link, and issue the number automaticly.\r
117 "remote" = will give the Link flag FL_REMOTE to the current navnode. Secondary-\r
118            selected navnode is required.\r
119 \r
120 There are a number of impulses as well, which are important. The default bind\r
121 is listed next to the impulse number:\r
122 \r
123 Impulse Bind            Effect\r
124 1-9     1-9             Menu selection\r
125 101     wheelup         Described above\r
126 102     wheeldown       Described above\r
127 110     N               Spawn new navnode (requires selection to be unlocked)\r
128 111     R               Delete current navnode\r
129 112     P               Delete current plane\r
130 113     L               Run AutoFlagger (experimental)\r
131 120     O               Switches selected navnode when in overlap-selection-mode\r
132 121     M               Switches selection mode between closest, and overlap\r
133 122     TAB             Cycles current axis\r
134 123     X               Switches to X axis\r
135 124     Y               Switches to Y axis\r
136 125     Z               Switches to Z axis\r
137 \r
138 Good Luck!\r
139 \r
140 Known Bugs\r
141 ----------\r
142 1) Sometimes when doing something against aimed geometry, the aim goes through\r
143         the wall.\r
144         Cause: The DarkPlaces engine has collision issues in q3bsp, thus\r
145         nothing I can affect.\r
146         Workaround: re-aim slightly and try again until it works.\r
147 2) Resizing (most often down-sizing) sometimes doesn't go all the way.\r
148         Cause: Unknown.\r
149         Workaround: Re-resize with same parameters until it reaches the desired\r
150         size.\r
151 3) Link flags mess up after saving and loading the navnode file\r
152         Cause: Unknown. (I do have a clue though)\r
153         Workaround: save the navnode file, restart the map, load the navnode\r
154         file, and without making other changes, fix the flags and save again.\r
155         If you make flag-unrelated changes, it's likely to mess up flags on\r
156         closeby navnodes, at which point you need to repeat the steps. I'd\r
157         recommend making flag related stuff after you've made everything else.\r
158 \r
159 Legal\r
160 -----\r
161 This is a special version of the NavNodeEditor, donated to the Nexuiz team,\r
162 thus it is released under the same license as Nexuiz. See relevant documents\r
163 for more information.