PTL file

From RRU Knowledge Base
Revision as of 14:55, 9 June 2018 by Jessietail (talk | contribs)

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.

PTL files are configuration files used in the Windows version of LEGO Rock Raiders to control artificial intelligence. They designate cause and effect in game events, what actions Rock Raiders and Rock Raiders creatures are capable of doing, and the default order of preference. Every mission has its own PTL file located in its level folder, and will crash while loading if one does not exist. All default PTL files are identical, (with the exception of training missions, which disable certain actions), but they can be individually modified to change the AI in any mission.

List of properties

Property Action
DigComplete Defines what to do after a Rock Raider has finished digging a wall. It is usually set to RockFall.
GatherRockComplete Defines what to do after a monster has gathered a boulder. It is usually set to AttackBuilding.
GenerateRockMonsterComplete Defines what to do after a monster has emerged.
Property Action
GenerateRockMonster Causes a monster to emerge. The location is completely random on any valid wall (not a corner, not solid rock, and not blocked by water, lava, or a building) rather than defined by the emerge map.
Property/Message? Action
Debug_DestroyAll
ClearRemovePathComplete
ClearRemovePath
ClearInitialComplete
ClearInitial
ClearBuildingComplete
ClearBuilding
UpgradeComplete
Upgrade
GenerateFromCryOreComplete
GenerateFromCryOre
GenerateCrystalAndOreComplete
GenerateCrystalAndOre
TrainComplete
Train
BuildPathComplete
BuildPath
ReduceSelection
CollectTool
FollowAttack
ManSelectedAndMonsterClicked
GetIn
AttackBuildingComplete
AttackBuilding
PickRandomFloorComplete
PickRandomFloor
GatherRockComplete
GatherRock
GenerateRockMonsterComplete
GenerateRockMonster
ClearFallInComplete
ClearFallIn
ClearComplete
Clear
CollectOreComplete
CollectOre
GenerateOreComplete
GenerateOre
CrystalToRefineryComplete
CrystalToRefinery
CollectCrystalComplete
CollectCrystal
GenerateCrystalComplete
GenerateCrystal
RockFallComplete
RockFall
ReinforceComplete
Reinforce
RepairComplete
Repair
DigComplete
Dig
PlaySample
TopView
TrackObject
FirstPerson
UserGoto
RockMonsterGotoComplete
RockMonsterGoto
Goto
Deselect
ClearSelection
Selected
Select
Null