fortuni on 29/6/2019 at 13:15
Dml fixes for FMsel compatible
T2X: Shadows of the Metal Age, all dml's courtesy Unna + Jax.
Note: These fixes should also work with the HD version + NecroAge version but have not been tested, and due to the nature of the modded versions of this campaign it is likely a number of other bugs will appear in those modded versions.
Important: T2X already has a number of dml's in the zip so you need to replace those dml's when prompted.
Mission 1: Unexpected Shelter (miss18)
Fixes being able to mantle over a few railings and getting stuck on the other side + one book.
Mission 3: While the City Sleeps (miss20)
Fixes end game stats to show only 3 secrets available, not 5.
Mission 4: Shadowing the Enemy (miss21)
Fixes AI, pocket count.
Mission 7: Down among Dead Men (miss24)
Fixes a trees physics and zombie who gets stuck.
Mission 10: Of Ill Repute (miss27)
Fixes a few misplaced objects & mantling over a couple of fences
Mission 11: The Grand Hotel (miss28)
Pocket Count (now discounts pistols carried by guards)
Mission 12: The Cure (miss29)
Fixes secret count + fixes gem objective (you no longer need to open a useless footlocker to complete the objective).
Mission 13: Betrayal (miss30)
Fixes misplaced Pagan.
Code:
DML1
//T2x: Fix mantling, a bad metal texture, and the drill bit stack property. File: t2x.gam.dml
+ObjProp -2551 "PhysCanMant"
{
"" false
}
+ObjProp -1430 "PhysCanMant"
{
"" false
}
+ObjProp -437 "PhysCanMant"
{
"" false
}
+ObjProp -868 "PhysCanMant"
{
"" false
}
+ObjProp -305 "PhysCanMant"
{
"" false
}
+ObjProp -304 "PhysCanMant"
{
"" false
}
+ObjProp -1526 "PhysCanMant"
{
"" false
}
+ObjProp -425 "PhysCanMant"
{
"" false
}
+ObjProp -27 "PhysCanMant"
{
"" false
}
+ObjProp -2981 "PhysCanMant"
{
"" false
}
+ObjProp -1450 "PhysCanMant"
{
"" false
}
+ObjProp -5154 "PhysCanMant"
{
"" false
}
+ObjProp -193 "PhysCanMant"
{
"" false
}
-ObjProp -5478 "Material Tags"
+ObjProp -5478 "Material Tags"
{
"1: Tags" Material Metgrate
}
-ObjProp -4282 "StackCount"
-ObjProp -8385 "FrobInfo"
+ObjProp -8385 "FrobInfo"
{
"World Action" None
}
Code:
DML1//T2x//miss18.mis.dml
// t2skies - miss18 - unexpected shelter
// cloud deck
TagBlock "CLOUDOBJVAR"
{
"Texture" clouds95
}
//Fix book frob distance
-ObjProp 1336 "PickDist"
Code:
DML1//T2x//miss20.mis.dml
// t2skies - miss20 - while the city sleeps
// celestial
TagBlock "CELOBJVAR1"
{
"Enable Fog" 0
"Texture" pmoon11
}
// cloud deck
TagBlock "CLOUDOBJVAR"
{
"Texture" clouds95
"Alpha" 0.2
}
// distant art
TagBlock "DISTOBJVAR"
{
"Texture #1" distcit
"Texture #2" distcit
}
//secret count
-ObjProp 1061 "DarkStat"
-ObjProp 1088 "DarkStat"
Code:
DML1
//T2x - Shadowing the Enemy: Fix frobbable AI, pocket count//File: miss21.mis.dml
//AI
-ObjProp 194 "FrobInfo"
//pickpockets
+ObjProp 1888 "DiffTurnOn"
{
"quest var values" 0, 1, 2
}
+ObjProp 1888 "Scripts"
{
"Script 0" TrapRelay
}
+Link 1888 1891 "ControlDevice"
{
}
+ObjProp 1891 "Scripts"
{
"Script 0" TrapSetQVar
}
+ObjProp 1891 "TrapQVar"
{
"" -2:DrSPocketCnt
}
Code:
DML1//T2x//miss24.mis.dml
// t2skies - miss24 - down among dead men
// celestial
TagBlock "CELOBJVAR1"
{
"Enable Fog" 0
"Texture" pmoon07
}
// cloud deck
TagBlock "CLOUDOBJVAR"
{
"Texture" clouds75
}
// Fix physics on tree and fix trapped zombie
-ObjProp 298 "PhysDims"
+ObjProp 298 "PhysDims"
{
"Size" 5,5,15.1026
}
Code:
DML1//T2x//miss27.mis.dml
// t2skies - miss27 - ill repute
// celestial
TagBlock "CELOBJVAR1"
{
"Enable Fog" 0
"Texture" pmoon08
}
// cloud deck
TagBlock "CLOUDOBJVAR"
{
"Texture" clouds75
}
// distant art
TagBlock "DISTOBJVAR"
{
"Texture #1" distcit
"Texture #2" distcit
}
//1485 and 1486
+ObjProp 1485 "RenderOrder"
{
"Pass" "Pre Opaque 2"
"Flags" "No Z-Write"
}
+ObjProp 1486 "RenderOrder"
{
"Pass" "Pre Opaque 2"
"Flags" "No Z-Write"
}
//sausage fix
+ObjProp 392 "ModelName"
{
"" sausage
}
+ObjProp 835 "ModelName"
{
"" sausage
}
+ObjProp 1033 "ModelName"
{
"" sausage
}
+ObjProp 1789 "ModelName"
{
"" sausage
}
+ObjProp 1788 "ModelName"
{
"" sausage
}
+ObjProp 1787 "ModelName"
{
"" sausage
}
+ObjProp 1786 "ModelName"
{
"" sausage
}
+ObjProp 1774 "ModelName"
{
"" sausage
}
//fix floating bottles
-ObjProp 418 "Position"
+ObjProp 418 "Position"
{
"Location" -256.198,46.9161,-33.3768
}
-ObjProp 419 "Position"
+ObjProp 419 "Position"
{
"Location" -262.077,43.5855,-33.3768
}
Code:
DML1//T2x//miss28.mis.dml
//pickpockets
+ObjProp 2192 "DiffTurnOn"
{
"quest var values" 0, 1, 2
}
+ObjProp 2192 "Scripts"
{
"Script 0" TrapRelay
}
+Link 2192 2660 "ControlDevice"
{
}
+ObjProp 2660 "Scripts"
{
"Script 0" TrapSetQVar
}
+ObjProp 2660 "TrapQVar"
{
"" -7:DrSPocketCnt
}
Create -36 "PocketFixExp"
{
+ObjProp "DiffDestroy"
{
"quest var values" 0, 1
}
+ObjProp "Scripts"
{
"Script 0" TrapSetQVar
}
+ObjProp "TrapQVar"
{
"" -1:DrSPocketCnt
}
}
+Link 2192 "PocketFixExp" "ControlDevice"
{
}
Code:
DML1//T2x//miss29.mis.dml
// t2skies - miss29 - the cure
// cloud deck
TagBlock "CLOUDOBJVAR"
{
"Texture" clouds75
"Alpha" 0.5
}
// add flicker trigger to a barrel near spawn point...
+ObjProp 571 "Scripts"
{
"Script 0" "TrigFlicker"
}
+ObjProp 571 "CfgTweqBlink"
{
"Halt" Stop Tweq
"AnimC" Sim
"MiscC" Scripts
"Rate" 1
}
+ObjProp 571 "StTweqBlink"
{
"AnimS" On
}
// ...and use it to trigger a fix to the total secrets count
+ObjProp 572 "Scripts"
{
"Script 0" "TrapSetQVar"
}
+ObjProp 572 "TrapQVar" = "-1:DrSScrtCnt"
+ObjProp 572 "TrapFlags" = Once
+Link 571 572 "ControlDevice"
{
}
// fix gem objective
-Link 1348 1341 "ControlDevice"
Code:
DML1//miss30.mis.dml
// t2skies - miss30 - betrayal
// celestial
TagBlock "CELOBJVAR1"
{
"Enable Fog" 0
"Texture" pmoon09
}
// cloud deck
TagBlock "CLOUDOBJVAR"
{
"Texture" clouds75
}
-ObjProp 766 "Position"
+ObjProp 766 "Position"
{
"Location" 144.0, 246.0, -9.94
"Heading" 0
"Pitch" 0
"Bank" 0
}