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

blood color


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
-=*HQz=-=mAster nOob=-
Junior Member
Join Date: Mar 2006
Old 04-13-2006 , 17:59   blood color
Reply With Quote #1

how do i change the colour of the blood?
-=*HQz=-=mAster nOob=- is offline
SweatyBanana
BANNED
Join Date: Sep 2005
Location: LOL
Old 04-13-2006 , 18:07  
Reply With Quote #2

its a sprite...

you would have to edit the sprite..
SweatyBanana is offline
Send a message via AIM to SweatyBanana Send a message via Yahoo to SweatyBanana
p3tsin
Senior Member
Join Date: Sep 2005
Location: Finland
Old 04-13-2006 , 18:43  
Reply With Quote #3

i just had to test this..

Code:
register_concmd("amx_blood", "spray_blood") .. public spray_blood(id) {     new arg[10], color     read_argv(1, arg,9)     color = str_to_num(arg)     new origin[3]     get_user_origin(id, origin)     message_begin(MSG_BROADCAST,SVC_TEMPENTITY)     write_byte(101)     //TE_BLOODSTREAM     write_coord(origin[0])  //start position: x     write_coord(origin[1])  //start position: y     write_coord(origin[2])  //start position: z     write_coord(0)      //spray vector: x     write_coord(0)      //spray vector: y     write_coord(0)      //spray vector: z     write_byte(color)       //color     write_byte(100)     //speed     message_end()     return PLUGIN_HANDLED }

i was able to produce blue blood by using amx_blood 2000
0 was somewhat black and white
1000 red etc, i didnt bother testing more.. u can do it urself

so as a conclusion: as u can register that as an event, u should also be able to hook it with engine's register_message (so u can change the values or sumtin..)
Code:
register_event("23", "function", "a", "1=101")  //register tempentity: TE_BLOODSTREAM
__________________
plop
p3tsin is offline
[ --<-@ ] Black Rose
ANNIHILATED
Join Date: Sep 2005
Location: Stockholm, Sweden.
Old 04-13-2006 , 22:27  
Reply With Quote #4

normal blood color is 223
[ --<-@ ] Black Rose 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 20:20.


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