UltimateZoneBuilder/Source/Resources/Actions.cfg
codeimp b45ae2b905 - removed the million parameters that create an action and let the action read them from configuration itsself
- added optional default key setting to actions
- updated default keys in default user configuration
2008-10-09 05:49:46 +00:00

451 lines
10 KiB
INI

/******************************************\
Doom Builder Actions Configuration
\******************************************/
// Categories for the Controls preferences
categories
{
file = "File";
edit = "Edit";
modes = "Modes";
tools = "Tools";
classic = "Classic Modes";
visual = "Visual Modes";
}
// This just defines which actions there are, what description they have and
// some behaviour options. The Doom Builder core will bind to these actions
// with delegates (function pointers) where you use the BeginAction and
// EndAction attributes.
// Options:
//
// allowkeys: Allows the user to bind standard keys to this action.
// allowmouse: Allows the user to bind mouse buttons to this action.
// allowscroll: Allows the user to bind the scrollwheel to this action.
// disregardshift: This action will trigger regardless if Shift or Control is used.
// repeat: BeginAction will be called for automatic key repetition.
// default: Default key is only used when the action is loaded for the first
// time and the default key is not used by any other action.
//
// allowkeys and allowmouse are true by default, the others are false by default.
//
testaction
{
title = "Developer Test";
category = "tools";
description = "Does whatever the developer wants to test.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
newmap
{
title = "New Map";
category = "file";
description = "Starts with a new, empty workspace to begin drawing a map from scratch.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
openmap
{
title = "Open Map";
category = "file";
description = "Opens an existing map from WAD file for viewing or modifying.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
closemap
{
title = "Close Map";
category = "file";
description = "Closes the current map and the WAD file in which it exists.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
savemap
{
title = "Save Map";
category = "file";
description = "Saves the current map to the opened source WAD file.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
savemapas
{
title = "Save Map As";
category = "file";
description = "Saves the current map and all resources from the source WAD file to a new WAD file.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
savemapinto
{
title = "Save Map Into";
category = "file";
description = "Saves the current map without any other resources into an existing or new WAD file.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
mapoptions
{
title = "Map Options";
category = "edit";
description = "Shows the Map Options dialog which allows changing the map lump name, game configuration and custom resources.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
configuration
{
title = "Game Configurations";
category = "tools";
description = "Shows the Game Configurations dialog which allows you to configure settings such as nodebuilder, testing program and resources.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
preferences
{
title = "Preferences";
category = "tools";
description = "Shows this Preferences dialog.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
reloadresources
{
title = "Reload Resources";
category = "tools";
description = "Reloads all data resources such as game configuration, textures and flats. Useful when resource files have been changed outside of Doom Builder.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
cancelmode
{
title = "Cancel Action";
category = "classic";
description = "Cancels the current action and switches back to normal editing mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
acceptmode
{
title = "Accept Action";
category = "classic";
description = "Accepts the changes in the current action and switches back to normal editing mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
classicselect
{
title = "Select";
category = "classic";
description = "Selects the highlighted item. Also allows selection by drawing a rectangle.";
allowkeys = true;
allowmouse = true;
allowscroll = false;
disregardshift = true;
}
classicedit
{
title = "Edit";
category = "classic";
description = "Edits the properties of the selected items or drags the selected items. Also initiates drawing or inserts new things when no selection is made.";
allowkeys = true;
allowmouse = true;
allowscroll = false;
disregardshift = true;
}
scrollwest
{
title = "Scroll West";
category = "classic";
description = "Scrolls the 2D map view to the left.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
repeat = true;
}
scrolleast
{
title = "Scroll East";
category = "classic";
description = "Scrolls the 2D map view to the right.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
repeat = true;
}
scrollnorth
{
title = "Scroll North";
category = "classic";
description = "Scrolls the 2D map view up.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
repeat = true;
}
scrollsouth
{
title = "Scroll South";
category = "classic";
description = "Scrolls the 2D map view down.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
repeat = true;
}
zoomin
{
title = "Zoom In";
category = "classic";
description = "Zooms in on the map at the current mouse location.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
repeat = true;
}
zoomout
{
title = "Zoom Out";
category = "classic";
description = "Zooms out on the map from the current mouse location.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
repeat = true;
}
centerinscreen
{
title = "Fit To Screen";
category = "classic";
description = "Zooms out the map and centers it to make it completely fit in the screen, giving a high overview of the map.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
insertitem
{
title = "Insert Item";
category = "classic";
description = "Creates a new vertex or thing at the current mouse position.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
deleteitem
{
title = "Delete Item";
category = "classic";
description = "Deletes the highlighted or selected items.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
gridsetup
{
title = "Grid Setup";
category = "edit";
description = "Shows the Custom Grid Setup dialog which allows you to set custom grid sizes and a background image.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
griddec
{
title = "Grid Decrease";
category = "edit";
description = "Decreases the grid density.";
unbind = 1;
mousebuttons = 0;
mousescroll = 1;
}
gridinc
{
title = "Grid Increase";
category = "edit";
description = "Increases the grid density.";
unbind = 1;
mousebuttons = 0;
mousescroll = 1;
}
undo
{
title = "Undo";
category = "edit";
description = "Restores the current map as it was before last action(s) performed.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
redo
{
title = "Redo";
category = "edit";
description = "Repeats the action(s) performed before Undo was used.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
togglesnap
{
title = "Snap to Grid";
category = "edit";
description = "Toggles snapping to the grid for things and vertices that are being dragged.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
toggleautomerge
{
title = "Merge Geometry";
category = "edit";
description = "Toggles automatic merging of geometry for vertices and structures that are being dragged.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
clearselection
{
title = "Clear Selection";
category = "edit";
description = "Deselects all selected elements.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
moveforward
{
title = "Move Forward";
category = "visual";
description = "Moves the camera forward in 3D Visual Mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
movebackward
{
title = "Move Backward";
category = "visual";
description = "Moves the camera backward in 3D Visual Mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
moveleft
{
title = "Move Left (strafe)";
category = "visual";
description = "Strafes the camera left in 3D Visual Mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
moveright
{
title = "Move Right (strafe)";
category = "visual";
description = "Strafes the camera right in 3D Visual Mode.";
allowkeys = true;
allowmouse = true;
allowscroll = true;
}
testmap
{
title = "Test Map";
category = "file";
description = "Starts the game and loads this map for playing.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
thingsfilterssetup
{
title = "Setup Things Filters";
category = "tools";
description = "Shows the Things Filters setup dialog which allows you to add, remove and change the things filters.";
allowkeys = true;
allowmouse = false;
allowscroll = false;
}
copyselection
{
title = "Copy Selection";
category = "edit";
description = "Copies the current selection to the clipboard.";
allowkeys = true;
allowmouse = true;
allowscroll = false;
}
cutselection
{
title = "Cut Selection";
category = "edit";
description = "Copies the current selection to the clipboard and removes it from the map.";
allowkeys = true;
allowmouse = true;
allowscroll = false;
}
pasteselection
{
title = "Paste Selection";
category = "edit";
description = "Pastes the current contents of the clipboard into the map as a new selection.";
allowkeys = true;
allowmouse = true;
allowscroll = false;
}