Hard Light Productions Forums
Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: TrashMan on July 14, 2009, 11:49:45 am
-
The above question....yeah... :confused:
If I add both to a weapon it doesn't work and I get a weapons.tbl error
-
First guess is that you placed them in wrong order to the table entry
-
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. :)
-
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:
-
Why not use a flak gun entry as a model?
-
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.
-
Here's the weapon entry.
$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
-
Well, according to this article (http://www.hard-light.net/wiki/index.php/Weapons.tbl), 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?
-
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.
-
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
$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
-
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.
-
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...
-
Here you go.
Is this for the next FOW?
[attachment deleted by MSC
-
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