286
Suggestions & Requests / air/blast horn.
« on: May 11, 2012, 04:36:09 PM »Someone can make this?
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
direct load saves/Slopes/submarine TDM.bls
LOADING BRICKS: saves/Slopes/submarine TDM.bls (ColorMethod 3)
WARNING: loadBricks() - DataBlock not found for brick named "8x Wedge"
WARNING: loadBricks() - DataBlock not found for brick named "4x Wedge"
WARNING: loadBricks() - DataBlock not found for brick named "4x CornerB"
WARNING: loadBricks() - DataBlock not found for brick named "4x CornerA"I use [GSF]Ghost's Modular Terrain-Basic Pack. when I update at RTB. After that, I lost some bricks of 4x. I ask someone has old add-ons of Modular Terrain-Basic Pack. jes00 pm'ed to me and give me the link download. Now wrost I lost some more bricks of 8x Wedge. I checked in zip folder, they are everything in there whole of packages 64x to 4x bricks. I not understand why it keep say missing DataBlocks. I check the script look good match lines of model dts and blb. Anybody going explain to me about DataBlock not found for brick named. Other way I can re-write script unless someone explain to me. This drove me nuts all day, seem I can't live without these very good useful bricks. I love them so much.

datablock ItemData(CandleStickItem)
{
category = "Item";
className = "Item";
image = CandleStickImage;
canDrop = false;
};
datablock ParticleData(CandleStickParticle)
{
textureName = "base/data/particles/cloud";
dragCoefficient = 1.0;
gravityCoefficient = -7.0;
inheritedVelFactor = 0.0;
windCoefficient = 0.0;
constantAcceleration = 0.0;
lifetimeMS = 200;
lifetimeVarianceMS = 0;
spinSpeed = 0;
spinRandomMin = -90.0;
spinRandomMax = 90.0;
useInvAlpha = false;
colors[0] = "0.0 0.0 0.0 0.0";
colors[1] = "1 1 0.3 0.0";
colors[2] = "1 1 0.3 1.0";
colors[3] = "0.6 0.0 0.0 0.0";
sizes[0] = 0.0;
sizes[1] = 0.0;
sizes[2] = 0.09;
sizes[3] = 0.01;
times[0] = 0.0;
times[1] = 0.5;
times[2] = 0.51;
times[3] = 0.7;
};
datablock ParticleEmitterData(CandleStickEmitter)
{
ejectionPeriodMS = 1;
periodVarianceMS = 0;
ejectionVelocity = 0.0;
ejectionOffset = 0.0;
velocityVariance = 0.0;
thetaMin = 0;
thetaMax = 180;
phiReferenceVel = 0;
phiVariance = 360;
overrideAdvance = false;
//lifetimeMS = 5000;
particles = CandleStickParticle;
};
datablock ShapeBaseImageData(CandleStickImage)
{
shapeFile = "./CandleStick.dts";
emap = true;
mountPoint = 1;
stateEmitter[1] = "CandleStickEmitter";
stateEmitterNode[1] = "muzzlePoint";
stateEmitterTime[1] = "0.15";
stateName[1] = "Ready";
className = "ItemImage";
item = BowItem;
melee = false;
armReady = "1";
LightOn = true;
radius = 5;
brightness = 5;
color = "0.8 0.7 0.4 1";
FlareOn = false;
// FlareTP = true;
// Flarebitmap = "base/lighting/corona";
// FlareColor = "1 1 1";
// ConstantSizeOn = false;
// ConstantSize = 1;
// NearSize = 3;
// FarSize = 0.5;
// NearDistance = 10.0;
// FarDistance = 30.0;
// FadeTime = 0.1;
// BlendMode = 0;
AnimColor = false;
AnimBrightness = true;
AnimOffsets = false;
AnimRotation = false;
LinkFlare = false;
LinkFlareSize = false;
MinColor = "1 1 0";
MaxColor = "0 0 1";
MinBrightness = 0.0;
MaxBrightness = 5.0;
MinRadius = 0.1;
MaxRadius = 10;
StartOffset = "-5 0 0";
EndOffset = "5 0 0";
MinRotation = 0;
MaxRotation = 359;
SingleColorKeys = false;
RedKeys = "AWTCFAH";
GreenKeys = "AWTCFAH";
BlueKeys = "AWTCFAH";
BrightnessKeys = "DEDEDFGF";
RadiusKeys = "AZAAAAA";
OffsetKeys = "AZAAAAA";
RotationKeys = "AZAAAAA";
ColorTime = 1.0;
BrightnessTime = 1.0;
RadiusTime = 1.0;
OffsetTime = 1.0;
RotationTime = 1.0;
LerpColor = false;
LerpBrightness = false;
LerpRadius = false;
LerpOffset = false;
LerpRotation = false;
//actionstuff
stateSequence[0] = "ready";
};



if (!$candlestick)
{
$remapDivision[$remapCount] = "candlestick";
$remapName[$remapCount] = "Action CandleStick";
$remapCmd[$remapCount] = "create button";
$remapCount++;
$candlestick = 1;
}
datablock ShapeBaseImageData(candlestickImage)
{
shapeFile = "./CandleStick.dts";
emap = true;
mountPoint = 1;
className = "ItemImage";
item = BowItem;
melee = false;
armReady = false;
LightOn = true;
radius = 5;
brightness = 5;
color = "0.8 0.7 0.4 1";
FlareOn = false;
// FlareTP = true;
// Flarebitmap = "base/lighting/corona";
// FlareColor = "1 1 1";
// ConstantSizeOn = false;
// ConstantSize = 1;
// NearSize = 3;
// FarSize = 0.5;
// NearDistance = 10.0;
// FarDistance = 30.0;
// FadeTime = 0.1;
// BlendMode = 0;
AnimColor = false;
AnimBrightness = true;
AnimOffsets = false;
AnimRotation = false;
LinkFlare = false;
LinkFlareSize = false;
MinColor = "1 1 0";
MaxColor = "0 0 1";
MinBrightness = 0.0;
MaxBrightness = 5.0;
MinRadius = 0.1;
MaxRadius = 10;
StartOffset = "-5 0 0";
EndOffset = "5 0 0";
MinRotation = 0;
MaxRotation = 359;
SingleColorKeys = false;
RedKeys = "AWTCFAH";
GreenKeys = "AWTCFAH";
BlueKeys = "AWTCFAH";
BrightnessKeys = "DEDEDFGF";
RadiusKeys = "AZAAAAA";
OffsetKeys = "AZAAAAA";
RotationKeys = "AZAAAAA";
ColorTime = 1.0;
BrightnessTime = 1.0;
RadiusTime = 1.0;
OffsetTime = 1.0;
RotationTime = 1.0;
LerpColor = false;
LerpBrightness = false;
LerpRadius = false;
LerpOffset = false;
LerpRotation = false;
textureName = "base/data/particles/cloud";
dragCoefficient = 1.0;
gravityCoefficient = -7.0;
inheritedVelFactor = 0.0;
windCoefficient = 0.0;
constantAcceleration = 0.0;
lifetimeMS = 200;
lifetimeVarianceMS = 0;
spinSpeed = 0;
spinRandomMin = -90.0;
spinRandomMax = 90.0;
useInvAlpha = false;
colors[0] = "0.0 0.0 0.0 0.0";
colors[1] = "1 1 0.3 0.0";
colors[2] = "1 1 0.3 1.0";
colors[3] = "0.6 0.0 0.0 0.0";
sizes[0] = 0.0;
sizes[1] = 0.0;
sizes[2] = 0.09;
sizes[3] = 0.01;
times[0] = 0.0;
times[1] = 0.5;
times[2] = 0.51;
times[3] = 0.7;
ejectionPeriodMS = 1;
periodVarianceMS = 0;
ejectionVelocity = 0.0;
ejectionOffset = 0.0;
velocityVariance = 0.0;
thetaMin = 0;
thetaMax = 180;
phiReferenceVel = 0;
phiVariance = 360;
overrideAdvance = false;
//lifetimeMS = 5000;
//actionstuff
stateSequence[0] = "ready";
};
package Item_Candle_Stick
{
function serverCmdLight(%client)
{
%player = %client.player;
if(%player.getMountedImage(1) == 0)
%player.mountImage(candlestickImage, 1);
else if(%player.getMountedImage(1) == candlestickImage.getID())
%player.unMountImage(1);
parent::serverCmdLight(%client);
}
activatePackage(Item_CandleStick);
Note: fire lite on the string top. I did name place at the string muzzlePoint. I use script light/Particle candle create by Kaje. and I put name mountPoint on the wax candle at bottom.
GameConnection::nextCamTarget
{
minJetEnergy = 0;
maxForwardSpeed = 0;
maxBackwardSpeed = 0;
maxLeftSpeed = 10;
maxrightSpeed = 10;
jetEnergyDrain = 0;
canJet = 0;
cameramaxdist = 20;
cameramindist = 0;
maxlookangle = 0;
cameratilt = 90;
maxlookangle = 0;
minlookangle = 0;
cameraMaxFov = 90;
thirdpersononly = 1;
%rot = "1 0 0 0";
showEnergyBar = false;
};I created it for 2D player type. 