ship request/ item list

Freeform discussion about anything related to modding Transcendence.
User avatar
Xephyr
Militia Captain
Militia Captain
Posts: 857
Joined: Fri Dec 14, 2007 1:52 am
Location: Orion Arm, Milky Way
Contact:

section6 wrote:also for modding it there anyway to make anyweapon omni directional? cause its hard trying to hit a corsair with a slowmoving capital ship
Yes, where it says "Omnidirectional" in the XML document, put "true" beside it.
User avatar
Periculi
Fleet Officer
Fleet Officer
Posts: 1282
Joined: Sat Oct 13, 2007 7:48 pm
Location: Necroposting in a forum near you

Actually, you won't find any omnidirectional="false" or omnidirectional="" to simply make 'true' on weapons in the StdWeapons.xml or the other places weapons are found.

To make the base model of the weapon omnidirectional you need to add the quality to the <weapon> tag:

Code: Select all

Original Tag:
<Weapon
				type=				"beam"

				damage=				"laser:1d4"
				fireRate=			"10"
				lifetime=			"30"
				powerUse=			"10"

				beamType=			"laser"
				primaryColor=		"0xf1, 0x5f, 0x2a"
				secondaryColor=		"0xff, 0x00, 0x00"
				sound=				"&snLaserCannon;"
				>
		</Weapon>

With Omni:

<Weapon
				type=				"beam"
             omnidirectional=            "true"
				damage=				"laser:1d4"
				fireRate=			"10"
				lifetime=			"30"
				powerUse=			"10"

				beamType=			"laser"
				primaryColor=		"0xf1, 0x5f, 0x2a"
				secondaryColor=		"0xff, 0x00, 0x00"
				sound=				"&snLaserCannon;"
				>
		</Weapon>

Another method is to use the <device> tag in the ship description. This can turn a normal non-omni weapon into an omni weapon install on a ship:

<Device deviceID="&itXRayLaserCannon;" omnidirectional="true"/>

I haven't found a way to use a install shop in the game to set the omni value on a newly installed weapon- it seems to work only from the xml data.
User avatar
Ttech
Fleet Admiral
Fleet Admiral
Posts: 2767
Joined: Tue Nov 06, 2007 12:03 am
Location: Traveling in the TARDIS
Contact:

Periculi wrote:Actually, you won't find any omnidirectional="false" or omnidirectional="" to simply make 'true' on weapons in the StdWeapons.xml or the other places weapons are found.

To make the base model of the weapon omnidirectional you need to add the quality to the <weapon> tag:

Code: Select all

Original Tag:
<Weapon
				type=				"beam"

				damage=				"laser:1d4"
				fireRate=			"10"
				lifetime=			"30"
				powerUse=			"10"

				beamType=			"laser"
				primaryColor=		"0xf1, 0x5f, 0x2a"
				secondaryColor=		"0xff, 0x00, 0x00"
				sound=				"&snLaserCannon;"
				>
		</Weapon>

With Omni:

<Weapon
				type=				"beam"
             omnidirectional=            "true"
				damage=				"laser:1d4"
				fireRate=			"10"
				lifetime=			"30"
				powerUse=			"10"

				beamType=			"laser"
				primaryColor=		"0xf1, 0x5f, 0x2a"
				secondaryColor=		"0xff, 0x00, 0x00"
				sound=				"&snLaserCannon;"
				>
		</Weapon>

Another method is to use the <device> tag in the ship description. This can turn a normal non-omni weapon into an omni weapon install on a ship:

<Device deviceID="&itXRayLaserCannon;" omnidirectional="true"/>

I haven't found a way to use a install shop in the game to set the omni value on a newly installed weapon- it seems to work only from the xml data.
:) I love that tag
Image
Image
Post Reply