예제 #1
0
void fxGetFallingStuffProps(CFastList<FX_PROP> *pList)
{
    FX_PROP fxProp;
    float fVec[3];
    fVec[0] = 0.0f;
    fVec[1] = 1.0f;
    fVec[2] = 0.0f;

    // Add the base props

    AddBaseProps(pList);

    // Add all the props to the list

    fxProp.Combo("Interpolate", "0,Yes,No");
    pList->AddTail(fxProp);

    fxProp.Path("Sprite", "spr|...");
    pList->AddTail(fxProp);

    fxProp.Int("StuffPerEmission", 5);
    pList->AddTail(fxProp);

    fxProp.Float("EmissionInterval", 0.01f);
    pList->AddTail(fxProp);

    fxProp.Float("StuffLifespan", 2.0f);
    pList->AddTail(fxProp);

    fxProp.Float("Radius", 10.0f);
    pList->AddTail(fxProp);

    fxProp.Vector("PlaneDir", fVec);
    pList->AddTail(fxProp);

    fxProp.Float("Velocity", 10.0f);
    pList->AddTail(fxProp);

    fxProp.Float("Stretch", 10.0f);
    pList->AddTail(fxProp);

    fxProp.Path("ImpactSprite", "spr|...");
    pList->AddTail(fxProp);

    fxProp.Float("ImpactLifespan", 1.0f);
    pList->AddTail(fxProp);

    fxProp.Float("ImpactScale1", 1.0f);
    pList->AddTail(fxProp);

    fxProp.Float("ImpactScale2", 1.0f);
    pList->AddTail(fxProp);

    fxProp.Int("ImpactCreate", 20);
    pList->AddTail(fxProp);

    fxProp.Combo("ImpactPerturb", "0,None,Sine,Pendulum");
    pList->AddTail(fxProp);
}
예제 #2
0
void fxGetLTBBouncyChunkProps(CFastList<FX_PROP> *pList)
{
	FX_PROP fxProp;

	float fVec[3];
	fVec[0] = 0.0f;
	fVec[1] = 1.0f;
	fVec[2] = 0.0f;

	// Add the base props

	AddBaseProps(pList);

	// Add all the props to the list

	fxProp.Path("Model", "ltb|...");
	pList->AddTail(fxProp);

	fxProp.Path("Skin", "dtx|...");
	pList->AddTail(fxProp);

	fxProp.Vector("ChunkDir", fVec);
	pList->AddTail(fxProp);

	fxProp.Float("ChunkSpeed", 40.0f);
	pList->AddTail(fxProp);

	fxProp.Float("ChunkSpread", 40.0f);
	pList->AddTail(fxProp);

	fVec[0] = 0.0f;
	fVec[1] = -1.0f;
	fVec[2] = 0.0f;

	fxProp.Vector("Gravity", fVec);
	pList->AddTail(fxProp);

	fxProp.Float("Amount", 10.0f);
	pList->AddTail(fxProp);

	fxProp.Path("ChunkSound", "wav|...");
	pList->AddTail(fxProp);
}
예제 #3
0
void fxGetPolyTubeProps(CFastList<FX_PROP> *pList)
{
	FX_PROP fxProp;
	
	// Add the base props

	AddBaseProps(pList);

	// Add the class props

	fxProp.Path("Texture", "dtx|...");
	pList->AddTail(fxProp);

	fxProp.Float("TrailWidth", 20.0f);
	pList->AddTail(fxProp);

	fxProp.Combo("WidthStyle", "0,Constant,SmallToBig,SmallToSmall,BigToSmall" );
	pList->AddTail( fxProp );
	
	fxProp.Int("TrailLen", 50);
	pList->AddTail(fxProp);

	fxProp.Float("SectionLifespan", 1.0f);
	pList->AddTail(fxProp);

	fxProp.Float("UAdd", 0.0f);
	pList->AddTail(fxProp);

	fxProp.Float("SectionInterval", 0.1f);
	pList->AddTail(fxProp);

	fxProp.Combo("BlendMode", "0,None,Add,Saturate,ModSrcAlpha,ModSrcColor,ModDstColor,MulSrcColDstCol,MulSrcAlphaOne,MulSrcAlpha,MulSrcColOne,MulDstColZero" );
	pList->AddTail( fxProp );

	fxProp.Combo( "AlphaTest", "0,None,Less,LessOrEqual,Greater,GreaterOrEqual,Equal,NotEqual" );
	pList->AddTail( fxProp );

	fxProp.Combo( "ColorOp", "0,NoTexture,Modulate,Additive,NoColor" );
	pList->AddTail( fxProp );

	fxProp.Combo( "FillMode", "1,WireFrame,Fill" );
	pList->AddTail( fxProp );

	fxProp.Combo( "Allignment", "0,Camera,Up,Right,Forward" );
	pList->AddTail( fxProp );
}
예제 #4
0
void fxGetPolyFanProps(CFastList<FX_PROP> *pList)
{
	FX_PROP fxProp;
	float vTmp[3];
	vTmp[0] = 0.0f;
	vTmp[1] = 0.0f;
	vTmp[2] = 1.0f;

	// Add the base props

	AddBaseProps(pList);

	// Add all the props to the list

	fxProp.Path("Texture", "dtx|...");
	pList->AddTail(fxProp);

	fxProp.Combo("2nd Node","0,LeftHand,RightHand,LeftFoot,RightFoot,Head,Tail,u1,u2,u3,u4,u5,u6,u7,u8,u9,u10");
	pList->AddTail(fxProp);	
}
예제 #5
0
void fxGetLightningProps(CFastList<FX_PROP> *pList)
{
	FX_PROP fxProp;
	
	// Add the base props

	AddBaseProps(pList);
	

	fxProp.Path("Texture", "dtx|...");
	pList->AddTail(fxProp);

	fxProp.Combo("BlendMode", "0,None,Add,Saturate,ModSrcAlpha,ModSrcColor,ModDstColor,MulSrcColDstCol,MulSrcAlphaOne,MulSrcAlpha,MulSrcColOne,MulDstColZero" );
	pList->AddTail( fxProp );

	fxProp.Combo( "AlphaTest", "0,None,Less,LessOrEqual,Greater,GreaterOrEqual,Equal,NotEqual" );
	pList->AddTail( fxProp );

	fxProp.Combo( "ColorOp", "0,NoTexture,Modulate,Additive,NoColor" );
	pList->AddTail( fxProp );

	fxProp.Combo( "FillMode", "1,WireFrame,Fill" );
	pList->AddTail( fxProp );

	fxProp.Combo( "Allignment", "0,Camera,Up,Right,Forward" );
	pList->AddTail( fxProp );

	fxProp.String( "NodeAttractors", "" );
	pList->AddTail( fxProp );

	fxProp.String( "SocketAttractors", "" );
	pList->AddTail( fxProp );

	fxProp.Float( "OmniDirectionalRadius", 0.0f );
	pList->AddTail( fxProp );

	fxProp.Int( "MinNumBolts", 1 );
	pList->AddTail( fxProp );

	fxProp.Int( "MaxNumBolts", 5 );
	pList->AddTail( fxProp );

	fxProp.Int( "MinSegmentsPerBolt", 10 );
	pList->AddTail( fxProp );

	fxProp.Int( "MaxSegmentsPerBolt", 50 );
	pList->AddTail( fxProp );

	fxProp.Float( "MinBoltWidth", 0.5f );
	pList->AddTail(fxProp);

	fxProp.Float( "MaxBoltWidth", 3.0f );
	pList->AddTail( fxProp );

	fxProp.Float( "MinPerturb", 0.0f );
	pList->AddTail( fxProp );

	fxProp.Float( "MaxPerturb", 35.0f );
	pList->AddTail( fxProp );

	fxProp.Float( "MinLifetime", 0.1f );
	pList->AddTail( fxProp );

	fxProp.Float( "MaxLifetime", 3.0f );
	pList->AddTail( fxProp );

	fxProp.Float( "MinDelay", 0.0f );
	pList->AddTail( fxProp );

	fxProp.Float( "MaxDelay", 0.1f );
	pList->AddTail( fxProp );

	fxProp.Float( "Pulse", 5.0f );
	pList->AddTail( fxProp );
}
예제 #6
0
void fxGetLTBModelProps(CFastList<FX_PROP> *pList)
{
	FX_PROP fxProp;
	float fVec[3];
	fVec[0] = 0.0f;
	fVec[1] = 0.0f;
	fVec[2] = 1.0f;

	// Add the base props

	AddBaseProps(pList);

	// Add all the props to the list

	fxProp.Path( "Model", "ltb|..." );
	pList->AddTail(fxProp);

	fxProp.Path( "Skin0", "dtx|..." );
	pList->AddTail(fxProp);

	fxProp.Path( "Skin1", "dtx|..." );
	pList->AddTail( fxProp );

	fxProp.Path( "Skin2", "dtx|..." );
	pList->AddTail( fxProp );

	fxProp.Path( "Skin3", "dtx|..." );
	pList->AddTail( fxProp );

	fxProp.Path( "Skin4", "dtx|..." );
	pList->AddTail( fxProp );

	fxProp.Path( "SpriteSkin0", "spr|..." );
	pList->AddTail(fxProp);

	fxProp.Path( "SpriteSkin1", "spr|..." );
	pList->AddTail( fxProp );

	fxProp.Path( "SpriteSkin2", "spr|..." );

	pList->AddTail( fxProp );
	fxProp.Path( "SpriteSkin3", "spr|..." );
	pList->AddTail( fxProp );

	fxProp.Path( "SpriteSkin4", "spr|..." );
	pList->AddTail( fxProp );

	fxProp.Vector( "Normal", fVec );
	pList->AddTail( fxProp );

	fxProp.Combo( "Facing", "2,CameraFacing,AlongNormal,ParentAlign" );
	pList->AddTail( fxProp );

	fxProp.Combo( "Shadow", "0,No,Yes" );
	pList->AddTail( fxProp );

	fxProp.Combo( "OverrideAniLength", "0,No,Yes" );
	pList->AddTail( fxProp );

	fxProp.String( "AniName", "");
	pList->AddTail( fxProp );

	fxProp.Float( "AniLength", 0 );
	pList->AddTail( fxProp );

	fxProp.Path( "RenderStyle0", "ltb|..." );
	pList->AddTail( fxProp );

	fxProp.Path( "RenderStyle1", "ltb|..." );
	pList->AddTail( fxProp );

	fxProp.Path( "RenderStyle2", "ltb|..." );
	pList->AddTail( fxProp );

	fxProp.Path( "RenderStyle3", "ltb|..." );
	pList->AddTail( fxProp );

	fxProp.Combo( "SyncToModelAnim", "0,No,Yes" );
	pList->AddTail( fxProp );

	fxProp.Combo( "SyncToKey", "0,No,Yes" );
	pList->AddTail( fxProp );
}