Author Topic: Nifty weapons.tbl trick.  (Read 6012 times)

0 Members and 1 Guest are viewing this topic.

Offline morris13

  • New Marshal in town...
  • 27
Nifty weapons.tbl trick.
Some of you might know about this already, but it solved a problem we were having and I thought I'd share it with you. If you want a primary that fires something a little more distinctive than the standard laser shots, where you can really only edit the color and length, you can use the $model field just above the laser rendering section to use an actual .pof file for the weapon shots instead of standard beam shots. This allows you to make one gun look like its firing multiple shots at once, even different kinds of shots. You can use missile .pof files or make your own. All you have to do is put the .pof filename in the $model field and delete ALL the laser rendering sections (everything down to the $mass entry). Give it a shot, see how it works. =)
If it aint broke, break it!

 

Offline QXMX

  • 28
Nifty weapons.tbl trick.
 
Quote
Originally posted by morris13:
Some of you might know about this already, but it solved a problem we were having and I thought I'd share it with you. If you want a primary that fires something a little more distinctive than the standard laser shots, where you can really only edit the color and length, you can use the $model field just above the laser rendering section to use an actual .pof file for the weapon shots instead of standard beam shots. This allows you to make one gun look like its firing multiple shots at once, even different kinds of shots. You can use missile .pof files or make your own. All you have to do is put the .pof filename in the $model field and delete ALL the laser rendering sections (everything down to the $mass entry). Give it a shot, see how it works. =)

Cool, is this in regards to firing multiple types of shots with the same primary?


------------------
.....File not found....please enter password

Co-Creator, GroundZero
ICQ# 117983680

 

Offline Shrike

  • Postadmin
  • 211
    • http://www.3dap.com/hlp
Nifty weapons.tbl trick.
*cough*

Like the flak weapons.  
WE ARE HARD LIGHT PRODUCTIONS. YOU WILL LOWER YOUR FIREWALLS AND SURRENDER YOUR KEYBOARDS. WE WILL ADD YOUR INTELLECTUAL AND VERNACULAR DISTINCTIVENESS TO OUR OWN. YOUR FORUMS WILL ADAPT TO SERVICE US. RESISTANCE IS FUTILE.

 

Offline aldo_14

  • Gunnery Control
  • 213
Nifty weapons.tbl trick.
Wahey - bullets!  (I've always wanted to try this, but I've never got round to it)
 
Now I can make my Browning X cannon  

 

Offline Martinus

  • Aka Maeglamor
  • 210
    • Hard Light Productions
Nifty weapons.tbl trick.
Bullets? Thinking small again? I just edited the subach-HL7, it now fires ulysees fighters.

[This message has been edited by Maeglamor (edited 06-24-2001).]

 

Offline Nico

  • Venom
    Parlez-vous Model Magician?
  • 212
Nifty weapons.tbl trick.
  should I talk about my Sathanas launcher?... hmmm, no, better not.

------------------
venom2506
Member of the Robotech mod for FS2

and of Hidden Terror, the Shivan campaign
SCREW CANON!

 

Offline Fattony

  • Banned
  • 26
Nifty weapons.tbl trick.
Uh. Correct me if I'm wrong but, couldn't you just designate a secondary as a primary and knock off the cargo size data?

 

Offline Fattony

  • Banned
  • 26
Nifty weapons.tbl trick.
And the targetting data.

Basically strip-down a missile.

 

Offline Fattony

  • Banned
  • 26
Nifty weapons.tbl trick.
I'm gonna go try the below entry now.

; ----------------------------------------------------------------------------------
; RailGun
;
$Name:                                  @RailGun
+Title:                                 XSTR("GTW-R1 RailGun", 3317)
+Description:
XSTR(
"Special issue
High-Payload Cannon", 3318)
$end_multi_text
+Tech Title:               XSTR("GTW-R1 RailGun", 3319)
+Tech Anim:                  Tech_GTM_MX-6_Tempest
+Tech Description:
XSTR(
"Designed to prove it could be done, the Railgun is just a ****ed up tempest entry.", 3320)
$end_multi_text
$Model File:                     Tempest.pof
$Mass:                           0.1
$Velocity:                        360.0
$Fire Wait:                        0.30
$Damage:                        45                                        ;; damage applied when within inner radius
$Blast Force:                     0.2
$Inner Radius:                     10.0                                       ;; radius at which damage is full (0 for impact only)
$Outer Radius:                     20.0                                       ;; max radius for attenuated damage (0 for impact only)
$Shockwave Speed:                  0                                         ;; velocity of shockwave.  0 for none.
$Armor Factor:                     0.9
$Shield Factor:                     0.5
$Subsystem Factor:                  0.6
$Lifetime:                        1.8
$Energy Consumed:                  0.25                                       ;; Energy used when fired
$Cargo Size:                     0.0                                       ;; Amount of space taken up in weapon cargo
$Homing:                        NO
$LaunchSnd:                        90                                        ;; The sound it makes when fired
$ImpactSnd:                        88                                        ;; The sound it makes when it hits something
$FlyBySnd:                        -1
$Flags:                           ("in tech database" "player allowed")                  
$Trail:                                       ;; Trail cannot be set if Exhaust is set
   +Start Width:                  0.1                                       ;; Width of trail nearest missile
   +End Width:                     0.2                                       ;; Width of trail before it "evaporates"
   +Start Alpha:                  1.0
   +End Alpha:                     0.0
   +Max Life:                     0.3                                       ;; how many seconds before trail disappears
   +Bitmap:                     newmiss2                              ;; Bitmap used to draw trail
$Icon:                           iconTempest
$Anim:                           Tempest
$Impact Explosion:                  ExpMissileHit1
$Impact Explosion Radius:            3.0


The trails might cause a problem but I don't think they will. Read the description.

 

Offline Fattony

  • Banned
  • 26
Nifty weapons.tbl trick.
Knock up the fire rate to make it like a chaingun. And the power needs upping but I'll do all that later.

 

Offline Fattony

  • Banned
  • 26
Nifty weapons.tbl trick.
The firing sound needs to be altered but the below entry should be good.

; ----------------------------------------------------------------------------------
; Gattling Laser
;
$Name:                                  @Gattling Laser
+Title:                                 XSTR("GTW-G1 Gattling Laser", 3317)
+Description:
XSTR(
"Special issue
High-Payload Cannon", 3318)
$end_multi_text
+Tech Title:               XSTR("GTW-G1 Gattling Laser", 3319)
+Tech Anim:                  Tech_GTM_MX-6_Tempest
+Tech Description:
XSTR(
"Designed to prove it could be done, the Gattling Laser is just a ****ed up tempest entry.", 3320)
$end_multi_text
$Model File:                     Tempest.pof
$Mass:                           0.5
$Velocity:                        2060.0
$Fire Wait:                        0.001
$Damage:                        45                                        ;; damage applied when within inner radius
$Blast Force:                     0.7
$Inner Radius:                     10.0                                       ;; radius at which damage is full (0 for impact only)
$Outer Radius:                     20.0                                       ;; max radius for attenuated damage (0 for impact only)
$Shockwave Speed:                  0                                         ;; velocity of shockwave.  0 for none.
$Armor Factor:                     1.0
$Shield Factor:                     1.0
$Subsystem Factor:                  0.6
$Lifetime:                        3.8
$Energy Consumed:                  0.25                                       ;; Energy used when fired
$Cargo Size:                     0.0                                       ;; Amount of space taken up in weapon cargo
$Homing:                        NO
$LaunchSnd:                        90                                        ;; The sound it makes when fired
$ImpactSnd:                        88                                        ;; The sound it makes when it hits something
$FlyBySnd:                        -1
$Flags:                           ("in tech database" "player allowed")                  
$Trail:                                       ;; Trail cannot be set if Exhaust is set
   +Start Width:                  0.1                                       ;; Width of trail nearest missile
   +End Width:                     0.2                                       ;; Width of trail before it "evaporates"
   +Start Alpha:                  1.0
   +End Alpha:                     0.0
   +Max Life:                     0.3                                       ;; how many seconds before trail disappears
   +Bitmap:                     newmiss2                              ;; Bitmap used to draw trail
$Icon:                           iconTempest
$Anim:                           Tempest
$Impact Explosion:                  ExpMissileHit1
$Impact Explosion Radius:            3.0

 

Offline Fattony

  • Banned
  • 26
Nifty weapons.tbl trick.
Change the anims and such to Kaysers or Maxims.

 

Offline Fattony

  • Banned
  • 26
Nifty weapons.tbl trick.
And the best thing is, with the latest models, you don't even need to re-load.  

; ----------------------------------------------------------------------------------
; SathCannon
;
$Name:                                  @SathGun
+Title:                                 XSTR("SathGun", 3317)
+Description:
XSTR(
"Special issue
Fires Shivan Ships", 3318)
$end_multi_text
+Tech Title:               XSTR("SathGun", 3319)
+Tech Anim:                  Tech_GTM_MX-6_Tempest
+Tech Description:
XSTR(
"Oooh, look how mentally unstable I am.", 3320)
$end_multi_text
$Model File:                     supercap2s-01.pof
$Mass:                           0.1
$Velocity:                        960.0
$Fire Wait:                        5.0
$Damage:                        100000                                        ;; damage applied when within inner radius
$Blast Force:                     0.2
$Inner Radius:                     10.0                                       ;; radius at which damage is full (0 for impact only)
$Outer Radius:                     20.0                                       ;; max radius for attenuated damage (0 for impact only)
$Shockwave Speed:                  0                                         ;; velocity of shockwave.  0 for none.
$Armor Factor:                     0.9
$Shield Factor:                     0.5
$Subsystem Factor:                  0.6
$Lifetime:                        1.8
$Energy Consumed:                  0.25                                       ;; Energy used when fired
$Cargo Size:                     0.0                                       ;; Amount of space taken up in weapon cargo
$Homing:                        NO
$LaunchSnd:                        90                                        ;; The sound it makes when fired
$ImpactSnd:                        88                                        ;; The sound it makes when it hits something
$FlyBySnd:                        -1
$Flags:                           ("in tech database" "player allowed")                  
$Trail:                                       ;; Trail cannot be set if Exhaust is set
   +Start Width:                  0.1                                       ;; Width of trail nearest missile
   +End Width:                     0.2                                       ;; Width of trail before it "evaporates"
   +Start Alpha:                  1.0
   +End Alpha:                     0.0
   +Max Life:                     0.3                                       ;; how many seconds before trail disappears
   +Bitmap:                     newmiss2                              ;; Bitmap used to draw trail
$Icon:                           iconTempest
$Anim:                           Tempest
$Impact Explosion:                  ExpMissileHit1
$Impact Explosion Radius:            3.0


Mwuahahahahaha.

Testing it now.  

 

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
Nifty weapons.tbl trick.
Damnit give it a flyby sound!!!

hehe, you guys (well, fattony) are insane... I like  
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."

 

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
Nifty weapons.tbl trick.
 
Quote
Originally posted by Fattony:
"Oooh, look how mentally unstable I am."

Yes, we see...  
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."

 

Offline DragonClaw

  • Romeo Kilo India Foxtrot
  • 210
Nifty weapons.tbl trick.
 
Quote
Originally posted by Fattony:
$Model File: supercap2s-01.pof


(*W&#%^(*&#^... YOU RETARD..  


------------------
    -Director of the staff of Hidden Terror.
   -Fleet Admiral of The Ancients Armada

         
Quote
The fear always controls our attitude, let us fear no more!

 

Offline DragonClaw

  • Romeo Kilo India Foxtrot
  • 210
Nifty weapons.tbl trick.
  By the way use the "Code" tag for this kind of stuff: i.e.:
Code: [Select]
; SathCannon
;
$Name: @SathGun
+Title: XSTR("SathGun", 3317)
+Description:
XSTR(
"Special issue
Fires Shivan Ships", 3318)
$end_multi_text
+Tech Title: XSTR("SathGun", 3319)
+Tech Anim: Tech_GTM_MX-6_Tempest
+Tech Description:
XSTR(
"Oooh, look how mentally unstable I am.", 3320)
$end_multi_text
$Model File: supercap2s-01.pof
$Mass: 0.1
$Velocity: 960.0
$Fire Wait: 5.0
$Damage: 100000 ;; damage applied when within inner radius
$Blast Force: 0.2
$Inner Radius: 10.0 ;; radius at which damage is full (0 for impact only)
$Outer Radius: 20.0 ;; max radius for attenuated damage (0 for impact only)
$Shockwave Speed: 0 ;; velocity of shockwave. 0 for none.
$Armor Factor: 0.9
$Shield Factor: 0.5
$Subsystem Factor: 0.6
$Lifetime: 1.8
$Energy Consumed: 0.25 ;; Energy used when fired
$Cargo Size: 0.0 ;; Amount of space taken up in weapon cargo
$Homing: NO
$LaunchSnd: 90 ;; The sound it makes when fired
$ImpactSnd: 88 ;; The sound it makes when it hits something
$FlyBySnd: -1
$Flags: ("in tech database" "player allowed")
$Trail: ;; Trail cannot be set if Exhaust is set
+Start Width: 0.1 ;; Width of trail nearest missile
+End Width: 0.2 ;; Width of trail before it "evaporates"
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life: 0.3 ;; how many seconds before trail disappears
+Bitmap: newmiss2 ;; Bitmap used to draw trail
$Icon: iconTempest
$Anim: Tempest
$Impact Explosion: ExpMissileHit1
$Impact Explosion Radius: 3.0

------------------
    -Director of the staff of Hidden Terror.
   -Fleet Admiral of The Ancients Armada

         
Quote
The fear always controls our attitude, let us fear no more!

 

Offline morris13

  • New Marshal in town...
  • 27
Nifty weapons.tbl trick.
Firing capships had occured to me too, but unless you could rig it some way that they could SHOOT after you fired them out of your gun, there's really no point to it. Now... using something that big as a COUNTERMEASURE could be VERY useful... you don't have to worry about the missiles getting distracted, you just drop something big enough that they run into it =)
If it aint broke, break it!

 

Offline Sandwich

  • Got Screen?
  • 213
    • Skype
    • Steam
    • Twitter
    • Brainzipper
Nifty weapons.tbl trick.
 
Quote
Originally posted by morris13:
Firing capships had occured to me too, but unless you could rig it some way that they could SHOOT after you fired them out of your gun, there's really no point to it. Now... using something that big as a COUNTERMEASURE could be VERY useful... you don't have to worry about the missiles getting distracted, you just drop something big enough that they run into it =)

Oohhh... how about a Knossos-based countermeasure? Say a mini-knossos pof, about the size of an Argo or so, that simply whisks any pursuing missiles away into subspace!   I know - can't be done without the source code... oh well...


------------------
"He who laughs last thinks slowest."
"Just becase you're paranoid doesn't mean they're not out to get you."
"To err is human; to really screw up you need a computer."
Creator of the Sandvich Bar
SERIOUSLY...! | {The Sandvich Bar} - Rhino-FS2 Tutorial | CapShip Turret Upgrade | The Complete FS2 Ship List | System Background Package

"...The quintessential quality of our age is that of dreams coming true. Just think of it. For centuries we have dreamt of flying; recently we made that come true: we have always hankered for speed; now we have speeds greater than we can stand: we wanted to speak to far parts of the Earth; we can: we wanted to explore the sea bottom; we have: and so  on, and so on: and, too, we wanted the power to smash our enemies utterly; we have it. If we had truly wanted peace, we should have had that as well. But true peace has never been one of the genuine dreams - we have got little further than preaching against war in order to appease our consciences. The truly wishful dreams, the many-minded dreams are now irresistible - they become facts." - 'The Outward Urge' by John Wyndham

"The very essence of tolerance rests on the fact that we have to be intolerant of intolerance. Stretching right back to Kant, through the Frankfurt School and up to today, liberalism means that we can do anything we like as long as we don't hurt others. This means that if we are tolerant of others' intolerance - especially when that intolerance is a call for genocide - then all we are doing is allowing that intolerance to flourish, and allowing the violence that will spring from that intolerance to continue unabated." - Bren Carlill

  

Offline Snipes

  • 29
    • http://freespace.volitionwatch.com/us
Nifty weapons.tbl trick.
eh... yeah, it could be rigged... have the ewxplosion be the warpout, and make the CM the knossos (my cm is a tsunami  ) and blam-o!
     
------------------
United Space
Newsie, Modder, Slave to Asta
------------------
"Snipes... Is The Dark Continent."