-
Notifications
You must be signed in to change notification settings - Fork 7
/
Tome Example Data Project.tfields
33 lines (33 loc) · 4.8 KB
/
Tome Example Data Project.tfields
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<?xml version="1.0" encoding="UTF-8"?>
<Fields>
<Field Id="Acceleration" DisplayName="Acceleration" Description="Acceleration of this entity, in m/s²." Type="Real" Component="PhysicsComponent" DefaultValue="4.500"/>
<Field Id="AllowedTargets" DisplayName="Allowed Targets" Description="Targets that can be acquired by this entity." Type="Movement Types" Component="AttackComponent">
<DefaultValue Value="Ground"/>
</Field>
<Field Id="Armor" DisplayName="Armor" Description="Armor value of this entity. Reduces physical damage taken." Type="Integer" Component="ArmorComponent" DefaultValue="0"/>
<Field Id="ArmorType" DisplayName="Armor Type" Description="Type of the armor of this entity. Affects actual damage taken by enemy attacks, depending on the attacker's damage type." Type="Armor Type" Component="ArmorComponent" DefaultValue="Cloth"/>
<Field Id="AttackDamage" DisplayName="Attack Damage" Description="Damage dealt by every attack of this entity. Affected by its damage type and the defender's armor type." Type="Integer" Component="AttackComponent" DefaultValue="12"/>
<Field Id="AttackRange" DisplayName="Attack Range" Description="Range of attack of this entity, in m." Type="Real" Component="RangeComponent" DefaultValue="18.250"/>
<Field Id="Cooldown" DisplayName="Cooldown" Description="Time between two attacks of this entity, in seconds." Type="Real" Component="AttackComponent" DefaultValue="1.200"/>
<Field Id="DamageType" DisplayName="Damage Type" Description="Type of the damage dealt by this entity. Affects actual damage dealt by its attacks, depending on the target's armor type." Type="Damage Type" Component="AttackComponent" DefaultValue="Normal"/>
<Field Id="Health" DisplayName="Health" Description="Maximum health of this entity. If reduced to zero, it dies." Type="NonNegativeInteger" Component="HealthComponent" DefaultValue="200"/>
<Field Id="HealthRegeneration" DisplayName="Health Regeneration" Description="Health regeneration rate of this entity, in health / second." Type="Integer" Component="HealthComponent" DefaultValue="0"/>
<Field Id="Invulnerable" DisplayName="Invulnerable" Description="Whether this entity can take damage and be targeted, or not." Type="Boolean" Component="InvulnerabilityComponent" DefaultValue="False"/>
<Field Id="Mana" DisplayName="Mana" Description="Maximum mana of this entity. Regenerates automatically. Required for most spells." Type="NonNegativeInteger" Component="ManaComponent" DefaultValue="100"/>
<Field Id="MP5" DisplayName="Mana Regeneration" Description="Mana regeneration rate of this entity, in mana / 5 seconds." Type="Integer" Component="ManaComponent" DefaultValue="3"/>
<Field Id="Mass" DisplayName="Mass" Description="Mass of this entity, in kg. Affects physics and collision separation." Type="NonNegativeReal" Component="PhysicsComponent" DefaultValue="1.0000"/>
<Field Id="MovementSpeed" DisplayName="Movement Speed" Description="Speed of this entity, in m/s." Type="NonNegativeReal" Component="PhysicsComponent" DefaultValue="12.7500"/>
<Field Id="MovementType" DisplayName="Movement Type" Description="How this entity moves across the level." Type="Movement Type" Component="PhysicsComponent" DefaultValue="Ground"/>
<Field Id="Name" DisplayName="Name" Description="Name of this entity." Type="ShortString" Component="NameComponent" DefaultValue=""/>
<Field Id="Projectile" DisplayName="Projectile" Description="Type of the projectile fired by this entity when attacking." Type="ProjectileReference" Component="AttackComponent" DefaultValue=""/>
<Field Id="ProjectileBase" DisplayName="Projectile Base" Description="Position to spawn projectiles at, relative to the position of this entity." Type="Vector (3D Real)" Component="AttackComponent">
<DefaultValue Key="X" Value="0"/>
<DefaultValue Key="Y" Value="5"/>
<DefaultValue Key="Z" Value="0"/>
</Field>
<Field Id="ResourceCosts" DisplayName="Resource Costs" Description="Resources to pay in order to create this entity." Type="ResourceCostMap" Component="CostsComponent" DefaultValue=""/>
<Field Id="RotationSpeed" DisplayName="Rotation Speed" Description="Rotation speed of this entity, in degrees / second." Type="NonNegativeReal" Component="PhysicsComponent" DefaultValue="360.0000"/>
<Field Id="SightRadius" DisplayName="Sight Radius" Description="Range of sight of this entity, in m." Type="NonNegativeReal" Component="SightComponent" DefaultValue="25.0000"/>
<Field Id="Sprite" DisplayName="Sprite" Description="Name of the sprite used to visualize this entity." Type="Sprite" Component="VisualizationComponent" DefaultValue=""/>
<Field Id="SpriteColor" DisplayName="Sprite Color" Description="Color to render the sprite of this entity with." Type="Color" Component="VisualizationComponent" DefaultValue="#ffffff"/>
</Fields>