Author Topic: Idea: turret-face-object SEXP?  (Read 1584 times)

0 Members and 1 Guest are viewing this topic.

Offline T-Man

  • 210
  • I came... I saw... I had a cuppa!
Idea: turret-face-object SEXP?
Not really a request as i don't require such a SEXP myself at the moment, but wanted to put it up to see if others would be interesting in the idea. The SEXP would turn the specified turret to face (and track if needbe) the selected object (and perhaps a specific subsystem as an optional) as if it was going to fire, but the weapons don't actually fire. Would allow scenes of ships trying to "talk" another ship into standing down by bringing its guns to bare, or a FREDer to line up a weapon with the target before having it fire (which might be handy if its a slow-firing weapon and they can't risk it firing early and going far off target, which i've seen happen sometimes if a turret has to turn to face a new target).

Might also be expandable to stuff like radar dishes or sensor suites too, so they could be focused on objects (a FREDer might have for example a radar dish focus on an object for a scan, or to deploy some kind of jamming system).

Anyways, just a little idea. Thought it might be an easy-to-impliment one as you could use the turret firing code and just cut the bit that fires the weapons, though correct me if i'm wrong there as my coding knowledge is limited.

Thanks.
« Last Edit: January 27, 2011, 01:22:12 am by T-Man »
Also goes by 'Murasaki-Tatsu' outside of Hard-Light

UEF fanboy. Rabid Imagination.

 

Offline Fury

  • The Curmudgeon
  • 213
Re: Idea: turret-face-object SEXP?
You can fake this with creating an invisible weapon with long fire delay and then swap the weapon to real one when you want it to actually do something. If you want it to track specific object, you can override targeting priorities via sexps as well. And in object types you can create the required priorities to be used in sexps.