Author Topic: Something i stumbled on with the Weapons.tbl  (Read 1448 times)

0 Members and 1 Guest are viewing this topic.

Offline Kazan

  • PCS2 Wizard
  • 212
  • Soul lives in the Mountains
    • http://alliance.sourceforge.net
Something i stumbled on with the Weapons.tbl
The following weapon works in both FS2 Open and the base executeable - as a fighter beam in FS2O and a old "stream beam" in FS2 (note: the stream beam parameters need tweaking"

Code: [Select]

$Name: Neutron Gun
+Title:                         XSTR("Neutron Gun", -1)
+Description:
XSTR(
"Fires a stream of neutrons.
Level 3 Hull Damage ", -1)
$end_multi_text
+Tech Title:                    XSTR("Neutron Gun", -1)
+Tech Anim:                     Tech_Subach_HL-7
+Tech Description:
XSTR(
"Minbari Neutron guns cause molecular decay on the targets hull plating. Using powerful gravimetrics to control the

confinement of the beam, Minbari craft use this to great advantage and are able to bring significant firepower on their

target.", -1)
$end_multi_text
$Model File:                  none
@Laser Bitmap:                minbaring
@Laser Glow:                  minbaringg
@Laser Color:                 170, 250, 0
@Laser Color2:                170, 250, 0
@Laser Length:                375.0  ;70.0
@Laser Head Radius:           1.00
@Laser Tail Radius:           1.00
$Mass:                        0.01
$Velocity:                    3000
$Fire Wait:                   0.15 ; 0.20
$Damage:                      49 ; 56
$Armor Factor:                1.0
$Shield Factor:               0.7
$Subsystem Factor:            0.8
$Lifetime:                    0.7
$Energy Consumed:             0.45
$Cargo Size:                  0.0
$Homing:                      NO
$LaunchSnd:                   84
$ImpactSnd:                   85
+Weapon Range:                1600
$Flags: ( "in tech database" "beam" "player allowed" "stream" )
$Icon: iconKayser
$Anim: Kayser
$Impact Explosion:              ExpMissileHit1
$Impact Explosion Radius:       5.0
$BeamInfo:
+Type: 3
+Life: 0.9
+Warmup: 1500
+Warmdown: 1000
+Radius: 2.5
+PCount: 0
+PRadius: 0
+PAngle: 0.0
+PAni: particleexp01
+Miss Factor: 0.8 0.9 1.0 1.2 1.6
+BeamSound: 84
+WarmupSound: 84
+WarmdownSound: 84
      +Muzzleglow:            minbari_bg3
      +Shots:                 1
      +ShrinkFactor:          1.2
      +ShrinkPct:             0.0
      $Section:
            +Width:           1.2
            +Texture:         minbari_b2
            +RGBA Inner:      170 250 0 255
            +RGBA Outer:      20 60 0 255
            +Flicker:         0.0
            +Zadd:            2.0
      $Section:
            +Width:           0.6
            +Texture:         minbari_b1
            +RGBA Inner:      170 250 0 255
            +RGBA Outer:      20 60 0 255
            +Flicker:         0.3
            +Zadd:            1.0
      $Section:
            +Width:           0.4
            +Texture:         generic_b1
            +RGBA Inner:      250 250 250 255
            +RGBA Outer:      20 20 20 255
            +Flicker:         0.0
            +Zadd:            0.0
PCS2 2.0.3 | POF CS2 wiki page | Important PCS2 Threads | PCS2 Mantis

"The Mountains are calling, and I must go" - John Muir

 

Offline TopAce

  • Stalwart contributor
  • 212
  • FREDder, FSWiki editor, and tester
Something i stumbled on with the Weapons.tbl
What does that ";" mean in the damage field?
So : Damage is not ONE fix value.
My community contributions - Get my campaigns from here.

I already announced my retirement twice, yet here I am. If I bring up that topic again, don't believe a word.

 

Offline Galemp

  • Actual father of Samus
  • 212
  • Ask me about GORT!
    • Steam
    • User page on the FreeSpace Wiki
Something i stumbled on with the Weapons.tbl
No, it means it's 49. Whoever coded that entry decided to comment 56. Anything after the semicolon doesn't get processed.
"Anyone can do any amount of work, provided it isn't the work he's supposed to be doing at that moment." -- Robert Benchley

Members I've personally met: RedStreblo, Goober5000, Sandwich, Splinter, Su-tehp, Hippo, CP5670, Terran Emperor, Karajorma, Dekker, McCall, Admiral Wolf, mxlm, RedSniper, Stealth, Black Wolf...

 

Offline IceFire

  • GTVI Section 3
  • 212
    • http://www.3dap.com/hlp/hosted/ce
Something i stumbled on with the Weapons.tbl
I COMMONLY comment out values as I try and find the best value for the weapon.  I comment it because if I want to go back to the previous value, its still there :)
- IceFire
BlackWater Ops, Cold Element
"Burn the land, boil the sea, you can't take the sky from me..."