# HG changeset patch # User Wuzzy # Date 1518212187 0 # Node ID bb717cb60483dc4ddcf127fe8764df93548fde19 # Parent 929d65ba07e611e2168d4c65b5a69a54064aba96 VisualGearTypes: vgtStraightShot diff -r 929d65ba07e6 -r bb717cb60483 VisualGearTypes.wiki --- a/VisualGearTypes.wiki Fri Feb 09 21:20:23 2018 +0000 +++ b/VisualGearTypes.wiki Fri Feb 09 21:36:27 2018 +0000 @@ -38,7 +38,7 @@ || `vgtEvilTrace` || Strange red cloud from hellish hand-grenade || || `vgtShell` || Bullet shell || || `vgtBulletHit` || Bullet impact animation || -|| `vgtStraightShot` || Shot line from firearms like Desert Eagle. Also used to render arbitrary sprites like the “+” particles for gaining health || +|| `vgtStraightShot` || Moving [sprite], such as shots from desert eagle || == HUD == || *Variable name* || *Short description* || @@ -61,13 +61,13 @@ This section is still under construction! == `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. +A simple circle which doesn't move. 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. + * `State`: Radius + * `Timer`: Thickness * `dX`: Minimum opacity (0-255) * `dY`: Maximum opacity (0-255) * `FrameTicks`: ??? - * `State`: Radius - * `Timer`: Thickness == `vgtAmmo` == Displays an ammo icon. @@ -77,12 +77,18 @@ == `vgtHealthTag` == A health tag for hedgehogs. But with a few changes, this is also useful to display arbitray numbers on the screen. + * `State`: Number to display * `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 == `vgtSpeechBubble` == Displays a speech bubble. Use `HogSay` to spawn speech bubbles. - * `FrameTicks`: Speech bubble type (`SAY_SAY`, `SAY_THINK` or `SAY_SHOUT`) \ No newline at end of file + * `FrameTicks`: Speech bubble type (`SAY_SAY`, `SAY_THINK` or `SAY_SHOUT`) + +== `vgtStraightShot` == +Displays an arbitrary sprite which moves. A straight shot from a firearm like the Desert Eagle. The sprite it uses can be changed, so this can be used to display nearly every sprite. + +* `State`: ID of the custom sprite (use an ID from `Sprites`) +* `FrameTicks`: ??? \ No newline at end of file