I don't know if there are a topic about it. With the help of the Wiki, I made a ballistic weapon. However, the weapon have just 1 bullet and no more. Why ?
Ships.tbl
$Name: GTF Perseus
$Short name: TFight2t-03
$Species: Terran
+Type: XSTR("Interceptor", 2981)
[...]
+Length: 17 m
+Gun Mounts: 2
+Missile Banks: 2
$POF file: fighter2t-03.pof
$Detail distance: (0, 180, 300, 1100)
$Show damage: YES
$Density: 1
$Damp: 0.15
$Rotdamp: 0.35
$Max Velocity: 0.0, 0.0, 80.0 ;; in x/y/z -- z only specified forward. use special tokens for backward movement
$Rotation time: 3.3, 3.3, 3.3
$Rear Velocity: 0.0
$Forward accel: 2.0
$Forward decel: 1.5
$Slide accel: 0.0
$Slide decel: 0.0
$Expl inner rad: 25.0
$Expl outer rad: 75.0
$Expl damage: 25.0
$Expl blast: 1000.0
$Expl Propagates: NO ;; If set to Yes, then when the ship dies, the explosion propagates through it.
$Shockwave Speed: 95.0 ;; speed shockwave expands at, 0 means no shockwave
$Shockwave Model: f_shockwave.pof
$Allowed PBanks: ( "Subach HL-7" "Akheton SDG" "Morning Star" "Prometheus S" "Prometheus R" "UD-8 Kayser" "Gaitling" "GLaser Cannon" "RLaser Cannon" )
$Allowed Dogfight PBanks: ( "MorningStar D" "Prometheus D" "Maxim D" "Circe" "UD-D Kayser" "Gaitling" )
$Default PBanks: ( "Gaitling" "Gaitling" )
$PBank Capacity: ( 2000, 2000 )
$Allowed SBanks: ( "Rockeye" "Tempest" "Harpoon" "Trebuchet" "Stiletto II" "Hornet" "Tornado" "Hornet#Weak" "EMP Adv." "TAG-A" "TAG-B" )
$Allowed Dogfight SBanks: ( "Tempest D" "Harpoon D" "Tornado D" )
$Default SBanks: ( "Harpoon" "Hornet" )
$SBank Capacity: ( 40, 40 )
$Shields: 350
$Shield Color: 100 100 255
$Power Output: 2.0
$Max Oclk Speed: 100.0
$Max Weapon Eng: 150.0
$Hitpoints: 265
$Flags: ( "player_ship" "default_player_ship" "fighter" "in tech database" "ballistic primaries" )
$AI Class: Captain
[...]
$Subsystem: sensors, 10,0.0
$Subsystem: communications, 10,0.0
$Subsystem: weapons, 10,0.0
$Subsystem: navigation, 10,0.0
$Subsystem: engine, 35,0.0
Weapons.tbl
; ----------------------------------------------------------------------------------
; Gaitling (only available after nebula missions begin)
;
$Name: Gaitling
+Title: XSTR("Gaitling (standard)", 3274)
+Description:
XSTR(
"Medium Energy Usage
Level 15 Hull Damage
Level 10 Shield Damage", 3275)
$end_multi_text
+Tech Title: XSTR("Gaitling", 3276)
+Tech Anim: Tech_GTW-5_Prometheus_S
+Tech Description:
XSTR(
"...", 3277)
$end_multi_text
$Model File: none
@Laser Bitmap: gaitling
@Laser Glow: gaitling_glow
@Laser Color: 20, 150, 20
@Laser Color2: 20, 150, 20
@Laser Length: 5.0
@Laser Head Radius: 1.0
@Laser Tail Radius: 1.0
$Mass: 0.1
$Velocity: 650.0 ;; speed of the weapon (initially) -- may or may not change
$Fire Wait: 0.10 ;; in seconds
$Damage: 60
$Arm time: 2 ;; time before the weapon comes hot
$Armor Factor: 0.8
$Shield Factor: 0.8
$Subsystem Factor: 0.35
$Lifetime: 2.0
$Energy Consumed: 0.5 ;; Energy used when fired
$Cargo Size: 1.0 ;; Amount of space taken up in weapon cargo
$Homing: NO
$LaunchSnd: 78 ;; The sound it makes when fired
$ImpactSnd: 85 ;; The sound it makes when it hits something
$Flags: ( "player allowed" "Ballistic" )
$Icon: iconPromS
$Anim: PromS
$Impact Explosion: none