Author Topic: Homing Primaries??  (Read 389 times)

0 Members and 1 Guest are viewing this topic.

Offline starbug

  • 210
    • DarkSide Animations
Is it possible to make Primary weapons like the Terran Turret for example to home like a missile?? I'm sure ive seen a video over on discord where theres a shivan cruiser firing their laser turrets and they are all homing on to their target.

Is it as simple as adding something like this to the weapon table?
$Homing:                     YES
   +Type:               ASPECT
   +Turn Time:            2.0
   +View Cone:            360.0
   +Min Lock Time:         3.0
   +Lock Pixels/Sec:      40
   +Catch-up Pixels/Sec:   80
   +Catch-up Penalty:      10
   +Seeker Strength: 10
http://www.youtube.com/user/AnubisX1

if there is any consistancy with the Shivans, it's their lack of consistancy - -Norbert-

 

Offline 0rph3u5

  • 211
  • This place is empty promises all the way down..
From one of my testing builds:

Code: [Select]
$Name: Smart Rifle
$Model File: none
@Laser Bitmap: LaserGlow03
@Laser Glow: 2_LaserGlow03
@Laser Color: 150, 150, 150
@Laser Color2: 150, 150, 150
@Laser Length: 2.0
@Laser Head Radius: 1.0
@Laser Tail Radius: 1.0
$Mass: 1
$Velocity: 400.0
$Fire Wait: 0.8
$Damage: 15 ;;TBD
;;Damage Type: Rifle-lvl0
$Detonation Range: 1600
$Blast Force: 0
$Inner Radius: 0
$Outer Radius: 0
$Shockwave Speed: 0.0
$Armor Factor: 1.0 ;;modified elsewhere
$Shield Factor: 1.0 ;;modified elsewhere
$Subsystem Factor: 1.0 ;;modified elsewhere
$Lifetime: 4.0
$Energy Consumed: 0.0 ;;uses ammo instead
$Cargo Size: 0.25 ;; TBD
$Homing: YES
+Type: HEAT
+Turn Time: 1.0
+View Cone: 40.0
+Seeker Strength: 3.0
+Target Lead Scaler: 0
$LaunchSnd: -1
$ImpactSnd: -1
$FlyBySnd: -1
$Rearm Rate: 0.3 ;;TBD
$Rearm Ammo Increment: 25
+Weapon Range: 1600
$Flags: ( "Player allowed" "Ballistic" "no pierce shields" "small only" "no primary linking" "no homing speed ramp" )
$Icon: iconcirce
$Anim: circe
$Impact Explosion: exp20
$Impact Explosion Radius: 0.0

EDIT: This is a proof of concept for a homing primary - as such many values are "just there". It is meant to be used by the player and slot into a "specialist weapons slot", which is a primary weapon slot with only a single firing point on the model.
« Last Edit: June 24, 2021, 04:34:21 am by 0rph3u5 »
"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

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

"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

"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

"...because they are not Dragons."

 

Offline starbug

  • 210
    • DarkSide Animations
Ah right so would that work on a Capital ship weapon for say a Energy type Torpedo for example?
http://www.youtube.com/user/AnubisX1

if there is any consistancy with the Shivans, it's their lack of consistancy - -Norbert-

 

Offline 0rph3u5

  • 211
  • This place is empty promises all the way down..
Sure - it depends on the effect that you would want (e.g. the "no homing speed ramp"-flag in the example above is so that the it looks like a normal bullet has been fired, but if you leave it out it might be more like a gyro-jet effect)
« Last Edit: June 24, 2021, 08:33:02 am by 0rph3u5 »
"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

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

"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

"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

"...because they are not Dragons."

 

Offline Colonol Dekker

  • HLP is my mistress
  • 213
  • Aken Tigh Dekker
    • My old squad sub-domain
Wings of dawn has many examples.

 

Offline 0rph3u5

  • 211
  • This place is empty promises all the way down..
Original Wings of Dawn cheats by using secondaries for the "homing lasers" of the enemy ships.

The new Wings of Dawn relies on custom builds, so I don't know if that is fully transferable.
"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

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

"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

"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

"...because they are not Dragons."

 

Offline starbug

  • 210
    • DarkSide Animations
Ah cheers guys will give it a test when I get home from work
http://www.youtube.com/user/AnubisX1

if there is any consistancy with the Shivans, it's their lack of consistancy - -Norbert-

 
The only caveat is that they can't use aspect seeking, but aside from that, it works just like missiles.

 

Offline Antares

  • 28
  • Author of The Shivan Manifesto
Can't primaries be coded to auto-aim? I seem to recall some guns in Wing Commander Saga having aiming assist within the reticle.
We have returned to continue our purification of this galaxy. It is again your turn to be crushed beneath the great force that is the Antaran army. All your petty squabbling with the other beings in this galaxy is meaningless. The Antaran fleet will destroy you all, one by one. You may not surrender. You cannot win. Your only option is death.

  

Offline Strygon

  • 28
  • The Lunar Sage of Hardlight
    • Steam
Yes, that's been a thing for a pretty long while.
Makes missions sometimes.
Finished Projects: Operation: Cloak and Dagger

Current Projects: Scrolls Part 2 (FREDding), Dimensional Eclipse (Art),
The First Contact War, GTDr Amazon HTL

[23:22] strypolygon: andrew
[23:22] strypolygon: i have one favor to ask of you
[23:22] strypolygon: never try speaking german again
[23:23] Andrewofdoom: No.

[18:50] 島風改八百三: the duck has multipli
[18:50] 島風改八百三: many duck
[18:50] 島風改八百三: left side
[18:50] 島風改八百三: even side
[18:50] 島風改八百三: handle it

[21:34] MP-Ryan: Why on earth would you Google this
[21:34] The_E: why would you not

[06:46] Strigon: how big is a mini-campaign again?
[06:46] Asteroth: smaller than a campaign
[06:47 ]Strigon: thanks