ArmorTemplate/Manifest - TM-Modding-Wiki

ArmorTemplate/Manifest

From TM-Modding-Wiki

Jump to: navigation, search

Contents


Tiberium Wars SDK

<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="uri:ea.com:eala:asset" xmlns:at="uri:ea.com:eala:asset:type" xmlns:balance="uri:ea.com:eala:balance" xmlns:xas="uri:ea.com:eala:asset:schema" targetNamespace="uri:ea.com:eala:asset" elementFormDefault="qualified" xmlns:XmlEdit="http://tempuri.org/XmlEdit.xsd">

	<xs:complexType name="ArmorListType">
		<xs:sequence></xs:sequence>
		<xs:attribute balance:key="Damage" name="Damage" type="DamageType" />
		<xs:attribute balance:value="Percent" name="Percent" type="Percentage" />
	</xs:complexType>

	<xs:complexType name="ArmorTemplate" xas:runtimeWrapper="::ArmorTemplate">
		<xs:complexContent>
			<xs:extension base="BaseInheritableAsset">
				<xs:sequence>
					<xs:element name="Armor" type="ArmorListType" balance:category="Armor Type" minOccurs="0" maxOccurs="unbounded" />
				</xs:sequence>
				<xs:attribute name="Default" type="Percentage" default="100" />
				<xs:attribute name="DamageScalar" type="Percentage" default="100" />
				<xs:attribute name="SideDamageScalar" balance:field="Side Damage Scalar" type="Percentage" default="100" />
				<xs:attribute name="RearDamageScalar" balance:field="Rear Damage Scalar" type="Percentage" default="100" />
				<xs:attribute name="FlankedPenalty" type="Percentage" default="100%" />
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>

</xs:schema>

Binary Structure

[TW:0x9CDD1086]
UInt	0x00000000
Float	Default
Float	DamageScalar
Float	SideDamageScalar
Float	RearDamageScalar
Float	FlankedPenalty
UInt	Number of ArmorListType
UInt	Relocation

UInt	DamageType
Float	Percent
[KW:0x6D59C409]
UInt	0x00000000
Float	Default
Float	DamageScalar
Float	SideDamageScalar
Float	RearDamageScalar
Float	FlankedPenalty
UInt	Number of ArmorListType
UInt	Relocation

UInt	DamageType
Float	Percent

As it seems to be the same structure as TW the difference in the hash could be adding or removal of damage types.

Relocations

0x0000001C

If there is at least one element of the ArmorListType.

Personal tools
languages