Skip to content

Rainbow Sprite

Rainbow Sprite is a simple console application that allows you to animate the Half-Life sprite, adding the effect of color transfusion.

ToolCounter-Strike 1.6v1.0.0Views:11Downloads:60

Description

Rainbow Sprite is a simple console application that allows you to animate the Half-Life sprite, adding the effect of color transfusion.

How to use

Using the command line, launch the application with the following arguments: sprite_name.spr color_row_value "red green blue" "red green blue" ...

  • color_row_value is the number of gray colors for one frame of animation. Simply put, this is picture quality. It is better to leave in the range from 5 to 10. Too much value is better not to set - it depends on the number of received frames.
  • "red green blue" is the keyframe color. To loop the animation, repeating the first frame at the end is unnecessary.

Examples

  • RainbowSprite my_sprite1.spr 8 "255 0 255" "128 0 0"
  • RainbowSprite my_sprite2.spr 5 "255 0 0" "0 0 64" "0 255 0"

Changelog

  1. v1.0.0current
  2. RainbowSprite.zip

Related

GIMP plugin that allows you to import and export sprites from a Half-Life game. This plugin can also open new version sprites containing DDS textures used in Counter-Strike Online (Experimantal feature).

Update to 1.1.3: added support for angled sprites (import only), added the Force 256 Pallete option to expand the palette to 256 colors, fixed a bug when saving a sprite whose width is not a multiple of 4. A plugin for importing and exporting HL sprites for the Paint.net raster graphics editor…

As you know, showing a page generated by your plugin in the MOTD is fairly simple, but achieving two-way interaction with the MOTD is not such a trivial task. In this article you will learn how to do it. So why is this needed? For example, for creating your own cool shop or choosing a class…