Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: vadar_1 on April 06, 2002, 09:10:49 pm

Title: Flak as a primary? (img moderatly heavy)
Post by: vadar_1 on April 06, 2002, 09:10:49 pm
Anyone able to make Flak as a primary cannon? I was able to get it to mount, but my only guess is the flak is explodes instantly. When I fire the flak, I constantly take damage, and I get the [Blast] indicator. No flak actually gets out beyond the range of my ship. If I move right up to another ship, it takes the flak damage. Anyone find a solution to this?

(http://fc.olaki.net/flak1.jpg)

(http://fc.olaki.net/flak2.jpg)

(http://fc.olaki.net/flak3.jpg)
Title: Flak as a primary? (img moderatly heavy)
Post by: Galemp on April 06, 2002, 09:49:53 pm
Yah, same here. You can cheat and force your primary guns to Flak, if you're interested.
Title: Flak as a primary? (img moderatly heavy)
Post by: Bobboau on April 06, 2002, 11:18:21 pm
there is no way to get real flak
Title: Flak as a primary? (img moderatly heavy)
Post by: Stryke 9 on April 06, 2002, 11:52:51 pm
No solution, unless you don't mind decompiling the game scripts, locating the flak bits that refer it to an AI, and reprogramming them. The AI capship player sets the range, and in the absence of a capship AI (namely, when you're firing the flak), the default is a very painful range of 0.
Title: Flak as a primary? (img moderatly heavy)
Post by: experiencedn00b on April 07, 2002, 03:22:26 am
what is that thing in the background with the radar dish on top?   obviously someone made it, but what is it?
Title: Flak as a primary? (img moderatly heavy)
Post by: vadar_1 on April 07, 2002, 03:36:29 am
Quote
Originally posted by experiencedn00b
what is that thing in the background with the radar dish on top?   obviously someone made it, but what is it?


To answer your question, yes, the deimos in the third shot looks like a cucumber
Title: Flak as a primary? (img moderatly heavy)
Post by: Black Wolf on April 07, 2002, 05:16:34 am
Quote
Originally posted by vadar_1


To answer your question, yes, the deimos in the third shot looks like a cucumber


:confused:

I think he means in the second shot.
Title: Flak as a primary? (img moderatly heavy)
Post by: Darkage on April 07, 2002, 06:33:47 am
Thats a GTI military station, from the Inferno campaign.
Title: Flak as a primary? (img moderatly heavy)
Post by: Kellan on April 07, 2002, 11:42:48 am
I was always under the impression that flak as a primary weapon also went off right next to you because it exploded against the inside of your shield...not sure if this is the case though... :doubt:
Title: Flak as a primary? (img moderatly heavy)
Post by: LtNarol on April 07, 2002, 11:45:48 am
since when did a argo have a hud icon?
Title: Flak as a primary? (img moderatly heavy)
Post by: Nico on April 07, 2002, 11:46:21 am
Quote
Originally posted by Kellan
I was always under the impression that flak as a primary weapon also went off right next to you because it exploded against the inside of your shield...not sure if this is the case though... :doubt:


nope, coz there's no "inside" to a shield mesh, same stuff than with flipped polys on a ship, if you shoot there, the shots will go through. same for the shields.
Title: Flak as a primary? (img moderatly heavy)
Post by: LtNarol on April 07, 2002, 11:50:15 am
Quote
Originally posted by venom2506


nope, coz there's no "inside" to a shield mesh, same stuff than with flipped polys on a ship, if you shoot there, the shots will go through. same for the shields.
you'll also notice he's flying an Argo and Argos dont have shields.  I just hadnt reallized Argos had hud icons.
Title: Flak as a primary? (img moderatly heavy)
Post by: vadar_1 on April 07, 2002, 01:16:57 pm
Quote
Originally posted by Black Wolf


:confused:

I think he means in the second shot.


I know, I was just messing with him :D


Quote
Originally posted by LtNarol
since when did a argo have a hud icon?


Since Zer0 made one for me, for this little sucker (http://fc.olaki.net/ci.php?id=3)
Title: Flak as a primary? (img moderatly heavy)
Post by: aldo_14 on April 08, 2002, 03:58:52 am
I think it's the muzzle flash (or whatever it's called) that does that.  i remeber testing a lser with that enabled - it meant that every tuime i fired the laser, there was a small explosion - alsways occuring in the point the laser was where i started the mission.

Wierd stuff....... maybe flak should be a missile based weapon, anyway - a timed wide area explosion?   In fact, that's pretty close to what a Piranha(?) is, anyway.
Title: Flak as a primary? (img moderatly heavy)
Post by: KARMA on April 08, 2002, 09:13:40 am
maybe assigning a firing point at the flak little distant from the hull?
Title: Flak as a primary? (img moderatly heavy)
Post by: phreak on April 08, 2002, 02:08:30 pm
now where did i put that thing...

Code: [Select]

;
;Fighter Flak
;
$Name:                                 Flak Cannon
+Title:                                XSTR("GTW-84 Flak Cannon", -1)
+Description:
XSTR(
"Flak Gun for fighters
Level 4 Hull damage
Level 4 Shield damage", -1)
$end_multi_text
+Tech Title:   XSTR("GTW-84 Flak Cannon", -1)
+Tech Anim:   Tech_GTW-66_Maxim_Gun
+Tech Description:
XSTR(
"By making a slight modification to flak cannons on capital-ships, GTVI labs has figured out how to put flak cannons onto fighters.
Before this modification, the proximity sensors on flak guns made launching fighter based flak sucidal.
In removing the proximity sensor, GTVI labs could now install flak cannons on fighters.
With the proximity sensor removed, the pilot must score a direct hit in order for the flak to detonate.", -1)
$end_multi_text
$Model File: none
@Laser Bitmap: newglo9
@Laser Glow:   2_laserglow03
@Laser Color:   89, 45, 0
@Laser Color2:   89, 45, 0
@Laser Length: .1
@Laser Head Radius: .1
@Laser Tail Radius: .1
$Mass:                                 .2
$Velocity:                             750.0
$Fire Wait:                            0.2                          
$Damage:                               20
$Armor Factor:   1.0
$Shield Factor:         1.0
$Subsystem Factor:   0.2
$Lifetime:                             1.25
$Energy Consumed:   .8
$Cargo Size:         0.0
$Homing:                               NO
$LaunchSnd:                            116                              
$ImpactSnd:                            117                              
$Flags:                                ( "player allowed" "partlcle spew" )
$Icon:                                 iconNewton
$Anim:                                 Newton
$Impact Explosion: exp20
$Impact Explosion Radius:                          10.0




edit: line breaks are a-1 supar!
Title: Flak as a primary? (img moderatly heavy)
Post by: vadar_1 on April 08, 2002, 05:25:40 pm
lol, cool, not quite what I had in mind, but that will work A-1 SUPAR!!! :)

Thanx
Title: Flak as a primary? (img moderatly heavy)
Post by: Sesquipedalian on April 08, 2002, 06:34:09 pm
Nice. :yes:
Title: Flak as a primary? (img moderatly heavy)
Post by: phreak on April 08, 2002, 07:43:22 pm
only if i released my mods..

Last Modified: Sunday, July 29, 2001 15:53:14