Author Topic: 'Minor' request: make +Weapon Range work for secondaries  (Read 2645 times)

0 Members and 1 Guest are viewing this topic.

'Minor' request: make +Weapon Range work for secondaries
Pretty much self-explanatory. For dumbfire secondaries, it should work as per primaries (fire the weapon at this range even if incapable of hitting the target from velocity*lifetime) whereas aspect and heat seekers would lock on and fire at the specified range.

 

Offline Starman01

  • 213
  • Mechwarrior
    • Wing Commander Saga
'Minor' request: make +Weapon Range work for secondaries
I've totally overlooked this here

I would like to add that I fully support this request, it would be really convinient :)
MECHCOMMANDER OMNITECH

9 out of 10 voices in my head always tell me that I'm not insane. The 10th is only humming the melody of TETRIS.

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
'Minor' request: make +Weapon Range work for secondaries
weapon range works the other way.  Thats the maximum distance the ai will start shooting even if lifetime * velocity is larger.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 
'Minor' request: make +Weapon Range work for secondaries
Hmm I always thought it worked the opposite way - is there any chance this could work regardless of velocity*lifetime? Or would that cause conflicts with retail?

(EDIT: It's a weapon concept for Inferno, where I'd prefer the missile to detonate before it reaches the target, and spawns something else to actually hit the thing it's fired at. Phreak, you might want to check out or fire a few rounds of EA-AF-LCM-A+ in Inferno to see what I mean. ;))
« Last Edit: October 17, 2005, 05:40:14 pm by 443 »

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
'Minor' request: make +Weapon Range work for secondaries
We should add +Max Firing Range and +Min Firing Range to weapons.tbl to make things clearer.

What we could do, to satisfy SadisticSid's request, is add something like +Premature Detonation Range.  (This might need a better name.)

 

Offline FireCrack

  • 210
  • meh...
'Minor' request: make +Weapon Range work for secondaries
try +Pre-Detonante or +Pre-Burst Time
actualy, mabye not.
"When ink and pen in hands of men Inscribe your form, bipedal P They draw an altar on which God has slaughtered all stability, no eyes could ever soak in all the places you anoint, and yet to see you all at once we only need the point. Flirting with infinity, your geometric progeny that fit inside you oh so tight with triangles that feel so right."
3.141592653589793238462643383279502884197169399375105820974944 59230781640628620899862803482534211706...
"Your ever-constant homily says flaw is discipline, the patron saint of imperfection frees us from our sin. And if our transcendental lift shall find a final floor, then Man will know the death of God where wonder was before."

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
'Minor' request: make +Weapon Range work for secondaries
Quote
Originally posted by SadisticSid
Hmm I always thought it worked the opposite way - is there any chance this could work regardless of velocity*lifetime? Or would that cause conflicts with retail?


Yea, the HL-7 has "+Weapon Range:" set to 100,000
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 
'Minor' request: make +Weapon Range work for secondaries
Indeed, pre-detonation range would be a much better solution than just a weapon range alteration. One could conceivably make a sort of 'bouncing betty' missile which explodes prematurely and sprays a cone of flak at the target with this and the revised spawn angle code, for example.

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
'Minor' request: make +Weapon Range work for secondaries
like a  "+Proximity Fuse:" parameter, i'd imagine?  It would probably go as a subfield of homing properties, since doing this for unguided missiles wouldn't make sense.  I'd say that'll make a pretty nasty missile there.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
'Minor' request: make +Weapon Range work for secondaries
Quote
Originally posted by PhReAk
like a  "+Proximity Fuse:" parameter, i'd imagine?  It would probably go as a subfield of homing properties, since doing this for unguided missiles wouldn't make sense.  I'd say that'll make a pretty nasty missile there.
No no, it would make sense even for unguided missiles.  Shoot it in one direction and after a certain time it detonates and spawns all the child missiles.

In fact, I would even propose adding +Min Detonation Time - the time the missile requires to arm itself - and +Max Detonation Time - the time at which the missile explodes even if it hasn't yet reached its target.

This would allow an element of strategy in placing certain weapons.  If a weapon hits its target before +Min Detonation Time, it won't do any damage (or if you want to be really clever, it ricochets off in another direction ;7). Whereas +Max Detonation Time would serve SadisticSid's purpose.

 

Offline CaptJosh

  • 210
'Minor' request: make +Weapon Range work for secondaries
+Min Detonation Time or something similar, such as...I dunno, may be +Arming Distance(?) would be perfect for a submarine battle mod. Torpedoes have safeties so that they don't go active until they're a certain distance from the launching submarine, so that they won't lock on to the boat that launched them, and don't arm unless they've traveled a certain distance as computed and set by the fire control computer on the boat.

A missile that simply breaks up on impact if it hits before its warhead is armed would be great for say...a Hunt for Red October mod mission if anyone wanted to make it, or a generic submarine combat mod. (Can't you just imagine the voiceovers for one of those?) Though it would be a totally different style of combat. No primaries. Only secondaries in the form of torpedoes.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
'Minor' request: make +Weapon Range work for secondaries
Quote
Originally posted by Goober5000
No no, it would make sense even for unguided missiles.  Shoot it in one direction and after a certain time it detonates and spawns all the child missiles.

In fact, I would even propose adding +Min Detonation Time - the time the missile requires to arm itself - and +Max Detonation Time - the time at which the missile explodes even if it hasn't yet reached its target.

This would allow an element of strategy in placing certain weapons.  If a weapon hits its target before +Min Detonation Time, it won't do any damage (or if you want to be really clever, it ricochets off in another direction ;7). Whereas +Max Detonation Time would serve SadisticSid's purpose.


ok i think we misread each other.  "+Proximity Fuse:" would be launch time independant and explode when the missile gets within the specified distance of what its homing on.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
'Minor' request: make +Weapon Range work for secondaries
BTW modern AA-guns (not gatlings or such like Phalanx) use proximity fuse. Round detonates before the target and fills a cone in front of it with shrapnels so i see no point why it couldn't be used also by ballistic primaries (perhaps a flak gun variant). It's just like modern missiles, only method of delivering the explosive and the fragments close to the target differ. Both could be made quite simply with proximity fuse and spawn angle flags (it could spawn unguided missiles, fragments) like modern ABF warheads (annular blast fragmentation)
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline phreak

  • Gun Phreak
  • 211
  • -1
'Minor' request: make +Weapon Range work for secondaries
i think the flak does do the proximity detonation already, except its fudged a bit.  what happens is that the game will set the lifetime of the flak equal to (distance to the current target * velocity of shell) and perturb it slightly so not all shells land right on top of it.  you can add the "flak" flag to primaries since 3.2 (i think), so thats already been taken care of.
Offically approved by Ebola Virus Man :wtf:
phreakscp - gtalk
phreak317#7583 - discord

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
'Minor' request: make +Weapon Range work for secondaries
I know that the flak primaries work but what i meant was that similar system (proximity & angled fragments) to the missiles is currently present in gun shells. So it perhaps wouldn't hurt to give the option also to primary weapons. In this with primary weapon i mean everything that is normally in the tables under the primary weapon division (capship guns, flaks, fighter primaries etc.).

So with this option you could 'build' different flak guns. But as you said there is already a flak gun existing so there is no real practical need for this function for the primaries.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline CaptJosh

  • 210
'Minor' request: make +Weapon Range work for secondaries
I thought that secondary weapons were the topic...
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.

 

Offline Goober5000

  • HLP Loremaster
  • Moderator
  • 214
    • Goober5000 Productions
'Minor' request: make +Weapon Range work for secondaries
Quote
Originally posted by PhReAk
ok i think we misread each other.  "+Proximity Fuse:" would be launch time independant and explode when the missile gets within the specified distance of what its homing on.
Ah, okay, those are two rather different things.

+Proximity Fuse would be useful for mines; launch a mine with zero velocity, infinite lifetime, and a proximity fuse. :)

 

Offline CaptJosh

  • 210
'Minor' request: make +Weapon Range work for secondaries
A proximity fuse would alse be useful in a submarine simulation, as there were torpedoes with magenetic fuzes designed to go off as the passed under the hull of surface shipping. However, a sub warfare mod has one big issue. You can't see anything you're fighting, except for using a periscope occasionally when attacking surface traffic. It really wouldn't fit. So much for that idea.
CaptJosh

There are only 10 kinds of people in the world;
those who understand binary and those who don't.