Logo
Spacer News Wiki Features F.A.Q. Team members Screenshots Download Messageboard Bug tracker Submit files
Top divider

Heatcloud

Contents

[edit] Introduction

heatcloud is one of the simplest and most common explosion types. Ironically, it is also one of the least intuitive. First of all, ignore the name--it basically makes an expanding image at the point at which it is spawned.

[edit] Source

https://spring.clan-sy.com/svn/spring/trunk/rts/Sim/Projectiles/Unsynced/HeatCloudProjectile.cpp

[edit] Suggested Use

heatcloud makes a good main piece of an explosion. Think of it as a background for the other components of your explosion generator.

[edit] Parameters

[edit] heat, maxheat, heatFalloff

Most explosions have alpha and ttl. I don't know why heatcloud uses these instead. Basically:

Starting alpha = heat / maxheat

ttl = heat / heatFalloff

The alpha decreases linearly across the heatcloud's lifetime.

[edit] size, sizeGrowth

The heatcloud starts at size size and grows sizeGrowth each frame.

[edit] sizemod, sizemodmod

It seems that the heatcloud expands by a factor of (1 - sizemod) each frame. The sizemod itself is multiplied by sizemodmod every frame. Most of the time it's probably best just not to contemplate these.

[edit] texture

The texture of the heatcloud.

Retrieved from "http://spring.clan-sy.com/wiki/Heatcloud"

This page has been accessed 58 times. This page was last modified 03:59, 25 March 2008.