SHOW:
|
|
- or go back to the newest paste.
| 1 | rem --- START VSS --- | |
| 2 | ||
| 3 | rem ZOOMED | |
| 4 | ||
| 5 | hudBuilder.createSplitNode Background VSSZoom | |
| 6 | hudBuilder.setNodeLogicShowVariable EQUAL GuiIndex 201 | |
| 7 | ||
| 8 | hudBuilder.createPictureNode VSSZoom VSS_scope 0 0 1024 1024 | |
| 9 | hudBuilder.setPictureNodeTexture mil_scope.dds | |
| 10 | ||
| 11 | hudBuilder.createPictureNode VSSZoom VSS_mil 144 44 512 512 | |
| 12 | hudBuilder.setPictureNodeTexture mil_10X.dds | |
| 13 | ||
| 14 | hudBuilder.createTextNode VSSZoom VSS_label 350 570 100 17 | |
| 15 | hudBuilder.setTextNodeStyle Fonts/hudFontLocalBold_9.dif 0 | |
| 16 | hudBuilder.setNodeColor 0.9 0.9 0.9 1 | |
| 17 | hudBuilder.setTextNodeString "10X" | |
| 18 | ||
| 19 | hudBuilder.createSplitNode VSSZoom VSSFirst | |
| 20 | hudBuilder.createSplitNode VSSZoom VSSSecond | |
| 21 | ||
| 22 | hudBuilder.createButtonNode VSSFirst FirstButton -1 -1 802 602 | |
| 23 | hudBuilder.setNodeShowVariable ShowIngameHud | |
| 24 | hudBuilder.setNodeInTime 0 | |
| 25 | hudBuilder.setNodeOutTime 2 | |
| 26 | hudBuilder.setButtonNodeConCmd "run vars\delay.con first" 1 | |
| 27 | ||
| 28 | ||
| 29 | ||
| 30 | hudBuilder.createButtonNode VSSSecond SecondButton -1 -1 802 602 | |
| 31 | hudBuilder.setNodeShowVariable ShowIngameHud | |
| 32 | hudBuilder.setButtonNodeConCmd "run vars\delay.con second" 1 | |
| 33 | ||
| 34 | hudBuilder.createButtonNode VSSZoom VssResetButton -1000 -1000 802 602 | |
| 35 | hudBuilder.setNodeShowVariable ShowIngameHud | |
| 36 | hudBuilder.setButtonNodeConCmd "run vars\delay.con reset" 1 | |
| 37 | ||
| 38 | hudBuilder.createSplitNode Background NotVSSZoom | |
| 39 | hudBuilder.setNodeLogicShowVariable NOT GuiIndex 201 | |
| 40 | ||
| 41 | hudBuilder.createButtonNode NotVSSZoom VssUnzoomButton -1 -1 802 602 | |
| 42 | hudBuilder.setButtonNodeTexture 1 Ingame/Respawn/button_longLight5.tga | |
| 43 | hudBuilder.setButtonNodeTexture 2 Ingame/Respawn/button_longLight5.tga | |
| 44 | hudBuilder.setButtonNodeTexture 3 Ingame/Respawn/button_longLight6.tga | |
| 45 | hudBuilder.setButtonNodeConCmd "run vars\delay.con unzoom" 1 | |
| 46 | ||
| 47 | hudBuilder.createButtonNode VSSZoom VssZoomButton -1 -1 802 602 | |
| 48 | hudBuilder.setNodeLogicShowVariable EQUAL GuiIndex 201 | |
| 49 | hudBuilder.setButtonNodeConCmd "run vars\delay.con zoom" 1 | |
| 50 | rem --- END VSS --- |