Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Fury on December 10, 2004, 03:25:34 am

Title: Thrusters and tables
Post by: Fury on December 10, 2004, 03:25:34 am
Don't accuse me of not searching first because I did and found nothing in reasonable time.

Anyway, I have heard several times that its possible to define what thruster effect a ship uses in tables instead of setting a race. So how is this done?
Title: Thrusters and tables
Post by: Nuke on December 10, 2004, 07:15:18 am
there are particle trails put it right after $score

$Thruster Particles:
   $Thruster Particle Bitmap:   bitmap
   $Min Radius:         0.5
   $Max Radius:         1.0
   $Min created:         1
   $Max created:         2
   $Variance:            0.0
$Thruster Particles:
   $Thruster Particle Bitmap:   bitmap
   $Min Radius:         0.8
   $Max Radius:         1.8
   $Min created:         1
   $Max created:         4
   $Variance:            0.05
$Thruster Particles:
   $Afterburner Particle Bitmap:   bitmap
   $Min Radius:         0.75
   $Max Radius:         1.75
   $Min created:         2
   $Max created:         6
   $Variance:            0.1
Title: Thrusters and tables
Post by: Deepblue on December 10, 2004, 09:22:56 am
Not particle thrusters, the new thruster code that Bob implemented for the 3d style thrusters has a way to define thrusters for individual ships. Blast me If I know where he posted an example though.
Title: Thrusters and tables
Post by: Fury on December 10, 2004, 10:41:15 am
Deepblue's correct, I am not talking about particles. I am talking about the actual thruster effect.
Title: Thrusters and tables
Post by: Trivial Psychic on December 10, 2004, 12:43:57 pm
You want it for TBP so you don't have to designate several different EA ships as being under different species, just so you can get the thruster effects to match canon.
Title: Thrusters and tables
Post by: Deepblue on December 10, 2004, 04:13:10 pm
The Trivial Psychic strikes again.
Title: Thrusters and tables
Post by: Nuke on December 10, 2004, 11:42:01 pm
id like to be able to do those on a per ship basis. it would be cool.
Title: Thrusters and tables
Post by: Taristin on December 11, 2004, 12:02:44 am
I think the thrusters stuff is in the species_def table file. I may, however, be mistaken.
Title: Thrusters and tables
Post by: Trivial Psychic on December 11, 2004, 12:20:13 am
That may be, but Bob mentioned a method of assigning thruster effects on an individual ship basis, within a species.  Anything in the species_def table would effect all ships of a species together, with no individual variation.
Title: Thrusters and tables
Post by: Fury on December 16, 2004, 04:33:02 am
Nobody knows?
/me sends an angry mob to fetch Bobboau :p
Title: Thrusters and tables
Post by: Unknown Target on December 16, 2004, 05:36:19 am
Someone PM Bob and post the answer here. Or even better, get Bob here :D
Title: Thrusters and tables
Post by: Bobboau on December 24, 2004, 09:10:09 pm
$Score:             10


$Thruster Bitmap 1: normal glow bitmap
$Thruster Bitmap 1a: normal glow afterburner bitmap
$Thruster01 Radius factor: a float
$Thruster Bitmap 2: beam glow bitmap
$Thruster Bitmap 2a: beam glow afturburner bitmap
$Thruster02 Radius factor: a float
$Thruster01 Length factor: a float
$Thruster Bitmap 3: the 'visable from the front' glow bitmap
$Thruster Bitmap 3a: the 'visable from the front' glow afterburner bitmap
$Thruster03 Radius factor:


$Thruster Particles:
...
$Stealth:
$Subsystem:
$Trail:


all items are optional, the oder is not
Title: Thrusters and tables
Post by: Taristin on December 24, 2004, 10:09:00 pm
Quote
Originally posted by Bobboau

all items are optional, the oder is not


Deodorant?
Title: Thrusters and tables
Post by: Bobboau on December 24, 2004, 10:52:26 pm
order

I mis one 'r' :doubt:
Title: Thrusters and tables
Post by: Taristin on December 24, 2004, 11:02:46 pm
Joke. It was a joke. :p
Title: Thrusters and tables
Post by: WMCoolmon on December 25, 2004, 12:47:02 am
Guess I'm not the only one having trouble typing this holiday season. :p
Title: Thrusters and tables
Post by: Trivial Psychic on December 25, 2004, 02:14:50 am
This should be added to the Wiki.  From what I can see, there's not much in the Wiki dealing with ships table files.
Title: Thrusters and tables
Post by: Bobboau on December 25, 2004, 03:14:20 am
how nice of you to have volonteered :)