i read the explosion guide, but i still cant work with them like i want it.
I know its a new feature, so the guide isnt really complete, but i wonder why the examples in the guide work.
example:
and in the projectile.txt there is:[ARM_HLT_Expl]
{
[smoke]
{
[properties]
{
ageSpeed=0.04; // age increase per frame, when age >= 1 the particle is destroyed
size = 40;
sizeGrowth = -2;
pos = -30 r60, r30, -30 r60;
speed=0.75 r-1.5, 1.7 r1.6, 0.75 r-1.5;
}
water=1;
ground=1;
count=10;
}
}
why can you use variables which arent used by this class? I tried my own explosions but i cant see them ig.Class: CSmokeProjectile. Scriptname: smoke
color: float
size: float
startSize: float
sizeExpansion: float
ageSpeed: float
speed: float3
pos: float3
When i want to make an orange plasma xplosion, what must i use?
Is there anyone who can explain the new system a but more in detail?
I wanted to use this class for a plasmashot:
and wrote it in the explosions.tdf like this:Class: CGfxProjectile. Scriptname: gfx
creationTime: int
lifeTime: int
color: uchar[4]
speed: float3
pos: float3
i also tried some other explosions, but i never can see them ig.[PLASMAORANGE]
{
[gfx]
{
[properties]
{
creationTime: 2;
lifeTime: 20;
color: 1, 0.7, 0, 1; (the last is alpha right?)
speed: 0.75, 0.75, 0.75;
pos: 0, 0, 0;
}
[groundflash]
{
flashSize = 100;
flashAlpha = 1;
circleGrowth = 15;
circleAlpha = 1;
ttl = 12;
color = 1,0.7,0;
}
underwater=1;
air=1;
water=1;
ground=1;
count=10;
}