Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: starbug on May 07, 2009, 04:16:17 pm

Title: Help with a Weapon.
Post by: starbug on May 07, 2009, 04:16:17 pm
I have created an anti-figther weapon for cap ships based on the railguns on the Stargate ships, Odyssey and Daedalus. I want them to replace the the flak weapons as i am working on a small campaign for inferno alliance but i would like someone to test it and see if it is balanced and anyone can use it. I am using a different  laser bitmap but i have changed it on this one to the standard terran turret bitmap so anyone can use it.

Greatly appreciate it to whoever tests this for me.

$Name:                                  Railgun
$Model File:                    none
@Laser Bitmap:                  laserglow01
@Laser Glow:                           2_laserglow03
@Laser Color:                           250, 30, 30
@Laser Color2:                           250, 30, 30
@Laser Length:       11.0
@Laser Head Radius:  2.0
@Laser Tail Radius:  1.0
$Mass:0.1
$Velocity:   2000.0
$Fire Wait: 0.35
$Damage:   15
$Armor Factor:1.0
$Shield Factor:1.0
$Subsystem Factor:   0.3
$Lifetime:   1.0
$Energy Consumed:   4.0   
$Cargo Size:0.0
$Homing:   NO
$Swarm:           4
+SwarmWait:          0.35
$LaunchSnd: 110
$ImpactSnd: 85
+Weapon Range:2000   
$Flags:("stream" "fire down normals")
$Trail:   
   +Start Width:2.0
   +End Width:2.0
   +Start Alpha:1.0
   +End Alpha:   0.0
   +Max Life: 0.1
   +Bitmap:   flak_trail
$Icon:iconSD4
$Anim:SD4
$Impact Explosion:         ExpMissileHit1
$Impact Explosion Radius:      8.0
$Muzzleflash: cmuzzle
$FOF: 0.75
Title: Re: Help with a Weapon.
Post by: Krelus on May 07, 2009, 09:17:30 pm
If you're dogfighting about 700m away from the ship it's no biggie. If you have, say, three or more shooting at you any closer, though, holy god are they nasty.

I say they're balanced because while they make an incredibly effective point-defense weapon, unless the target is going after the ship in question they're mostly harmless. Plus they're cool.
Title: Re: Help with a Weapon.
Post by: starbug on May 08, 2009, 03:51:36 am
Cheers man, and thanks for testing for me  :D
Title: Re: Help with a Weapon.
Post by: Getter Robo G on May 08, 2009, 03:55:21 am
Just tried it out myself... Pretty neat.

If you don't mind I want to tweak it.

Plus in the style of SG railguns they should pulse 3-4 times as burst fire.
I was working on a ISD cannon that uses a 4 burst pattern spread out so it appears there are more than 1 gun firing for example.

I will try some experiments as I play with a lot of SG elements.

I have a Wraith Cruiser to blow up for example... :)
Title: Re: Help with a Weapon.
Post by: starbug on May 08, 2009, 07:37:02 am
Nah i don't mind if you tweak it. It is set to fire a burst of 4 shots, but i suppose with the fire wait at 0.35 it likes like a continuse burst, might tweak the fire wait my self.
Title: Re: Help with a Weapon.
Post by: Aardwolf on May 08, 2009, 05:24:04 pm
Does the $Swarm: entry even work for primaries?
Title: Re: Help with a Weapon.
Post by: Retsof on May 08, 2009, 05:48:52 pm
Yet it does, that's how you make burst fire and volleys.
Title: Re: Help with a Weapon.
Post by: InsaneOne on May 08, 2009, 06:16:44 pm
Also, it makes them fire down the turret's normals so they require a multi-part turret unless you edit the AI profiles
Title: Re: Help with a Weapon.
Post by: Droid803 on May 08, 2009, 07:00:49 pm
The Swarm flag only works for multi-part turrets.
if a player tries to fire it, it shoots once.