Author Topic: Very fast missiles and no clipping  (Read 2537 times)

0 Members and 1 Guest are viewing this topic.

Very fast missiles and no clipping

Kind of a random question...I set up what's supposed to be a missile that moves very fast, 3500 m/s.  It's a dumbfire, meant for planetary defense.  Anyway...it flies right through Leviathan cruisers without hitting them.  Is there some sort of upward limit to how fast a missile (or any object, I suppose) can move before its clipping gets all screwy?

Thanks,

Killface

 

Offline colecampbell666

  • I See Dead Pictures
  • 212
  • Evolution and ascension.
Re: Very fast missiles and no clipping
When it moves that fast, I assume that it's too fast for collision detection.
Gettin' back to dodgin' lasers.

  
Re: Very fast missiles and no clipping
I generally don't set anything faster that 2000m/s. I've only tested primaries at 2000m/s, though.

 

Offline Solatar

  • 211
Re: Very fast missiles and no clipping
What's your rationale for having a missile go that fast?

 

Offline Retsof

  • 210
  • Sanity is over-rated.
Re: Very fast missiles and no clipping
I'm gonna say superlong distance.
:::PROUD VASUDAN RIGHTS SUPPORTER:::

"Get off my forum" -General Battuta
I can't help but hear a shotgun cocking with this.

 
Re: Very fast missiles and no clipping

What's the rationale???  Um, an insanely deadly weapon that the player's confederates need to destroy, of course   :p

 
Re: Very fast missiles and no clipping

Um, alright...this is weird.  I cranked down the speed to 1500 m/s and still...not hitting those leviathans.  Is there something about the small and angly nature of the ship model itself that poses collision detection problems?  I can hit the ships with my own primaries just fine...what the hell?

 

Offline Wanderer

  • Wiki Warrior
  • 211
  • Mostly harmless
Re: Very fast missiles and no clipping
You could probably try if it works at lower velocities.
Do not meddle in the affairs of coders for they are soggy and hard to light

 

Offline ShadowGorrath

  • Not funny or clever
  • 211
Re: Very fast missiles and no clipping
The missile, if it was retextured it wouldn't have collision detection. Or overall might not have collision detection. Could this be a problem/reason for going through? If so, then just open the missile model in PCS2 and purge the BSP cache.

 

Offline Vasudan Admiral

  • Member
  • 211
    • Twisted Infinities
Re: Very fast missiles and no clipping
AFAIK missiles don't have any POF based collision detection - they're considered to be just a point (with a radius?) by the game. Just keep lowering the velocities until either it collides or it's clearly around the speeds of the standard missiles and still not colliding.

That said, a missile moving that fast seems a little outside the established FS universe. For comparison the fastest missile in the game is the Tag A at 400m/s, and you barely see them moving when you're not firing.
Get the 2014 Media VPs and report any bugs you find in them to the FSU Mantis so that we may squish them. || Blender to POF model conversion guide
Twisted Infinities

 

Offline Alan Bolte

  • 28
  • Deneb III
    • @Compellor
Re: Very fast missiles and no clipping
I can see why you'd want fast missiles if you're trying to use the engine for something outside the Freespace universe. A number of modern missiles can achieve thousands of meters per second.
Anything worth doing is worth analyzing to death -Iranon

 

Offline Topgun

  • 210
Re: Very fast missiles and no clipping
yeah, everything in freespace is super slow.

 
Re: Very fast missiles and no clipping
It probably wouldn't fit in unless you increased the ship and weapon speed by a notch or two, for example something like in Joshua's RealFlight mod. IIRC he altered the tables so ship and weapon speeds were all increased somewhat. But not on the order of 3000+m/s.

 
Re: Very fast missiles and no clipping

The internal logic to it is that the missile is being launched via railgun techology - i.e. a magnetic mass driver - and once launched at this uber rapid speed it kicks in its targeting system.  Basically its moving too fast for any enemy ship to avoid or intercept...and also too fast to HIT the damn ships either, it seems.

HOWEVER, I noticed that when I switched the ships to Deimos or Aeolus class vessels, this problem ceased.  The missiles made contact at 3000+ m/s!  So I'm thinking this has to be an issue with the leviathan model in particular.  Even weirder, when I left the leviathans in and increased the game speed to 4x, the missiles made contact and destroyed the leviathans!  WTF, people!!

 

Offline Topgun

  • 210
Re: Very fast missiles and no clipping
it's a bug then.

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Very fast missiles and no clipping
ive never had a problem with weapons with velocitys in excess of 10000 m/s. if youre using models, check the radius data, using the laser codes there is never a problem. missiles on the other hand ive not tested at those speeds. but definately make sure both weapon model and target ship have working radius and/or collision data.
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

 
Re: Very fast missiles and no clipping
ive never had a problem with weapons with velocitys in excess of 10000 m/s. if youre using models, check the radius data, using the laser codes there is never a problem. missiles on the other hand ive not tested at those speeds. but definately make sure both weapon model and target ship have working radius and/or collision data.

I'm by no means an expert, but why don't you try making it a normal weapon instead of a missile, should work fine as a turret. As a player weapon however you could make it a primary lazor with ammunition count.
And this ain't no ****. But don't quote me for that one. - Mika

I shall rrreach worrrld domination!

 
Re: Very fast missiles and no clipping
ya, and just use the maxim effect.
Sig nuked! New one coming soon!

 

Offline esarai

  • 29
  • Steathy boi
Re: Very fast missiles and no clipping
About it the missiles not hitting the Leviathan...
It's not only the leviathan that won't get hit by some uber-fast projectile. I've noticed that sometimes when I cheat and load a Perseus full of Helios and launch them dumbfire, the cruisers shoot down the bombs. So I punch the burners to give the missile a little boost, but if the missile goes too fast without a lock, it passes right through the ship. It's happened on almost all cruisers for me, but doesn't happen with a missile lock. I would suggest giving the missile a heat  homing capability, but make its turn time REALLY REALLY long so that the missile will have a lock and will hit, but will not look like it had guidance, appearing more "projectile-ish". Heat-seekers will almost always have a lock when used on a cruiser, and will hit the thing, almost no exceptions.

I made several "Cruise Missiles" that are mounted on my destroyers, and they travel well above the ghosting limit (I noticed it to be a little past 110 m/s) for most missiles when dumbfired, but since they have heat seeking on, the always have a lock and always hit, even when boosted.

you could make it a primary lazor with ammunition count.

IMMA FIRIN' MAH LAZOR!!!!
<Nuclear>   truth: the good samaritan actually checked for proof of citizenship and health insurance
<Axem>   did anyone catch jesus' birth certificate?
<Nuclear>   and jesus didnt actually give the 5000 their fish...he gave it to the romans and let it trickle down
<Axem>and he was totally pro tax breaks
<Axem>he threw out all those tax collectors at the temple
<Nuclear>   he drove a V8 camel too
<Nuclear>   with a sword rack for his fully-automatic daggers

Esarai: hey gaiz, what's a good improvised, final attack for a ship fighting to buy others time to escape to use?
RangerKarl|AtWork: stick your penis in the warp core
DarthGeek: no don't do that
amki: don't EVER do that

 

Offline Nuke

  • Ka-Boom!
  • 212
  • Mutants Worship Me
Re: Very fast missiles and no clipping
ive had problems like this while testing my guided missile script. i thought it would be cool to have an afterburner on the missile, but the missile refused to hit anything when its velocity was more than the max speed set in the table. my solution was to double the max speed and then set the velocity to only have that when the afterburner was off. if youre using the additive weapon velocity feature, there may be some sort of bug in it.
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