Author Topic: New weapon wont work..  (Read 5926 times)

0 Members and 1 Guest are viewing this topic.

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: New weapon wont work..
Bear in mind that damage to players is reduced significantly on difficulties below Insane, and that warship turrets will fire at far below the tabled firing rate using normal AI profiles.

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: New weapon wont work..
Bear in mind that damage to players is reduced significantly on difficulties below Insane, and that warship turrets will fire at far below the tabled firing rate using normal AI profiles.

the turrets refire is half the speed of a subach so while you are in the coverage area it is the rough equivalent of having 3 or so fighters after you firing out of a single gunbank

and that is per per turret firing at you
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: New weapon wont work..
In general flak and beam weapons should not be mixed with other weapon types
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: New weapon wont work..
Bear in mind that damage to players is reduced significantly on difficulties below Insane, and that warship turrets will fire at far below the tabled firing rate using normal AI profiles.

the turrets refire is half the speed of a subach so while you are in the coverage area it is the rough equivalent of having 3 or so fighters after you firing out of a single gunbank

and that is per per turret firing at you

The refire rate will be significantly lower than this in practice due to the random turret refire delay added to warships by the default AI profile.

This doesn't necessarily make the weapon balanced, but it's worth keeping in mind unless you're using something like the Fury AI.

 
Re: New weapon wont work..
Ok. I reduced the velocity of the weapon and increased it range, but still it explodes close to the ship and I'v noticed that if a fighter/bomber aproches the crusier from the top, ALL guns fire, even the bottom one just straight out and explodes maybe 100m or so from the ship. I messed around a little but got the same results. Something I'm missing?

Tried having a velocity of 700-2500 but same result. Incresed range from 2000 to 3800 but nothing.

$Name:                     Standard Flak
$Model File:               none            ;; flak weapons are invisible until they hit or explode, so this doesn't really matter   
$Mass:                     0.2
$Velocity:                  1800.0               ;; really fast - like AA fire
$Fire Wait:                  0.5               ;;
$Damage:                  10
$Blast Force:                    45.0
$Inner Radius:               30.0                                    ;; radius at which damage is full
$Outer Radius:               60.0                                    ;; max radius for attenuated damage
$Shockwave Speed:            0.0                                     ;; velocity of shockwave.  0 for none.
$Armor Factor:               1.0
$Shield Factor:               1.0
$Subsystem Factor:            0.2
$Lifetime:                  2.5
$Energy Consumed:            0.0
$Cargo Size:               1.0
$Homing:                  NO
$LaunchSnd:                  116
$ImpactSnd:                  117
+Weapon Range:               3800         ;; Limit to range at which weapon will actively target object
$Flags:                     ("Big Ship" "Flak" "particle spew" "cycle" "same turret cooldown" "Spawn Subach HL-7, 14)
$Icon:                     iconmissile06
$Anim:                     LoadMissile04
$Impact Explosion:            explo3
$Impact Explosion Radius:      50.0
$Muzzleflash:               mflash_small
$Pspew:
   +Count:   8
   +Time:   1
   +Vel:      0
   +Radius:   50.0
   +Life:   4.0
   +Scale:   20.0
        +Bitmap: Flak_trail

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: New weapon wont work..
which cruiser are you using?

what happens if you use +Weapon Min Range:
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 

Offline General Battuta

  • Poe's Law In Action
  • 214
  • i wonder when my postcount will exceed my iq
Re: New weapon wont work..
Wait, hang on. I don't think altering weapon range does anything except alter the range at which the AI begins firing it.

You need to alter weapon lifetime instead.

 
Re: New weapon wont work..
Tried what you said, nope. Same thing....

$Name:                     Standard Flak
$Model File:               rockeye.pof            ;; flak weapons are invisible until they hit or explode, so this doesn't really matter   
$Mass:                     0.2
$Velocity:                  1800.0               ;; really fast - like AA fire
$Fire Wait:                  0.5               ;;
$Damage:                  10
$Blast Force:                    45.0
$Inner Radius:               30.0                                    ;; radius at which damage is full
$Outer Radius:               60.0                                    ;; max radius for attenuated damage
$Shockwave Speed:            0.0                                     ;; velocity of shockwave.  0 for none.
$Armor Factor:               1.0
$Shield Factor:               1.0
$Subsystem Factor:            0.2
$Lifetime:               5.5
$Energy Consumed:            0.0
$Cargo Size:               1.0
$Homing:                  NO
$LaunchSnd:                  116
$ImpactSnd:                  117
+Weapon Range:               3800         ;; Limit to range at which weapon will actively target object
+Weapon Min Range:                              2000
$Flags:                     ("Big Ship" "Flak" "particle spew" "cycle" "same turret cooldown" "Spawn Subach HL-7,  25")
$Icon:                     iconmissile06
$Anim:                     LoadMissile04
$Impact Explosion:            explo3
$Impact Explosion Radius:      50.0
$Muzzleflash:               mflash_small
$Pspew:
   +Count:   8
   +Time:   1
   +Vel:      0
   +Radius:   50.0
   +Life:   4.0
   +Scale:   20.0
        +Bitmap: Flak_trail

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: New weapon wont work..
thing is the speed*life of the weapon puts it at 9900 meters as of last post and 4500 for the previous post so its not that.

what ship .pof are you using is it in the community or one done for your mod?
Minister of Interstellar Affairs Sol Union - Retired
quote General Battuta - "FRED is canon!"
Contact me at [email protected]
My Release Thread, Old Release Thread, Celestial Objects Thread, My rubbish attempts at art

 
Re: New weapon wont work..
Quote
what ship .pof are you using is it in the community or one done for your mod?

Its the Aeolus crusier....

 

Offline Qent

  • 29
Re: New weapon wont work..
I'v noticed that if a fighter/bomber aproches the crusier from the top, ALL guns fire, even the bottom one just straight out and explodes maybe 100m or so from the ship.
That's caused by the "Spawn..." flag. Try adding the "smart spawn" flag (you need 3.6.11).

EDIT: And be careful with spawning a huge number of projectiles at one time. I've had that CTD for me before.
« Last Edit: January 08, 2010, 10:35:44 pm by Qent »

 
Re: New weapon wont work..
Quote
(you need 3.6.11)

Were do I get it?

 

Offline Jeff Vader

  • The Back of the Hero!
  • 212
  • Bwahaha
23:40 < achillion > EveningTea: ass
23:40 < achillion > wait no
23:40 < achillion > evilbagel: ass
23:40 < EveningTea > ?
23:40 < achillion > 2-letter tab complete failure

14:08 < achillion > there's too much talk of butts and dongs in here
14:08 < achillion > the level of discourse has really plummeted
14:08 < achillion > Let's talk about politics instead
14:08 <@The_E > butts and dongs are part of #hard-light's brand now
14:08 <@The_E > well
14:08 <@The_E > EvilBagel's brand, at least

01:06 < T-Rog > welp
01:07 < T-Rog > I've got to take some very strong antibiotics
01:07 < achillion > penis infection?
01:08 < T-Rog > Chlamydia
01:08 < achillion > O.o
01:09 < achillion > well
01:09 < achillion > I guess that happens
01:09 < T-Rog > at least it's curable
01:09 < achillion > yeah
01:10 < T-Rog > I take it you weren't actually expecting it to be a penis infection
01:10 < achillion > I was not

14:04 < achillion > Sometimes the way to simplify is to just have a habit and not think about it too much
14:05 < achillion > until stuff explodes
14:05 < achillion > then you start thinking about it

22:16 < T-Rog > I don't know how my gf would feel about Jewish conspiracy porn

15:41 <-INFO > EveningTea [[email protected]] has joined #hard-light
15:47 < EvilBagel> butt
15:51 < Achillion> yes
15:53 <-INFO > EveningTea [[email protected]] has quit [Quit: http://www.mibbit.com ajax IRC Client]

18:53 < Achillion> Dicks are fun

21:41 < MatthTheGeek> you can't spell assassin without two asses

20:05 < sigtau> i'm mining titcoins from now on

00:31 < oldlaptop> Drunken antisocial educated freezing hicks with good Internet == Finland stereotype

11:46 <-INFO > Kobrar [[email protected]] has joined #hard-light
11:50 < achtung> Surely you've heard of DVDA
11:50 < achtung> Double Vaginal Double ANal
11:51 < Kobrar> ...
11:51 <-INFO > Kobrar [[email protected]] has left #hard-light []

 
Re: New weapon wont work..
Thanks, will try it....

 
Re: New weapon wont work..
Ok, did as you said but now the weapon wont even fire at all. I'm using this build: C:\freespace\fs2_open_3_6_11r_INF_SSE.exe

Here is the table:

$Name:                     Standard Flak
$Model File:               rockeye.pof            ;; flak weapons are invisible until they hit or explode, so this doesn't really matter   
$Mass:                     0.2
$Velocity:                  1800.0               ;; really fast - like AA fire
$Fire Wait:                  0.5               ;;
$Damage:                  10
$Blast Force:                    45.0
$Inner Radius:               30.0                                    ;; radius at which damage is full
$Outer Radius:               60.0                                    ;; max radius for attenuated damage
$Shockwave Speed:            0.0                                     ;; velocity of shockwave.  0 for none.
$Armor Factor:               1.0
$Shield Factor:               1.0
$Subsystem Factor:            0.2
$Lifetime:               5.5
$Energy Consumed:            0.0
$Cargo Size:               1.0
$Homing:                  NO
$LaunchSnd:                  116
$ImpactSnd:                  117
+Weapon Range:               3800         ;; Limit to range at which weapon will actively target object
+Weapon Min Range:                              2000
$Flags:                     ("Big Ship" "Flak" "particle spew" "cycle" "same turret cooldown" "Spawn Subach HL-7, 14 "smart spawn")
$Icon:                     iconmissile06
$Anim:                     LoadMissile04
$Impact Explosion:            explo3
$Impact Explosion Radius:      50.0
$Muzzleflash:               mflash_small
$Pspew:
   +Count:   8
   +Time:   1
   +Vel:      0
   +Radius:   50.0
   +Life:   4.0
   +Scale:   20.0
        +Bitmap: Flak_trail

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: New weapon wont work..
You're missing a quote at the end of: "Spawn Subach HL-7, 14
That should be: "Spawn Subach HL-7, 14"

 
Re: New weapon wont work..
Quote
You're missing a quote at the end of: "Spawn Subach HL-7, 14
That should be: "Spawn Subach HL-7, 14"


Thank you!!!!

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: New weapon wont work..
You need to be very carefull with tables, as typos are problematic and may cause table to stop working, but are easy to fix if you know where you might have made one.
You may use debug builds to track such errors down, they will also point you any other mistakes you might have made.

 
Re: New weapon wont work..
Thanks for the tip. Do you know any good tutorial how to mod explosions (flak exp, multiple exp, make them last longer)?

 

Offline The E

  • He's Ebeneezer Goode
  • 213
  • Nothing personal, just tech support.
    • Steam
    • Twitter
Re: New weapon wont work..
http://www.hard-light.net/wiki/index.php/EFF#EFF

Altering the FPS value in the eff or the ani will do that.
If I'm just aching this can't go on
I came from chasing dreams to feel alone
There must be changes, miss to feel strong
I really need lifе to touch me
--Evergrey, Where August Mourns