|
1 | | -Quinstance 0.2.2 |
| 1 | +Quinstance 0.3.0 |
2 | 2 | ================ |
3 | 3 |
|
4 | 4 | A wrapper around VMFInstanceInserter, enabling the use of func_instances in |
|
52 | 52 | Specify the directory in which to store temporary files. Defaults to the |
53 | 53 | user's temp directory. |
54 | 54 |
|
| 55 | + -r, --remove_entities [optional] |
| 56 | + A comma-separated list of entities to remove from all input files. Allows |
| 57 | + placeholder geometry in editors which don't display instance contents. |
| 58 | + |
55 | 59 |
|
56 | 60 | Background |
57 | 61 | ---------- |
@@ -148,6 +152,20 @@ Quinstance and compiled, a copy of the other map's contents will have appeared |
148 | 152 | where the func_instance once was, offset from the entity by the same amount they |
149 | 153 | were offset from their map's origin. |
150 | 154 |
|
| 155 | +No editors currently display instance contents, so in your viewports you'll see |
| 156 | +only a point entity representing each func_instance. To make editing easier, you |
| 157 | +can build simple placeholder geometry and tie it to a brush entity that then |
| 158 | +gets removed by Quinstance. |
| 159 | + |
| 160 | +A basic definition for such an entity, func_placeholder, is provided by the |
| 161 | +included FGD and ENT files, but in some editors you can also manually change an |
| 162 | +entity's classname. You can use any name you want, actually, as long as it's |
| 163 | +unique and not shared with entities you want to keep. Then just add |
| 164 | + |
| 165 | + --remove_entities func_placeholder |
| 166 | + |
| 167 | +to your Quinstance command line and those will be removed from the final output. |
| 168 | + |
151 | 169 |
|
152 | 170 | func_instance |
153 | 171 | ------------- |
@@ -186,13 +204,38 @@ For more information about func_instances as they're implemented in the Source |
186 | 204 | engine, see https://developer.valvesoftware.com/wiki/Func_instance |
187 | 205 |
|
188 | 206 |
|
| 207 | +func_placeholder |
| 208 | +---------------- |
| 209 | + |
| 210 | +A brush entity for placeholder geometry, to make mapping easier in editors that |
| 211 | +don't show func_instance contents. This classname is only a sample: Quinstance |
| 212 | +will remove all entities matching its --remove_entities parameter, which to be |
| 213 | +clear is a comma separated list. |
| 214 | + |
| 215 | +For example, if you tied some temporary brushwork to func_placeholder, and want |
| 216 | +to remove it, you could try this: |
| 217 | + |
| 218 | + quinstance input.map --fgd quake.fgd --remove_entities func_placeholder |
| 219 | + |
| 220 | +But now let's say you ignored func_placeholder, and defined your own by manually |
| 221 | +editing a brush entity's classname. Let's say you chose func_greybox, for the |
| 222 | +sake of demonstration. You also want to remove all grunts from your map for some |
| 223 | +reason, and use a shorter command line as well. In that case, this would do: |
| 224 | + |
| 225 | + quinstance input.map -f quake.fgd -r func_greybox,monster_army |
| 226 | + |
| 227 | + |
189 | 228 | Changes |
190 | 229 | ------- |
191 | 230 |
|
| 231 | +0.3.0 - September 18th, 2016 |
| 232 | + Fix FGD preprocessing for certain input |
| 233 | + Add entity removal, to allow placeholder geometry |
| 234 | + |
192 | 235 | 0.2.2 - August 16th, 2016 |
193 | 236 | Improve configuration instructions |
194 | 237 | Update VMFII |
195 | | - |
| 238 | + |
196 | 239 | 0.2.1 - October 25th, 2015 |
197 | 240 | Fix worldspawn handling for some maps |
198 | 241 | Fix calling VMFII in Linux/OSX |
|
0 commit comments