Bug With CegTag

Bug With CegTag

Discuss the source code and development of Spring Engine in general from a technical point of view. Patches go here too.

Moderator: Moderators

Post Reply
User avatar
LordLemmi
Posts: 272
Joined: 13 Apr 2006, 20:17

Bug With CegTag

Post by LordLemmi »

you can´t use the CegTag under water atm....
Plz fix that, or say where i made the mistake.

[TORPEDOTRAIL]
{
usedefaultexplosions=0;
[spikes]
{
class=explspike;
[properties]
{
dir=-1 r4,-1 r4,-1 r4;
width=3;
length=1; //60;
alpha=1;
alphadecay=0.08;
color=1.0, 1.0, 1.0;

}
air=1;
water=1;
ground=1;
count=3;
}
[exhale]
{
class=CSimpleParticleSystem;
[properties]
{
sizeGrowth=0.16;
sizeMod=1.0;
pos=0, 1, 0;
gravity=0, 0, 0;


Texture=ConeFragments;
airdrag=0.87;
colorMap=1.0 1.0 1.0 0.1 1.0 1.0 1.0 0.2 0.0 0.0 0.0 0.01;

particleLifeSpread=15;
particleSpeedSpread=1;
particleSizeSpread=1;

particleLife=15;
numParticles=2;
particleSpeed=2;
particleSize=1;


emitVector=0, 1, 0;
emitRot=80;
emitRotSpread=5;
directional=0;

}
air=1;
water=1;
ground=1;
count=1;
}

[exhale2]
{
class=CSimpleParticleSystem;
[properties]
{
sizeGrowth=0.16;
sizeMod=1.0;
pos=0, 1, 0;
gravity=0, 0, 0;


Texture=ConeFragments;
airdrag=0.87;
colorMap=1.0 1.0 1.0 0.1 1.0 1.0 1.0 0.2 0.0 0.0 0.0 0.01;

particleLifeSpread=15;
particleSpeedSpread=1;
particleSizeSpread=1;

particleLife=15;
numParticles=2;
particleSpeed=2;
particleSize=1;


emitVector=0, 1, 0;
emitRot=80;
emitRotSpread=5;
directional=0;

}
air=1;
water=1;
ground=1;
count=1;
}
}

Thank you
Tobi
Spring Developer
Posts: 4598
Joined: 01 Jun 2005, 11:36

Post by Tobi »

use code tags
User avatar
LordLemmi
Posts: 272
Joined: 13 Apr 2006, 20:17

Post by LordLemmi »

hmm with other sub´s it work just with arm and core lvl 1 sub torpedo not.... hmmm dunno :roll:
User avatar
Argh
Posts: 10920
Joined: 21 Feb 2005, 03:38

Post by Argh »

Use underwater=1, not just water=1, Spring differentiates between the two, IIRC.
User avatar
rattle
Damned Developer
Posts: 8278
Joined: 01 Jun 2006, 13:15

Post by rattle »

water=1; was for water impacts as far as I can tell.
Post Reply

Return to “Engine”