View Single Post
Plugin Info:     Modification:          Category:          Approver:   Johnny got his gun (102)
KleeneX
Senior Member
Join Date: Dec 2004
Old 02-01-2005 , 08:40   Sprite Importer 3
Reply With Quote #1

AMXX Sprite Importer 3

You saw it on many servers, sprites with logos of the clan.

You tryed to make it on your server with "Ripend" or "Stripper2", but it was to difficult?
Here is a simple way to add it to every map.

============================================= ==
Commands:
amx_isprite - Opens Sprite Importer Menu
say /isprite - Opens Sprite Importer Menu
amx_dsprite - Opens Sprite Importer delete Menu
say /dsprite - Opens Sprite Importer delete Menu

============================================= ==
Usage:

First, you must add the sprites which you want to the "sprites.ini".

The best and easiest way to add a sprite is:
Go on your server, choose spectate, and than type:
amx_isprite
say /isprite

It will open a menu with all added sprites in the "sprites.ini".
Choose a place where you want your sprite and choose which sprite you want.

The last sprite is always "RANDOM". It will add randomly a sprite, it'll be
reloaded every mapchange. (It use only the sprites which are added in the
"sprites.ini").

============================================= ==
Delete Sprites:

You can delete sprites with one of the following commands:
amx_dsprite
say /dsprite

They'll open a menu where you can select a Sprite on the map (it'll show
the origins and spritefile). When you select one (by the giving number) it'll
be marked red in the menu, and it'll show a nice picture where's the sprite
which you've selected. I think there's no need to show how this sprite looks
like. ;) When you've found the one you want to delete, press number 8
(Delete Sprite) and the sprite Will be deleted from the map and the mapname.cfg.

============================================= ==
Changelog:

Version 1.0:
  • First release
Version 2.0:
  • random sprite function
  • you can use more than 1 sprite
  • menu driven
  • you can use animated sprites (THX to Xavior)
  • added 1 example animated sprite (THX again to Xavior)
Version 2.1:
  • Added RANDOM Sprite mode. Change sprite after
    mapchange, or every new round.(Works only in CS & CZ, I think ;))
Version 2.3:
  • Added function so it checks if there are more Sprites
    than used, so it most times ever make a different Sprite.
Version 2.4:
  • Version 2.2 works now with other mods than CS & CZ. ;)
  • Updated the old readme.
Version 3.0:
  • Remade and optimized the code completely
  • Added delete Sprite option.
  • Removed temporary the Random Sprite mode.

============================================= ==
Credits:

KleeneX: Made this cool plugin
Xavior: example sprite, animation code

Merry Christmas
Attached Files
File Type: zip amxx_sprite_importer_3.zip (41.1 KB, 6421 views)
KleeneX is offline