Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: vyper on July 22, 2003, 06:22:29 pm

Title: New Primary
Post by: vyper on July 22, 2003, 06:22:29 pm
Just something for use if you want a weapon for basic missions, say at the start of a campaign, that don't have a lot of punch.

Code: [Select]

; Strafe primary by vyper
; Soft touch, rapid fire weapon
$Name:                                  @Strafe Mk1
+Title:                                 XSTR("GTW SI-1 Strafe", -1)
+Description:
XSTR(
"Standard Issue
Level 1 Hull Damage
Level 1 Shield Damage", 3244)
$end_multi_text
+Tech Title:    XSTR("Strafe", -1)
+Tech Anim:                     Tech_Subach_HL-7
+Tech Description:
XSTR(
"Developed as a cheap, mass-produces weapon, the Strafe is designed for dogfighting only. Its high fire rate compensates for its low damage levels", -1)
$end_multi_text
$Model File: none
; The following fields (preceded by @) are only required for laser
; rendering, which requires that "Model File:" be none.
; These are the same values that used to be hard-coded:
@Laser Bitmap: newglo9
@Laser Glow: 2_laserglow03
@Laser Color: 243, 119, 7
@Laser Color2: 214, 221, 254
@Laser Length: 15.0
@Laser Head Radius: 0.90
@Laser Tail Radius: 0.50
$Mass: 0.8
$Velocity: 600.0 ;; speed of the weapon (initially) -- may or may not change
$Fire Wait: 0.1 ;; in seconds
$Damage: 8
$Armor Factor: 0.3
$Shield Factor: 0.3
$Subsystem Factor: 0.3
$Lifetime: 1.0 ;; How long this thing lives
$Energy Consumed: 0.90 ;; Energy used when fired
$Cargo Size: 0.0 ;; Amount of space taken up in weapon cargo
$Homing: NO
$LaunchSnd: 76 ;; The sound it makes when fired
$ImpactSnd: 85 ;; The sound it makes when it hits something
+Weapon Range: 100000 ;; Limit to range at which weapon will actively target object
$Flags: ("in tech database" "player allowed" "stream")
$Icon: iconSD4
$Anim: SD4


Just thought I'd share.


Also:
Code: [Select]
; ----------------------------------------------------------------------------------
; Nova
;
$Name:                                 Nova Cannon
+Title:                                XSTR("GTIW-87 Nova Cannon", -1)
+Description:
XSTR(
"Medium power, high fire rate.
Level 3 Hull Damage
Level 3 Shield Damage", -1)
$end_multi_text
+Tech Title:   XSTR("GTIW-87 Nova", -1)
+Tech Anim:   Tech_GTW-66_Maxim_Gun
+Tech Description:
XSTR(
"The Nova cannon was developed by GTVI technical. It was to be used to arm the next generation of fighters.", -1)
$end_multi_text
$Model File: none
@Laser Bitmap: lightning
@Laser Glow:   2_laserglow03
@Laser Color:   133, 22, 33
@Laser Color2:   233, 122, 133
@Laser Length: 3.0
@Laser Head Radius: 4.0
@Laser Tail Radius: 0.25
$Mass:                                 0.50
$Velocity:                             400.0                           ;; speed of the weapon (initially) -- may or may not change
$Fire Wait:                            0.35                             ;; in seconds
$Damage:                               50
$Armor Factor: 1.0
$Shield Factor: 2.5
$Subsystem Factor: 4.0
$Lifetime:                             1.0
$Energy Consumed: 1.25 ;; Energy used when fired
$Cargo Size: 0.0 ;; Amount of space taken up in weapon cargo
$Homing:                               NO
$LaunchSnd:                            114                              ;; The sound it makes when fired
$ImpactSnd:                            85                               ;; The sound it makes when it hits something
$Flags:                                ( "player allowed" "stream" )
$Icon:                                 iconNewton
$Anim:                                 Newton
$Impact Explosion: none
Someting Shivan-esque that I never perfected.


Finally, the Shatter Pulse - used in Maelstrom (well, should be):




Code: [Select]
; ----------------------------------------------------------------------------------
; Shatter
;
$Name:                                 Shatter Pulse
+Title:                                XSTR("GTW-72 Shatter Pulse", -1)
+Description:
XSTR(
"Medium power, high fire rate.
Level 3 Hull Damage
Level 3 Shield Damage", -1)
$end_multi_text
+Tech Title:   XSTR("GTW-xx ", -1)
+Tech Anim:   Tech_GTW-66_Maxim_Gun
+Tech Description:
XSTR(
"The Shatter Pulse is an all round weapon to replace.", -1)
$end_multi_text
$Model File: none
@Laser Bitmap: gflash3
@Laser Glow:   2_laserglow03
@Laser Color:   255, 255, 172
@Laser Color2:   69, 42, 172
@Laser Length: 2.0
@Laser Head Radius: 1.0
@Laser Tail Radius: 0.25
$Mass:                                 0.25
$Velocity:                             200.0                           ;; speed of the weapon (initially) -- may or may not change
$Fire Wait:                            0.10                             ;; in seconds
$Damage:                               25
$Armor Factor: 1.0
$Shield Factor: 1.0
$Subsystem Factor: 1.0
$Lifetime:                             5.0
$Energy Consumed: 1.0 ;; Energy used when fired
$Cargo Size: 0.0 ;; Amount of space taken up in weapon cargo
$Homing:                               NO
$LaunchSnd:                            84                               ;; The sound it makes when fired
$ImpactSnd:                            85                               ;; The sound it makes when it hits something
$Flags:                                ( "player allowed" "stream" )
$Icon:                                 iconNewton
$Anim:                                 Newton
$Impact Explosion: none


This one can be messy and again its not perfect. Have fun. :D
Title: New Primary
Post by: Deepblue on July 22, 2003, 08:14:55 pm
Piccies?