dont select generated bricks; ctrl+select generated bricks selects parent; remove copy
This commit is contained in:
@ -8,9 +8,9 @@ function ndRegisterKeybinds() {
|
||||
|
||||
$RemapDivision[$RemapCount] = "New Duplicator";
|
||||
|
||||
$RemapName[$RemapCount] = "Copy Selection (Ctrl C)";
|
||||
$RemapCmd[$RemapCount] = "ndInputCopy";
|
||||
$RemapCount++;
|
||||
//$RemapName[$RemapCount] = "Copy Selection (Ctrl C)";
|
||||
//$RemapCmd[$RemapCount] = "ndInputCopy";
|
||||
//$RemapCount++;
|
||||
//$RemapName[$RemapCount] = "Paste Selection (Ctrl V)";
|
||||
//$RemapCmd[$RemapCount] = "ndInputPaste";
|
||||
//$RemapCount++;
|
||||
@ -104,7 +104,7 @@ function clientCmdNdEnableKeybinds(%bool)
|
||||
|
||||
//Input handlers
|
||||
function ndInputNewDuplicator (%bool) {if(!%bool)return; commandToServer('newDuplicator' );}
|
||||
function ndInputCopy (%bool) {if(!%bool)return; commandToServer('ndCopy' );}
|
||||
//function ndInputCopy (%bool) {if(!%bool)return; commandToServer('ndCopy' );}
|
||||
//function ndInputPaste (%bool) {if(!%bool)return; commandToServer('ndPaste' );}
|
||||
function ndInputCut (%bool) {if(!%bool)return; commandToServer('ndCut' );}
|
||||
function ndInputFillWrench (%bool) {if(!%bool)return; commandToServer('fillWrench' );}
|
||||
|
@ -269,10 +269,13 @@ package NewDuplicator_Server_Final
|
||||
//Planting the ghost brick (default: numpad enter)
|
||||
function serverCmdPlantBrick(%client)
|
||||
{
|
||||
if(%client.ndModeIndex)
|
||||
if(%client.ndModeIndex) {
|
||||
%client.ndMode.onPlantBrick(%client);
|
||||
else
|
||||
if(isObject(%client.player))
|
||||
%client.player.playThread(3, plant);
|
||||
} else {
|
||||
parent::serverCmdPlantBrick(%client);
|
||||
}
|
||||
}
|
||||
|
||||
//Removing the ghost brick (default: numpad 0)
|
||||
@ -291,11 +294,11 @@ package NewDuplicator_Server_Final
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//Copy selection (ctrl c)
|
||||
function serverCmdNdCopy(%client)
|
||||
{
|
||||
if(%client.ndModeIndex)
|
||||
%client.ndMode.onCopy(%client);
|
||||
}
|
||||
//function serverCmdNdCopy(%client)
|
||||
//{
|
||||
// if(%client.ndModeIndex)
|
||||
// %client.ndMode.onCopy(%client);
|
||||
//}
|
||||
|
||||
//Paste selection (ctrl v)
|
||||
//function serverCmdNdPaste(%client)
|
||||
|
@ -19,10 +19,10 @@ function NewDuplicatorMode::onRotateBrick(%this, %client, %direction){}
|
||||
function NewDuplicatorMode::onPlantBrick(%this, %client){}
|
||||
function NewDuplicatorMode::onCancelBrick(%this, %client){}
|
||||
|
||||
function NewDuplicatorMode::onCopy(%this, %client)
|
||||
{
|
||||
ndmessageClient(%client, '', "\c6Copy can not be used in your current duplicator mode.");
|
||||
}
|
||||
//function NewDuplicatorMode::onCopy(%this, %client)
|
||||
//{
|
||||
// ndmessageClient(%client, '', "\c6Copy can not be used in your current duplicator mode.");
|
||||
//}
|
||||
|
||||
//function NewDuplicatorMode::onPaste(%this, %client)
|
||||
//{
|
||||
|
Reference in New Issue
Block a user