Raised This Month: $ Target: $400
 0% 

Blood Decal Question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 10-10-2007 , 18:46   Blood Decal Question
Reply With Quote #1

I've been searching through message_const.inc and I couldn't find anything related to placing a color-editable blood decal on the world, like in the picture below (thats in regular gameplay). If anyone can point out which message # is the one I need to set blood decals like below (I need red blood and yellow alien blood), that would be wonderful. Thanks!
Attached Thumbnails
Click image for larger version

Name:	m2_blooddecal.JPG
Views:	322
Size:	43.4 KB
ID:	20763  
__________________
M249-M4A1 is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-10-2007 , 22:12   Re: Blood Decal Question
Reply With Quote #2

There is an ENTIRE list me and some other guy worked through. The list is somewhere, try searching some where under the scripting section. I'll post back if I find it.

edit
Here:
http://forums.alliedmods.net/showthr...ighlight=decal

You can also try using a logger to hook the message and intercept the data.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred

Last edited by Zenith77; 10-10-2007 at 22:17.
Zenith77 is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 10-10-2007 , 23:07   Re: Blood Decal Question
Reply With Quote #3

Ah, perfect. Thank you very much, Zenith.
__________________
M249-M4A1 is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 10-11-2007 , 02:23   Re: Blood Decal Question
Reply With Quote #4

Also you can review this picture: http://forums.alliedmods.net/attachm...9&d=1146477307
VEN is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-11-2007 , 05:19   Re: Blood Decal Question
Reply With Quote #5

Decals numbres depend on the mod you're runing.
Here are the decals :
Code:
    if(equal(modname, "cstrike"))     {         g_blood_decals = {0,190,191,192,193,194,196,197,204,205}     }     else if(equal(modname, "czero"))     {         g_blood_decals = {202,203,204,205,206,207,208,209,216,217}     }     else if(equal(modname, "dod"))     {         g_blood_decals = {203,204,205,206,207,208,209,210,217,218}     }     else if(equal(modname, "tfc"))     {         g_blood_decals = {194,195,196,197,198,199,200,201,208,209}     }     else if(equal(modname, "ts"))     {         g_blood_decals = {204,205,206,207,208,209,210,211,218,219}     }     else     {         g_blood_decals = {19,20,27,28,29,30,31,32,33,34}     }
ConnorMcLeod is offline
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 10-11-2007 , 06:53   Re: Blood Decal Question
Reply With Quote #6

Quote:
Originally Posted by VEN View Post
How is that relevant?

(I'm not saying it isn't, I have never used decals ... I actually want to know how it is relevant)
purple_pixie is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 10-11-2007 , 07:17   Re: Blood Decal Question
Reply With Quote #7

Quote:
Originally Posted by purple_pixie View Post
How is that relevant?

(I'm not saying it isn't, I have never used decals ... I actually want to know how it is relevant)
I asked for the color byte chart
__________________
M249-M4A1 is offline
purple_pixie
Veteran Member
Join Date: Jun 2007
Location: Winchester, England
Old 10-11-2007 , 07:21   Re: Blood Decal Question
Reply With Quote #8

Somehow I totally missed the words "colour editable" from your post ... weird :-D

Maybe my brain just skips straight over Americanised words :-P


I rather assumed they were constant colours, too, so only the list of decals would be relevant.
purple_pixie is offline
VEN
Veteran Member
Join Date: Jan 2005
Old 10-12-2007 , 13:30   Re: Blood Decal Question
Reply With Quote #9

Also, FYI, 86 player pvPrivateData offset controls blood color (rather partially, so possibly there are few others such offsets).
VEN 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 16:09.


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