Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Carl on September 15, 2003, 04:52:32 am

Title: beam damage
Post by: Carl on September 15, 2003, 04:52:32 am
this has always been a bit of a problem. we had figured out that a beam delivers damage six times per second. why six, i don't know. so if you want your beam to have a damage of 1500, you'd enter 250 in the $Damage field. but now after installing FS2_Open, it seems to have increased the number of times damage is applied per second significanty. perhaps 100 or so. anyone know what the new number is?
Title: beam damage
Post by: pyro-manic on September 15, 2003, 10:28:52 am
Hmm. Hadn't noticed this. Not a clue, sorry.
Title: beam damage
Post by: FreeTerran on September 15, 2003, 10:57:00 am
Code: [Select]
float b_whack_damage = 150.0f;
There we go ;)
Title: beam damage
Post by: Krackers87 on September 16, 2003, 02:17:55 pm
how do u make the effect that the shivan beam does where when it powers down it shrinks width wise and turns off?
Title: beam damage
Post by: Spicious on September 16, 2003, 04:30:15 pm
Quote
Originally posted by Krackers87
how do u make the effect that the shivan beam does where when it powers down it shrinks width wise and turns off?
Try this:
Code: [Select]
+ShrinkFactor: 0.1 ;; what percentage of lifetime where beam starts shrinking (0.1 == 10% life left)
+ShrinkPct: 1.8 ;; what percentage of max width we subtract per second