Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: Shivan Hunter on August 12, 2010, 06:01:06 am

Title: thruster flames
Post by: Shivan Hunter on August 12, 2010, 06:01:06 am
Basically, why aren't they working?

Code: [Select]
$Name: UEF Kentauroi
+nocreate
$Thruster Particles: YES
$Thruster Particle Bitmap: missilespew03.eff
$Min Radius: 0.5
$Max Radius: 2
$Min Created: 1
$Max Created: 5
$Variance: 0.1
$Afterburner Particle Bitmap: particlesmoke01.eff
$Min Radius: 0.5
$Max Radius: 2
$Min Created: 1
$Max Created: 5
$Variance: 0.1

Yes, I have both WiH and the MVPs loaded as mods. It doesn't work either with or without the .eff, and debug reports no errors.

log (http://pastebin.com/TbpnydKb), loading WiH, playing the Kentauroi Race mission and exiting.

If I screwed up the syntax I blame it on being 7 in the morning and I haven't slept yet. Ahh, summer... :P
Title: Re: thruster flames
Post by: Fury on August 12, 2010, 06:13:57 am
Remove YES after $Thruster Particles: and remove file extensions. Missilespews in the latest mediavps are a bit too long to be used as ship thrusters, but this is an example.

Code: [Select]
#Ship classes
 
$Name:          GTF Ulysses
+nocreate
$Thruster02 Length factor:          0.0
$Thruster Particles:
    $Thruster Particle Bitmap:      missilespew03
    $Min Radius:                    1.036298
    $Max Radius:                    1.036298
    $Min created:                   1
    $Max created:                   1
    $Variance:                      0.0
$Thruster Particles:
    $Afterburner Particle Bitmap:   missilespew02
    $Min Radius:                    1.036298
    $Max Radius:                    2.072596
    $Min created:                   2
    $Max created:                   2
    $Variance:                      0.01
   
#End

Edit: Note that Min and Max radius use thruster radius values taken from pof file.
Title: Re: thruster flames
Post by: Shivan Hunter on August 12, 2010, 04:30:37 pm
lol, I originally didn't have either of those (extensions and "YES")... I also didn't have #Ship Classes and #End. Blarghz. :P
Title: Re: thruster flames
Post by: Shivan Hunter on August 12, 2010, 06:27:56 pm
So, I've been playing around with some effects... most taken from the MediaVPs but one made by me...

A Kentauroi doing 120m/s (at probably about 60fps):
(http://img230.imageshack.us/img230/8945/screen1032.png)

A Kentauroi afterburning at 200m/s (again, probably ~60fps) (color is wrong, I was making it for Terran fighters but testing with the Kent):
(http://img205.imageshack.us/img205/650/screen1033.png)

So does it look like crap? Should I change the afterburner effect so it doesn't look like a chemical rocket? I'll obviously have to do that for the Shivan effect :/
Title: Re: thruster flames
Post by: Dragon on August 12, 2010, 06:37:51 pm
It looks great, I was going to work on such effects and make a version for Mediavps, but then I got ArmA II (an excellent millitary simulator) and got distracted.
That fire on AB could start closer to the engine.
Title: Re: thruster flames
Post by: Nighteyes on August 12, 2010, 06:53:33 pm
again, we come to the same problem, please make a test mission, with 2 destroyers, a few corvettes and a few wings of fighters and bombers all using the thruster particles please :P
at 60fps the thrusters look great, I can probably make a better looking effect for them specifically, but, I honestly think this will look like crap with low fps in big battles...
and don't get me wrong, this IS the direction we should be heading to  :yes:

I suggested a while back to try it only with capships at first, as most missions don't have them in numbers like fighters, and I must say it would be awesome to fly through massive plums of engine vapor particles...
Title: Re: thruster flames
Post by: Shivan Hunter on August 12, 2010, 06:57:04 pm
yeah... like I said in a different thread, the particle system needs some fixing.

About your second point- why should capships have massive plumes of engine vapor particles? The only time there should be any lengthy effect is when a ship is at high speed, which for capships is only on warpin/warpout. Otherwise, the single "ball" sprite right on top of the engine is perfectly fine.

:/
Title: Re: thruster flames
Post by: Commander Zane on August 12, 2010, 07:05:11 pm
Those screens are uber.
Title: Re: thruster flames
Post by: Fury on August 12, 2010, 11:10:42 pm
Shivan Hunter, note that you should pay great deal of attention to $Min created and $Max created values. The smaller the numbers you use, the less performance impact there is per ship, meaning more ships within range can have particle thrusters. Particle thrusters aren't displayed if host ship is certain distance away, this distance is not that long either which means only ships close to you have particle effects.

However, I don't really know if thrusters should look like they're chemical engines, it doesn't really fit FSverse.
Title: Re: thruster flames
Post by: Dragon on August 13, 2010, 06:14:53 am
I originally made particle thrusters with another universe in mind, I agree that they don't look FSish.
Title: Re: thruster flames
Post by: Aardwolf on August 13, 2010, 10:33:48 pm
It looks like your ship is exploding.
Title: Re: thruster flames
Post by: Shivan Hunter on August 14, 2010, 01:33:57 am
whaargarbl

I need to control particles' relative velocity, and the Wiki doesn't list an entry for that.

Also, GIMPing a new Terran afterburner effect. Have a few ideas for the Vasudan one as well.

[EDITZORZ]

Here are both effects on a Myrm:

(http://img580.imageshack.us/img580/6449/screen1051.png)
(http://img534.imageshack.us/img534/5485/screen1052.png)

...And this seems to be the threshold at which thruster flames are not displayed. Any way to change this via options menu or launcher flag?

(http://img691.imageshack.us/img691/5364/screen1055.png)
Title: Re: thruster flames
Post by: T-LoW on August 14, 2010, 02:28:53 am
The 2nd one looks actually pretty cool. But Nr. 1 screams "Magic, ladies and gentlemen!" with its dusty star-smoke-look ;)
Title: Re: thruster flames
Post by: Commander Zane on August 14, 2010, 10:32:30 am
I think it looks awesome, keep it up. :D
Title: Re: thruster flames
Post by: Droid803 on August 14, 2010, 10:56:51 am
No pixie dust plz.
Title: Re: thruster flames
Post by: JGZinv on August 14, 2010, 01:22:46 pm
All of them aren't bad IMO.

Title: Re: thruster flames
Post by: Retsof on August 14, 2010, 02:14:34 pm
are the blue thruster flames that old effect I made for some different kind of flak?  Let me see if I can dig it up...
Ah, here we are:
(http://www.majhost.com/gallery/Retsof/Freespace/sflak.gif)
Otherwise this is pretty sweet, what do I paste into the ships tbl to make it work?  Or better yet, a tbm that has all ships listed so one doesn't have to sort through all the other data.
*Looks at the table entries up top*  Nevermind, I think I figured it out.  I'll have to play with these.
Title: Re: thruster flames
Post by: Aardwolf on August 14, 2010, 03:31:59 pm
I think it needs to be less noisy :doubt:
Title: Re: thruster flames
Post by: Dragon on August 14, 2010, 04:52:03 pm
Are you making these effects for a specific mod?
Title: Re: thruster flames
Post by: Shivan Hunter on August 14, 2010, 04:57:49 pm
Re: Pixie dust:
I'll remove the particle effect and see how it looks.

Retsof: At the moment, they use a muzzle flash and a particle effect (from the MVPs) and the main effects are something I GIMPed.

Dragon: Nope, just for general use.
Title: Re: thruster flames
Post by: JGZinv on August 14, 2010, 05:17:24 pm
Mind sharing the ones in the images and their settings then?
I could put them to use if no one else likes them.
Title: Re: thruster flames
Post by: Retsof on August 14, 2010, 11:11:28 pm
I played with this a bit, and found that the engines revert to normal somewhere between 100 and 150m, at least for a myrm.  Perhaps it it connected to lod's?
Title: Re: thruster flames
Post by: Commander Zane on August 15, 2010, 12:39:35 am
If that's the case, sounds like it's time to prep the play-Crysis-at-all-maximum-settings-with-no-frame-drop computers. :P
No LODs for all!
Title: Re: thruster flames
Post by: Jessnec on August 17, 2010, 12:41:22 am
So, I've been playing around with some effects... most taken from the MediaVPs but one made by me...

A Kentauroi doing 120m/s (at probably about 60fps):
(http://img230.imageshack.us/img230/8945/screen1032.png)

A Kentauroi afterburning at 200m/s (again, probably ~60fps) (color is wrong, I was making it for Terran fighters but testing with the Kent):
(http://img205.imageshack.us/img205/650/screen1033.png)

So does it look like crap? Should I change the afterburner effect so it doesn't look like a chemical rocket? I'll obviously have to do that for the Shivan effect :/

 :eek: :eek: :eek: :eek: :jaw: :jaw: :jaw: :jaw: :jaw: :jaw: :jaw:
Title: Re: thruster flames
Post by: Wanderer on August 17, 2010, 04:15:04 am
Reminds me of my soapbubble drive uly...