Question: Irritating smoke
Moderator: Moderators
-
- Posts: 854
- Joined: 28 Jan 2005, 18:15
Question: Irritating smoke
Quick question: Why is my rendertype 4 lineofsight (but not really since Spring makes it ballistic anyway) weapon spotting a horrendous cloud of irritating smoke? I have not seen other units doing this effect, at least not to this extent. I'm thinking I'll need to post a screenshot, guess its time I found a place to host such things.
Here are the render types currently supported in spring:
1, 2, 3, and 4, respectivly.
Hope this helps, if not irritate :)
-Buggi
Code: Select all
switch(weaponDef->visuals.renderType)
{
case WEAPON_RENDERTYPE_MODEL:
return new CModelProjectile(pos,speed,owner,target,targetPos,weaponDef);
break;
case WEAPON_RENDERTYPE_LASER:
return new CLaserProjectile(pos, speed, owner, weaponDef->damages, 30, weaponDef->visuals.color, 0.8, weaponDef, weaponDef->range/weaponDef->movement.projectilespeed);
break;
case WEAPON_RENDERTYPE_PLASMA:
break;
case WEAPON_RENDERTYPE_FIREBALL:
return new CFireBallProjectile(pos,speed,owner,target,targetPos,weaponDef);
break;
}
Hope this helps, if not irritate :)
-Buggi
- GrOuNd_ZeRo
- Posts: 1370
- Joined: 30 Apr 2005, 01:10
I think that this is mainly due to the hides and shows for weapons in TA:FF that causes this, in TA:WD aircraft produce large puffs of smoke from displaying the flares everytime there is a hide or show in there...this piece of script that draws flares has to go...it should listen more to the friggin' weapon file then just assuming were to draw a flare...
-
- Posts: 854
- Joined: 28 Jan 2005, 18:15
Oh, so its a fireball. If it weren't for the puff of smoke, I would know whether or not thats a cool smoketrail it leaves, but my vision is always to obscured to know. It is a big unit, ground, but comparable in size to the TA:FF units I've seen. I'll just get rid of the flare hides and shows for now.
I'll get up a couple screens.
I'll get up a couple screens.
Nice Avatar =)Delta wrote:use Imageshack or Fileuniverse
-
- Posts: 854
- Joined: 28 Jan 2005, 18:15
- PauloMorfeo
- Posts: 2004
- Joined: 15 Dec 2004, 20:53