AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Changing color of sprite in counter-strike (https://forums.alliedmods.net/showthread.php?t=217767)

danonix 06-07-2013 08:18

Changing color of sprite in counter-strike
 
Hello, is it possible to change this sprite color [img]http://**************/a/img6/713/spritedd.png[/img] in counter-strike as RGB? It is from blockmaker and is responsible for making teleports.

http://www.youtube.com/watch?v=yDRSbVFrPZ4
This film is a great demonstration of this. 0:15 - 0:20.

Here is link to sprite.
http://speedy.sh/SJUpg/bm-teleport-end.spr

ConnorMcLeod 06-08-2013 16:01

Re: Changing color of sprite in counter-strike
 
This sprite as no colors and as you can see in video, colors are set in-game, just read plugin's code and you'll find how to do it.

danonix 06-09-2013 02:28

Re: Changing color of sprite in counter-strike
 
ConnorMcLeod, but there is a problem - author didn't public code of this plugin, so I'd like to know how to do it.

Cheers

ConnorMcLeod 06-09-2013 04:19

Re: Changing color of sprite in counter-strike
 
Then i guess you have to set rendercolor with the RGB you want.
If you still have trouble to achieve what you want, you should have a look at HLSDK, sprites should be covered.


All times are GMT -4. The time now is 16:24.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.