Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: Bobboau on March 09, 2003, 06:00:04 pm

Title: shotgun
Post by: Bobboau on March 09, 2003, 06:00:04 pm
I just made this (http://freespace.volitionwatch.com/blackwater/fs2_open.zip) exe with two new optional strings, the $FOF: (field of fire, this was made a few weeks ago but it never got into FSO, and still isn't) and $Shots: (number of weapons to fire at a time)
when used together they alow you to make a shotgun effect, also the FOF can be used on non-shot weapons to give you a sort of inacuracy level,  shots can be used by it's self but without a FOF value it won't do much.
I am not going to commit any thing untill after 3.51

and example of how to use these
also note the particle spew stuff that has been unseen for six months ;7
Code: [Select]
$Name:                          8.4mm Particle Shot
+Title:                         XSTR("8.4mm Particle Shot", -1)
+Description:
XSTR(
"Plasma Discharge Cannon
Level 2 Damage
Standard Issue", -1)
$end_multi_text
+Tech Title:                    XSTR("8.4mm Particle Shot", -1)
+Tech Anim:                     Tech_Subach_HL-7
+Tech Description:
XSTR(
".", -1)
$end_multi_text

$Model File:                  none
@Laser Bitmap: l_pulse3
@Laser Glow: thrusterglow03a
@Laser Color:                 230, 255, 100
@Laser Color2:                170, 200, 0
@Laser Length:                1.1
@Laser Head Radius:           0.13
@Laser Tail Radius:           0.08
$Mass:                        0.01
$Velocity:                    750
$Fire Wait:                   0.74
$Damage:                      6.5
$Armor Factor:                0.9
$Shield Factor:               0.5
$Subsystem Factor:            0.7
$Lifetime:                    0.5
$Energy Consumed:             1.1
$Cargo Size:                  0.0
$Homing:                      NO
$LaunchSnd: 81
$ImpactSnd:                   85
+Weapon Range:                400
$Flags:                       ( "in tech database" "player allowed" "stream"  "Particle Spew" )
$Icon:                        iconSD4
$Anim:                        SD4
$Impact Explosion:              none
$Pspew:
+Count: 1
+Time: 10
+Vel: 0.5
+Radius: 0.4
+Life: 0.43
+Scale: 0.3
+Bitmap: sun_green
$FOF: 6.6
$Shots: 10


note; I'm useing TBP R1 as it loads very very very fast wich makes testing much easier
Title: shotgun
Post by: Solatar on March 09, 2003, 07:08:30 pm
nice.
Title: shotgun
Post by: Sandwich on March 10, 2003, 09:02:04 am
Screenie? *bats eyelids*