Author Topic: Need Help with fighter beam  (Read 1984 times)

0 Members and 1 Guest are viewing this topic.

Offline mr.WHO

  • 29
Need Help with fighter beam





My problem is that this beam weapon ignore "$Fire Wait:" entry, no matter what I put there I'm able to refire this beam insantly after powering previous shot, which cause a stupid effect that I can shoot multiple baeams from one gun at the same time :(

I tried to seek inspiration here:
http://www.hard-light.net/wiki/index.php/Weapons.tbl#Beam_Cannons
and here:
http://www.hard-light.net/wiki/index.php/Tutorial_-_Beam_Weapons

But with no effect :(

 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: Need Help with fighter beam
lol, the Thor was made for a reason, didn't need the Wraith for this. :P

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: Need Help with fighter beam
I haven't made any of this modding stuff but from what I've seen on "Tides of Darkness" and it's featured bomber with beams, the limit for the fire rate of the beam was not the fire wait, but the energy consumption of the beam... when the ship runned out of energy the beam just stopped shooting untill you got enought energy again... so I would bet on the "$Energy Consumed:" flag.
el hombre vicio...

 

Offline mr.WHO

  • 29
Re: Need Help with fighter beam
I haven't made any of this modding stuff but from what I've seen on "Tides of Darkness" and it's featured bomber with beams, the limit for the fire rate of the beam was not the fire wait, but the energy consumption of the beam... when the ship runned out of energy the beam just stopped shooting untill you got enought energy again... so I would bet on the "$Energy Consumed:" flag.

ToD beam still allow you to fire multiple beam in the same time.

My problem is not about "when beam stop fire" but more like "when beam start fire", I just want it to be like normal weapon - that will refire after the previous shot will power down not before :(

That is strange that normal, turret placed beams comply to fire wait entry, while fighter mounted don't :/

 

Offline Rodo

  • Custom tittle
  • 212
  • stargazer
    • Steam
Re: Need Help with fighter beam
I don't know then...maybe is something related to a beam weapon always being mounted on cap ships or turrets, try making the ship a "capital ship", maybe it will work.. though I don't know what side effects will that carry along.
el hombre vicio...

 

Offline --Steve-O--

  • 28
  • I might be the last man on earth to use TS3.2
Re: Need Help with fighter beam
I ran into this as well when i first started using fighter beams. I originally had the type set to 3, the fire wait had
no effect at all, i switched it to a type 0 and finally the fire wait had an influence. so try that out.




$Fire Wait:                     3.0         

$BeamInfo:
   +Type:                  0   
   +Life:                    1.0      
   +Warmup:                 1500      
   +Warmdown:               1200   
"And so they dwelled in filth, on worlds made of dirt and feces, and there they lay until they stumbled into the skies." --the Mad Prophet

 

Offline mr.WHO

  • 29
Re: Need Help with fighter beam
I set to Type 0 a few time with no effect:

Fire wait is set to 10.0

Code: [Select]
$BeamInfo:
+Type: 0 ;; 0 - 4 are valid #'s
+Life:   5.0 ;; how long it lasts once the beam is actually firing
+Warmup:   1500 ;;  in ms
+Warmdown: 1200 ;; in ms
+Radius:   5.0 ;; muzzle glow in meters

 

Offline asyikarea51

  • 210
  • -__-||
Re: Need Help with fighter beam
Stumbled on this same problem too... I think your best hope for now is to experiment with the gun's energy consumption and the ship's recharge rate.

But if you choose to make your mod for multiplayer, then that solution isn't a good choice - if you set the ship's gun energy recharge rate too fast, the client's gun reserves will NEVER empty (i.e. CHEATER!!!  :warp:)...

For the server, I'm not sure...

If it's singleplayer-only then I think you'll have it a lot easier on game/mission balance...

Any coder correct me if there's a proper solution, I'd want to hear it too.

  

Offline Bobboau

  • Just a MODern kinda guy
    Just MODerately cool
    And MODest too
  • 213
Re: Need Help with fighter beam
I thought fire wait was the time from when you started fireing a shot to the next time you started fireing a shot so if your powerup->fire->powerdown cycle takes longer than your fire wait it will not have an effect.
Bobboau, bringing you products that work... in theory
learn to use PCS
creator of the ProXimus Procedural Texture and Effect Generator
My latest build of PCS2, get it while it's hot!
PCS 2.0.3


DEUTERONOMY 22:11
Thou shalt not wear a garment of diverse sorts, [as] of woollen and linen together