41 || `vgtStraightShot` || Shot line from firearms like Desert Eagle. Also used to render arbitrary sprites like the “+” particles for gaining health || |
41 || `vgtStraightShot` || Shot line from firearms like Desert Eagle. Also used to render arbitrary sprites like the “+” particles for gaining health || |
42 |
42 |
43 == HUD == |
43 == HUD == |
44 || *Variable name* || *Short description* || |
44 || *Variable name* || *Short description* || |
45 || `vgtCircle` || Simple circle. Highly configurable! || |
45 || `vgtCircle` || Simple circle. Highly configurable! || |
46 || `vgtSmallDamageTag` || Small damage tag after hog damage. Useful to display a number in the game || |
|
47 || `vgtNoPlaceWarn` || Overlay when the placement of something failed || |
46 || `vgtNoPlaceWarn` || Overlay when the placement of something failed || |
48 || `vgtAmmo` || Briefly displays an ammo icon. Appears when collecting a crate || |
47 || `vgtAmmo` || Briefly displays an ammo icon. Appears when collecting a crate || |
49 || `vgtSmoothWindBar` || Changes the wind bar smoothly || |
48 || `vgtSmoothWindBar` || Changes the wind bar smoothly || |
50 || `vgtHealthTag` || ??? || |
49 || `vgtHealthTag` || Hedgehog health tag || |
|
50 || `vgtSmallDamageTag` || Small damage tag after hog damage. || |
51 || `vgtTeamHealthSorter` || ??? || |
51 || `vgtTeamHealthSorter` || ??? || |
52 || `vgtSpeechBubble` || ??? || |
52 || `vgtSpeechBubble` || Speech bubble with text. Does not work in Lua. || |
53 |
53 |
54 == Misc. == |
54 == Misc. == |
55 || *Variable name* || *Short description* || |
55 || *Variable name* || *Short description* || |
56 || `vgtLineTrail` || ??? || |
56 || `vgtLineTrail` || ??? || |
57 |
57 |
58 = Detailed visual gear reference = |
58 = Detailed visual gear reference = |
59 Here you will find a (more or less) detailed references of the various possible values for the visual gears (for `SetVisualGearValues`). This is useful to customize your visual gears. |
59 Here you will find a (more or less) detailed references of the various possible values for the visual gears (for `SetVisualGearValues`). This is useful to customize your visual gears. |
60 |
60 |
61 This section is still under construction! |
61 This section is still under construction! |
62 |
62 |
63 = `vgtCircle` = |
63 == `vgtCircle` == |
64 A simple circle. It is one of the few visual gears which is not removed automatically. If you set `dX`, `dY` and `FrameTicks`, the circle pulsates in opacity. |
64 A simple circle. It is one of the few visual gears which is not removed automatically. If you set `dX`, `dY` and `FrameTicks`, the circle pulsates in opacity. |
65 |
65 |
66 * `dX`: Minimum opacity (0-255) |
66 * `dX`: Minimum opacity (0-255) |
67 * `dY`: Maximum opacity (0-255) |
67 * `dY`: Maximum opacity (0-255) |
68 * `FrameTicks`: ??? |
68 * `FrameTicks`: ??? |
69 * `State`: Radius |
69 * `State`: Radius |
70 * `Timer`: Thickness |
70 * `Timer`: Thickness |
71 |
71 |
72 = `vgtAmmo` = |
72 == `vgtAmmo` == |
73 Displays an ammo icon. |
73 Displays an ammo icon. |
74 |
74 |
75 * `Frame`: [AmmoType] ID of ammo to display |
75 * `Frame`: [AmmoType] ID of ammo to display |
|
76 |
|
77 == `vgtSpeechBubble` == |
|
78 Displays a speech bubble. Use `HogSay` to spawn speech bubbles. |
|
79 |
|
80 * `FrameTicks`: Speech bubble type (`SAY_SAY`, `SAY_THINK` or `SAY_SHOUT`) |
|
81 |
|
82 == `vgtHealthTag` == |
|
83 A health tag for hedgehogs. But with a few changes, this is also useful to display arbitray numbers on the screen. |
|
84 |
|
85 * `Angle`: Scale ratio. `1` = 100% |
|
86 * `Frame`: If `0`, it is part of the landscape. If non-zero, it will align to the screen instead |
|
87 * `State`: Number to display |
|
88 * `Timer`: Expiration timer |