- goal 5 (the delay between the last secret found and the completion of the bonus goal)
*The pick axe cannot be selected as a sword using the key 1 (by default). It can be selected using only the next weapon / previous weapon keys. Because of this, players might think that the pick axe disappears after taking it/changing weapons. This has been fixed, now the pick axe can also be selected using the key 1.
This fix will only work for ND 1.27 or higher. Those who have version 1.26 or below installed will have to select the pick axe only using the next weapon / previous weapon keys.
Code:
DML1
//TG FM: Dead Night Sweet Delight by MysteryMan / Fixes: miss20.mis.dml
#script "nvscript"
//pick axe / sword
Create -236 "PickSword2"
{
+ObjProp "FrobInfo"
{
"World Action" Move, Script
"Inv Action" Script, FocusScript
"Tool Action" Script, FocusScript
}
+ObjProp "BashFactor"
{
"" 10.00
}
+ObjProp "SlayResult"
{
"Effect" No Effect
}
+ObjProp "InvLimbModel"
{
"" armsw4
}
+ObjProp "GameName"
{
"" Name_PickAxe
}
+ObjProp "Position"
{
"Location" 537.85, 466, 486.765
"Bank" 8000
}
+ObjProp "Scripts"
{
"Script 0" TrigWorldFrob
}
+ObjProp "ModelName"
{
"" picksword2
}
}
+StimSource "PickSword2" "PickStim"
{
Intensity 3
Propagator "Contact"
{
Shape
{
"Contact Types" Collision, Weapon Swing Low
}
}
}
++StimSource "PickSword2" "PickStim"
{
Intensity 4
Propagator "Contact"
{
Shape
{
"Contact Types" Collision, Weapon Swing Med
}
}
}
++StimSource "PickSword2" "PickStim"
{
Intensity 5
Propagator "Contact"
{
Shape
{
"Contact Types" Collision, Weapon Swing High
}
}
}
+Link "PickSword2" 353 "ControlDevice"
{
}
Create -1704 "ND127"
{
+ObjProp "DiffTurnOn"
{
"quest var values" 0, 1, 2
}
}
+Link "ND127" 264 "ControlDevice"
{
}
+ObjProp 264 "Scripts"
{
"Script 0" TrapDestroy
}
+ObjProp 353 "Scripts"
{
"Script 0" TrapDestroy
}
//goals
-Link 13 719 "ControlDevice"
+ObjProp 251 "DesignNote"
{
"" NVRelayTrapOn="FrobWorldEnd"; NVRelayTrapDelay=200
}
ObjProp 251 "Scripts"
{
"Script 1" NVRelayTrap
}
-Link 686 684 "ControlDevice"
+Link 686 719 "ControlDevice"
{
}
+Link 719 684 "ControlDevice"
{
}
+ObjProp 719 "DesignNote"
{
"" NVRelayTrapDelay=1200
}
-ObjProp 719 "TrapQVar"
+ObjProp 719 "Scripts"
{
"Script 0" NVRelayTrap
"Don't Inherit" true
}
//secrets
+ObjProp 124 "BlockFrob"
{
"" true
}
+ObjProp 124 "PickDist"
{
"" 5.00
}
+ObjProp 128 "Book"
{
"" foundit
}
-ObjProp 128 "AI_Converation"
-ObjProp 128 "AI_SaveConverse"
-Link 128 127 "AIConversationActor"
+Link 128 -3894 "SoundDescription"
{
}
ObjProp 128 "Scripts"
{
"Script 0" TrapSetQVar
"Script 1" NVOnscreenText
"Script 2" NVAmbientSoundTrap
}
+ObjProp 128 "TrapQVar"
{
"" +1:DrSSecrets
}
-ObjProp 133 "PickDist"
-StimSource 133 "SecretStim"
-StimSource 234 "SecretStim"
+MetaProp 233 -2420
+ObjProp 341 "BlockFrob"
{
"" true
}
-ObjProp 440 "PickDist"
ObjProp 440 "Scripts"
{
"Script 0" TrigWorldFrob
"Script 1" ""
"Script 2" ""
}
-StimSource 440 "SecretStim"
-StimSource 614 "SecretStim"
-StimSource 616 "SecretStim"
-StimSource 651 "SecretStim"
ObjProp 651 "Scripts"
{
"Script 0" TrigWorldFrob
"Script 1" ""
}
-StimSource 710 "SecretStim"
-StimSource 658 "SecretStim"
-StimSource 667 "SecretStim"
-ObjProp 667 "PickDist"
+ObjProp 668 "BlockFrob"
{
"" true
}
+ObjProp 945 "DesignNote"
{
"" NVRelayTrapOff="Null"
}
+ObjProp 945 "Scripts"
{
"Script 0" NVRelayTrap
"Don't Inherit" true
}
//fireplace
ObjProp 65 "PGLaunchInfo"
{
"Min time" 1.00
"Max time" 1.00
}
ObjProp 87 "PGLaunchInfo"
{
"Min time" 1.00
"Max time" 1.00
}
//various objects
+ObjProp 70 "PickDist"
{
"" 5.00
}
+ObjProp 91 "PickDist"
{
"" 5.00
}
-ObjProp 923 "NoDrop"
//misplaced objects
+Receptron 177 "Stench"
{
Max None
Target 233
Agent -1262
Effect "add_prop"
{
"Prop Name" Class Tags
}
}
+StimSource 177 "Stench"
{
Intensity 1
Propagator "Radius"
}
ObjProp 177 "Position"
{
"Location" 541, 461, 499.955
}
-ObjProp 177 "PhysType"
+ObjProp 177 "PhysType"
{
"Type" OBB
}
-ObjProp 766 "PhysType"
ObjProp 766 "Position"
{
"Location" 532.3, 468.7, 501.155
}
//AIs
+ObjProp 213 "InvRendType"
{
"Type" Alternate Bitmap
"Resource" frakusca
}
+Link 549 550 "CreatureAttachment"
{
"Joint" Abdomen
}
Code:
menu: "Menu"
continue: "Continue"
stats: "Stats"
goals: "Goals"
restart: "Replay"
hours: "Hours"
minutes: "Minutes"
seconds: "Seconds"
hour: "Hour"
minute: "Minute"
second: "Second"
true: "True"
false: "False"
some: "Some"
none: "None"
stat_0: "DrSTime"
text_0: "Total Time: "
format_0: "@t"
stat_1: "TOTAL_LOOT"
text_1: "Found "
format_1: "@x@=01@c%d"
stat_2: "DrSLootTotal"
text_2: " Loot out of "
format_2: "%d"
stat_3: "DrSPocketOK"
text_3: "Pockets Picked: "
format_3: "@s%d"
stat_4: "DrSPocketCnt"
text_4: " out of "
format_4: "%d"
stat_5: "DrSLockPick"
text_5: "Locks Picked: "
format_5: "@<05%d"
stat_6: "DrSBackStabs"
text_6: "Back Stabs: "
format_6: "@c%d"
stat_7: "DrSKNockout"
text_7: " Knock Outs: "
format_7: "@c%d"
stat_8: "DrSAerials"
text_8: " While Airborne: "
format_8: "@+%d"
stat_9: "DrSDmgDealt"
text_9: "Damage Dealt: "
format_9: "@c%d"
stat_10: "DrSDmgTaken"
text_10: " Damage Taken: "
format_10: "@c%d"
stat_11: "DrSHealing"
text_11: " Healing Taken: "
format_11: "%d"
stat_12: "DrSInnocent"
text_12: "Innocents Killed: "
format_12: "@c@q"
stat_13: "DrSKills"
text_13: ", and others Killed: "
format_13: "%d"
stat_14: "DrSBodyFound"
text_14: "Bodies discovered by enemies: "
format_14: "@+%d"
stat_15: "DrSSecrets"
text_15: "Secrets found: "
format_15: "@c%d"
stat_16: "DrSScrtCnt"
text_16: " out of "
format_16: "10"
stat_17: "DrSCmTime"
text_17: "Campaign Totals\nTime So Far: "
format_17: "@n@x@<03@t"
stat_18: "DrSCmLoot"
text_18: "Loot So Far: "
format_18: "%d"
stat_19: "DrSCmDmgDeal"
text_19: "Total Damage Dealt: "
format_19: "@c%d"
stat_20: "DrSCmDmgTake"
text_20: " and Received: "
format_20: "%d"
) here.