I have a tracer that I want to animate, the config looks like this
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">class cfgSkeletons
{
class Default;
class brh_tracerTrail_skeleton : Default
{
isDiscrete=1;
skeletonInherit="";
skeletonBones[]={"trail","" ;};
};
};
class cfgModels
{
class Default
{
sections[] = {};
sectionsInherit = "";
};
class brh_redTracerTrail : Default
{
sectionsInherit="";
sections[]={"trail"};
skeletonName="brh_tracerTrail_skeleton";
class Animations
{
class trail
{
type="translation";
source="user";
selection="trail";
axis="trail_axis";
begin="trail_begin";
end="trail_end";
animPeriod=0.0125;
memory=1;
minValue=0;
maxValue=1;
offset0=0;
offset1=1;
};
};
};
};
class CfgVehicles
{
class brh_redTracer : Thing
{
model = "\brh_tracers\brh_redTracer.p3d" ;;
icon = "\ca\data\data\Unknown_object. paa";
displayName = "";
scope = 1;
simulation = "thing";
nameSound = "";
transportFuel = 0;
mapSize = 0.2;
accuracy = 0;
cost = 0;
armor = 50000;
class DestructionEffects {};
class AnimationSources
{
class trail
{
type="translation";
source="user";
selection="trail";
axis="trail_axis";
begin="trail_begin";
end="trail_end";
animPeriod=0.0125;
memory=1;
minValue=0;
maxValue=1;
offset0=0;
offset1=1;
};
};
};
};[/QUOTE]
I keep trying all evening now and simply cant make it working.![]()
The model seems to be fine, Im using
<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">tracer animate ["trail",1][/QUOTE]
but nothing happens. Is the config alright?
HOME
Reply With Quote

