Partly omnidirectional weapons

Freeform discussion about anything related to modding Transcendence.
Post Reply
Yugi
Fleet Officer
Fleet Officer
Posts: 1027
Joined: Sun Mar 05, 2006 8:21 am

Is it possible to have weapons only partly omnidirectional?

I want my weapon to be omnidirectional in a 180 degree radius. Is there any way to do this?

EDIT: Hmm...I suppose that's not omnidirectional. Multidirectional, I think.
george moromisato
Developer
Developer
Posts: 2997
Joined: Thu Jul 24, 2003 9:53 pm
Contact:

This is currently not possible but it is a good idea.

Obviously, this capability exists for non-player ships, but there is no way to add this to a weapon designed for installation in player ships.
BlackPheonix
Commonwealth Pilot
Commonwealth Pilot
Posts: 51
Joined: Mon Mar 06, 2006 8:46 pm
Location: Wherever i'm currently at...

well i thaught you could but only through teh xml? but you are the person in the know on what we can and can't do so...
"The world of reality has it's limits, the world of imagination is boundless..."
Yugi
Fleet Officer
Fleet Officer
Posts: 1027
Joined: Sun Mar 05, 2006 8:21 am

You can now, in version 0.97. That post was made for 0.96a. I hadn't remembered it was my idea that helped make that :)
GenmanipulationKlonen
Anarchist
Anarchist
Posts: 2
Joined: Sun Sep 17, 2006 8:11 pm

ok... how does it work? - please
some code would be nice :)
Burzmali
Militia Commander
Militia Commander
Posts: 395
Joined: Tue Aug 15, 2006 12:14 am

You set minFireArc and maxFireArc attributes for the weapon.

Look at the XML in the DwargRaider file for and example
User avatar
Karl
Militia Lieutenant
Militia Lieutenant
Posts: 219
Joined: Fri Jul 14, 2006 11:47 pm

To be clear, you add minFireArc and maxFireArc to the weapon section of an item. For example, if you wanted a 180 degree forward firing weapon, you'd add:

minFireArc="-90"
maxFireArc="90"

See the Dwarg Xiphon Cannon for a game example of this. It fires in a 20 degree arc using:

minFireArc= "350"
maxFireArc= "10"

With 350 degrees being equal to -10, of course.

_____

And, if you are looking for a name for a "semi-omnidirectional" variant of a weapon, you could call it a sponson (short for "sponson-mounted").
~
[Grabs a box of batteries.] The power is mine! MINE! Ah hahaha! AHHHH HAHAHA!
Post Reply