I was messing around trying to make a weapon like the Reflex Cannon from Robotech, and I came up with this. It would be neat if you could and an AOE affect to weapons so it destroyed… er, hit… everything in it’s path :). And maybe also damage over time for beams that have a long shot.
[code][config]
unlockcost = 0
lockable = 0
armour_penetration = 90
beam_duration = 5000
beamwidth = 250.0
blasttexture = “beam_red_atlas.dds”
category = “WEAPONS”
classname = “SIM_BeamWeaponModule”
color = 1,1,1
cost = 300
crew_required = 50
damage = 300
description = “It’s a huge BEAM!”
fire_interval = 10000
grain = “beam_red_atlas.dds”
guiname = “BIG Cruiser Beam Laser”
has_grain = 50
hitpoints = 200
icon = turret
min_range = 500
max_range = 1500
name = “BIG_cruiser_beamlaser”
optimum_range = 1000
powerconsumed = 50
shield_penetration = 60
size = “CRUISER”
sound = “data/sounds/cruiser_beamlaser.ogg”
soundvolume = 1.0
texture = “beam_red_atlas.dds”
tracking_speed = .6
turret_sprite = turret_las_v1
turretsize = 12.0
weight = 225
slot_type = TURRET
[dataitems]
0 = cost,DECIMAL
1 = weight,DECIMAL
2 = hitpoints,DECIMAL
3 = powerconsumed,DECIMAL
4 = max_range,DECIMAL
5 = damage,DECIMAL
6 = fire_interval,INTEGER
7 = tracking_speed,DECIMAL
8 = shield_penetration,DECIMAL
9 = armour_penetration,DECIMAL
10 = crew_required,INTEGER
11 = optimum_range,DECIMAL
12 = min_range,DECIMAL[/code]