weapon weird fragment ? maybe bug ?

Freeform discussion about anything related to modding Transcendence.
Post Reply
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

OK, I have this weapon:

Code: Select all

<!-- Grendel  Howitzer -->

	<ItemType UNID="&itGrendelCannon2;"
			name=				"Grendel Griffin Howitzer"
			level=				"6"
			value=				"18000"
			mass=				"4000"
			frequency=			"rare"
			numberAppearing=	"1"
			modifiers=			"MajorItem; BlastCannon; Xenophobe"
			unknownType=		"&itUnknownBlastCannon2;"
			description=		"Grendel produces exotic howitzers, they're effectiveness is questionable."
			sortName=			"howitzer, Griffin"
			>

		<Image imageID="&rsItems1;" imageX="96" imageY="0" imageWidth="96" imageHeight="96"/>

		<Weapon
				type=				"missile"

				damage=				"blast:1d12; momentum5; WMD5"
				fireRate=			"30"
				missileSpeed=		"50"
				lifetime=			"120"
				powerUse=			"150"
				hitPoints=			"10"				 
				recoil=				"3"

				directional=		"true"
				fireEffect=			"&efMediumCannonFlash;"
				sound=				"&snRecoillessCannon;"
				>

			<Effect>
				<MoltenBolt
						width=				"4"
						length=				"10"
						growth=				"1"
						primaryColor=		"0x00, 0xff, 0x00"
						secondaryColor=		"0x00, 0xff, 0x00"
						/>
			</Effect>

			<Fragment
							count=			"5d6"
							type=			"missile"
							lifetime=		"10"
							damage=			"blast:1d6+2; WMD4"
							missileSpeed=	"32-48"
							>
							
						<Effect>
							<Flare
									style=				"fadingBlast"
									radius=				"60"
									primaryColor=		"0x00, 0xff, 0x00"
								/>
						</Effect>
					</Fragment>
			
		</Weapon>

	</ItemType>
it shows up in game as:
Image

that is quite wrong: the weapon is not repeating x8

I understand that the fragment counting is averaging at x17 (5d6 averages at 17.5)

What I'm doing wrong ?

[EDIT]
I tried to get rid of the momentum, WMD, recoil, fireeffect, directional, hitpoints, changing the effect to <imageandtail> and a plain <image>
User avatar
digdug
Fleet Admiral
Fleet Admiral
Posts: 2620
Joined: Mon Oct 29, 2007 9:23 pm
Location: Decoding hieroglyphics on Tan-Ru-Dorem

I did some more testing with Atarlost on the IRC

I removed the count in the <Fragment> and put a fragmentCount in the <Weapon>.

If you put fragmentCount ="2" you get a x2 fragmentation multiplier.

if you put fragmentCount ="10" you get a x5 damage multiplier and a x10 fragmentation mutiplier.

weird :?

[EDIT]
Ok, I see a trend
the value of the damage multiplier is always half of the number of fragments multiplier, rounded in defect
fragmentcount ="100" gives
x50 to the damage multiplier and x100 to the fragmentation multiplier.



BTW

The Urak Howitzer is suffering of the same problem
it has 4-48(x4) fragmentation (x8 )
but has only fragmentCount = "1d5+5"

To me, it looks like a display minor bug ?
Post Reply