Raised This Month: $ Target: $400
 0% 

Method to using custom crosshair..


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 08-04-2011 , 19:31   Method to using custom crosshair..
Reply With Quote #1

On one server I saw custom crosshair as sprite.
In my sprites folder I found those sprite and coordinates in SEPARATE FILE ( NOT IN HUD.txt! )

in weapons_m79.txt

PHP Code:
3
weapon            640 custom
/640hud15    0    180    170    45
weapon_s        640 custom
/640hud16    0    180    170    45
ammo            640 640hud7    72    72    24    24 
so .... how to draw this sprite ? what TE_ effect?
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 08-04-2011 , 21:09   Re: Method to using custom crosshair..
Reply With Quote #2

another question how to assign weapons to different slots
I have 3 weapons in slot1 ( famas . aug . awp )

I want to use famas on slot4 .... awp on slot 5 .... how to do that
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
bibu
Veteran Member
Join Date: Sep 2010
Old 08-05-2011 , 06:44   Re: Method to using custom crosshair..
Reply With Quote #3

Quote:
Originally Posted by avril-lavigne View Post
another question how to assign weapons to different slots
I have 3 weapons in slot1 ( famas . aug . awp )

I want to use famas on slot4 .... awp on slot 5 .... how to do that
Can be done with orpheu, search there.
__________________
Selling tons of my own private works.
Accepting paid work for clans and communities.
Don't hesitate to contact me.
bibu is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 08-05-2011 , 07:29   Re: Method to using custom crosshair..
Reply With Quote #4

Quote:
so .... how to draw this sprite ? what TE_ effect?
Slowhacking using probably motd_write. Bad idea to do that, crosshair will be changed for all the servers.
__________________
Arkshine is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 08-05-2011 , 07:54   Re: Method to using custom crosshair..
Reply With Quote #5

no ... only if weapon was m79 ... strange. Ok forget this. I will draw + with hudmessage.its enough for players
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
abdul-rehman
Veteran Member
Join Date: Jan 2010
Location: Khi, Pakistan
Old 08-05-2011 , 08:16   Re: Method to using custom crosshair..
Reply With Quote #6

Another thing you can do is
- Block the original Crosshair message
- Then display a custom crosshair sprite on the players screen using my Sprites on HUD plugin
- U can also make an animated crosshair and display it to the user.
__________________

My Plugins For ZP

Inactive due to College and Studies
abdul-rehman is offline
Send a message via Yahoo to abdul-rehman Send a message via Skype™ to abdul-rehman
avril-lavigne
Banned
Join Date: Apr 2009
Old 08-05-2011 , 08:50   Re: Method to using custom crosshair..
Reply With Quote #7

Yes I know abdul. I ve download your code awhile ago. just didnt have time to test it)
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne 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 03:21.


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