new functions copyent and pasteent

git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@6157 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
aerkefiende
2011-03-29 18:02:03 +00:00
parent 295c06a681
commit b85f1b8529
2 changed files with 23 additions and 1 deletions
+3 -1
View File
@@ -568,6 +568,7 @@ docident [closestenttype] [Restrict 'closest entity' display to one entity type.
docargument [A] [entity type] [] [0];
docident [copy] [Copies the current selection into a buffer.];
docremark [hotkey c];
docident [copyent] [Copies the current closest entity into a buffer.];
docident [corner] [Makes the current selection into a "corner".];
docremark [Currently there is only one type of corner (a 45 degree one), only works on a single unit (cube) at a time. It can be positioned either next to 2 solid walls or in the middle of 2 higher floorlevels and 2 lower ones forming a diagonal (and similar with ceiling).];
docremark [In both cases, the corner will orient itself automatically depending on its neighbours, behaviour with other configurations than the 2 above is unspecified. Since the latter configuration generates possibly 2 floor and 2 ceiling levels, up to 4 textures are used: for example for the 2 floors the higher one will of the cube itself, and the lower one of a neighbouring low cube. You can make bigger corners at once by issuing "corner" on grid aligned 2x2/4x4/8x8 selections, with equal size solid blocks next to them.];
@@ -712,6 +713,7 @@ docargument [TYPE] [0|1|100] [] [0];
docident [paste] [Pastes a previously copied selection.];
docremark [To paste a selection back requires a same size selection at the destination location. If it is not the same size the selection will be resized automatically prior to the paste operation (with the red dot as anchor), which is easier for large selections.];
docremark [hotkey v];
docident [pasteent] [Pastes a previously copied entity.];
docident [perlin] [Generates a perlin noise landscape in the current selection.];
docargument [S] [the scale, frequency of the features] [default is 10] [0];
docargument [E] [the random seed] [integer] [0];
@@ -1545,4 +1547,4 @@ docargument [N] [TODO] [min -1/max 3/default 0];
docident [texturescale] [TODO];
docargument [N] [TODO] [min 16/max 64/default 32];
docident [voicecomsounds] [TODO];
docargument [N] [TODO] [min 0/max 2/default 1];
docargument [N] [TODO] [min 0/max 2/default 1];
+20
View File
@@ -2402,6 +2402,16 @@ Output:
</remarks>
</command>
<command name="copyent">
<description>Copies the current closest entity into a buffer.</description>
<remarks>
<remark>Only works while in edit mode.</remark>
</remarks>
<references>
<identifierReference name="pasteent" identifier="pasteent" />
</references>
</command>
<command name="paste">
<description>Pastes a previously copied selection.</description>
<remarks>
@@ -2414,6 +2424,16 @@ Output:
</remarks>
</command>
<command name="pasteent">
<description>Pastes a previously copied entity.</description>
<remarks>
<remark>Only works while in edit mode.</remark>
</remarks>
<references>
<identifierReference name="copyent" identifier="copyent" />
</references>
</command>
<command name="replace">
<description>Repeats the last texture edit throughout the map.</description>
<remarks>