Hard Light Productions Forums

Modding, Mission Design, and Coding => The Modding Workshop => Topic started by: pansarskott on November 11, 2012, 05:31:48 am

Title: Model wont change..
Post by: pansarskott on November 11, 2012, 05:31:48 am
Ok, I'v searched the forum but dident find an answer for this... I'm trying to make a point-defence weapon on bigger ships, like a minigun phalanx. The weapon works, the only trouble is that the gun dont fire the tracers I want but the basic Hornet.pof.

How do I make the game choose my Tracer.pof, instead?

Cheers
Title: Re: Model wont change..
Post by: headdie on November 11, 2012, 09:57:04 am
http://www.hard-light.net/wiki/index.php/Weapons.tbl#.24Substitute: would be the way to do it, but it was never implemented for turrets and CTDs the game when you do, it works fine for fighter weapon banks, the best thing to do would be to use laser glows for all rounds from the turret.
Title: Re: Model wont change..
Post by: General Battuta on November 11, 2012, 10:26:36 am
You should post the table file of your weapon.
Title: Re: Model wont change..
Post by: pansarskott on November 11, 2012, 12:27:50 pm
Sorry..Here is the table...

$Name:                     Standard Flak
+Title:               Point-Defence Phalanx
+Description:            The Phalanx cannon is a multi barrel, rapid fire, cannon.  Designed mainly as an anti-fighter weapon it is also very effective against incoming warheads.
Standard Issue
Phalanx
$end_multi_text
$Model File:                  none
   @Laser Bitmap:         Tracer_New
   @Laser Glow:         Tracer_Glows
   @Laser Color:         250, 250, 150
   @Laser Color2:         250, 150, 0
   @Laser Length:         6.5
   @Laser Head Radius:      1.25
   @Laser Tail Radius:      1.25
$Mass:               0.0
$Velocity:            1200
$Fire Wait:            0.125
$Damage:            10
$Damage Type:            Damage_New
$Armor Factor:            1.0
$Subsystem Factor:         0.1
$Lifetime:            0.3
$Homing:            NO
$LaunchSnd:            91
$ImpactSnd:             88
$Rearm Rate:            800
+Weapon Range:            800
$Flags:               ( "ballistic" "small only" "stream" "same turret cooldown" )
$Muzzleflash:            MuzzleFlash_New
$FOF:               0.5
Title: Re: Model wont change..
Post by: Dragon on November 11, 2012, 01:45:21 pm
Mediavps must be overriding your table. Rename it to something other than "Standard Flak".
Title: Re: Model wont change..
Post by: pansarskott on November 11, 2012, 05:55:44 pm
It worked! Thanks!  :)