Difference between revisions of "PTL file"

From RRU Knowledge Base
Line 5: Line 5:
It even is possible to alter game events using the '''PTL File'''. Such as clearing [[Rubble]] causing [[Rock Monsters]] to emerge.
It even is possible to alter game events using the '''PTL File'''. Such as clearing [[Rubble]] causing [[Rock Monsters]] to emerge.


Message_Debug_DestroyAll    Message_ClearRemovePathComplete Message_ClearRemovePath Message_ClearInitialComplete    Message_ClearInitial    Message_ClearBuildingComplete  Message_ClearBuilding  Message_UpgradeComplete Message_Upgrade Message_GenerateFromCryOreComplete  Message_GenerateFromCryOre  Message_GenerateCrystalAndOreComplete  Message_GenerateCrystalAndOre  Message_TrainComplete  Message_Train  Message_BuildPathComplete  Message_BuildPath  Message_ReduceSelection Message_CollectTool Message_FollowAttack    Message_ManSelectedAndMonsterClicked    Message_GetIn  Message_AttackBuildingComplete  Message_AttackBuilding  Message_PickRandomFloorComplete Message_PickRandomFloor Message_GatherRockComplete  Message_GatherRock  Message_GenerateRockMonsterComplete Message_GenerateRockMonster Message_ClearFallInComplete Message_ClearFallIn Message_ClearComplete  Message_Clear  Message_CollectOreComplete  Message_CollectOre  Message_GenerateOreComplete Message_GenerateOre Message_CrystalToRefineryComplete  Message_CrystalToRefinery  Message_CollectCrystalComplete  Message_CollectCrystal  Message_GenerateCrystalComplete Message_GenerateCrystal Message_RockFallComplete   Message_RockFall    Message_ReinforceComplete  Message_Reinforce  Message_RepairComplete  Message_Repair  Message_DigComplete Message_Dig Message_PlaySample  Message_TopView Message_TrackObject Message_FirstPerson Message_UserGoto    Message_RockMonsterGotoComplete Message_RockMonsterGoto Message_Goto    Message_Deselect    Message_ClearSelection  Message_Selected    Message_Select  Message_Null
Message_Debug_DestroyAll    Message_ClearRemovePathComplete Message_ClearRemovePath Message_ClearInitialComplete    Message_ClearInitial    Message_ClearBuildingComplete  Message_ClearBuilding  Message_UpgradeComplete Message_Upgrade Message_GenerateFromCryOreComplete  Message_GenerateFromCryOre  Message_GenerateCrystalAndOreComplete  Message_GenerateCrystalAndOre  Message_TrainComplete  Message_Train  Message_BuildPathComplete  Message_BuildPath  Message_ReduceSelection Message_CollectTool Message_FollowAttack    Message_ManSelectedAndMonsterClicked    Message_GetIn  Message_AttackBuildingComplete  Message_AttackBuilding  Message_PickRandomFloorComplete Message_PickRandomFloor Message_GatherRockComplete  Message_GatherRock  Message_GenerateRockMonsterComplete Message_Message_ClearFallInComplete Message_ClearFallIn Message_ClearComplete  Message_Clear  Message_CollectOreComplete  Message_CollectOre  Message_GenerateOreComplete Message_GenerateOre Message_CrystalToRefineryComplete  Message_CrystalToRefinery  Message_CollectCrystalComplete  Message_CollectCrystal  Message_GenerateCrystalComplete Message_GenerateCrystal Message_RockFallComplete     Message_ReinforceComplete  Message_Reinforce  Message_RepairComplete  Message_Repair  Message_DigComplete Message_Dig Message_PlaySample  Message_TopView Message_TrackObject Message_FirstPerson Message_UserGoto    Message_RockMonsterGotoComplete Message_RockMonsterGoto Message_Goto    Message_Deselect    Message_ClearSelection  Message_Selected    Message_Select  Message_Null
 
==Properties==
===DigComplete===
The <code>GatherRockComplete</code> property defines what to do after a [[Rock Raider]] has finished digging a wall. It is usually set to <code>RockFall</code>
===GatherRockComplete===
The <code>GatherRockComplete</code> property defines what to do after a Monster has gathered a boulder. It is usually set to <code>AttackBuilding</code>.
 
===GenerateRockMonsterComplete===
The <code>GenerateRockMonster</code> property defines what to do after a Monster has emerged.
 
==Messages==
===GatherRock===
===GenerateRockMonster ===
The <code>GenerateRockMonster</code> property causes a Monster to emerge. The location is completely random on any valid wall (not a corner, not [[Solid Rock]], without water, lava, or a building in front of it) rather than defined by the [[Emerge map]].
===RockFall===
The <code>RockFall</code> property causes a rock fall animation to play.

Revision as of 17:58, 26 September 2017

This article is an unfinished work in progress or contains transferred information that needs to be rewritten or reformatted to fit our standards. Please excuse the mess and do not mark for deletion.

One of several Level Files located in a Mission's level folder, the PTL File controls the Artificial Intelligence of the Rock Raiders. It designates what actions the Rock Raider is capable of doing, and the default order of preference. Every Game Level uses basically the same contents. Tutorial Levels, however, disable certain actions by not including them in the PTL file. It is suggested that you leave this file alone, as it can seriously and adversely affect the behavior of the Rock Raiders.

Further research has revealed that it not only controls the Artificial Intelligence of the Rock Raiders, but also of other creatures. It even is possible to alter game events using the PTL File. Such as clearing Rubble causing Rock Monsters to emerge.

Message_Debug_DestroyAll Message_ClearRemovePathComplete Message_ClearRemovePath Message_ClearInitialComplete Message_ClearInitial Message_ClearBuildingComplete Message_ClearBuilding Message_UpgradeComplete Message_Upgrade Message_GenerateFromCryOreComplete Message_GenerateFromCryOre Message_GenerateCrystalAndOreComplete Message_GenerateCrystalAndOre Message_TrainComplete Message_Train Message_BuildPathComplete Message_BuildPath Message_ReduceSelection Message_CollectTool Message_FollowAttack Message_ManSelectedAndMonsterClicked Message_GetIn Message_AttackBuildingComplete Message_AttackBuilding Message_PickRandomFloorComplete Message_PickRandomFloor Message_GatherRockComplete Message_GatherRock Message_GenerateRockMonsterComplete Message_Message_ClearFallInComplete Message_ClearFallIn Message_ClearComplete Message_Clear Message_CollectOreComplete Message_CollectOre Message_GenerateOreComplete Message_GenerateOre Message_CrystalToRefineryComplete Message_CrystalToRefinery Message_CollectCrystalComplete Message_CollectCrystal Message_GenerateCrystalComplete Message_GenerateCrystal Message_RockFallComplete Message_ReinforceComplete Message_Reinforce Message_RepairComplete Message_Repair Message_DigComplete Message_Dig Message_PlaySample Message_TopView Message_TrackObject Message_FirstPerson Message_UserGoto Message_RockMonsterGotoComplete Message_RockMonsterGoto Message_Goto Message_Deselect Message_ClearSelection Message_Selected Message_Select Message_Null

Properties

DigComplete

The GatherRockComplete property defines what to do after a Rock Raider has finished digging a wall. It is usually set to RockFall

GatherRockComplete

The GatherRockComplete property defines what to do after a Monster has gathered a boulder. It is usually set to AttackBuilding.

GenerateRockMonsterComplete

The GenerateRockMonster property defines what to do after a Monster has emerged.

Messages

GatherRock

GenerateRockMonster

The GenerateRockMonster property causes a Monster to emerge. The location is completely random on any valid wall (not a corner, not Solid Rock, without water, lava, or a building in front of it) rather than defined by the Emerge map.

RockFall

The RockFall property causes a rock fall animation to play.