home *** CD-ROM | disk | FTP | other *** search
INI File | 1998-02-12 | 21.0 KB | 750 lines |
- [BSP]
- ; MODIFIED for v. 0.87b.
- ;
- ; Set to 0 to disable ability to "drag" vertices on selected brush.
- ; Set to 1 to use the vertex_drag_sensitivity to determine how brush is manipulated by vertex
- ; dragging
- ; Set to 2 to use an alternate method (vertex_drag_sensitivity ignored).
- ; So, what's the technical difference? Fine. As you know, brush faces are defined by planes
- ; and planes are defined by sets of three points. As you also know, a vertex occurs at the
- ; intersection of three planes. The "plane" definition points don't necessarily correspond
- ; to vertices. How does vertex manipulation work then? First, I check the "on-screen"
- ; vertices for the "current" (Yellow) face and see if the user clicked on one of these
- ; vertices. If so, then I look at all of the brush faces and figure which ones also "include"
- ; this vertex.
- ;
- ; Because planes are defined by three points, to manipulate a "vertex" the user's selected
- ; vertex must become a definition point for each face that "vertex" is on. But you can't just
- ; swap any old plane definition point with the selected vertex. The vertices must be maintained
- ; in a certain order.
- ;
- ; Method (drag_vertex=2) replaces the plane points with the "previous", "selected" and "next"
- ; vertices on the planes that are involved. Thus, for triangular faces, this works perfectly.
- ; But for faces with more points, manipulating the selected vertex causes the planes to
- ; pivot on the line joining the previous and next vertices. Try it and you will see what I
- ; mean. This is why I do not believe that vertex manipulation is useful. (at least from a
- ; leak minimization point of view).
- ;
- ; Method 1 is related. However, rather than picking the previous and next vertices on the
- ; screen representation, the following is done. A vector from the selected vertex to
- ; the next/previous vertex is calculated. The vector is normalized. Then the vector is
- ; scaled by the vertex_drag_sensitivity. Then the scaled vector is added to the
- ; selected vertex. Now, each plane is defined by the so-calculated previous vertex (v_d_s
- ; units from the selected one), the selected vertex, and the next vertex (again v_d_s units
- ; from the selected one). Thus, if the v_d_s is very small, then moving the vertex will make
- ; the involved planes move like crazy. Higher values of v_d_s will make the involved planes
- ; "change" less severely.
- ;
- drag_vertex=2
- ;
- ; Determines how much other "planes" get manipulated by dragging on a vertex. Lower
- ; numbers are more "sensitive"
- ;
- vertex_drag_sensitivity=32
- ;
- ; If set to 0, then only "vertical" planes can be dragged by clicking outside the face
- ; with the left mouse button. Higher numbers offer more of a "fudge factor"
- ;
- face_drag_percent=10
- ;
- ; The next setting determines how "close" to a vertex one must click in order to start
- ; dragging it...
- ;
- select_delta=4
- ;
- ; The next setting determines whether vertex drags are "snapped" to the grid. 1=YES, 0 = NO
- ;
- vertex_use_grid=0
- ;
- ; Default name for new maps
- ;
- newmap=default.map
- ;
- ; Backup is not used yet
- ;
- backup=backup.map
- ;
- ; Number of steps per 360 degree turn when navigating the map with the keyboard
- ;
- steps_per_turn=8
- ;
- ; Set to 0 to have "groups" initially turned off
- ;
- groupmode=1
- ;
- ; Default grid size
- ;
- gridsize=16
- ;
- ; Default step for moving the camera with the keyboard, etc.
- ;
- stepsize=64
- ;
- ; Set to 1 to show the grid by default
- ;
- show_grid=0
- ;
- ; Set to 0 to not show the grid coordinate legends
- ;
- show_coordinates=1
- ;
- ; Set to 1 to automatically show entity names
- ;
- show_names=0
- ;
- ; Set to 1 to automatically display hit brush #'s in the 3D view.
- ;
- show_hits=0
- ;
- ; Set to 1 to show red square in 2D views. The square indicates the current
- ; eye position.
- ;
- showeye=1
- ;
- ; Clip all brushes farther than xxx from the current camera position.
- ;
- far_clip_distance=-8192
- ;
- ; Internal size of the 3D Texture mapped and flat shaded preview data. Setting to lower
- ; values will increase rendering speed, but lower quality. The converse is also true.
- ;
- render_width=320
- render_height=200
- ;
- ; ***************************************************************************************
- ;
- ; NEW FOR v. 0.52
- ;
- ; The next settings determine the size of the texture thumbnails in the texture browser
- ;
- texture_width=64
- texture_height=64
- ;
- ; If you are still reading this, you have a lot of patience...
- ;
- ; ***************************************************************************************
- ;
- ; NEW FOR v. 0.53
- ;
- ; The next settings determine the offset's for copying/cloning
- ; set to 0 to use the current gridsize.
- ;
- cloneDeltaX=16
- cloneDeltaY=16
- ;
- ; FOR v 0.55
- ;
- stretch_textures=1
- ;
- ; FOR v 0.56
- ;
- ; Set this setting to zero if the crosshair is invisible for you (windows 3.1 or 3.11 users)
- ;
- use_crosshair=1
- ;
- ; Set to -1 to allow "during drag" redraw of ALL selected brushes. This can be very slow if you are trying to
- ; move all brushes!
- ; Otherwise, set to something like 10 or so, to see the dragging, but ignore brushes past 10.
- ;
- drag_brushes=10
- ;
- ; Number of milliseconds (i.e. 1000=1 second) to delay between potential hit brushes when you
- ; hold the left mouse down over a selected brush...
- ;
- select_delay=1250
- ;
- ; NEW for v. 0.61b
- ;
- ; Set the following to 0 to always use the gridsize for making rooms/extruding rooms, rather
- ; than querying user.
- ;
- query_wall_width=1
- ;
- ; NEW for v. 0.62b
- ;
- ; The following settings alter the sensitivity of the leak searcher. The leak searcher
- ; basically works like this: For each entity with multiple brushes, compare each brush
- ; against every other brush. If the bounding boxes for the brushes don't intersect, skip
- ; go to the next brush. If there is a possible intersection, then compare each face of
- ; the first brush with each face of the second. The comparison searches for faces that are
- ; nearly "adjacent". Adjacent planes on adjacent brushes will be opposite of each other.
- ; For example, planes are stored (one way) as a normal plus a distance from the origin along
- ; the normal.
- ; Plane 1: Normal: 1,0,0 Distance: 100.
- ; Plane 2: Normal: -1,0,0 Distance: -100.
- ; Both of these planes are 100 units out from the normal on the X axis.
- ; The first comparison is whether the distances are close enough:
- ;
- ; Delta=Absolute Value(Distance of Plane 1 PLUS Distance of Plane 2)
- ; If Delta > distance_epsilon then we skip this brush.
- ;
- ; Set the distance epsilon here:
- distance_epsilon=1.0
- ;
- ; If the distances are close enough, then the normals need to be compared. I have chosen
- ; to calculate an RMS value to gauge the difference. The difference is thus:
- ;
- ; Diff=Square Root(DX*DX + DY*DY + DZ*DZ) where DX, etc. is Normal1.x-Normal2.x, etc.
- ;
- ; Determining whether correction is necessary requires two considerations. First, are the
- ; faces already "true" adjacent planes (exact adjacency.) If so, then the Diff value will
- ; be less than a minimum epsilon. Set that epsilon value here:
- ;
- min_epsilon=0.00001
- ;
- ; Thus if (Diff < min_epsilon) skip correction steps.
- ;
- ; Finally, if the epsilon is sufficiently large, then probably no leak was intended or is
- ; clearly visible to the user. Set that maximum epsilon here.
- ;
- max_epsilon=0.20
- ;
- ; If all of these comparisons indicated that the planes are "nearly" adjacent, then correction
- ; is attempted by simply copying, in reverse order (so that they face each other, not the same
- ; direction), the plane definition points from the first face (first brush) into the second face
- ; (second brush) and recalculating the second brush.
- ;
- ; Thus, if you choose very large epsilons, then you're map could get hosed. YOU SHOULD SAVE
- ; BEFORE LEAK SEARCHING, ESPECIALLY IF YOU OPT TO "AUTOFIX" THE LEAKS.
- ;
- ; ////////////////////////
- ;
- ; The next three settings are the rgb values for the flat and texture preview outlines. The
- ; first setting is for all faces, the second is the outline color for faces of selected
- ; polygons, the third is for the current face of the selected brush.
- ;
- brush_outline=255 255 255
- select_outline=255 0 0
- face_outline=255 255 0
- ;
- ; NEW for v. 0.65b
- ;
- ; Determines whether to show list of favorites/frequents in texture browser...
- ;
- show_favorites=1
- show_frequent=1
- ;
- ; Determines number of each to show...
- ;
- numfav=10
- numfrq=10
- ;
- ; Determines size of each texture
- ;
- height_fav=32
- height_frq=32
- ;
- ; NEW for v. 0.66b
- ; enabled the following settings:
- ;
- ; The next setting is the default font for the BSP buttons, edit boxes...
- ;
- bsp_font=Arial
- ;
- ; The next setting is the default font size for BSP.
- ;
- bsp_font_size=11
- ;
- ; NEW for v. 0.67b
- ;
- ; Sets the start scale percentage
- ; Must be >=1
- ;
- start_scale=0.750000
- ;
- ;
- box_size=12
- box_font_size=10
- show_dots=1
- num_dots=10
- ;
- ; NEW FOR 0.69b
- ;
- ; Show a control bar at the top listing the currently loaded maps. Set to 1 to
- ; show bar at the top and 2 for the bottom.
- ;
- show_tabs=2
- ;
- ; In the 2d views, whether the cameras are shown by default
- ;
- show_cameras=1
- ;
- ; Texture browser edit field witdh and button height/width
- tex_field_width=60
- tex_button_height=14
- tex_label_width=120
- ;
- ; NEW for v. 0.70b
- ;
- ; Rendering sizes for camera texture and flat shaded modes;
- camera_w=320
- camera_h=200
- ;
- ; Camera default rendering mode:
- ; modes are 0=wire, 1 = flat, and 2 = texture
- ; (this is the default setting, you can change on the fly)
- ;
- camera_mode=0
- ;
- ; Similar default mode for the 3D window: (see camera_mode above for values)
- ;
- drawmode=0
- ;
- ; Whether the min and max x y and z extents are shown in the selected brush view (default value)
- ;
- camera_minmax=1
- ;
- ; Number of steps per full turn in SBV. E.g. 18 steps=360/18 = 20 degrees per step.
- ;
- camera_steps=36
- ;
- ; NEW FOR 0.71b
- ;
- ; Entity browser sizing
- ;
- entity_button_size=13
- ;
- ; Unused
- entity_field_size=150
- ;
- ; Size of font for entity window
- ;
- entity_font_size=11
- ;
- ; Total width of window
- ;
- entity_window_width=225
- ;
- ; Height of comment and keypair view lists
- ;
- entity_comment_size=60
- entity_keypair_size=60
- ;
- ; Group window metrics
- ;
- group_button_height=13
- group_button_width=100
- group_field_size=120
- group_font_size=9
- group_list_size=150
- ;
- ; Set to 0 to hide the texture names in the texture browser by default...
- ;
- show_tex_names=1
- ;
- ; NEW FOR 0.73b
- ;
- ;
- ; Set to 0 to deselect all stuff upon changing current entity
- ; Leave at 1 to allow selecting multiple entities.
- ;
- multi_select=1
- ;
- ;
- ; NEW FOR 0.74b
- ;
- ; Set to 1 to use dots on grid as default:
- grid_style=0
- ;
- ; Set to 1 to use "alternate" texture alignment for 45 degree faces (if Quake textures don't match BSP textures).
- ; qbsp256.exe users use value 1
- ; new qbsp, hipnotic users use value 0
- texture_alignment=0
- ;
- ; Intensity level of light (0 to 63) [how many levels of intensity? brightest x are used...]
- lightintensity=40
- ; Ambient light level (0 to 63) [sets the minimum]
- ambientintensity=24
- ; flags for whether to use this shading stuff:
- shadeflats=1
- shadetextures=1
- ; if it's an entity box, or you choose not to shade flats, then the next
- ; setting determines the intensity [0 to 63]
- flatlevel=0
- ;
- ; NEW FOR 0.75b
- ;
- ; Set to 1 to go back to the "old way" where the 3d and xy views were synchronized.
- ;
- lock_cameras=1
- ;
- ; NOT IN USE: Number of xy windows to show...
- ; Changing this won't do anything yet...
- ;
- num_xy_views=3
- ;
- texture_list_width=120
- ;
- ; NEW for v. 0.76
- ;
- ; Set to 1 to prevent textures whose width and height are smaller than the
- ; current texture browser thumbnail size from being stretched.
- ;
- nosmallstretch=1
- ;
- ; Animate animated textures?
- animate=1
- ;
- ;
- ; Delay between animations in milliseconds:
- timerdelay=200
- ;
- ; Set to 1 to permit redrawing in 3d view while dragging/rotating/scaling texture
- showtexturedrag=1
- ;
- ; For texture browser, toggle to "small" view goes to these width and height settings
- t_small_h=24
- t_small_w=24
- ;
- ; For allowing smooth scrolling of the texture window. Min is 1 max is texture height
- ; NOT ENABLED YET
- granularity=10
- ;
- ; Set to 0 to disable sky animation...
- t_animatesky=1
- ; Number of row/cols to cycle per redraw of sky textures...
- ; min is 1
- ;
- t_skyspeed=6
- ;
- ; Set to 1 to have group window listbox resize to fit in group window...
- group_resize=1
- ;
- ; NEW FOR 0.78
- ;
- ; For wireframe view, use brush "color" or default for unselected brushes
- ; set to 0 to use default...
- color_wire=1
- ;
- ; Backface cull in wire frame mode in 3D window?
- cull_wire=0
- ;
- ; Use group colors for 3d wire frame view?
- ; glBSP only!
- color_wire_use_group=0
- ;
- ; Thickness of selected brush outline (at least 1).
- selection_thickness=1
- ;
- ; NEW FOR 0.82
- ;
- ; Set to 1 to automatically recalculate frequents when loading/switching
- ; to a map
- autocalc_frequents=1
- ;
- ; Help window font size
- help_font_size=10
- help_font=Arial
- ;
- ;
- ; BSP v. 0.83b.
- ;
- ; Stuff for handling undo, which is still unstable!
- ;
- ; Set to 1 to disable UNDO. If you have a lot of crashes, try this out.
- noundo=0
- ;
- ; Number of selected brushes to manipulate before a "whole" copy of the map
- ; is made rather than just the selected brushes.
- undothreshold=100
- ;
- ; If set to 1, if there are more than the threshold number of brushes then
- ; there will be no undo available.
- nothresholdundo=0
- ;
- ; Default scale step increment for texture window.
- ; valid range is 0.0001 to 1.0
- ;
- scalestep=0.1
- ;
- ; Force use of quake.pal file, ignoring any palette lumps in the
- ; .wad files
- forcequakepal=0
- ;
- ; No face lighting (set to 0 if you get the ugly "white" texture fuzz in the 3d view)
- facelighting=0
- ;
- ; MODEL STUFF
- ;
- ; Set to 1 to totally disable models...
- ;
- no_models=0
- ;
- ; Set to 1 to use the model, 0 is just the entity "box" like old way.
- ;
- draw_models=1
- ;
- ; If drawing models, set to 0 to wire frame them, 1 is texture mapped.
- texture_models=1
- ;
- ; If drawing models, animate them?
- ;
- animate_models=1
- ;
- ; Use wire frame for entity "boxes" in flat/textured preview?
- wireents=1
- ;
- ; New for 0.84 b
- ;
- ; Set to 0 to always prompt
- ; 1=always ignore height
- ; 2=never ignore region height
- ;
- region_ignore=1
- ;
- ; Default Mode for movement with keyboard
- ;
- run_mode=0
- ;
- ; When "splitting brushes"
- ; Set to 0 to prompt
- ; 1=always leave all selected.
- ; 2=always leave original selected...
- ;
- noquerysplits=0
- ;
- ; NEW for 0.85b
- ;
- ; For multi face dragging (see bspmouse.ini for adding this command to
- ; your mouse settings).
- ;
- ; For either multi face drag, the "parallelness" of the faces determined by
- ; calculating the rms difference between the normals. The magnitude of this
- ; difference ranges from 0 to sqrt(3 * (2 ^ 2)) or about 3.5
- ; So... 0.25 is pretty close...
- ; min is 0.0001 and max is 3.5
- ;
- multi_face_normal_eps=0.25
- ;
- ; For strict multi face dragging (I.e., they can't be stacked and parallel, but
- ; must also be close in distance, this allows a bit of a "fudge factor" for the
- ; distance values...
- ; Bigger numbers are, obviously, more lenient.
- ; Only relevant for "MULTIFACEDRAGSTRICT" setting in bspmouse.ini
- ; min is 0.0001 and max is ... whatever...
- multi_face_distance_eps=2.0
- ;
- ; For .wad export, selected texture color text background & marking color...
- selected_texture=128 128 128
- ;
- ; Set to 0 to cache all textures (slow setup, fast execution, memory hog...)
- ; Set to 1 to do page by page, no thumbtracking
- ; Set to 2 " , with thumbtracking of slider...
- faster_textures=2
- ;
- ; NEW for 0.86b
- ;
- ; Set to 0 for no "save for undo" operations before clipping.
- ; Speeds up use at the expense of no undo operations.
- ;
- UndoClipper=1
- ;
- ; Merge Command Settings
- ;
- ; Face gap is the max. difference in plane distance values for "facing planes"
- ;
- max_face_gap=0.5
- ; Facing planes are determines by comparing any 2 plane normals for planes that
- ; are close enough. The normals are evaluated using root-mean-squared differential
- ; The max_normal_delta is the max value of this differential before the faces are
- ; considered unmergeable.
- ;
- max_normal_delta=0.01
- ;
- ; If the faces are close enough and face essentially opposite directions to each
- ; other, then BSP searches to see if the vertices "match" up. The max_point_distance
- ; is the biggest point "gap" permitted before the faces are not considered mergeable
- ; E.g. a triangular face might be adjacent to a rectangular face, but the points
- ; will not match up.
- ;
- max_point_distance=0.05
- ;
- ; Finally, in order to merge, the two brushes must not get carved up by the merge
- ; operation, i.e., they must remain convex. The on_plane_epsilon allows for a
- ; bit of overlap/clipping at the edges in order to accomodate the merging for
- ; "slightly" concave scenarios.
- ;
- on_plane_epsilon=0.1
- ;
- ; For interruption of Renderer to perform other operations;
- ; Striking a key cancels the redraw and causes the partial
- ; scene to be output with a Message stating the # of brushes
- ; rendered ("Paused [148]");
- ;
- ; Set to 0 to disable interruption
- allow_interruption=1
- ;
- ; When a scene render is interrupted, when the application is idle again for
- ; the interrupt_idle amount of time, then redraw is attempted again if
- ; finish_after_interrupt is set.
- ;
- finish_after_interrupt=1
- ;
- ; Number of milliseconds to wait before trying to redraw (finish)
- ; after interruption. min 0 max 10000 (10 seconds).
- interrupt_idle=500
- ;
- ; New UI Stuff
- ;
- ; For selecting brushes, show center knobs... in various windows...
- ;
- center_knobs_xy=1
- ;
- ; Set to 1 to use an "X" rather than a rectangle...
- ;
- center_knobs_use_x=1
- ;
- ; Center Knob scale factor
- ; 100=100% (normal)
- ;
- center_knobs_scale=100
- ;
- ; 3D KNOBS ARE NOT USED (YET AT LEAST)
- center_knobs_3d=1
- ;
- ;
- ; For the various windows, the caption sizes are as follows:
- ; caption_percent is the percent of the "original" caption height to
- ; use for the small caption.
- caption_percent=60
- ; The font size if the font size to use for the new caption...
- caption_font_size=9
- ;
- caption_font=Small Fonts
- ;
- ; Disable Rotation Texture Locking?
- ;
- ; Because it is not "exact", you may want to disable texture lock "attempts"
- ; during rotation. Of course, translation still works fine.
- ;
- disable_rotation_texlock=0
- ;
- ; Show "clipped off" portions of brushes. Slower, but useful
- clipper_show_outline=1
- ;
- ;
- ; Show crosshair at 0,0,0
- zero_crosshair=1
- ;
- ; Show "Grid" lines that are outside of region?
- ;
- region_clip_grid=1
- ;
- ; When manipulating brushes/edges in the 3d view, show a wire frame
- ; outline of the original selected brushes?
- ghosts_3d=1
- ;
- ; Same for the xy windows...
- ;
- ghosts_xy=1
- ;
- ; Set to 0 to disable synchronization of the xy window to 3d window
- ; operations. Will increase speed, but won't be as cool.
- track3dinxy=1
- ;
- ; Same but toggles whether to show xy movements in the 3d window during
- ; mouse operations.
- ;
- trackxyin3d=1
- ;
- ; When manipulating in 3d view, should only the current xy be updated,
- ; or should all be updated. 1=current, 0 = all.
- track3dincurrentxy=1
- ;
- ;
- ; Use grid for dragging edges in xy view or axially aligned edges in
- ; 3d view.
- ; Set to 2 to force use of grid for _all_ edges in 3d view. Be careful,
- ; as this can reconfigure the brush upon initial click...
- edge_use_grid=1
- ;
- ; Set to 0 to turn off clip point "animation"
- animate_clip_points=1
- ;
- ; New for 0.87b
- ;
- ;
- ; For texture window, the shift and rotation step values...
- ; shift 0.0001 to 128.0
- ; rotate 0.0001 to 90.0 (degrees)
- shiftstep=1.0
- rotatestep=1.0
- ;
- ; Back in in 0.92 (I deleted these by accident):
- ; Show brush outlines in 3d view?
- ;
- outline=1
- ;
- ; texture drop down list size of thumbnails
- texlist_size=32
- ;
- ; NEW FOR 0.93b
- ;
- ; for glBSP: Set to 1 to use mipmapping (I think).
- use_mipmaps=1
-
- ; /////////////////////////////////////////////////////
- ; /////////////////////////////////////////////////////
- ;
- [BSPBars]
- bar0=1 40 0 72 782
- bar1=1 72 0 104 798
- [BSPColors]
- ;
- ; All color settings will go under this subheading
- ;
- ;
- ; Default colors
- ;
- fgcolor=255 255 255
- bgcolor=0 0 0
- ;
- ; Default grid colors and grid label color
- ;
- majorgrid=0 127 255
- minorgrid=127 127 127
- color_gridlabel=255 255 0
- ;
- ; Color for current clip point, other clip points and border drawn around clip points.
- ;
- color_currentclipface=255 255 0
- color_otherclipface=0 255 255
- color_clipborder=255 0 0
- ;
- ; Color for entity connection line
- ;
- color_connection=128 0 128
- ;
- ; Color for selected brushes, brushes on world entity when another entity is selected,
- ; and current face color of selected brush
- ;
- color_selection=255 0 0
- color_otherbrush=127 127 127
- color_curfacecolor=255 255 0
- ;
- ; Color for hit points indicators and for hit brushes
- ;
- color_hitcolor=0 127 255
- ;
- ; Color for eye square in 2D views
- ;
- color_eyemarker=0 255 255
- ;
- ; Colors for active and other cameras
- ;
- color_activecamera=255 128 0
- color_othercamera=128 128 128
- ;
- ; Color for frame around selected textures
- ;
- color_textureselection=0 255 255
- ;
- lock_color=0 0 255
- ;
- ; New for 0.85b
- ;
- ; 3d Window background color.
- ; Not in wire frame mode, though...
- color_3dbackground=128 128 128
-
-