Raised This Month: $51 Target: $400
 12% 

[HELP] Use parts of a sprite collage


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GoldNux
Senior Member
Join Date: Mar 2018
Old 04-24-2018 , 10:27   [HELP] Use parts of a sprite collage
Reply With Quote #1

I would like to know how to use a section of a sprite collage.
For example "640hud1.spr" contains many different pictures of weapons.
Instead of cutting out what I need and create new sprite files I would like to use the existing one.

If someone could teach me this I would be very grateful.
__________________
Try my version of de_dust2, I think it's great and you should check it out!
https://gamebanana.com/mods/83731

Last edited by GoldNux; 04-24-2018 at 10:41.
GoldNux is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 04-24-2018 , 11:40   Re: [HELP] Use parts of a sprite collage
Reply With Quote #2

For what do you want to use it?
__________________
klippy is offline
GoldNux
Senior Member
Join Date: Mar 2018
Old 04-24-2018 , 13:12   Re: [HELP] Use parts of a sprite collage
Reply With Quote #3

Quote:
Originally Posted by KliPPy View Post
For what do you want to use it?
I'm trying to put together a plugin that displays a sprite above each players head to indicate if he or she is carrying a grenade.
I would like to learn how to do this so that I can make something like this:
https://forums.alliedmods.net/showthread.php?t=306558

I am currently taking appart the good work of Natsheh to try and learn.
__________________
Try my version of de_dust2, I think it's great and you should check it out!
https://gamebanana.com/mods/83731

Last edited by GoldNux; 04-24-2018 at 13:13.
GoldNux is offline
klippy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 04-24-2018 , 13:27   Re: [HELP] Use parts of a sprite collage
Reply With Quote #4

I think the feature is only supported for some HUD features like WeaponList, StatusIcon, Scenario. The "cutting" is done by the client using the configuration from .txt files in the sprites directory, you can't do it for any sprite.
__________________
klippy is offline
GoldNux
Senior Member
Join Date: Mar 2018
Old 04-24-2018 , 14:19   Re: [HELP] Use parts of a sprite collage
Reply With Quote #5

Quote:
Originally Posted by KliPPy View Post
I think the feature is only supported for some HUD features like WeaponList, StatusIcon, Scenario. The "cutting" is done by the client using the configuration from .txt files in the sprites directory, you can't do it for any sprite.
Ok thank you my friend, I will do some work cutting in PS then.
__________________
Try my version of de_dust2, I think it's great and you should check it out!
https://gamebanana.com/mods/83731
GoldNux is offline
Reply



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 18:11.


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