Player.RemoveItem DLC02ArmorSimSuit 1 1 Player.RemoveAllItems DLC02PlayerContainerRef Player.Additem DLC02Weap10mmPistolSilenced 1 Player.Additem DLC02WeapKnifeCombat 1 Player.Additem DLC02Charges 3 Player.Additem Ammo10mm 60 Player.Additem DLC02ArmorCombatSnow 1 Player.Additem DLC02ArmorCombatSnowHelmet 1 Player.Additem Stealthboy 1 Player.Additem Lockpick 50 Player.EquipItem DLC02Weap10mmPistolSilenced Player.EquipItem DLC02ArmorCombatSnow Player.Equipitem DLC02ArmorCombatSnowHelmet Player.Dispel Stealthboy DisablePlayerControls 1 1 1 1 0 1 1 Player.moveto DLC02SimulationStart
ScriptName GetOpenKeyTestScriptref rTargetref rLinkedref rKeyBegin GameMode if rTarget != GetCrosshairRef set rTarget to GetCrosshairRef if rTarget PrintC "GetOpenKey Test on: %i (%n)" rTarget, rTarget set rKey to rTarget.GetOpenKey PrintC "OpenKey: %i (%n)" rKey, rKey set rLinked to rTarget.GetLinkedDoor PrintC "Linked Door: %i (%n)" rLinked, rLinked set rKey to rLinked.GetOpenKey PrintC "OpenKey: %i (%n)" rKey, rKey endif endif End
&PCName;Note that it's not completely replaced by the player's name - if their name changes later then "&PCName; will reflect this change. I assume that this is how the map markers have been named like that.
ScriptName DisplayedAmmoWeightIMScriptShort previousWidthShort widthBegin MenuMode 1002 Set width To GetUIFloat "InventoryMenu\GLOW_BRANCH\IM_MainRect\IM_IconFilenameText\width" If previousWidth != width Set previousWidth To width SetUIFloat "InventoryMenu\_OriginalWeightVisible" 0 SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 0 If width == 234 ; 5.56mm Round SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.05" ElseIf width == 218 ; 10mm Round SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.03" ElseIf width == 185 ; Microfusion Cell SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.05" ElseIf width == 189 ; Energy Cell SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.03" ElseIf width == 214 ; Mini Nuke SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "3" ElseIf width == 186 ; .32 Caliber Round SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.03" ElseIf width == 213 ; Shotgun Shell SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.1" ElseIf width == 116 ; BB SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.01" ElseIf width == 265 ; Alien Power Cell SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.03" ElseIf width == 127 ; Dart SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.01" ElseIf width == 190 ; Flamer Fuel SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.05" ElseIf width == 266 ; .44 Round, Magnum SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.05" ElseIf width == 151 ; Missile SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "1" ElseIf width == 216 ; Railway Spikes SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.05" ElseIf width == 184 ; Mesmetron Power Cell SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.1" ElseIf width == 222 ; .308 Caliber Round SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.05" ElseIf width == 177 ; 5mm Round SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.01" ElseIf width == 200 ; Electron Charge Pack SetUIFloat "InventoryMenu\_ReplacementWeightVisible" 1 SetUIString "InventoryMenu\_ReplacementWeight" "0.05" Else SetUIFloat "InventoryMenu\_OriginalWeightVisible" 1 EndIf EndIfEnd
ScriptName DisplayedAmmoWeightBMScriptShort previousWidthShort widthBegin MenuMode 1053 Set width To GetUIFloat "BarterMenu\NOGLOW_BRANCH\BM_IconFilenameText\width" If previousWidth != width Set previousWidth To width SetUIFloat "BarterMenu\_OriginalWeightVisible" 0 SetUIFloat "BarterMenu\_ReplacementWeightVisible" 0 If width == 234 ; 5.56mm Round SetUIFloat "BarterMenu\_ReplacementWeightVisible" 1 SetUIString "BarterMenu\_ReplacementWeight" "0.05"; ...and so on