Author Topic: Emulating a VLS in FS2?  (Read 1605 times)

0 Members and 1 Guest are viewing this topic.

Offline Zarax

  • 210
Emulating a VLS in FS2?
Hello everyone, is there any way to emulate a modern Vertical launch system in FS2?

Basically what it means is having a fixed turret able to launch a missile at a target no matter the direction (or at least something very close to an hemisphere).
I found it quite easy with multi part turret, does the same FOV setting work even with fixed ones?

Thank you!
The Best is Yet to Come

 

Offline QuakeIV

  • 29
  • test
Re: Emulating a VLS in FS2?
Might look at the UEF ships in blue planet, they approximately do that with the Apocalypse launchers.  Afaik most of the behavior for that is in the missile itself.

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker- you've probably heard me
    • My old squad sub-domain
Re: Emulating a VLS in FS2?
Yeah it's all flags, check the modding wiki and check out weapons tbl :)

It's a definite missile type.


https://wiki.hard-light.net/index.php/Weapons.tbl
Campaigns I've added my distinctiveness to-
- Blue Planet: Battle Captains
-Battle of Neptune
-Between the Ashes 2
-Blue planet: Age of Aquarius
-FOTG?
-Inferno R1
-Ribos: The aftermath / -Retreat from Deneb
-Sol: A History
-TBP EACW teaser
-Earth Brakiri war
-TBP Fortune Hunters (I think?)
-TBP Relic
-Trancsend (Possibly?)
-Uncharted Territory
-Vassagos Dirge
-War Machine
(Others lost to the mists of time and no discernible audit trail)

Your friendly Orestes tactical controller.

Secret bomb God.
That one time I got permabanned and got to read who was being bitxhy about me :p....
GO GO DEKKER RANGERSSSS!!!!!!!!!!!!!!!!!
President of the Scooby Doo Model Appreciation Society
The only good Zod is a dead Zod
NEWGROUNDS COMEDY GOLD, UPDATED DAILY
http://badges.steamprofile.com/profile/default/steam/76561198011784807.png

 

Offline 0rph3u5

  • 211
  • Oceans rise. Empires fall.
Re: Emulating a VLS in FS2?
It can easily be achieved, however there are some conditions that need to be met:

- the turret needs to have a wide enough FOV
- the turret must not have the "check hull"-flag (if it has the FOV-setting is counteracted by the line of sight-check)

- the weapon must be homing ($Homing: set to YES) and have valid homing parameters
- the weapon's homing view cone must be wide enough to enable it the requisite change in direction (>150 is ideal)
- the weapon needs to have the $Swarm-parameter ("$Swarm: 1" does work fine), the $Free Flight Time-parameter is optional but encouraged

e.g. here is my version of a Shivan Fusion mortar for use with modified Cain- and Lilith-models, which basically works like a VLS:
Code: [Select]
$Name: Fusion Mortar#Shivan
$Model File: s_bomb.pof
$Mass: 0.1
$Velocity: 100.0
$Fire Wait: 4.5
$Damage: 35 
$Blast Force: 0.2
$Inner Radius: 0.0 
$Outer Radius: 0.0 
$Shockwave Speed: 0
$Armor Factor: 1.0
$Shield Factor: 1.0
$Subsystem Factor: 1.0
$Lifetime: 22.5
$Energy Consumed: 0.0
$Cargo Size: 1.0 
$Homing: Yes
+Type: ASPECT
+Turn Time: 2.0
+View Cone: 360
+Min Lock Time: 0.1
+Lock Pixels/Sec: 1000
+Catch-up Pixels/Sec: 1000
+Catch-up Penalty: 0
+Seeker Strength: 3.0
$Swarm: 2
+SwarmWait: 0.8
$Acceleration Time: 4.0
$Free Flight Time: 3.0
$LaunchSnd: 102
$ImpactSnd: 88 
$FlyBySnd: -1
$Rearm Rate: 1.0
+Weapon Range: 2250
$Flags: ( "Big Ship" "Huge" "no subsystem homing" "no lifeleft penalty" )
$Trail:
    +Start Width: 1.25
    +End Width: 0.25
    +Start Alpha: 1.0
    +End Alpha: 0.0
    +Max Life: 1.5
    +Bitmap: NewMiss1
$Icon: icon_harbinger
$Anim: harbinger
$Impact Explosion: none
"As you sought to steal a kingdom for yourself, so must you do again, a thousand times over. For a theft, a true theft, must be practiced to be earned." - The terms of Nyrissa's curse, Pathfinder: Kingmaker

==================

"I am Curiosity, and I've always wondered what would become of you, here at the end of the world." - The Guide/The Curious Other, Othercide

"When you work with water, you have to know and respect it. When you labour to subdue it, you have to understand that one day it may rise up and turn all your labours into nothing. For what is water, which seeks to make all things level, which has no taste or colour of its own, but a liquid form of Nothing?" - Graham Swift, Waterland

"...because they are not Dragons."

 
Re: Emulating a VLS in FS2?
"no lifeleft penalty" that you have there is important too. Missiles are penalized for not pointing at their target and we expect that to be the case for VLS missile for awhile after firing.

 

Offline Zarax

  • 210
Re: Emulating a VLS in FS2?
Thank you for the answers, very useful!

How can I change the base turret FOV?
Let's say for example I want to treat turret 12 on a GTI Arcadia as a VLS, can I change the FOV from the tables or do I need to mod the pof file somehow?
The Best is Yet to Come

 

Offline EatThePath

  • 28
  • Laser Lich
    • Twitter
Re: Emulating a VLS in FS2?
https://wiki.hard-light.net/index.php/Subsystem#.24Turret_Base_FOV: this will let you change it in the table without messing with the pof
Name your damn turrets and sounds! Numbers alone aren't helpful!
"if disco is dead then I am the laser lich"
"...[Warmachine] keeps changing as fast as EatThePath can force the engine to do [her] dark bidding..."

 

Offline Zarax

  • 210
Re: Emulating a VLS in FS2?
Thank you, does it work with non-multipart turrets as well?
The Best is Yet to Come

 
Re: Emulating a VLS in FS2?
$Turret Barrel FOV is what you want, which works on both, base fov is specific to multipart turrets.

 

Offline Zarax

  • 210
Re: Emulating a VLS in FS2?
Works like a charm, thank you very much!
The Best is Yet to Come