Author Topic: Independently Targeted Swarm Missiles  (Read 7565 times)

0 Members and 1 Guest are viewing this topic.

Offline Qent

  • 29
Re: Independently Targeted Swarm Missiles
Hey that looks pretty cool! But do primitive sensors prohibit aspect locking missiles? Maybe there's a way to SEXP primitive sensors on and off along with good-secondary-time?

 

Offline Angelus

  • 210
  • The Angriest Angel
Re: Independently Targeted Swarm Missiles
I've made a quick mission with the "primitive radar" and it works.
All you need is a Fighter with more then one Secondary bank, and the following Events in the Mission.
Not the most elegant approach, but it works for now.

In the first secondary bank you can have the Missile A ( HEAT flag ) and it needs target lock, in the second bank you can have Missile B ( ASPECT flag ), and in the third you have A again, but once the third is selected, the event triggers and reduces the Radar range to the in the event entered value ( the 150 is only a example i used, you might want to reduce the range further).

You can fire the Missiles and they will head for any target in sight.
After switching to a other secondary bank, the radar range will be restored to maximum.

For a better solution you better ask karajorma ( or anyone else for that matter ) since his Expert-Fu beats my Noob-jitsu, when it comes to FREDing. :)

Anyway, here we go:

Code: [Select]
$Formula: ( when
   ( is-secondary-selected "Blue 1" 3 )
   ( hud-set-max-targeting-range 150 )
)
+Name: Set Primitive
+Repeat Count: 0
+Interval: 1
+Team: 0

$Formula: ( when
   ( is-secondary-selected "Blue 1" 1 )
   ( hud-set-max-targeting-range 0 )
)
+Name: Unset Primitive
+Repeat Count: 0
+Interval: 1
+Team: 0



Enjoy!
« Last Edit: July 29, 2009, 03:50:53 pm by Angelus »

 
Re: Independently Targeted Swarm Missiles
Did someone just use Robotech as a verb?

 

Offline Spoon

  • 212
  • ヾ(´︶`♡)ノ
Re: Independently Targeted Swarm Missiles
Did someone just use Robotech as a verb?
Should have used Macross as a verb...
Urutorahappī!!

[02:42] <@Axem> spoon somethings wrong
[02:42] <@Axem> critically wrong
[02:42] <@Axem> im happy with these missions now
[02:44] <@Axem> well
[02:44] <@Axem> with 2 of them

 

Offline Qent

  • 29
Re: Independently Targeted Swarm Missiles

That's what I meant. (Don't make me add a link! :P )

 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: Independently Targeted Swarm Missiles
That's not really Roboteching. :P
Real Roboteching is up-the-ass twisted insane 90 degree turns. ;)

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Independently Targeted Swarm Missiles
Hrm, I don't get why using the spawn flag won't work.
Just tried it myself - it works fine (except you don't see a range indicator for the missiles but w/e...)
(´・ω・`)
=============================================================

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Independently Targeted Swarm Missiles
The question is, will it work as well on AI?
On player ship there's no problem with it, as proved by WCS Pilum missile (and my new Scythe fighter/bomber suppresion system), but AI ships may not want to fire the missile (WCS have Pilum AI which is simple heatseeker).
I'm currently experimenting with this system (Scythe F/BSS mentioned above), so maybe I will be able to provide more data soon.

 

Offline Droid803

  • Trusted poster of legit stuff
  • 213
  • /人 ◕ ‿‿ ◕ 人\ Do you want to be a Magical Girl?
    • Skype
    • Steam
Re: Independently Targeted Swarm Missiles
Well, if I saw correctly the AI did use it.
Though I forgot to give the missile a distinctive trail so...It could have been a mistake.
(´・ω・`)
=============================================================

 

Offline Angelus

  • 210
  • The Angriest Angel
Re: Independently Targeted Swarm Missiles
I made only a quick AI test with the events above, and it didn't work for them, maybe something was wrong with the setup ( read here weapons loadout on the AI fighter ),  though.

I didn't try something else as trigger for the AI, so there's a chance it might work without checking the <primitive radar> box in the ship editor.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Independently Targeted Swarm Missiles
I made some code changes to enable such missiles to be used (not yet committed). But only heat seekers. Might tweak the code on how they select the targets though as it might cause some issues occasionally.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Independently Targeted Swarm Missiles
Will it magically make AI launch Scythe F/BSS without any changes, or will I need to enable it somehow?
Anyway it will surely be useful.

 

Offline Angelus

  • 210
  • The Angriest Angel
Re: Independently Targeted Swarm Missiles
Something beautiful...




 

Offline Commander Zane

  • 212
  • Spoot Knight of Anvils
Re: Independently Targeted Swarm Missiles
Oooh damn.

 

Offline headdie

  • i don't use punctuation lol
  • 212
  • Lawful Neutral with a Chaotic outook
    • Skype
    • Twitter
    • Headdie on Deviant Art
Re: Independently Targeted Swarm Missiles
ohhhhhhh pretty lights mmmmmmmmmmmm
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 Fury

  • The Curmudgeon
  • 213
Re: Independently Targeted Swarm Missiles
Something beautiful...





I demand table entry for this!

 

Offline Angelus

  • 210
  • The Angriest Angel
Re: Independently Targeted Swarm Missiles
Something beautiful...





I demand table entry for this!



Here's the table entry for the missile in that pic.
You'll need the event mentioned earlier for that, otherwise it wont work.

You have to edit some entries ( model a.s.o. ), since this missile uses a BtrL model.

The new Nightly with the changes Wanderer made should support that too, but i don't know if this is enabled by a flag or whatever.

You could also try to increase the number of shots fired to 50. ;7


Have fun and post some pics! :D

EDIT: The Missile is named Angelic Retribution, thx to Captain-Custard. :)


Code: [Select]
$Name:                                  HS-90 AR Missile
+Title:                                 XSTR("HS-90 AR Missile", 3341)
+Description:
XSTR(
"Medium-to-short range missile
Conventional warhead", 3342)
$end_multi_text
+Tech Title:   XSTR("HS-90 AR Missile", 3343)
+Tech Anim:   Tech_Harpoon
+Tech Description:
XSTR(
"The HS-90 AR Missile is a Experimental Long Range Heat seeking Missile.
AR stands for Angelic Retribution.", 3344)
$end_multi_text
$Model File: Col_missile.pof
$External Model File: Col_missile_ext.pof
$Mass: 15.0
$Velocity: 350.0
$Fire Wait: 0.1
$Damage: 25 ;; damage applied when within inner radius
$Blast Force: 70.0
$Inner Radius: 20.0                                       ;; radius at which damage is full (0 for impact only)
$Outer Radius: 40.0                                       ;; max radius for attenuated damage
$Shockwave Speed: 0                                         ;; velocity of shockwave.  0 for none.
$Armor Factor: 1.0
$Shield Factor: 0.8
$Subsystem Factor: 0.5
$Lifetime: 10.0
$Energy Consumed: 0.0 ;; Energy used when fired
$Cargo Size: 0.01 ;; Amount of space taken up in weapon cargo
$Homing: YES
;; the following indented fields are only required when $Homing is YES
+Type: HEAT ;; Legal: HEAT, ASPECT
+Turn Time: 0.6
$LaunchSnd: 91                                        ;; The sound it makes when fired
$ImpactSnd: 88                                        ;; The sound it makes when it hits something
$FlyBySnd: -1
$Rearm Rate: 2.0 ;; number of missiles/sec that are rearmed
$Flags: ( "player allowed" "in tech database" "corkscrew" )
$Trail: ;; Trail cannot be set if Exhaust is set
+Start Width:   0.55                                      ;; Width of trail nearest missile
+End Width:             1.5                                       ;; Width of trail before it "evaporates"
+Start Alpha: 1.0
+End Alpha: 0.0
+Max Life:             2.0
+Bitmap: MissileTrail02 ;; Bitmap used to draw trail
$Icon: iconCrossbow
$Anim: cross
$Impact Explosion: exp20
$Impact Explosion Radius: 8.0
$Corkscrew:
+Num Fired: 20
+Radius: 5
+Fire Delay: 0
+Counter rotate: 1
+Twist: 5





Here's the event you need, replace the banks in it to fit your fighters secondary banks.

Code: [Select]

$Formula: ( when
   ( is-secondary-selected "Blue 1" 3 )
   ( hud-set-max-targeting-range 150 )
)
+Name: Set Primitive
+Repeat Count: 0
+Interval: 1
+Team: 0

$Formula: ( when
   ( is-secondary-selected "Blue 1" 1 )
   ( hud-set-max-targeting-range 0 )
)
+Name: Unset Primitive
+Repeat Count: 0
+Interval: 1
+Team: 0





Also here a pic with 50 missiles per salvo ;7:


« Last Edit: August 01, 2009, 03:15:33 pm by Angelus »

 

Offline Dragon

  • Citation needed
  • 212
  • The sky is the limit.
Re: Independently Targeted Swarm Missiles
Now, that's a true Macross Missile Massacre, this missile looks just awesome.  :)
I wonder how to enable changes made by Wanderer.

 

Offline Angelus

  • 210
  • The Angriest Angel
Re: Independently Targeted Swarm Missiles
Now, that's a true Macross Missile Massacre, this missile looks just awesome.  :)
I wonder how to enable changes made by Wanderer.

Me too.

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Independently Targeted Swarm Missiles
Weapon flag "untargeted heat seeker" does that.
Do not meddle in the affairs of coders for they are soggy and hard to light