Author Topic: smoketrails  (Read 3318 times)

0 Members and 1 Guest are viewing this topic.

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
i can achieve the smoketrail effect on primaries by using the particle spew, and i think it could be used with missiles as an alternate to the old trail effect.

the only problem is that particle spew only works with primary weapons. i was wondering if a small tweak could let us use it as a secondary weapon trails. as well as make the trail tagset non-mandatory on secondary entries.
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN

 

Offline Rampage

  • Son Of Rampage
  • 211
  • Urogynaecologist
Smoke trails are nice to have but are undoubtedly unrealistic in Freespace 2, unless Venom releases his sky/ground meshes. ;7

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
Well it doesn't have to be smoke to use the particle effects.  It could be "plasma exhaust" or "supermegaawesomeenginestuff power" that throws rainbow colored bits everywhere.  :D
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."

 

Offline Deepblue

  • Corporate Shill
  • 210
You can already use pspew tags on secondaries...

 

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
I thought you could too
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together

 

Offline CP5670

  • Dr. Evil
  • Global Moderator
  • 212
I tried doing that just a few days ago and it does not appear to work (the game works fine but no effect shows up).

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
Quote
Originally posted by Rampage
Smoke trails are nice to have but are undoubtedly unrealistic in Freespace 2, unless Venom releases his sky/ground meshes. ;7


"smashes rampage in the face"
that's what you get for not reading my threads :doubt:
the thing is already available, you droofus, in the thread where I talked about it.

anyway, I thought Bob added that kind of trail in the code already?
SCREW CANON!

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Could you post the tbl entry for a simple weapon with that effect?

Allso, could someone post a simple ballistic primary weapon tbl.
I tried to make one, but it just doesn't work (yes, I followed the instructions in FS2_Open readme...
Nobody dies as a virgin - the life ****s us all!

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

 

Offline Rampage

  • Son Of Rampage
  • 211
  • Urogynaecologist
Quote
Originally posted by Venom
"smashes rampage in the face"
that's what you get for not reading my threads :doubt:
the thing is already available, you droofus, in the thread where I talked about it.


[Runs over and shoves Bible down Venom's throat.]

It is????  Hot diggity!

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
good way to use a bible
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Quote
Originally posted by TrashMan
Could you post the tbl entry for a simple weapon with that effect?

Allso, could someone post a simple ballistic primary weapon tbl.
I tried to make one, but it just doesn't work (yes, I followed the instructions in FS2_Open readme... )


PLEASE!
Nobody dies as a virgin - the life ****s us all!

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

 

Offline Solatar

  • 211
For Ballistics, you need to edit the ships.tbl also. Like, add primary bank capacity.

I couldn't get them to work, but realized I forgot this.

Did you add the "Ballistic" tag to the weapons tags? Did you add the size (like in a secondary)?

Sorry, I can't find an example ATM.

 

Offline mikhael

  • Back to skool
  • 211
  • Fnord!
    • http://www.google.com/search?q=404error.com
Quote
Originally posted by PhReAk
good way to use a bible


Best use ever.
[I am not really here. This post is entirely a figment of your imagination.]

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
Quote
Originally posted by Solatar
For Ballistics, you need to edit the ships.tbl also. Like, add primary bank capacity.

I couldn't get them to work, but realized I forgot this.

Did you add the "Ballistic" tag to the weapons tags? Did you add the size (like in a secondary)?

Sorry, I can't find an example ATM.


well, I couldn't get them to work either starting a new weapon from scratch ( it's odd coz I really checked everything and I couldn't finsd anything wrong ), so I just copied an entry that was provided somewhere, and modified it, and it worked well.
SCREW CANON!

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
)I followed the readme instructions to the letter...
Changed everything that needed to be changed, but it still won't work..

A tbl entry anyone?
(and that somoke trail effect too!:D )
Nobody dies as a virgin - the life ****s us all!

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

 

Offline Solatar

  • 211
Part of a ships.tbl.
$Allowed PBanks:   ("M-72" "M-97" "IM-3")
$Allowed Dogfight PBanks:   (       )
$Default PBanks:   ( "M-72" "M-72" )
+Pbank Capacity: ( 7000, 7000 )
$Allowed SBanks:   (          "Raynor" "Longbow" "Crossbow" "Belial"  "Blackwidow" "Paint Missile"    )
$Allowed Dogfight SBanks:   ( "Raynor" "Longbow" "Crossbow" "Belial"  "Blackwidow"   )
$Default SBanks:   ( "Belial" )
$SBank Capacity:   ( 50,  )
$Shields:         0
$Power Output:      1.0
$Max Oclk Speed:   85.0
$Max Weapon Eng:   1000.0
$Hitpoints:         350
$Flags:            ( "player_ship" "fighter" "ballistic primaries" "in tech database"  )
$AI Class:         Captain
$Afterburner:      YES

Notice the PBank Capacity, and the Ballistic Primaries Flag.
Here's a weapon. This weapon is one fo the UW weapons, so please don't use it in any campaigns or public releases.


; ----------------------------------------------------------------------------------
; Light Machine Gun
;
$Name:                                  M-72
+Title:                                 XSTR("M-72 Machine Gun", 3317)
+Description:
XSTR(
"Standard Issue
High Ammo Count
Steel Alloy Projectile", 3318)
$end_multi_text
+Tech Title:               XSTR("M-72", 3319)
+Tech Anim:                  Tech_GTW-66_Maxim
+Tech Description:
XSTR("The M-72 is the basic fighter weapon given to new pilots. It has an adequate range, and a medium impact bullet launched through a smooth-bore barrel. ", 3320)
$end_multi_text
$Model File:               none
@Laser Bitmap:                        newglo9
@Laser Glow:                        newglo9
@Laser Color:                        250, 90, 30
@Laser Color2:                        250, 90, 30
@Laser Length:                        5
@Laser Head Radius:                   0.30
@Laser Tail Radius:                   0.10
$Mass:                           0.01
$Velocity:                        550.0
$Fire Wait:                        0.1
$Damage:                        1                       ;; dthin inner radius
$Blast Force:                     0
$Inner Radius:                     0                  ;; 0 for impact only)
$Outer Radius:                     0      ;; attenuated damage (0 for impact only)
$Shockwave Speed:                     0               ;; velocity of shockwave.  0 for none.
$Armor Factor:                     1
$Shield Factor:                     0
$Subsystem Factor:                  0.35
$Lifetime:                        2
$Energy Consumed:                     0.0   ;; Energy used when fired
$Cargo Size:                     1.0   ;; Amount of space taken up in weapon cargo
$Homing:                        NO
$LaunchSnd:                        164                ;; The sound it makes when fired
$ImpactSnd:                        85                 ;; The sound it makes when it hits something
$Rearm Rate:                     100.0      ;; number of missiles/sec that are rearmed
$Flags:                           ("in tech database" "player allowed" "ballistic" )                  
$Trail:                        ;; Trail cannot be set if Exhaust is set
   +Start Width:                  0.1                          ;; Width of trail nearest missile
   +End Width:                     0                          ;; Width of trail before it "evaporates"
   +Start Alpha:                  1.0
   +End Alpha:                     0.0
   +Max Life:                     0.1                  ;; how many seconds before trail disappears
   +Bitmap:                     tracer   ;; o draw trail
$Icon:                           IconGun03
$Anim:                           FS2Gun2
$Impact Explosion:                  none
$FOF:               1.2
$Shots:             1

Notice the ballistic flag, the size.
In the ships.tbl, a ship MUST have the ballistic flag in order to carry ballistic weapons. It can still cary non-ballistic weapons even with the flag.

 

Offline Rampage

  • Son Of Rampage
  • 211
  • Urogynaecologist
Quote
Originally posted by mikhael


Best use ever.


[Spoils Blasphemy] Best use is reading it. :nod:

 

Offline redmenace

  • 211
Quote
Originally posted by Rampage


[Runs over and shoves Bible down Venom's throat.]

It is????  Hot diggity!


Quote

quote:
--------------------------------------------------------------------------------
Originally posted by PhReAk
good way to use a bible
--------------------------------------------------------------------------------



Best use ever.
[/B]

:wtf:
Government is the great fiction through which everybody endeavors to live at the expense of everybody else.
              -Frederic Bastiat

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
don't you all even dare turn this into a religion thread.
SCREW CANON!

 

Offline TrashMan

  • T-tower Avenger. srsly.
  • 213
  • God-Emperor of your kind!
    • FLAMES OF WAR
Thaks! It works now!:D

Now - all I need is a corkscrew example and that smoketrail!
Nobody dies as a virgin - the life ****s us all!

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