Hard Light Productions Forums

Modding, Mission Design, and Coding => FS2 Open Coding - The Source Code Project (SCP) => Topic started by: phreak on June 10, 2003, 02:24:57 pm

Title: new weapon type image heavy
Post by: phreak on June 10, 2003, 02:24:57 pm
ever wonder where those subspace missile strikes were launched?  now with the new local subspace missile SCP function, you can witness their launch and impact.

There are three ways this can be used

bomber launched - local subspace missile strikes are launched by bombers in theater.

capital launched - same as bomber launched only by a missile frigate of some sort

capital launched + tagged - use FRED to set the LSSM turrets to fire once a target ship is tagged.  perfect for play balance and those pesky nebula missions.

here are some pictures

(http://www.swooh.com/peon/phreak/lssm_1.jpg)
(http://www.swooh.com/peon/phreak/lssm_2.jpg)
(http://www.swooh.com/peon/phreak/lssm_3.jpg)
(http://www.swooh.com/peon/phreak/lssm_4.jpg)

the exe in my sig won't be updated until i squash 2 minor bugs.
when its updated i will post how to make one
Title: new weapon type image heavy
Post by: Bobboau on June 10, 2003, 02:34:39 pm
does this at all work with the current SSM system or is it totaly new/seperate
Title: new weapon type image heavy
Post by: phreak on June 10, 2003, 02:42:33 pm
it has to stay separate or else you wouldn't get the kill
Title: new weapon type image heavy
Post by: phreak on June 10, 2003, 07:51:13 pm
i uploaded a new exe that tests this out.  here is an example on how to enable them.

Code: [Select]

; ----------------------------------------------------------------------------------
; Helios
;
$Name: local ssm
+Title: XSTR("GTM-13 Helios", 3392)
+Description:
XSTR(
"Special Issue
Anti-Capital Ship Weapon
Anti-Matter Torpedo", 3393)
$end_multi_text
+Tech Title: XSTR("GTM-13 Helios", 3394)
+Tech Anim: Tech_Helios
+Tech Description:
XSTR(
"local ssms rule",3395)
$end_multi_text
$Model File: helios.pof
$Mass: 35.0
$Velocity: 65.0
$Fire Wait: 30.0
$Damage: 6800
$Blast Force: 1000.0
$Inner Radius: 100.0
$Outer Radius: 270.0
$Shockwave Speed: 75
$Armor Factor: 1.0
$Shield Factor: 0.02
$Subsystem Factor: 0.85
$Lifetime: 30.0
$Energy Consumed: 0.0
$Cargo Size: 25.0
$Homing: YES
 +Type: ASPECT
 +Turn Time: 1.5
 +Min Lock Time: 7.0
 +Lock Pixels/Sec: 25
 +Catch-up Pixels/Sec: 0
 +Catch-up Penalty: 15
$LaunchSnd: 97
$ImpactSnd: 101
$FlyBySnd: -1
$Rearm Rate: 0.02
$Flags: ( "Bomb" "Huge" "No Dumbfire" "player allowed" "local ssm" "tagged only")
$Trail:
 +Start Width: 0.5
 +End Width: 2.0
 +Start Alpha: 1.0
 +End Alpha: 0.0
 +Max Life: 2.0
 +Bitmap: MissileTrail02
$Icon: iconHelios
$Anim: Helios
$Impact Explosion: ExpMissileHit1
$Impact Explosion Radius: 15.0
$Local SSM:
 +Warpout Delay:    2500 ;;delay between launch and jump to subspace (ms)
 +Warpin Delay:  6000 ;;delay between warpout until warpin
 +Stage 5 Velocity: 500 ;;velocity during terminal dive
 +Warpin Radius:  1000 ;;additional distance around target at which the ssm appears
 +Lock Range:  7000 ;;distance at which lock triangle appears (optional)


just a note: when specifying lifetime for local ssms, it only starts counting down from the time the ssm reenters the battlefield. so make it something reasonable.  also, 500m/s is a little to high for play balance reasons.  it looks sweet though ;7
Title: new weapon type image heavy
Post by: phreak on June 10, 2003, 09:33:23 pm
updated exe.  local ssms now behave better in stages one and two
Title: new weapon type image heavy
Post by: Stryke 9 on June 10, 2003, 09:41:11 pm
So... the bomb is launched, goes into subspace, then comes out and explodes, or what?
Title: new weapon type image heavy
Post by: phreak on June 10, 2003, 09:43:35 pm
thats basically it.

for play balance. i would suggest just having fighters tag any enemy ships in the area and have the capships launch them.  a group of 12 bombers will obliterate ~2 destroyers and a bunch of cruisers with these in about 5 minutes
Title: new weapon type image heavy
Post by: Knight Templar on June 10, 2003, 10:21:16 pm
:yes: 1337 :yes:
Title: new weapon type image heavy
Post by: Sesquipedalian on June 10, 2003, 11:40:06 pm
(http://www.3dap.com/hlp/hosted/scroll/misc/mr_burns.gif)
[color=ffd600][size=10]Excellent![/color][/size]
Title: new weapon type image heavy
Post by: Rictor on June 10, 2003, 11:56:56 pm
What he said  ^^

Hey admins, we need either a "pelvic thrust" smily or a "do a little jig" smily, for these kinds of situations
Title: new weapon type image heavy
Post by: redmenace on June 11, 2003, 12:31:49 am
you dirty old pathetic man
Title: new weapon type image heavy
Post by: Darkage on June 13, 2003, 04:54:46 am
Would be cool to use this on Tornado's or Hornet missiles:D
Title: new weapon type image heavy
Post by: RangerKarl on June 13, 2003, 05:15:32 am
Sweet. Kinda like an indirect artillery strike in space. I assume it's impossible to fire a beam cannon through subspace though?
Title: new weapon type image heavy
Post by: phreak on June 13, 2003, 10:23:55 am
well they have to be guided missiles for them to work. anything else won't enter subspace
Title: new weapon type image heavy
Post by: Knight Templar on June 13, 2003, 03:25:43 pm
Speaking of new weapons and hornet missles...

You know what would be cool? Having a missle that sorta weeves back in forth like you see the modern ones in movies do. Like instead of just swirling like a tornado or going straight after the target, it would weeve back and forth on its way there (making it harder to shoot down, and looking 1337)
Title: new weapon type image heavy
Post by: Bobboau on June 13, 2003, 03:57:38 pm
why wouldn't dumfire or primary weapons work?
Title: new weapon type image heavy
Post by: karajorma on June 13, 2003, 04:09:55 pm
Quote
Originally posted by Bobboau
why wouldn't dumfire or primary weapons work?


Just guessing here but how would they know when to come back out of subspace again?
Title: new weapon type image heavy
Post by: RangerKarl on June 14, 2003, 02:21:56 am
I dunno, I was thinking of opening a  wormhole, both ends at the same time and firing the beam or other projectile through the tunnel. Modelling that ingame might be hard (dare I say, maybe even impossible)
Title: new weapon type image heavy
Post by: J.F.K. on June 14, 2003, 03:09:45 am
Dude, this is totally cool. It would be a pretty awesome visual effect if an SSM frigate launched all its bombs at once... that way the gunners on the enemy capship would have to deal with several incoming bombs simultaneously.
Title: new weapon type image heavy
Post by: Petrarch of the VBB on June 14, 2003, 03:12:13 am
It would be rather good.

You could have a ship fire normal torps at a target, and it would turn its turrets towards them. Then a missile frigate would fire SSMs, which owuld jump in behind the target, and smash it to bits.;7
Title: new weapon type image heavy
Post by: kasperl on June 14, 2003, 03:25:26 am
i got news posted on the SCP website
Title: new weapon type image heavy
Post by: Petrarch of the VBB on June 14, 2003, 03:26:24 am
'Bout time someone updated it.:yes:
Title: new weapon type image heavy
Post by: Bobboau on June 14, 2003, 03:43:51 am
is there a way of trigering this when a SSM strike is called from the old system, ie a sExp
Title: new weapon type image heavy
Post by: phreak on June 14, 2003, 10:26:47 am
i guess that would work.
Title: new weapon type image heavy
Post by: J.F.K. on June 15, 2003, 01:16:16 am
It'd open up entirely new mission tactics. The new frigates can skimp on speed, armour and anti-fighter defences, but will have huge offensive capacity. Park them outside of beam range in the mission field - what would that be, 30km or something? And have something like Pegasus fighters flying about tagging targets (just like the TAG system, except that's for beam cannons) for SSM. Once you've got sufficient target data, the frigates launch their barrage against the enemy. (We probably ought to make the 'sufficient' data something like 120 seconds worth of targeting laser. That sounds like a lot, but it can't be too easy - otherwise the power of SSM won't be balanced. And you could spread it out between a wing of fighters - 30 seconds each from 4 fighters, something like that.) Gee, the possibilities...
Title: new weapon type image heavy
Post by: WMCoolmon on June 15, 2003, 02:06:16 am
The "Sufficient data time" should be a FRED option, if it's implemented. (That shouldn't be too hard, just copy and paste and edit)
Title: new weapon type image heavy
Post by: Flaser on June 15, 2003, 05:15:36 am
I think it should be changed to is-taged-delay.
That way it would be controlled by the target's status, so all that matters would be its status, not who was tagging it.
Title: new weapon type image heavy
Post by: Hippo on June 15, 2003, 07:39:12 am
Code: [Select]

When
>is-tagged-delay
>>Target
>>>5
|
Then
>good-secondary-time
>>wing/ship with SSM
>>>Local SSM
>>>>10


;7 ;7 ;7 ;7 ;7 ;7 ;7 ;7 ;7 ;7
Title: new weapon type image heavy
Post by: phreak on June 17, 2003, 12:12:24 am
use turret-lock / turret-unlock, or turret-tagged-only.  there should be a new sexp that specifies turrets that can be slaved to tag missiles, rather than all turrets

good mission ideas:

the player's wing are bombers and they go in and destroy an awacs ship so stealth fighters can come in and tag with impunity. (or go the other way around)

guard a missile frigate from a counter-attack while it pummels the main fleet from a distance.

defend a fleeing refugee convoy from attacking cruisers. using normal weapons, the convoy would be slaughtered. think the last mission of fs2. just camp by the node and pop these off at incoming shivans.  of course, you can jump some hostiles in close to the player and have them explictly attack him.

break through a blockade that would be suicidal to go through otherwise.
Title: new weapon type image heavy
Post by: Sesquipedalian on June 19, 2003, 08:56:08 pm
A question: how is the maximum targeting range of a local SSM missile determined?  Regular missiles use lifetime*velocity to determine their effective range, and do not target anything outside of that range.  But local SSMs only calculate their lifetime from the point at which they re-emerge from subsapce.  What, if anything, does this do to the targetting range?  Better, if I have a local ssm missile that I want to travel at 65 m/s in normal space and have a targeting range of 4000 meters, how long a lifetime do I need?
Title: new weapon type image heavy
Post by: phreak on June 19, 2003, 08:59:34 pm
lifetime * stage 5 velocity = maximum range during terminal dive. in my example. it travels 15km before it explodes.

if the local ssm isn't locked when its fired then it will go as far as its inital velocity * lifetime

as for the lock range. its always in range due to the subspace engine ;)
Title: new weapon type image heavy
Post by: Sesquipedalian on June 20, 2003, 07:39:58 pm
So a turret mounted local SSM will merrily fire from its host capital ship at any enemy cap, even if it is 40 km away?
Title: new weapon type image heavy
Post by: Bobboau on June 20, 2003, 08:12:34 pm
it might be a good idea to have a maximum range for this in the weapons info, optional string in the table, 0 meaning there is none
Title: new weapon type image heavy
Post by: Bobboau on June 20, 2003, 08:16:12 pm
aslo a good idea, a flag that means the weapon cannot be fired unless the targeted ship is tagged
Title: new weapon type image heavy
Post by: bottomfan on June 22, 2003, 03:35:44 pm
Will this be in 3.6?
Title: new weapon type image heavy
Post by: Darkage on June 22, 2003, 04:53:03 pm
Local SSM is already implanted, see Phreaks siggy for link to the exe.
Title: new weapon type image heavy
Post by: phreak on June 24, 2003, 01:13:13 am
i'm going to work on bob's proposals later today.
Title: new weapon type image heavy
Post by: phreak on June 24, 2003, 10:09:19 pm
updated table at the beginning of this thread to show changed that bobboau suggested
Title: new weapon type image heavy
Post by: <<ERROR>> on June 25, 2003, 12:41:48 pm
Torpedoes warping in behind a ship?. Sounds like that manga movie Space Cruiser, where that Gorgon command ship teleported a wing of bombers behind the Yamato.