Author Topic: Detonation Range?  (Read 1743 times)

0 Members and 1 Guest are viewing this topic.

Offline Raptor

  • 210
I have a query about this new weapons tbl flag in relation with a weapon I have in mind.

As I read it, it says that the weapon will detonate once it has travelled a set distance from the point where it was launched.

Surely a more useful flag would be detonate the weapon a set distance from the target, right? Kinda like 'Arm radius'

Or am I just reading it wrong?

FYI, the weapon I had in mind was like those multi-warhead missiles carried by nuclear subs, where there are actually 8-12 warheads in each missile.  Idea is that a missile is launched, it flies to target... and then at a set distance from the target it fragments into a dozen smaller missiles which then rain down on the target.
...There ought to be something surreal about a Zoid offering romantic advice...and yet there is not. It seems perfectly normal that the Liger is giving Bit advice on relationships, and it shouldn't, but it does. Dangit man, you've confused me again.[/I]
NGTM-R review of one of the chapters in my fanfic story :D Story is here! -> 'Ancient Legacies'

 

Offline Axem

  • 211
I think the idea for detonation range was to create a defensive flak screen, more or less seen in the new Battlestar Galactica.

But your offensive version of the flag seems quite interesting. :)

 

Offline Trivial Psychic

  • 212
  • Snoop Junkie
FYI, the weapon I had in mind was like those multi-warhead missiles carried by nuclear subs, where there are actually 8-12 warheads in each missile.  Idea is that a missile is launched, it flies to target... and then at a set distance from the target it fragments into a dozen smaller missiles which then rain down on the target.
Sounds like the Sierra torpedo dispersal pattern from Star Trek.
The Trivial Psychic Strikes Again!

 

Offline Raptor

  • 210
Well, I tried using the 'Remote Detonate' flag, but that didn't work right...

Anyway, I've put together a weapon for the idea, including new models.  still needs a little tweakage...
...There ought to be something surreal about a Zoid offering romantic advice...and yet there is not. It seems perfectly normal that the Liger is giving Bit advice on relationships, and it shouldn't, but it does. Dangit man, you've confused me again.[/I]
NGTM-R review of one of the chapters in my fanfic story :D Story is here! -> 'Ancient Legacies'

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
I made a script to get the weapon detonated when it gets close enough to the target but it measures distance from the center of the enemy model, not the surface so it doesnt work as well as i would like it to
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
I've added & tested a "$Detonation Radius" field after "$Detonation Range", as well as making the latter apply for all weapons rather than just flak.

However, it works the same way as Wanderer's script does. If the general consensus is that it should be changed to measure against the object's radius, I can do that, and/or change the name to something less confusing (if someone can come up with something better).

The changes will go into CVS with the new scripting system, so watch for that. If you want a build to test with just ask.
-C

 

Offline WMCoolmon

  • Purveyor of space crack
  • 213
-C

 

Offline Raptor

  • 210
Oh... my... god.  A code change that I suggested has actually been implermented!?!
:jaw:
It's just that has not happened to me before (as far as I know...)

Nice work people!  I'll try that ASAP! :yes:
...There ought to be something surreal about a Zoid offering romantic advice...and yet there is not. It seems perfectly normal that the Liger is giving Bit advice on relationships, and it shouldn't, but it does. Dangit man, you've confused me again.[/I]
NGTM-R review of one of the chapters in my fanfic story :D Story is here! -> 'Ancient Legacies'

  

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
actually ive been asking for this sence the code was released :D
I can no longer sit back and allow communist infiltration, communist indoctrination, communist subversion, and the international communist conspiracy to sap and impurify all of our precious bodily fluids.

Nuke's Scripting SVN