Renegade Projects Network Forums
Here's a weird one for you.... - Printable Version

+- Renegade Projects Network Forums (https://forums.renegadeprojects.com)
+-- Forum: Modding (https://forums.renegadeprojects.com/forumdisplay.php?fid=3)
+--- Forum: Red Alert 2 & Yuri's Revenge Editing (https://forums.renegadeprojects.com/forumdisplay.php?fid=8)
+--- Thread: Here's a weird one for you.... (/showthread.php?tid=657)



Here's a weird one for you.... - wthigon - 25.02.2007

I made a flame tank that uses fire particles thus making a flame thrower type of weapon. Thing is the weapon doesn't burn veteran or elite units. It only burns non-promoted infantry. (I'm not using rock patch) Here's a screen of it:

As you can see, the tank nearest the nuclear reactor just fried some conscripts, but the one on the right won't die at all from the flames.

[Image: scrn0002xi4.png]


Here's the weapon code:

[FireStreamSys]
HoldsWhat=FireStream
Spawns=yes
SpawnFrames=4
BehavesLike=Fire
Image=TWLT036
Lifetime=30 ; was 100

[FlamThrow]
Damage=60
ROF=15 ;30 ;50
Range=4.50
Projectile=Invisible
Speed=1
Warhead=Fire
Report=Flamer
MinimumRange=1
UseFireParticles=yes
AttachedParticleSystem=FireStreamSys
;Burst=1


; napalm and fire in general
[Fire]
CellSpread=.5
PercentAtMax=.5
Wood=yes
Verses=600%,500%,200%,60%,30%,5%,200%,150%,100%,200%,100%
InfDeath=4
Sparky=no
Fire=yes ;This is from TS to melt ice.
ProneDamage=600%


RE: Here's a weird one for you.... - TheMan - 25.02.2007

that was a very strange problem, maybie its hardcoded


RE: Here's a weird one for you.... - DCoder - 25.02.2007

FireStreamSys calls FireStream to do the in-trajectory work, FlamThrow is only used by the direct impact spot (well, that is true for Railgun particles, maybe fire streams don't use the weapon's Damage at all...). FireStream has Damage=2 / Warhead=Fire , which means almost trivial damage. And the Veteran/Elite Armor multipliers on the Conscript reduce the already miniature damage to something less than 1, which is silently discarded.


RE: Here's a weird one for you.... - wthigon - 25.02.2007

It works now. I changed Damage=60 to Damage=0 on FlamThrow, and then changed Damage=2 to Damage=3 on Firestream and that solved the problem. Now all I gotta do is work out the Versus for the buildings.