Author Topic: Why doesn't muzzleflash work with PSpew?  (Read 2984 times)

0 Members and 1 Guest are viewing this topic.

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Why doesn't muzzleflash work with PSpew?
The above question....yeah... :confused:

If I add both to a weapon it doesn't work and I get a weapons.tbl error
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Why doesn't muzzleflash work with PSpew?
First guess is that you placed them in wrong order to the table entry
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Qent

  • 29
Re: Why doesn't muzzleflash work with PSpew?
Retail flak guns have both $Muzzleflash and the "particle spew" flag. MediaVP flak guns also have $Pspew defined. So yeah, it must be order or something. :)

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Why doesn't muzzleflash work with PSpew?
Well, I changed the order and now I don't get any errors, but the muzzleflash doesn't appear, even tough I made it VERY large (30 meters)... :wtf:
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: Why doesn't muzzleflash work with PSpew?
Why not use a flak gun entry as a model?

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Why doesn't muzzleflash work with PSpew?
Uhm, just copy the MVPs Kayser entry? (you;d have to put the parts in the TBMs together though) It's an actual "laser" weapon with muzzle flash and pspew. It definitely works.
Don't use flak if your weapon isn't flak!

Also, chances are there's something wrong with your muzzle flash graphic then.
(´・ω・`)
=============================================================

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Why doesn't muzzleflash work with PSpew?
Here's the weapon entry.

Code: [Select]
$Name:                        Heavy Ion Cannon
$Model File:                  none
@Laser Bitmap:                laserglow03
@Laser Glow: 2_laserglow03
@Laser Color: 10, 50, 255
@Laser Color2: 20, 20, 255
@Laser Length:        80.0
@Laser Head Radius:  15.00
@Laser Tail Radius:  15.00
$Mass:                        10
$Velocity:                    750.0                           
$Fire Wait:                   5.0                     
$Damage:                      12500
$Blast Force:                 500.0
$Inner Radius: 80.0
$Outer Radius: 200.0
$Shockwave Speed: 100
$Armor Factor:                  1.0
$Shield Factor:                 0.8
$Subsystem Factor:              0.8
$Lifetime:                      15.0
$Energy Consumed:               0.30                           
$Cargo Size:                    0.0                             
$Homing:                       NO
$LaunchSnd:                    205                                     
$ImpactSnd:                    85                                     
$Flags:                       ("Big Ship" "Huge" "supercap" "particle spew" )
$Icon:                         icongun03
$Anim:                         LoadGun02
$Impact Explosion:             ExpMissileHit1
$Impact Explosion Radius: 100.0
$Muzzleflash: huge_muzzle
$Pspew:
+Count: 2
+Time: 20
+Vel: 0.20
+Radius: 10.0
+Life: 6.0
+Scale: 0.1
+Bitmap: Kayser_Particle
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Why doesn't muzzleflash work with PSpew?
Well, according to this article, the order appears to be fine.
So that leaves your problem with being the muzzleflash itself. (unless of course, the same muzzle flash is working on ANOTHER weapon, in which case I would check if you spelled it right).

And shouldn't this be in FS Modding?
(´・ω・`)
=============================================================

 

Offline Qent

  • 29
Re: Why doesn't muzzleflash work with PSpew?
I just tried that table entry and it worked, although I had to define huge_muzzle in mflash-mfl.tbm; I saw both the gigantic muzzle flash and the Kayser particles.

Edit: Also the debug build complained about the LaunchSnd being out of bounds.

And shouldn't this be in FS Modding?
I think so.
« Last Edit: July 16, 2009, 08:52:14 pm by Qent »

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Why doesn't muzzleflash work with PSpew?
I just tried that table entry and it worked, although I had to define huge_muzzle in mflash-mfl.tbm; I saw both the gigantic muzzle flash and the Kayser particles.

Edit: Also the debug build complained about the LaunchSnd being out of bounds.


Strange...this is the huge_muzzle entry I use

Code: [Select]
$Mflash:
+name:         huge_muzzle

+blob_name:    viper_muzzle
+blob_offset:  1.0
+blob_radius:  25.0

+blob_name:    viper_muzzle
+blob_offset:  5.0
+blob_radius:  15.0

Oh, the launch sound I use is not included..I added quite a few new sounds :P
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Why doesn't muzzleflash work with PSpew?
That's just a guess, but check if you have .eff file for this effect.
In FOW: COTS version which I have it's not present, so maybe you also don't have it.

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Why doesn't muzzleflash work with PSpew?
Hm...can't find the damn file.

Say, could anyone that has Beyond the Red line extract the .eff file and upload it? Downloading a almost 400Mb mod for just one .eff file is a bit much...
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Why doesn't muzzleflash work with PSpew?
Here you go.
Is this for the next FOW?

[attachment deleted by MSC

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Re: Why doesn't muzzleflash work with PSpew?
Boy am I stupid. There was no need for that. I just made my own .eff file :o


And yes. Yes it is. I slowly started to work on it. Methinks I should start recruiting :P
Nobody dies as a virgin - the life ****s us all!

You're a wrongularity from which no right can escape!