Skip to content

Commit b68247b

Browse files
Release version 0.3.0
1 parent 84b944b commit b68247b

File tree

5 files changed

+63
-6
lines changed

5 files changed

+63
-6
lines changed

Quinstance/Properties/AssemblyInfo.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,5 @@
3232
// You can specify all the values or you can default the Build and Revision Numbers
3333
// by using the '*' as shown below:
3434
// [assembly: AssemblyVersion("1.0.*")]
35-
[assembly: AssemblyVersion("0.2.2.0")]
36-
[assembly: AssemblyFileVersion("0.2.2.0")]
35+
[assembly: AssemblyVersion("0.3.0.0")]
36+
[assembly: AssemblyFileVersion("0.3.0.0")]

Quinstance/lib/vmfii/vmfii.exe

-512 Bytes
Binary file not shown.

README.txt

Lines changed: 45 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Quinstance 0.2.2
1+
Quinstance 0.3.0
22
================
33

44
A wrapper around VMFInstanceInserter, enabling the use of func_instances in
@@ -52,6 +52,10 @@ Usage
5252
Specify the directory in which to store temporary files. Defaults to the
5353
user's temp directory.
5454

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+
5559

5660
Background
5761
----------
@@ -148,6 +152,20 @@ Quinstance and compiled, a copy of the other map's contents will have appeared
148152
where the func_instance once was, offset from the entity by the same amount they
149153
were offset from their map's origin.
150154

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+
151169

152170
func_instance
153171
-------------
@@ -186,13 +204,38 @@ For more information about func_instances as they're implemented in the Source
186204
engine, see https://developer.valvesoftware.com/wiki/Func_instance
187205

188206

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+
189228
Changes
190229
-------
191230

231+
0.3.0 - September 18th, 2016
232+
Fix FGD preprocessing for certain input
233+
Add entity removal, to allow placeholder geometry
234+
192235
0.2.2 - August 16th, 2016
193236
Improve configuration instructions
194237
Update VMFII
195-
238+
196239
0.2.1 - October 25th, 2015
197240
Fix worldspawn handling for some maps
198241
Fix calling VMFII in Linux/OSX

extra/func_instance.ent

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,8 @@ Keys:
2424
<string key="replace10" name="Replace">If you need more than ten replacements, don't forget you can add keys manually: replace11, replace12, etc.</string>
2525

2626
</point>
27+
28+
<group name="func_placeholder">
29+
Placeholder geometry, to be removed with the --remove_entities option of Quinstance 0.3.0 and later.
30+
</group>
2731
</classes>

extra/func_instance.fgd

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
// robert.martens@gmail.com
1414
// @ItEndsWithTens
1515
//
16-
// October 18th, 2015
16+
// September 18th, 2016
1717

1818

1919
// Jackhammer
2020
//
21-
// JH is the editor I use most often, and version 1.1.700 is where I've done
21+
// J.A.C.K. is the editor I use most, and version 1.1.1064 is where I've done
2222
// most of my testing so far. Other editors may or may not be able to load this
2323
// file, so please be prepared for failure!
2424

@@ -51,6 +51,12 @@
5151
replace10(string) : "Replace" : : "If you need more than ten replacements, don't forget you can turn off SmartEdit (if applicable) and add keys manually: replace11, replace12, etc."
5252
]
5353

54+
@SolidClass = func_placeholder : "Placeholder geometry, to be removed with the --remove_entities option " +
55+
"of Quinstance 0.3.0 and later."
56+
[
57+
]
58+
59+
5460

5561
// TrenchBroom
5662
//
@@ -81,3 +87,7 @@
8187
// replace09(string) : "Replace" : ""
8288
// replace10(string) : "Replace" : ""
8389
//]
90+
//
91+
//@SolidClass = func_placeholder : "Placeholder geometry, to be removed with the --remove_entities option of Quinstance 0.3.0 and later."
92+
//[
93+
//]

0 commit comments

Comments
 (0)