reuse icons and blbs to remove some content
This commit is contained in:
@@ -2,10 +2,10 @@
|
||||
|
||||
datablock fxDtsBrickData(LogicGate_ClientIOBrick_Data){
|
||||
brickFile = $LuaLogic::Path @ "bricks/blb/serialport.blb";
|
||||
iconName = $LuaLogic::Path @ "icons/serialport";
|
||||
iconName = $LuaLogic::Path @ "bricks/icons/serialport";
|
||||
|
||||
category = "Logic Bricks";
|
||||
subCategory = "Special I/O";
|
||||
subCategory = "Inputs";
|
||||
uiName = "Client I/O Brick";
|
||||
logicUIName = "Client I/O Brick";
|
||||
logicUIDesc = "Allows clients to connect and share data with logic bricks.";
|
||||
@@ -179,6 +179,8 @@ function fxDtsBrick::LogicIO_bindClient(%brick, %client) {
|
||||
%brick.LogicIO_unbindClient();
|
||||
%client.LogicIO_unbind();
|
||||
|
||||
if(!isObject(%client.player)) return;
|
||||
|
||||
%client.LogicIO_Brick = %brick;
|
||||
%brick.LogicIO_Client = %client;
|
||||
messageClient(%client, 0, "\c6Logic I/O: Bound to \c3" @ %brick);
|
||||
@@ -205,13 +207,13 @@ function LogicIO_rotateVector(%vector, %steps) {
|
||||
|
||||
datablock AudioProfile(LogicIO_PlugInSound) {
|
||||
filename = "./plugIn.wav";
|
||||
description = MediumClose3D;
|
||||
description = AudioClose3D;
|
||||
preload = true;
|
||||
};
|
||||
|
||||
datablock AudioProfile(LogicIO_PlugOutSound) {
|
||||
filename = "./plugOut.wav";
|
||||
description = MediumClose3D;
|
||||
description = AudioClose3D;
|
||||
preload = true;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user