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";
};
I got this error line say:
Error: cannot change namespace parent linkage for Item from ShapeBase to ItemData.