VisualGearTypes: Add vgtHealthTag
authorWuzzy
Fri, 09 Feb 2018 21:19:58 +0000
changeset 1171 211e1f8ec3cb
parent 1170 7d2d66c50ad5
child 1172 929d65ba07e6
VisualGearTypes: Add vgtHealthTag
VisualGearTypes.wiki
--- a/VisualGearTypes.wiki	Fri Feb 09 21:08:26 2018 +0000
+++ b/VisualGearTypes.wiki	Fri Feb 09 21:19:58 2018 +0000
@@ -43,13 +43,13 @@
 == HUD ==
 || *Variable name* || *Short description* ||
 || `vgtCircle` || Simple circle. Highly configurable! ||
-|| `vgtSmallDamageTag` || Small damage tag after hog damage. Useful to display a number in the game ||
 || `vgtNoPlaceWarn` || Overlay when the placement of something failed ||
 || `vgtAmmo` || Briefly displays an ammo icon. Appears when collecting a crate ||
 || `vgtSmoothWindBar` || Changes the wind bar smoothly ||
-|| `vgtHealthTag` || ??? ||
+|| `vgtHealthTag` || Hedgehog health tag ||
+|| `vgtSmallDamageTag` || Small damage tag after hog damage. ||
 || `vgtTeamHealthSorter` || ??? ||
-|| `vgtSpeechBubble` || ??? ||
+|| `vgtSpeechBubble` || Speech bubble with text. Does not work in Lua. ||
 
 == Misc. ==
 || *Variable name* || *Short description* ||
@@ -60,7 +60,7 @@
 
 This section is still under construction!
 
-= `vgtCircle` =
+== `vgtCircle` ==
 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.
 
  * `dX`: Minimum opacity (0-255)
@@ -69,7 +69,20 @@
  * `State`: Radius
  * `Timer`: Thickness
 
-= `vgtAmmo` =
+== `vgtAmmo` ==
 Displays an ammo icon.
 
- * `Frame`: [AmmoType] ID of ammo to display
\ No newline at end of file
+ * `Frame`: [AmmoType] ID of ammo to display
+
+== `vgtSpeechBubble` ==
+Displays a speech bubble. Use `HogSay` to spawn speech bubbles.
+
+* `FrameTicks`: Speech bubble type (`SAY_SAY`, `SAY_THINK` or `SAY_SHOUT`)
+
+== `vgtHealthTag` ==
+A health tag for hedgehogs. But with a few changes, this is also useful to display arbitray numbers on the screen.
+
+* `Angle`: Scale ratio. `1` = 100%
+* `Frame`: If `0`, it is part of the landscape. If non-zero, it will align to the screen instead
+* `State`: Number to display
+* `Timer`: Expiration timer
\ No newline at end of file