Raised This Month: $100 Target: $400

Sprite Importer 3

Post New Thread Reply   
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:          Approver:   Johnny got his gun (102)
Senior Member
Join Date: Dec 2004
Old 02-01-2005 , 09: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.

============================================= ==
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

============================================= ==

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:
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

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

You can delete sprites with one of the following commands:
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.

============================================= ==

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.

============================================= ==

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, 6031 views)
KleeneX is offline
Join Date: Jun 2004
Old 02-01-2005 , 12:17  
Reply With Quote #2

I assume the sprite will turn and face the players right? I want something similiar to this, but one that doesnt turn. I would like to place a sign on the wall or something.
Rastin is offline
Twilight Suzuka
Join Date: Jul 2004
Location: CS lab
Old 02-01-2005 , 12:20  
Reply With Quote #3

Sprites auto turn. What your wanting is a logo.
Twilight Suzuka is offline
Send a message via AIM to Twilight Suzuka Send a message via MSN to Twilight Suzuka
Senior Member
Join Date: Dec 2004
Old 02-01-2005 , 13:50  
Reply With Quote #4

Ok, first sorry for my mistakes.
I've made some changes:
  1. zip instead rar file
  2. added "get_basedir" function
  3. and removed the word "Plugin:" in the topic name.
KleeneX is offline
Senior Member
Join Date: Nov 2004
Location: Morristown, New Jersey
Old 02-01-2005 , 16:43  
Reply With Quote #5

it is sooooo simple yo do this in ripent though.
sub is offline
Send a message via AIM to sub Send a message via MSN to sub
Senior Member
Join Date: Dec 2004
Old 02-01-2005 , 16:44  
Reply With Quote #6

But I think my plugin is much easier.
KleeneX is offline
Senior Member
Join Date: Dec 2004
Old 02-04-2005 , 12:15  
Reply With Quote #7

Big update released.

Version 2 is out. For more information, read the first post.
KleeneX is offline
Junior Member
Join Date: Jan 2005
Old 02-04-2005 , 12:19  
Reply With Quote #8

Nice plugin dude!
Makes life alot easier... especially when u got 25 maps on a server to insert the sprite for..
st341th is offline
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 02-04-2005 , 12:22  
Reply With Quote #9

Rastin: Actually sprites never turn. They are always 2D no matter what.

You are likely wanting models. I made such a plugin years ago to put like pictures on walls. Never released it though.

* Don't use Vexd_Utilities
* return PLUGIN_CONTINUE, not needed in plugin_init()
Johnny got his gun is offline
Senior Member
Join Date: Dec 2004
Old 02-04-2005 , 12:41  
Reply With Quote #10

Ok, i'm going to change it.
KleeneX is offline

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

All times are GMT -4. The time now is 05:18.

Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode