fortuni on 18/6/2023 at 15:13
Updated dml's courtesy Unna + Glypher
gam.dml: Required for all 5 missions
Code:
DML1//Bleeding Hell//miss3.gam.dml
-objprop -7298 "Scripts"
Mission 1 The Mystic Estate (miss3)
Fixes
- Prevents player entering mansion via balcony and thus forcing player to complete an objective correctly.
-Fixes a readable after killing Christine.
-Fixes a buggy key inside a vase.
-Fixes Cherub holding key.
-Various misplaced object and other minor issues.
- Pockets count
Code:
DML1
//T2 FM: The Rebellion of the Builder by Shaun M.D. Morin (GORT) //miss3.mis.dml
#script "nvscript"
#script "squirrel"
Create -2086 "BalconyEntrance"
{
-ObjProp "PhysType"
+ObjProp "Position"
{
"Location" -81.5,0.0470588,15
}
+ObjProp "PhysType"
{
"Type" OBB
"# Submodels" 6
}
+ObjProp "Scripts"
{
"Script 0" TrigOBBPlayer
"Script 1" ""
"Script 2" ""
"Script 3" ""
"Don't Inherit" true
}
}
Create -1823 "Goal0Trap"
{
+ObjProp "TrapQVar"
{
"" =1:goal_state_0
}
+ObjProp "TrapFlags"
{
"" Once,NoOff
}
}
+Link "BalconyEntrance" "Goal0Trap" "ControlDevice"
{
}
Create -2123 "SecretMessage"
{
+ObjProp "Book"
{
"" M03ST01
}
+ObjProp "DesignNote"
{
"" NVOnScreenTextCount=1
}
+ObjProp "Scripts"
{
"Script 0" NVOnScreenText
"Script 1" ""
"Script 2" ""
"Script 3" ""
"Don't Inherit" false
}
}
+ObjProp 1270 "DesignNote"
{
"" NVRelayTrapTDest="SecretMessage"; NVRelayTrapDelay=500; NVRelayTrapOn="FrobWorldEnd"
}
ObjProp 1270 "Scripts"
{
"Script 2" NVRelayTrap
}
-ObjProp 2037 "AI_AlrtRsp"
ObjProp 2037 "Position"
{
"Location" 117,-83.25,-3.45
"Heading" 4000
}
-MetaProp 2037 -5697
+ObjProp 2205 "PhysType"
{
"Type" None
"# Submodels" 0
}
ObjProp 2205 "Position"
{
"Location" -91.8853,85.9922,-3.54266
}
+ObjProp 2199 "PhysType"
{
"Type" None
"# Submodels" 0
}
ObjProp 2199 "Position"
{
"Location" -91.6029,68.549,-3.58055
"Heading" e000
}
ObjProp 222 "Position"
{
"Location" -89.0002,77.8686,-5.34142
"Heading" cd44
}
ObjProp 217 "Position"
{
"Location" -77.0002,77.8686,-5.34142
"Heading" b1fc
}
ObjProp 210 "Position"
{
"Location" -94.4002,90.7686,-5.34142
"Heading" 4c50
}
ObjProp 221 "Position"
{
"Location" -89.3002,89.8686,-5.34142
"Heading" c000
}
ObjProp 215 "Position"
{
"Location" -77.3002,58.9686,-5.34142
"Heading" c000
}
ObjProp 219 "Position"
{
"Location" -77.3002,88.9686,-5.34142
"Heading" d954
}
ObjProp 205 "Position"
{
"Location" -82.7002,90.1686,-5.34142
"Heading" 2000
}
ObjProp 474 "Position"
{
"Location" -54.75,107.525,-2.97921
"Heading" 4000
}
ObjProp 195 "Position"
{
"Location" -86.3422,-81.9961,-3.44
"Heading" c910
"Pitch" 4000
}
+ObjProp 2686 "PhysType"
{
"Type" None
"# Submodels" 0
}
ObjProp 2686 "Position"
{
"Location" 80.1824,-76.1069,-3.83
"Heading" e800
}
+ObjProp 1012 "DesignNote"
{
"" RepositionLoc=-1.0,0.0,0.0
}
+ObjProp 1012 "Scripts"
{
"Script 0" T2FMDMLSimReposOfst
}
+ObjProp 1815 "DesignNote"
{
"" RepositionLoc=0.0,0.0,0.2
}
+ObjProp 1815 "Scripts"
{
"Script 0" T2FMDMLSimReposOfst
}
+ObjProp 1277 "Scale"
{
"" 0.8,0.8,0.8
}
+ObjProp 2464 "HasRefs"
{
"" false
}
+ObjProp 1397 "PhysType"
{
"Type" None
"# Submodels" 0
}
ObjProp 1397 "Position"
{
"Location" 113,58,13.4926
}
+ObjProp 1403 "PhysType"
{
"Type" None
"# Submodels" 0
}
+ObjProp 1427 "PhysType"
{
"Type" None
"# Submodels" 0
}
+ObjProp 1425 "PhysType"
{
"Type" None
"# Submodels" 0
}
+ObjProp 1415 "PhysType"
{
"Type" None
"# Submodels" 0
}
+ObjProp 1417 "PhysType"
{
"Type" None
"# Submodels" 0
}
+ObjProp 1426 "PhysType"
{
"Type" None
"# Submodels" 0
}
+ObjProp 1432 "PhysType"
{
"Type" None
"# Submodels" 0
}
+ObjProp 2748 "PhysType"
{
"Type" None
"# Submodels" 0
}
ObjProp 747 "Position"
{
"Location" -51.4951,10.5471,12.3315
}
//death stage
-ObjProp 50 "DeathStage"
-ObjProp 297 "DeathStage"
-ObjProp 481 "DeathStage"
//pickpockets
Link 2292 1558 "Contains"
{
"" Generic Contents
}
ObjProp 2292 "MeshAttach"
{
"attached obj 1" 1558
"joint of skeleton" 15
"x angle (0-65535)" 0
"y angle (0-65535)" 0
"z angle (0-65535)" 20000
"offset" 0.5, -1.25, -0.1
}
Link 2143 2124 "Contains"
{
"" Generic Contents
}
ObjProp 2143 "MeshAttach"
{
"attached obj 1" 2124
"joint of skeleton" 14
"x angle (0-65535)" 4300
"y angle (0-65535)" 10750
"z angle (0-65535)" 2650
"offset" 0.1, 0.35, -0.25
}
Mission 2: The Forest of Despair (miss17)
Fixes
- Scroll and some gold nuggets that have sunk into the ground.
Code:
DML1
//The Rebellion of the Builder - The Forest of Despair: Fixes. File: miss17.mis.dml
+ObjProp 1502 "PhysType"
{
"Type" None
"# Submodels" 0
}
ObjProp 1078 "Position"
{
"Location" 715,782.851,-95.7934
}
Mission 3: The Contradiction of the Builder's Children (miss18)
Fixes
- Prevents mission finishing early when you collect the Mech card off the Hammerite.
- Conversation between Nick Davis and Scott Ridley in hotel, allowing conversation to be completed and thus new objective to be triggered.
- A number of minor issues.
Code:
DML1//The Rebellion of the Builder - The Contradiction of the Builder's Children: Fix goals. File: miss18.mis.dml
#script "tnhscript"
Create -464 "QVarFixSwitch"
{
+ObjProp "Scripts"
{
"Script 0" TrigProximity
}
+ObjProp "DesignNote"
{
"" Proximity=2000
}
}
+ObjProp 1976 "Scripts"
{
"Script 0" TrapSetQVar
}
+ObjProp 1976 "TrapQVar"
{
"" =0:goal_target_1
}
+Link "QVarFixSwitch" 1976 "ControlDevice"
{
}
-Link 1998 2009 "ControlDevice"
ObjProp 339 "Position"
{
"Location" -52.04,-156.442,137.676
"Heading" c000
}
+ObjProp 3142 "PhysType"
{
"Type" None
"# Submodels" 0
}
-ObjProp 3142 "Position"
+ObjProp 3142 "Position"
{
"Location" -480.875,239.461,138.003
"Heading" e400
}
-MetaProp 1203 -2424
-ObjProp 1141 "PickDist"
-ObjProp 1120 "PickDist"
+ObjProp 1200 "BlockFrob"
{
"" true
}
+ObjProp 1201 "BlockFrob"
{
"" true
}
+ObjProp 1202 "BlockFrob"
{
"" true
}
+ObjProp 1203 "BlockFrob"
{
"" true
}
ObjProp 1929 "AI_Converation"
{
"Actor"[1] ActorOne
"Conversation: Action 1" "Frob object(Target Object,With Object)"
" Argument 1"[1] ChangeQVars
}
-Link 1998 1997 "ControlDevice"
+Link 1998 1485 "ControlDevice"
{
}
+ObjProp 1485 "Scripts"
{
"Script 0" TrapTimedRelay
}
+ObjProp 1485 "ScriptTiming"
{
"" 1000
}
+ObjProp 1809 "Scripts"
{
"Script 0" TrigDoorOpen
}
+ObjProp 3513 "Scripts"
{
"Script 0" TrigDoorOpen
}
-Link 2000 1144 "ControlDevice"
-Link 2000 1146 "ControlDevice"
-Link 2000 1916 "ControlDevice"
-Link 2000 326 "ControlDevice"
+Link 1809 1929 "ControlDevice"
{
}
+ObjProp 1392 "ScriptTiming"
{
"" 20000
}
+ObjProp 1392 "Scripts"
{
"Script 1" TrapTimedRelay
}
+Link 1392 1146 "ControlDevice"
{
}
+Link 1392 1144 "ControlDevice"
{
}
+Link 1392 35 "ControlDevice"
{
}
+Link 1392 326 "ControlDevice"
{
}
+Link 2000 1392 "ControlDevice"
{
}
+ObjProp 53 "ScriptTiming"
{
"" 22000
}
+ObjProp 53 "Scripts"
{
"Script 1" TrapTimedRelay
}
+Link 3504 53 "ControlDevice"
{
}
+Link 53 1929 "ControlDevice"
{
}
+ObjProp 1931 "AI_Vision"
{
"" "Well Below Average"
}
+ObjProp 1931 "AI_Hearing"
{
"" "Well Below Average"
}
+ObjProp 35 "ScriptTiming"
{
"" 38000
}
+ObjProp 35 "Scripts"
{
"Script 1" TrapTimedRelay
}
+Link 35 1916 "ControlDevice"
{
}
+ObjProp 1998 "Scripts"
{
"Script 3" TrigWorldFrob
}
-Link 1771 1998 "Contains"
+Link 1771 1998 "Contains"
{
"" Belt
}
+Link 1485 1997 "ControlDevice"
{
}
-Link 1771 1772 "AIWatchObj"
+Link 1771 1772 "AIWatchObj"
{
"Watch kind" "Self entry"
"Priority" "Normal"
"Trigger: Radius" 4
" Height" 5
" Required awareness" "(0) None"
" Line requirement" "None"
" Minimum alertness" "(0) None"
" Maximum alertness" "(0) None"
"Exit: Link kill option" "After completion"
" Kill like links" false
" No test once triggered" true
" Reuse delay" 10000
" Reset delay" 10000
"Response: Step 1" "Script message(Message,MsgData1,MsgData2)"
" Argument 1" "Reached"
" Argument 2" "50"
" Argument 3" ""
"Response: Step 2" "Face(Angle,Object(-1 for angle relative to self))"
" Argument 1"[1] "Player"
" Argument 2"[1] ""
" Argument 3"[1] ""
"Response: Step 3" "Play sound/motion(Sound Concept,Sound Tags,Motion Tags)"
" Argument 1"[2] ""
" Argument 2"[2] ""
" Argument 3"[2] "Search 0, Peek 0"
"Response: Step 4" "Wait(Time(ms),Motion Tags)"
" Argument 1"[3] "5000"
" Argument 2"[3] "Locomote, Frog"
" Argument 3"[3] ""
"Response: Step 5" "Face(Angle,Object(-1 for angle relative to self))"
" Argument 1"[4] "180"
" Argument 2"[4] ""
" Argument 3"[4] ""
"Response: Step 6" "Wait(Time(ms),Motion Tags)"
" Argument 1"[5] "1000"
" Argument 2"[5] "conv 10"
" Argument 3"[5] ""
"Response: Step 7" "Script message(Message,MsgData1,MsgData2)"
" Argument 1"[6] "Donelookback"
" Argument 2"[6] ""
" Argument 3"[6] ""
}
//pickpockets
Link 1468 1726 "Contains"
{
"" Generic Contents
}
ObjProp 1468 "MeshAttach"
{
"attached obj 1" 1726
"joint of skeleton" 14
"x angle (0-65535)" 0
"y angle (0-65535)" 5000
"z angle (0-65535)" 2000
"offset" 0, 0.25, -0.25
}
Mission 4: The Doomsday Project (miss19)
Fixes
- Prevents Trickster getting stuck in various pods.
- Fixes No Kill objective not showing in objective screen.
Code:
DML1
//The Rebellion of the Builder - The Doomsday Project: Fixes. File: miss19.mis.dml
#script tnhscript
Create -464 "QVarFixSwitch"
{
+ObjProp "Scripts"
{
"Script 0" TrigProximity
}
+ObjProp "DesignNote"
{
"" Proximity=2000
}
}
+ObjProp 367 "Scripts"
{
"Script 0" TrapSetQvar
}
+ObjProp 367 "TrapQVar"
{
"" =0:goal_state_3
}
+Link "QVarFixSwitch" 367 "ControlDevice"
{
}
+ObjProp 383 "AI_ObjAvoid"
{
"Flags" "Block pathfind,Repel"
}
+ObjProp 384 "AI_ObjAvoid"
{
"Flags" "Block pathfind,Repel"
}
+ObjProp 385 "AI_ObjAvoid"
{
"Flags" "Block pathfind,Repel"
}
+ObjProp 1034 "AI_ObjAvoid"
{
"Flags" "Block pathfind,Repel"
}
+ObjProp 1046 "AI_ObjAvoid"
{
"Flags" "Block pathfind,Repel"
}
+ObjProp 1047 "AI_ObjAvoid"
{
"Flags" "Block pathfind,Repel"
}
+ObjProp 1049 "AI_ObjAvoid"
{
"Flags" "Block pathfind,Repel"
}
+ObjProp 1050 "AI_ObjAvoid"
{
"Flags" "Block pathfind,Repel"
}
+ObjProp 1040 "Scripts"
{
"Script 0" TrapSetQvar
}
+ObjProp 1040 "TrapQVar"
{
"" =1:goal_visible_3
}
+Link "QVarFixSwitch" 1040 "ControlDevice"
{
}
Mission 5: The Unstable Destination (miss20)
Prevents rooftops collapsing instantly the moment you land on it.
Code:
DML1//TROTB Final //Roofs, objects//miss20.mis.dml
#script nvscript
+ObjProp 78 "PhysPPlate"
{
"Activation Weight" 50.00
"Travel" 0.01
"Speed" 1.00
"Pause" 8.00
"Blocks Vision" FALSE
}
-objprop 78 "scripts"
-Receptron 78 "Touch"
+ObjProp 78 "Scripts"
{
"Script 0" TrigPPlate
}
+Link 78 95 "ControlDevice"
{
}
+Link 78 96 "ControlDevice"
{
}
+Link 78 77 "ControlDevice"
{
}
+Link 78 96 "ControlDevice"
{
}
+Link 78 97 "ControlDevice"
{
}
+Link 78 98 "ControlDevice"
{
}
+ObjProp 247 "PhysPPlate"
{
"Activation Weight" 50.00
"Travel" 0.01
"Speed" 1.00
"Pause" 3.00
"Blocks Vision" FALSE
}
-objprop 247 "scripts"
-Receptron 247 "Touch"
+ObjProp 247 "Scripts"
{
"Script 0" TrigPPlate
}
+Link 247 250 "ControlDevice"
{
}
+Link 247 251 "ControlDevice"
{
}
+Link 247 246 "ControlDevice"
{
}
+Link 247 249 "ControlDevice"
{
}